Effacer les filtres
Effacer les filtres

What is the difference between centroid and weighted centroid in regionprops?

32 vues (au cours des 30 derniers jours)
Tola
Tola le 25 Mar 2013
Which one of the two calculates the center of gravity of the entire image. Thank you.

Réponses (1)

Matt J
Matt J le 25 Mar 2013
Modifié(e) : Matt J le 25 Mar 2013
'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 commentaires
Matt J
Matt J le 26 Mar 2013
Modifié(e) : Matt J le 26 Mar 2013
Is weighted centroid the center of gravity of the image?
If the pixel intensities are the "mass" of the image, then yes.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by