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

2 views (last 30 days)
I have attached the image what I am expecting.

Accepted Answer

Rik
Rik on 16 Oct 2020
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.

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!