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

1 回表示 (過去 30 日間)
gugu
gugu 2017 年 12 月 3 日
コメント済み: gugu 2017 年 12 月 3 日
I want to measure the horizontal and vertical axis length of the object in the attached image. How can I do that?

採用された回答

Image Analyst
Image Analyst 2017 年 12 月 3 日
props = regionprops(binaryImage, 'BoundingBox');
horizontalWidth = props.BoundingBox(3);
verticalHeight = props.BoundingBox(4);

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by