Adjacent Text Character Grouping

I am having a Text String image,here i need to make each string as one group by using connected component grouping.
For a connected component C, if both sibling sets are not empty and their size difference does not exceed 3, a sibling group SG(C)is defined as the union of the two sibling sets and the connected component itself.At this point, each sibling group can be considered as a fragment of a text string.
To create sibling groups corresponding to complete text strings, we merge together any two sibling groups SG(C1)and SG(C2)when the intersection of two sibling groups contains no less than two connected components. Repeat the merge process until no sibling groups can be merged together.
For example please see the image by given link.
https://www.dropbox.com/s/vpauvxkpdcc2x9t/images.bmp
Does any one know Please suggest me or any MATLAB code..?
Thank You.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2012년 12월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by