how to detect eye location?
Show older comments
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???
Answers (1)
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
KHAN
on 23 Mar 2013
Image Analyst
on 23 Mar 2013
imfindcircle() can deal with circles that are clipped or flat on one side, or are partial circles (dumbbell shapes).
KHAN
on 25 Mar 2013
Image Analyst
on 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
on 27 Mar 2013
Image Analyst
on 27 Mar 2013
KHAN
on 28 Mar 2013
Image Analyst
on 28 Mar 2013
I'm sure there must be lots of them listed here: http://iris.usc.edu/Vision-Notes/bibliography/contents.html
Categories
Find more on Object Detection in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!