What formula MATLAB uses to find centroid of image?

3 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Walter Roberson
Walter Roberson il 24 Feb 2014

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by