How to fit rectangles on blobs on binary image
이전 댓글 표시
I have this binary image:

I need to find 2 rectangles that fit around the two blobs as best as possible. What's the best method to apply?
Thanks for any help!
채택된 답변
추가 답변 (1개)
Matt J
2021년 1월 7일
regionprops(BW, 'BoundingBox')
카테고리
도움말 센터 및 File Exchange에서 Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!