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

3 visualizzazioni (ultimi 30 giorni)
I have attached the image what I am expecting.

Risposta accettata

Rik
Rik il 16 Ott 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.

Più risposte (0)

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by