skindetector
所属分类:图形图像处理
开发工具:matlab
文件大小:788KB
下载次数:69
上传日期:2009-02-09 11:11:46
上 传 者:
ywjowen
说明: 在matlab环境下用于人脸皮肤的检测识别,能够实现对不用人的皮肤的有效检测
(Matlab environment in the face for skin testing to identify, can not realize the skin on the effective detection)
文件列表:
skindetector (0, 2007-07-25)
skindetector\CDVP-group.jpg (154536, 2007-07-25)
skindetector\computeSkinProbability.m (602, 2007-07-25)
skindetector\image-105.jpg (98807, 2007-07-25)
skindetector\image6.jpg (133304, 2007-07-25)
skindetector\normalise.m (181, 2004-11-08)
skindetector\P1020809.jpg (92287, 2007-07-25)
skindetector\PIC_0111.JPG (156242, 2007-07-25)
skindetector\skinmodel.bin (131072, 2007-07-25)
skindetector\TestModel.m (1147, 2007-07-25)
skindetector\Thumbs.db (126976, 2007-07-25)
Skin Pixel Likelihoods and Skin Detection
-----------------------------------------------
This Matlab code was developed for skin pixel detection in general imagery.
Non-parametric histogram-based models were trained using manually annotated
skin and non-skin pixels. A total of 14,***5,845 skin pixels and 304,844,751
non-skin pixels were used.
I hope you find it useful.
- Ciarán Conaire (oconaire at eeng.dcu.ie)
Demo:
- Start Matlab
- change to the folder that contains TestModel.m
- run TestModel.m
The demo requires the following files to be in the same folder:
computeSkinProbability.m
skinmodel.bin
normalise.m
General Usage:
% Load an RGB image
im = imread('image001.jpg');
% convert the image data to doubles
im = double(im);
% compute the skin likelihood for each pixel
skinprob = computeSkinProbability(im);
% threshold the likelihood to detect skin
skin = (skinprob > 0)+0; % zero is added to cast from a logical-typed to a double-typed matrix
Note that the following files should be in the path:
computeSkinProbability.m
skinmodel.bin
近期下载者:
相关文件:
收藏者: