Effacer les filtres
Effacer les filtres

how to detect oval shape

3 vues (au cours des 30 derniers jours)
Abdul
Abdul le 1 Jan 2012
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

Réponse acceptée

Walter Roberson
Walter Roberson le 1 Jan 2012
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.

Plus de réponses (0)

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by