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!