Page 1 of 1

Remove watermark

Posted: 2010-11-02T10:45:35-07:00
by galv
Is there a way to remove a watermark? If yes, can it also be automated? By 'automated' I mean without knowing the watermark's rgb color.

Re: Remove watermark

Posted: 2010-11-02T15:28:23-07:00
by fmw42
Nothing automatic in IM that I know about. One can do Inpainting to remove a constant color watermark using thinks like -morphology commands. Anthony has a script to that where the watermark is made transparent. see http://www.imagemagick.org/Usage/script ... l_shepards and viewtopic.php?p=41498#p41498 and inpaint at http://gmic.sourceforge.net/reference.shtml

Re: Remove watermark

Posted: 2010-11-02T22:16:00-07:00
by anthony
Large semi-transparent watermarks are harder as removing them often makes the the results worse than not removing them.

What you really want to do is some how figure out a way to brighten/darken/enhance/decontrast, the specific pixels in the watermarked area to try to return them to a more 'normal' state. No solution is perfect, and varies depending on exactly how the watermark was added.

Also it may be that some color information was lost during the watermarking, so restoration may never be perfect even with a exact understanding of the watermarking process. However it should be possible to get a partial solution.

Of course without an example, time, and willpower, nothing will be possible.

If you do find some partial solution, please let us know. Lots of people would be interested, especially video enthusiasts.