Separation of Overlapping and Touching Lines

3 views (last 30 days)
consortium
consortium on 18 Jan 2014
Edited: consortium on 21 Jan 2014
Hi..
Can anyone suggest an approach or method for the separation of overlapping and touching lines within handwritten documents
I can segment text lines. Now i want to separate the connected lines Here is my image link
Thanks
  2 Comments
Anand
Anand on 18 Jan 2014
Did you use the activecontour function for this segmentation? If so, what method did you use 'Chan-Vese' or 'edge'? Also, did you try fiddling with the smoothness parameter? Try reducing the smoothness parameter. That might give you a closer segmentation.
consortium
consortium on 18 Jan 2014
Edited: consortium on 18 Jan 2014
The implementation of active contours is done using level sets. reducing the smoothness parameter do not give good results on different types of documents. I need post-processing to separate overlapping and touching lines

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 18 Jan 2014
Try a morphological closing with imclose().
  5 Comments
Image Analyst
Image Analyst on 19 Jan 2014
Why? Why does it have to be automatic, rather than quick and effective? Do you want to get the job done , or do you want to spend weeks researching it (more time than you'd save with an automatic solution)? Unless you have thousands of images (which I doubt), I'd just get it done.
consortium
consortium on 20 Jan 2014
Edited: consortium on 21 Jan 2014
Thank you for all. I tried this method using the watershed over the distance function of the connected component set to separate them like here and here here some results obtained http://oi39.tinypic.com/adkprk.jpg and http://oi39.tinypic.com/29e6p86.jpg ... this method is inappropriate for the shapes textelines but I think I found an automated solution using histogram projection profile but isn't appropriate for all types of documents http://oi41.tinypic.com/69q99t.jpg ... I'm waiting for any sugestion

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!