Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Recently i saw a topic about line removal using leptonica.http://www.leptonica.org/line-removal.html.So i tried it in imagemagick and i made it till
Figure 9
But i cant figure out the correct command for the Final figure which fills up the mixing pixels only in the image(which is below).So please help me.
I've written a couple of web pages on the topic, plus code -- search "filling holes" on my web page.
The example on your link uses a morphological open to join lines across the gap. My hole-filling code copies suitable areas from elsewhere in the image. The gap is only 2 or 3 pixels high, so they should work fine. Almost anything could be used, such as a vertical blur.
I've also written a page about joining broken lines, but that's mostly designed for binary images.