how to put bounding box for single letter image?

1 visualizzazione (ultimi 30 giorni)
Meghashree G
Meghashree G il 21 Gen 2016
Commentato: Meghashree G il 21 Gen 2016
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

Risposte (1)

Image Analyst
Image Analyst il 21 Gen 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!

Translated by