MATLAB: For the ‘regionprops’ function

regionprops

Hello, everyone, Are the 'Centroid' attributes obtained by the 'regionprops' function the origins of the ellipses? Or how can I get the origins of the ellipses? Thank you very much.

Best Answer

Ellipses (actual ones) are always symmetric along both the major and minor axes, so they have a well defined origin which is at their centroid.
If you have partial ellipses instead of full ellipses then the centroid of the region will not generally match the origin of the ellipse.