What formula MATLAB uses to find centroid of image?

1 Ansicht (letzte 30 Tage)
Explorer
Explorer am 24 Feb. 2014
Beantwortet: Walter Roberson am 24 Feb. 2014
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.

Antworten (1)

Walter Roberson
Walter Roberson am 24 Feb. 2014

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by