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 Comments

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

Sign in to comment.

Answers (1)

Anand
Anand on 21 Mar 2013
Edited: Anand on 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 Comments

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

Sign in to comment.

Asked:

on 21 Mar 2013

Community Treasure Hunt

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

Start Hunting!