About Bounding Box
显示 更早的评论
How to get the properties(width and ul_corner) of the bounding box? Im using the bounding box for detecting the object. now i need to find the height and width of the object in pixels.
回答(1 个)
Walter Roberson
2011-4-29
0 个投票
If you are using regionprops reshape(TheBoundingBox,[],2) . Then the first column will be the ul_corner and the second column will be the corresponding widths.
类别
在 帮助中心 和 File Exchange 中查找有关 Region and Image Properties 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!