How to find the center point of the object?

17 views (last 30 days)
Sami
Sami on 24 Feb 2014
Answered: Image Analyst on 24 Feb 2014
I want to find the center point of the objects it maybe circular or sphere can anyone help me to find the center point of the objects?

Answers (2)

Anand
Anand on 24 Feb 2014
Look at the 'Centroid' property of the regionprops function.

Image Analyst
Image Analyst on 24 Feb 2014
See my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862. I find the centroid of coins.

Community Treasure Hunt

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

Start Hunting!