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!