A simple Matlab implementation of paper: S.L. Phung, A. Bouzerdoum , D. Chai, "A novel skin color model in YCbCr color space and its application to human face detection", ICIP 2002.
- Plot Gaussian ellipsoid: http://www.mathworks.com/matlabcentral/fileexchange/16543-plot-gaussian-ellipsoid
2. Dataset:
lfw images: http://vis-www.cs.umass.edu/lfw/lfw-funneled.tgz
labeled parts: http://vis-www.cs.umass.edu/lfw/part_labels/parts_lfw_funneled_gt_images.tgz
Put the plot_gaussian_ellipsoid.m and the decompressed images to the same folder as the downloaded files.
modify the file path if necessary, this example only takes one image for training modify the number of iteration if necessary.
Run skin_train.m
Output the skin distribution in YCbCr
The 3-D Gaussian parameters (mean and covariance matrix) are stored in skin.mat
Run skin_test.m