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 件のコメント

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

サインインしてコメントする。

回答 (1 件)

Anand
Anand 2013 年 3 月 21 日
編集済み: Anand 2013 年 3 月 21 日

0 投票

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 件のコメント

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

サインインしてコメントする。

質問済み:

2013 年 3 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by