How to measure the horizontal and vertical axis length of an object?

2 vues (au cours des 30 derniers jours)
gugu
gugu le 3 Déc 2017
Commenté : gugu le 3 Déc 2017
I want to measure the horizontal and vertical axis length of the object in the attached image. How can I do that?

Réponse acceptée

Image Analyst
Image Analyst le 3 Déc 2017
props = regionprops(binaryImage, 'BoundingBox');
horizontalWidth = props.BoundingBox(3);
verticalHeight = props.BoundingBox(4);

Plus de réponses (0)

Catégories

En savoir plus sur Images 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