How to find pixel value of different face skin colors?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Matlab Newbie
le 23 Mai 2020
Réponse apportée : Image Analyst
le 23 Mai 2020
Hi, i am quite new to image processing. I would like to know how can i detect area of different skin colours. For example, causcassion, asian, etc
0 commentaires
Réponse acceptée
Image Analyst
le 23 Mai 2020
First get a mask of the face - a binary image that's true where there is face and false elsewhere. Then...
% Extract the individual red, green, and blue color channels using imsplit() (introduced in R2018b).
[redChannel, greenChannel, blueChannel] = imsplit(rgbImage);
meanR = redChannel(faceMask)
meanG = greenChannel(faceMask)
meanB = blueChannel(faceMask)
0 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!