What formula MATLAB uses to find centroid of image?

조회 수: 1 (최근 30일)
Explorer
Explorer 2014년 2월 24일
답변: Walter Roberson 2014년 2월 24일
I know, we can get centroid by writing following:
stat = regionprops(BW, 'Centroid') ;
c = stat.Centroid
But how can I find centroid of image using mathematical expressions?
I want to know what expression MATLAB uses to find centroid.

답변 (1개)

Walter Roberson
Walter Roberson 2014년 2월 24일

태그

Community Treasure Hunt

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

Start Hunting!

Translated by