What is the difference between centroid and weighted centroid in regionprops?
Mostra commenti meno recenti
Which one of the two calculates the center of gravity of the entire image. Thank you.
Risposte (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 Commenti
Tola
il 25 Mar 2013
Image Analyst
il 25 Mar 2013
Yes, you could think of it that way.
Tola
il 26 Mar 2013
Categorie
Scopri di più su Region and Image Properties in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!