Background noise removal unsuccessful

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?".
Posts: 1
Joined: 2020-02-19T10:04:43-07:00
Authentication code: 1152

Background noise removal unsuccessful

Post by longjohn85 »


I am trying to remove the background noise from the image below ... sp=sharing

I had tried several methods but the background noise cannot be removed. The recent script I had tried which I see resembles the closest to my scenario is as below:

Code: Select all

noisecleaner -m 2 -n 10 out.png out.png
textcleaner -f 25 -o 10 out.png out_2.png
I would really need some advice on how I can remove the background noise to achieve satisfactory OCR results. I am using ImageMagick-7.0.9-Q16

Thanks in advance.

User avatar
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Background noise removal unsuccessful

Post by fmw42 »

One suggestion is to use -lat (local area thresholding) followed by -connected-components processing to remove the smaller noise dots.

None of my scripts will likely help the kind of noise that you have.