How to draw a inscribed circle having maximum radius inside the binary image. I have already identified the centroid of the object.

3 次查看(过去 30 天)
I have attached the image what I am expecting.

采纳的回答

Rik
Rik 2020-10-16
If you invert your image, you can use bwdist to find the point furthest from the edge. That distance is by default the radius of your circle.

更多回答(0 个)

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by