how to put bounding box for single letter image?

2 次查看(过去 30 天)
Hello, i have a single letter image and if i apply bounding for it,i am getting only one box.
For this image,i should get 2 bounding boxes.How do i do it?? Please help me. Thank you

回答(1 个)

Image Analyst
Image Analyst 2016-1-21
Call regionprops() on that small image. Ask for BoundingBox. You will get 2 of them - one for each blob.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by