Search found 6 matches

by wineismine
2018-07-04T07:20:26-07:00
Forum: Users
Topic: Remove underlines from image for ocr
Replies: 4
Views: 4359

Re: Remove underlines from image for ocr


It can be done, but I can't see an easy way.

Each pixel that is removed may have had neighbours in three positions on the previous row (up, up-left and up-right), and neighbours in three positions on the following row.

For some combinations of neighbours, you want to replace the pixel that was ...
by wineismine
2018-07-04T05:42:38-07:00
Forum: Users
Topic: Remove underlines from image for ocr
Replies: 4
Views: 4359

Re: Remove underlines from image for ocr

anyone?
by wineismine
2018-06-20T00:40:17-07:00
Forum: Users
Topic: Remove underlines from image for ocr
Replies: 4
Views: 4359

Remove underlines from image for ocr

I need to remove lines from the following image without affecting the characters
https://preview.ibb.co/nkUc4d/21.gif

magick 21.gif -monochrome ( +clone -negate -statistic median 219x1 ) -compose lighten -composite q1.png

To make it more clearI dont want my image to have gaps which are shown ...
by wineismine
2017-10-22T18:46:15-07:00
Forum: Users
Topic: Filling the gaps made in pixels due to line removal
Replies: 4
Views: 4350

Re: Filling the gaps made in pixels due to line removal

where to save the script file fillholespri?
magick: unable to load module `fillholespri' @ error/module.c/InvokeDynamicImageFilter/1663.
by wineismine
2017-10-22T18:22:17-07:00
Forum: Users
Topic: Create white pixel above all single white pixels
Replies: 1
Views: 2025

Create white pixel above all single white pixels

Image
I need to create white pixel above the solitary white pixels so as to fill the gap made by line removal.Please help
by wineismine
2017-10-22T04:48:09-07:00
Forum: Users
Topic: Filling the gaps made in pixels due to line removal
Replies: 4
Views: 4350

Filling the gaps made in pixels due to line removal

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
http://www.leptonica.org/figs/dave-proc8.png
But i cant figure out the correct command for the Final figure which fills up the mixing ...