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 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145703/image.jpeg)
0 Commenti
Risposta accettata
Image Analyst
il 13 Ott 2014
Call imfill() and then bwareaopen, and bwperim. It's like 3 lines of code.
4 Commenti
Image Analyst
il 14 Ott 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.
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!