How to measure the horizontal and vertical axis length of an object?
2 ビュー (過去 30 日間)
古いコメントを表示
I want to measure the horizontal and vertical axis length of the object in the attached image. How can I do that?
0 件のコメント
採用された回答
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!