Greetings. I want to ask on how to calculate radius of circle in matlab

1 次查看(过去 30 天)
This is the example of image

采纳的回答

Benjamin Kraus
Benjamin Kraus 2018-3-4
Maybe one of these links will give you some ideas about how to get started:

更多回答(1 个)

Image Analyst
Image Analyst 2018-3-4
First segment the binary image to get the blobs you want the diameter of. Then simply call regionprops to get the equivalent circular diameters.
props = regionprops (binaryImage, 'EquivDiameter');
allDiameters = [props.EquivDiameter]

Community Treasure Hunt

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

Start Hunting!

Translated by