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

2 visualizzazioni (ultimi 30 giorni)
I want to measure the horizontal and vertical axis length of the object in the attached image. How can I do that?

Risposta accettata

Image Analyst
Image Analyst il 3 Dic 2017
props = regionprops(binaryImage, 'BoundingBox');
horizontalWidth = props.BoundingBox(3);
verticalHeight = props.BoundingBox(4);

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by