how to convert a segmented image to a set of bounding boxes?
4 次查看(过去 30 天)
显示 更早的评论
I have use the function
L = imsegkmeans(I,k)
to segement image into region. Now, How to convert the output L into a set of bounding boxes?
Any idea. Need help.
0 个评论
回答(1 个)
KALYAN ACHARJYA
2020-3-2
regionprops(segmmented_image, 'BoundingBox' );
then
rectangle
See the Matlab Documention for details
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!