フィルターのクリア

How to find pixel value of different face skin colors?

2 ビュー (過去 30 日間)
Matlab Newbie
Matlab Newbie 2020 年 5 月 23 日
回答済み: Image Analyst 2020 年 5 月 23 日
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

採用された回答

Image Analyst
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 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by