circle fitting
Mostrar comentarios más antiguos
I have a binary image. This image contains white points randomly a ranged inside a region of interest. I want to draw a circle that can include all these points inside it. Means that I want to write a code that detect all these active points automatically and draw a circle in such a way that all the active (white) points come inside this circle. And outer most white point become a part of the boundary of circle. Can anyone help me in that?
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 1 de Mzo. de 2012
0 votos
3 comentarios
Khawaja Asim
el 2 de Mzo. de 2012
Khawaja Asim
el 2 de Mzo. de 2012
Image Analyst
el 2 de Mzo. de 2012
Neither Walter's nor John's solution will work if you have a random smattering of dots along the top of an arc. In that case you'd have to do a fit. Apparently that's complicated. I have a paper or reference to fitting a circle that I'll try to look up later for you.
Categorías
Más información sobre Smoothing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!