필터 지우기
필터 지우기

For the 'regionprops' function

조회 수: 1 (최근 30일)
Songqiu
Songqiu 2018년 10월 27일
답변: Walter Roberson 2018년 10월 27일
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
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?
Songqiu
Songqiu 2018년 10월 27일
The objects are in my image ellipses. Yes, the centres of the ellipses.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
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개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by