In Progress

skin color Gaussian model c#

I need a C# 2008 code for this project : "NO USE OF OPEN CV or EMU CV or any DLL allowed"

Project: Skin Likelihood based on Gaussian Model

I have a face data set, for this set I want to design a Gaussian model that based on the attached papers. The model takes the images for training.

- Image converted into pure colors , R=R/R+G+B,G=G/R+G+B,B=B/R+G+B

1- Convert each image from RGB to YCbCr

2- It calculates the mean and covariance for each image Cb and Cr, then

3- Find the Gaussian joint probability density function (pdf)

pdf = exp(-0.5* x'*inv(brcov)* x) ,where x = [(cb-bmean); (cr-rmean), "bmean&rmeam) are calculated from the point 2.

4- Apply Low pass files 3x3 on the result.

5- Divide each pixel on max pdf value.

6- Apply the Finding the adaptive threshold algorithm as this matlab code

% Adaptive Thresholding

previousSkin2 = zeros(i,j);

changelist = [];

for threshold = 0.55:-0.1:0.05

skin2 = zeros(i,j);

skin2(find(skin1>threshold)) = 1;

change = sum(sum(skin2 - previousSkin2));

changelist = [changelist change];

previousSkin2 = skin2;


7-Finally, optimal threshold is calculated for segmentation as matlab code below:

% Finding the optimal threshold

[C, I] = min(changelist);

optimalThreshold = (7-I)*0.1

skin2 = zeros(i,j);

skin2(find(skin1>optimalThreshold)) = 1;

All of above are in these matlab codes:

[url removed, login to view]~robles/ee368/detect.m

[url removed, login to view]~robles/ee368/ChromaDist.m

[url removed, login to view]~robles/ee368/skinmodel.m

[url removed, login to view]~robles/ee368/SegmentSkin.m

I'll provide you with the database after acceptance

Skills: C# Programming, Imaging, Mathematics

See more: use of algorithm in programming, stanford programming, r programming training, r programming pdf, programming with matlab, programming model, probability programming, mean image matlab, Find mathematics, cs programming, cr&r, cr design, c programming find function, c++ programming codes, c# programming codes, apply algorithm, algorithm in c sharp, algorithm design pdf, adaptive programming, adaptive design

About the Employer:
( 13 reviews ) Baghdad, Iraq

Project ID: #5306492

Awarded to:

pappukandance why you chose us have 5/5 rating with 100% complete rate with here have a little company too so you can depend on us . We provide you industry standard Mobile Apps, Soft More

$309 USD in 8 days
(7 Reviews)

1 freelancer is bidding on average $309 for this job


Add My Skype id--lalagal4 please add more discuss hire me---- Honey Sir, We would pair to get this possibleness of working with you. We can indorse that you gift not rue your More

$250 USD in 4 days
(0 Reviews)