Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 1 Mär. 2012
0 Stimmen
3 Kommentare
Khawaja Asim
am 2 Mär. 2012
Khawaja Asim
am 2 Mär. 2012
Image Analyst
am 2 Mär. 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.
Kategorien
Mehr zu Smoothing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!