How does REGIONPROPS define "normalized second central moment"?
조회 수: 5 (최근 30일)
이전 댓글 표시
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
Shinuo Weng
2018년 4월 26일
the normalized second central moment is the second central moment divided by the area.
채택된 답변
Image Analyst
2013년 12월 13일
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
Cris Luengo
2017년 2월 8일
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)).
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!