how to finding length and width of an object in an image

1 vue (au cours des 30 derniers jours)
muzafar
muzafar le 18 Fév 2013
after detecting the object in the image how to find the length and width of that object

Réponses (1)

Matt J
Matt J le 18 Fév 2013
Unless the object is rectangular, it would depend greatly on how you define its length and width.
One possibility is to use
regionprops(...,'MajorAxisLength')
regionprops(...,'MinorAxisLength')

Catégories

En savoir plus sur Feature Detection and Extraction 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