Possible bug random noise IM 6.7.8.1 Q16 Mac OSX

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Possible bug random noise IM 6.7.8.1 Q16 Mac OSX

Post by fmw42 »

convert zelda3.png -seed 1000 -attenuate 0.001 +noise random zelda_random.png

But -attenuate does not seem to be working with random noise, though it does with gaussian. Is this a bug?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Possible bug random noise IM 6.7.8.1 Q16 Mac OSX

Post by magick »

Uniform random noise is relative to the current pixel value. Random noise replaces the current pixel value except it should respect attenuation. Look for a patch by sometime tomorrow.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Possible bug random noise IM 6.7.8.1 Q16 Mac OSX

Post by fmw42 »

magick wrote:Uniform random noise is relative to the current pixel value. Random noise replaces the current pixel value except it should respect attenuation. Look for a patch by sometime tomorrow.

OK. I see that now from the code. I will add a note to the docs to clarify how random noise is a replacement.
Post Reply