Bounding Box largest rectangle?
古いコメントを表示
When I use regionprops BoundingBox, it seems to always capture smaller blobs on the left most side of my image and not my largest blob. How do I bound the box around the largest blob?
4 件のコメント
David Young
2015 年 8 月 16 日
regionprops finds all blobs - there must be something else happening. Please could you post the image and code that demonstrates the problem.
Ivan Q
2015 年 8 月 16 日
Walter Roberson
2015 年 8 月 16 日
box=stats(index).BoundingBox;
Ivan Q
2015 年 8 月 16 日
採用された回答
その他の回答 (1 件)
nilton brites
2017 年 9 月 21 日
0 投票
explain what is definition of bounding box on image?
2 件のコメント
Image Analyst
2017 年 9 月 21 日
It's the box, with edges parallel to the edges of the image, that contains object(s) of interest, such as blobs you got by thresholding. You can have a box around each blob, or around the whole group of them.
Walter Roberson
2017 年 9 月 21 日
In particular a bounding box is most often computed as the smallest box with horizontal and vertical sides that encloses the object(s), but bounding boxes can, in general, be larger than that: they are basically a box large enough to be sure you are enclosing the portion of interest.
カテゴリ
ヘルプ センター および File Exchange で Object Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!