how to put bounding box for single letter image?

1 view (last 30 days)
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

Answers (1)

Image Analyst
Image Analyst on 21 Jan 2016
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!