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

조회 수: 2 (최근 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개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by