How to find center point of a colored image?

8 vues (au cours des 30 derniers jours)
sangeeta
sangeeta le 18 Mar 2013
This point is needed to draw circles on image.

Réponse acceptée

Walter Roberson
Walter Roberson le 18 Mar 2013
Divide size() by 2.
If you want to find the center according to content, then you need to define which parts are content to be considered and which parts are to be disregarded.
Colored images often imply different densities of materials. If that is the case with your image, then you need to define the mapping between color and density if you wish to find the center of mass.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by