1. How do i get Centroid and its corresponding Equivdiameter when regionprops is used?
2 views (last 30 days)
Show older comments
MoonPie1
on 21 Dec 2015
Answered: Walter Roberson
on 21 Dec 2015
1. How do i get Centroid and its corresponding Equivdiameter when regionprops is used? I need centroid and its corresponding diameter..
0 Comments
Accepted Answer
Walter Roberson
on 21 Dec 2015
stats = regionprops(TheImage, 'Centroid', 'EquivDiameter');
stats(1).Centroid
stats(1).EquivDiameter
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!