How can I remove only the horizontal lines from the image preserving any arbitrary drawing over it

I want to remove the horizontal line (the shirorekha) for OCR application from the hand written document. After removal the characters/shape should be preserved.
Please help me with the code.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 27 Mar 2014

Answered:

on 27 Mar 2014

Community Treasure Hunt

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

Start Hunting!