For the 'regionprops' function
1 回表示 (過去 30 日間)
古いコメントを表示
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.
2 件のコメント
Matt J
2018 年 10 月 27 日
What ellipses are you referring to? Are the objects in your image ellipses, or are you trying to fit them with ellipses? And what is meant by their "origin"? Do you mean their centers?
採用された回答
Walter Roberson
2018 年 10 月 27 日
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.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!