skindetector
所属分类:matlab编程
开发工具:matlab
文件大小:683KB
下载次数:21
上传日期:2010-04-26 16:39:38
上 传 者:
zyzyzyzy
说明: 本程序用来检测人的皮肤区域,并在图中标定出来。
(This procedure is used to detect human skin regions, and out in the calibration diagram.)
文件列表:
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 (0, 2010-03-13)
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
近期下载者:
相关文件:
收藏者: