How to find the center point of the object?

35 ビュー (過去 30 日間)
Sami
Sami 2014 年 2 月 24 日
回答済み: Image Analyst 2014 年 2 月 24 日
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?

回答 (2 件)

Anand
Anand 2014 年 2 月 24 日
Look at the 'Centroid' property of the regionprops function.

Image Analyst
Image Analyst 2014 年 2 月 24 日
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!

Translated by