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!