Clear Filters
Clear Filters

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

1 view (last 30 days)
1. How do i get Centroid and its corresponding Equivdiameter when regionprops is used? I need centroid and its corresponding diameter..

Accepted Answer

Walter Roberson
Walter Roberson on 21 Dec 2015
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!