how to put bounding box for single letter image?

1 回表示 (過去 30 日間)
Meghashree G
Meghashree G 2016 年 1 月 21 日
コメント済み: Meghashree G 2016 年 1 月 21 日
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.
  1 件のコメント
Meghashree G
Meghashree G 2016 年 1 月 21 日
sir,im not getting..please see my attached code and suggest please.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by