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)
Show older comments
0 Comments
Accepted Answer
Image Analyst
on 13 Oct 2014
Call imfill() and then bwareaopen, and bwperim. It's like 3 lines of code.
4 Comments
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.
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!