how to detect oval shape

 채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 1일

0 개 추천

Probably much like the code Chandra provided you for detecting squares, except changing the arguments to the rectangle() call a bit. The rectangle() call is able to draw ovals if you give it the proper arguments. regionprops() can tell you the major and minor axes of the object.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by