Page 1 of 1

Re: Adding noise. The amount of noise.

Posted: 2007-06-25T11:00:21-07:00
by dognose
I'd be interested in knowing how to do this as well. How to add just a little noise.

Re: Adding noise. The amount of noise.

Posted: 2007-06-25T11:50:47-07:00
by magick
The noise attenuation is fixed as constants in the magick/effects.c module in method GenerateNoise(). You can always add more noise by calling the noise command line argument more than once but you can't reduce the noise without modifying the source code at this time.

Re: Adding noise. The amount of noise.

Posted: 2007-06-26T21:09:48-07:00
by anthony
You could overlay a random amount of a random image...
See DIY random noise
http://www.imagemagick.org/Usage/canvas/#random
Of course -FX is slow, but +noise poisson isn't.

I may have to re-write that part of IM examples to use it :-)

However you are right -noise and +noise could probably do with a rewrite.
Volunteers?

Re: Adding noise. The amount of noise.

Posted: 2007-08-13T22:58:40-07:00
by anthony
A special +noise Random method was created that will replace the current image with a purely and linearly random noise. This removes the need for using the very slow -fx to generate pure random noise images. From that start you can then modify the image to generate any noise pattern you like.