How do I crop out an a circle image from an image after edge detection

7 Ansichten (letzte 30 Tage)
I am trying to extract the annular portion from the image below. But am unable to find a function or code for this . Can somebody please help on how to proceed. I have the radius for the circles and the centre.

Akzeptierte Antwort

Image Analyst
Image Analyst am 18 Jul. 2021
  2 Kommentare
Karthik Krishnan
Karthik Krishnan am 20 Jul. 2021
then what is the point of doing edge detection ?(here canny )
Karthik Krishnan
Karthik Krishnan am 20 Jul. 2021
If i have a raw eye image from the dataset what all steps i need to do for extracting the iris for further processes?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Yongjian Feng
Yongjian Feng am 18 Jul. 2021
This be done by a brute-force approach, right? Read the bitmap, check the coordinates of each point. If it is outside the circle, set it to white (or black). If it is inside the circle, copy it over.

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by