1. How do i get Centroid and its corresponding Equivdiameter when regionprops is used?

1. How do i get Centroid and its corresponding Equivdiameter when regionprops is used? I need centroid and its corresponding diameter..

 Accepted Answer

stats = regionprops(TheImage, 'Centroid', 'EquivDiameter');
stats(1).Centroid
stats(1).EquivDiameter

More Answers (0)

Community Treasure Hunt

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

Start Hunting!