What is the difference between centroid and weighted centroid in regionprops?
Show older comments
Which one of the two calculates the center of gravity of the entire image. Thank you.
Answers (1)
'WeightedCentroid' will use the pixel intensities in the image region as weights in the centroid calculation. With 'Centroid', all pixels in the region get equal weight.
4 Comments
Tola
on 25 Mar 2013
Image Analyst
on 25 Mar 2013
Yes, you could think of it that way.
Tola
on 26 Mar 2013
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!