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

2 次查看(过去 30 天)

采纳的回答

Image Analyst
Image Analyst 2014-10-13
Call imfill() and then bwareaopen, and bwperim. It's like 3 lines of code.
  4 个评论
Image Analyst
Image Analyst 2014-10-14
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.

请先登录,再进行评论。

更多回答(1 个)

lucky
lucky 2014-10-14
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....

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by