Borrar filtros
Borrar filtros

how to recognize pupil using connected components

3 visualizaciones (últimos 30 días)
MANI MANI
MANI MANI el 5 de Nov. de 2013
Respondida: Image Analyst el 5 de Nov. de 2013
Assuming pupil is the largest area in an eye image, using the below code, bw=im2bw(i,0.20); [labeled,numObjects] = bwlabel(bw,4); data = regionprops(labeled,'basic'); maxArea = max([data.Area]);
gives me entire eye image.

Respuestas (1)

Image Analyst
Image Analyst el 5 de Nov. de 2013
Then you can't simply use a simple threshold algorithm like you did. You'll need something better. Go here: http://iris.usc.edu/Vision-Notes/bibliography/contents.html to find algorithms you can use.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by