Hi, how i can set bounding box if i need that recantagle be then width are biger then height. Sorry for my english. Also add image too easy understand my question.

답변 (1개)

Image Analyst
Image Analyst 2016년 4월 5일

0 개 추천

Call regionprops():
measurements = regionprops(logical(binaryImage), 'BoundingBox');
bBox = measurements.BoundingBox;
hold on;
rectangle('Position', bBox, 'EdgeColor', 'r');

카테고리

도움말 센터 및 File Exchange에서 Lidar Toolbox에 대해 자세히 알아보기

질문:

2016년 4월 5일

답변:

2016년 4월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by