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

3 visualizaciones (últimos 30 días)
I have attached the image what I am expecting.
  2 comentarios
Rik
Rik el 16 de Oct. de 2020
The centroid you marked is not the center of the circle. Do you want it to be?
Nabanita Roy
Nabanita Roy el 17 de Oct. de 2020
No, the centroid is not the centroid of the circle. I want to get the maximum inscribed circle inside the white object.

Iniciar sesión para comentar.

Respuesta aceptada

Rik
Rik el 16 de Oct. de 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.

Más respuestas (0)

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by