how to detect eye location?

i want to find out center pixel of eye and use that pixels of two eyes to draw line from 1st pixel of center of 1st eye to 2nd eye (line joining centers of two eyes) so how detect eye location and how to find out center pixel of eye???

2 comentarios

KHAN
KHAN el 30 de Mzo. de 2013
For detecting eyes i have used Circular Hough Transform method to detect circles in the face image. i have used the coding submited Circular Hough Transform by David Young. but it is shownig all circles in face image including eyes and for some faces not finding eye's circle?????? what to do? help me????
KHAN
KHAN el 30 de Mzo. de 2013
i have used this code submission http://www.mathworks.in/matlabcentral/fileexchange/26978-hough-transform-for-circles it includes demo file also........

Iniciar sesión para comentar.

Respuestas (1)

Anand
Anand el 21 de Mzo. de 2013
Editada: Anand el 21 de Mzo. de 2013

0 votos

You could follow the following general approach. Note that a lot will depend on your image, noise and kind of data.
Use imfindcirciles to find circles in the correct radius range. If there are multiple matches, adjust parameters and/or use additional post-processing like some form of thresholding and morphology. The centers returned by imfindcircles are your eye centers.
Read the following for an understanding of imfindcircles and its parameters.

9 comentarios

KHAN
KHAN el 23 de Mzo. de 2013
ok i will try that.....
KHAN
KHAN el 23 de Mzo. de 2013
Editada: KHAN el 23 de Mzo. de 2013
but there may be possible that half eye is open then circle can not be detected. i want to find center pixel of eye and use that pixel for further work....how to find the center pixel?
Image Analyst
Image Analyst el 23 de Mzo. de 2013
imfindcircle() can deal with circles that are clipped or flat on one side, or are partial circles (dumbbell shapes).
KHAN
KHAN el 25 de Mzo. de 2013
i have matlab 2010a version and i am getting this error 'imfindcircles' not found. now what to do????
Image Analyst
Image Analyst el 25 de Mzo. de 2013
Contact the Mathworks and upgrade to the latest version. Why use a version that's three years out of date, and that's missing a critical function that could help you greatly?
KHAN
KHAN el 27 de Mzo. de 2013
can u provide me link to download matlab 2012? how to download it?
Image Analyst
Image Analyst el 27 de Mzo. de 2013
KHAN
KHAN el 28 de Mzo. de 2013
is there any other method? instead of imfindcircle any other code?
Image Analyst
Image Analyst el 28 de Mzo. de 2013
I'm sure there must be lots of them listed here: http://iris.usc.edu/Vision-Notes/bibliography/contents.html

Iniciar sesión para comentar.

Preguntada:

el 21 de Mzo. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by