how to calculate the centroid of image ?

조회 수: 2(최근 30일)
ElizabethR
ElizabethR 2016년 4월 29일
댓글: Walter Roberson 2016년 5월 3일
i have a binary image with size is 11 x 11 pixel. And i calculate the centroids of the image using centroid function in regionprops. The centroid result is 5,6897 and 6,0690. Why the entroid result is not 6 and 6 ? if i think, the centroids of 11 x 11 pixel is 6 and 6 , is that right ? thanks
  댓글 수: 3
Walter Roberson
Walter Roberson 2016년 5월 3일
Which MATLAB version are you using?

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

답변(0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by