# 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

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;

end

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:

I'll provide you with the database after acceptance

Skills: C# Programming, Imaging, Mathematics

( 13 reviews ) Baghdad, Iraq

Project ID: #5306492

## Awarded to:

pappukandance

https://www.freelancer.com/u/pappukandance.html 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)
3.3

## 1 freelancer is bidding on average \$309 for this job

ARIS11

Add My Skype id--lalagal4 please add more discuss hire me----https://www.freelancer.com/u/ARIS11.html 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)
0.0