What formula MATLAB uses to find centroid of image?

1 vue (au cours des 30 derniers jours)
Explorer
Explorer le 24 Fév 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.

Réponses (1)

Walter Roberson
Walter Roberson le 24 Fév 2014

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by