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
Image Analyst 2012년 11월 19일

0 개 추천

Try something like this:
darkAreas = redChannelImage < 100;
withinFaceOnly = imclearborder(darkAreas);
Lidank Abiel
Lidank Abiel 2012년 12월 6일

0 개 추천

thank you Image Analyst :)

댓글 수: 1

Image Analyst
Image Analyst 2012년 12월 6일
You're welcome. Go ahead and mark it as "Answered".

댓글을 달려면 로그인하십시오.

태그

질문:

2012년 11월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by