I want to segmentation this image
古いコメントを表示
I have a picture, where the area to be processed is the eye area, so that the black background. I've tried using mat2gray, but less satisfactory results obtained, because the eye area that I want is the original image. but the results I got, red eye area. please help. thanks in advance.

回答 (2 件)
Image Analyst
2012 年 11 月 19 日
Try something like this:
darkAreas = redChannelImage < 100;
withinFaceOnly = imclearborder(darkAreas);
Lidank Abiel
2012 年 12 月 6 日
0 投票
1 件のコメント
Image Analyst
2012 年 12 月 6 日
You're welcome. Go ahead and mark it as "Answered".
カテゴリ
ヘルプ センター および File Exchange で Eye Tracking についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!