How to identify the disk edge?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Steven
am 17 Mär. 2014
Bearbeitet: Steven
am 26 Apr. 2016
How can MATLAB determine the radius of the disk? (imagine the center is known)
I know that if the whole circle is visible, I can use imfindcircle or other methods to determine the center and radius, but I wonder whether MATLAB can determine the edge of the radius for such an image?
Thanks
Steven
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 17 Mär. 2014
2 Kommentare
Image Analyst
am 17 Mär. 2014
First segment based on threshold
binaryImage = grayImage < 128; % or whatever value works.
Then get rid of small noise particles
binaryImage = bwareaopen(binaryImage, 10000);
Then call bwboundaries
boundaries = bwboundaries(binaryimage);
Then do the fit as per the FAQ.
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!