How to find pixel value of different face skin colors?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Image Analyst
2020 年 5 月 23 日
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!