removing background noise from an image

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?".
Post Reply
galwaylibrary
Posts: 5
Joined: 2012-05-24T02:45:58-07:00
Authentication code: 13

removing background noise from an image

Post by galwaylibrary »

Hi,

I am trying to remove background noise from an image. The foreground is handwritten text, and there are black dots in the background. I am hoping to remove these without affecting the text. I am trying to use 'morphology' to select black areas of certain dimensions, but I am very hazy on this command.

I have posted the image at this web address.

http://places.galwaylibrary.ie/page.png

Any help would be much appreciated.

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

Re: removing background noise from an image

Post by fmw42 »

If on unix (Linux, Mac or Window with Cygwin) see my textcleaner script at the link below. Or use -lat (which is the heart of my script). see
http://www.imagemagick.org/script/comma ... ns.php#lat. You can also try some of the noise filtering functions such as -median or better -morphology open/close. See http://www.imagemagick.org/Usage/morphology/#basic
Post Reply