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

20 visualizaciones (últimos 30 días)
Which one of the two calculates the center of gravity of the entire image. Thank you.

Respuestas (1)

Matt J
Matt J el 25 de Mzo. de 2013
Editada: Matt J el 25 de Mzo. de 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 comentarios
Matt J
Matt J el 26 de Mzo. de 2013
Editada: Matt J el 26 de Mzo. de 2013
Is weighted centroid the center of gravity of the image?
If the pixel intensities are the "mass" of the image, then yes.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by