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 commentaires

KHAN
KHAN le 30 Mar 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 le 30 Mar 2013
i have used this code submission http://www.mathworks.in/matlabcentral/fileexchange/26978-hough-transform-for-circles it includes demo file also........

Connectez-vous pour commenter.

Réponses (1)

Anand
Anand le 21 Mar 2013
Modifié(e) : Anand le 21 Mar 2013

0 votes

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 commentaires

KHAN
KHAN le 23 Mar 2013
ok i will try that.....
KHAN
KHAN le 23 Mar 2013
Modifié(e) : KHAN le 23 Mar 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 le 23 Mar 2013
imfindcircle() can deal with circles that are clipped or flat on one side, or are partial circles (dumbbell shapes).
KHAN
KHAN le 25 Mar 2013
i have matlab 2010a version and i am getting this error 'imfindcircles' not found. now what to do????
Image Analyst
Image Analyst le 25 Mar 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 le 27 Mar 2013
can u provide me link to download matlab 2012? how to download it?
Image Analyst
Image Analyst le 27 Mar 2013
KHAN
KHAN le 28 Mar 2013
is there any other method? instead of imfindcircle any other code?
Image Analyst
Image Analyst le 28 Mar 2013
I'm sure there must be lots of them listed here: http://iris.usc.edu/Vision-Notes/bibliography/contents.html

Connectez-vous pour commenter.

Question posée :

le 21 Mar 2013

Community Treasure Hunt

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

Start Hunting!

Translated by