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

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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by