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!