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

Risposte (1)

Matt J
Matt J il 25 Mar 2013
Modificato: Matt J il 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 Commenti

Is weighted centroid the center of gravity of the image? Thank you.
Yes, you could think of it that way.
Is weighted centroid the center of gravity of the image?
If the pixel intensities are the "mass" of the image, then yes.

Accedi per commentare.

Richiesto:

il 25 Mar 2013

Community Treasure Hunt

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

Start Hunting!

Translated by