필터 지우기
필터 지우기

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

조회 수: 32 (최근 30일)
Tola
Tola 2013년 3월 25일
Which one of the two calculates the center of gravity of the entire image. Thank you.

답변 (1개)

Matt J
Matt J 2013년 3월 25일
편집: Matt J 2013년 3월 25일
'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
Matt J
Matt J 2013년 3월 26일
편집: Matt J 2013년 3월 26일
Is weighted centroid the center of gravity of the image?
If the pixel intensities are the "mass" of the image, then yes.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by