How does REGIONPROPS define "normalized second central moment"?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
From the documentation (R2013a) on REGIONPROPS
'MajorAxisLength' — Scalar specifying the length (in pixels) of the major axis of the ellipsethat has the same normalized second central moments as the region.
However according to the definition of normalized central moments given here, the normalized second central moment is always 1 with identity. So, clearly REGIONPROPS uses a different definition. What is the definition that REGIONPROPS uses?
1 commentaire
Shinuo Weng
le 26 Avr 2018
the normalized second central moment is the second central moment divided by the area.
Réponse acceptée
Image Analyst
le 13 Déc 2013
I'm not seeing how it says that the normalized second central moment is always 1.
I'm not sure what they use, but if I were going to do it, I'd use these formulas: https://en.wikipedia.org/wiki/Image_moment#Central_moments. Note that f(x,y) always equals 1 for a binary blob.
2 commentaires
Cris Luengo
le 8 Fév 2017
This is an old question, but just for reference value:
In that link to Wikipedia page on image moments, look at mu', not mu. mu' is normalized by the "object weight", the 0th order moment. Those are used to compute axes lengths (4 * sqrt(lambda)).
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!