I want to segmentation this image

1 visualización (últimos 30 días)
Lidank Abiel
Lidank Abiel el 19 de Nov. de 2012
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.

Respuestas (2)

Image Analyst
Image Analyst el 19 de Nov. de 2012
Try something like this:
darkAreas = redChannelImage < 100;
withinFaceOnly = imclearborder(darkAreas);

Lidank Abiel
Lidank Abiel el 6 de Dic. de 2012
thank you Image Analyst :)
  1 comentario
Image Analyst
Image Analyst el 6 de Dic. de 2012
You're welcome. Go ahead and mark it as "Answered".

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by