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!