How can i detect circle in a eye image? Mainly the iris region.

I am working on iris recognition algorithms. I want to know how can i localize the iris region in a eye image.

2 Comments

plz send me code if u get the answer......
plz can you send me the code at niroz.ng96@gmail.com

Sign in to comment.

 Accepted Answer

You should start with imfindcircles and see if that works:

8 Comments

Yes, I was answering a more generic "how should I start with a circle detection problem?" question. I would also suggest looking at the literature to find specific algorithms that are well suited to iris detection.
I tried this one.... A = imread('coins.png'); imshow(A); [centers, radii, metric] = imfindcircles(A,[15 30]); centersStrong5 = centers(1:5,:); radiiStrong5 = radii(1:5); metricStrong5 = metric(1:5); viscircles(centersStrong5, radiiStrong5,'EdgeColor','b'); But it shows the error ...Undefined function or method 'imfindcircles' for input arguments of type 'uint8'.
Then why did you "Accept" the answer if you didn't get it to work? You must have an old version of MATLAB. Please upgrade to the latest version.
Sorry, i am new here...i thought if i am going to comment, i need to press accept .
Check out Libor Masek, MATLAB Source Code for a Biometric Identification System Based on Iris Patterns., it's a good place to start. It basically uses Canny Edge Detection followed by Hough Transform to detect the iris.
Thanks .........that's a huge help
there is only .p files no code..... kindly send me the code
plz can you send me the code at niroz.ng96@gmail.com

Sign in to comment.

More Answers (2)

In your research on the extensive literature on this subject, which algorithm are you using? Show us your MATLAB code. We don't have time to research the literature for you and decide on an algorithm for you. There is lots out there on this subject and you are the one who needs to come up with the method.
You should also have a look at this article Eye Ball Detection in MATLAB , they have explained in detail. I think it will help you out.

1 Comment

I couldn't. Anivirus says:
Dangerous Website Blocked
You attempted to access:
https://www.theengineeringprojects.com/2017/03/eye-ball-detection-matlab.html
This is a known dangerous website. It is recommended that you do NOT visit this site. The detailed report explains the security risks on this site.
For your protection, this web page has been blocked. Visit Symantec to learn more about phishing and internet security.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!