Possible bug in +noise random
Posted: 2008-02-19T21:59:04-07:00
I have had success with generating random noise images in previous version 6.3.7.x, but I am having trouble with IM 6.3.8-6 Q16 on Mac OS X Tiger.
When I do:
convert logo: -colorspace Gray +noise Random logo_random.png
I get a totally black image.
when I do
convert logo: -colorspace Gray +noise Uniform logo_uniform.png
or
convert logo: -colorspace Gray +noise Gaussian logo_gaussian.png
I see an image but it is visually no different from
convert logo: -colorspace Gray logo_gray.png
compare -metric rmse logo_gray.png ogo_uniform.png null:
gives a small error, but it is not visually perceptive.
Also Anthony's example:
convert -size 100x100 xc: +noise Random random.png
and
convert -size 100x100 xc: -fx 'rand()' random_fx.png
also produce a totally visual black image and not what he shows on his examples page.
As a further question, is there any way to control the statistics of the random noise levels, e.g. values nominally range from 0 to 1, but what if I want it to vary only from .3 to .7. Can this be controlled with any advanced SET option?
Thanks.
When I do:
convert logo: -colorspace Gray +noise Random logo_random.png
I get a totally black image.
when I do
convert logo: -colorspace Gray +noise Uniform logo_uniform.png
or
convert logo: -colorspace Gray +noise Gaussian logo_gaussian.png
I see an image but it is visually no different from
convert logo: -colorspace Gray logo_gray.png
compare -metric rmse logo_gray.png ogo_uniform.png null:
gives a small error, but it is not visually perceptive.
Also Anthony's example:
convert -size 100x100 xc: +noise Random random.png
and
convert -size 100x100 xc: -fx 'rand()' random_fx.png
also produce a totally visual black image and not what he shows on his examples page.
As a further question, is there any way to control the statistics of the random noise levels, e.g. values nominally range from 0 to 1, but what if I want it to vary only from .3 to .7. Can this be controlled with any advanced SET option?
Thanks.