how to detect oval shape

9 ビュー (過去 30 日間)
Abdul
Abdul 2012 年 1 月 1 日
i want to detect oval shape only in image. how can i do this using matlab in easy way. http://i1108.photobucket.com/albums/h404/abdulhadi3/ConferenceSurveyForm.png

採用された回答

Walter Roberson
Walter Roberson 2012 年 1 月 1 日
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 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by