how to remove the rest of the image and only keep the circle And nest how to calculate its diameter ? I am working on iris recognition ? thanks in adavnce for your suggestions

1 view (last 30 days)

Accepted Answer

Image Analyst
Image Analyst on 13 Oct 2014
Call imfill() and then bwareaopen, and bwperim. It's like 3 lines of code.
  4 Comments
Image Analyst
Image Analyst on 14 Oct 2014
Lucky, your outer "circle" is not even a circle. It's some arcs - not a complete circle but a broken up one. I just did what you asked - found the circle, the only one that was there. Even though I answered your question, it appears you are taking an entirely different approach. If I had known that initially I wouldn't have done this demo and would have referred you to published papers here that discuss how to find irises. Also, I added tags to the question so people know what it's really about. You can click on the iris tag to see other discussions on it if you want. Good luck on applying that algorithm to your images.

Sign in to comment.

More Answers (1)

lucky
lucky on 14 Oct 2014
Thanks for your response but I need the outer diameter. Diameter of the iris along the horizontal axis as the I am trying to follow the idea of http://www.matlabcodes.com/2011/01/iris-detection-matlab.html
and our next step will be to compare the two image....

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!