1IM_GAUSNOISE(3) Library Functions Manual IM_GAUSNOISE(3)
2
3
4
6 im_gaussnoise - creates a gaussian noisy picture
7
9 #include <vips/vips.h>
10
11 int im_gaussnoise(image, xsize, ysize, mean, sigma)
12 IMAGE *image;
13 int xsize, ysize;
14 double mean, sigma;
15
16
18 im_gaussnoise() creates a float one band gaussian noise picture of size
19 xsize by ysize. The created image has mean mean and square root of
20 variance equal to sigma. The noise is generated by averaging 12 random
21 numbers.
22
23
25 The function returns 0 on success and -1 on error.
26
28 im_grey(3), im_addgnoise(3).
29
31 N. Dessipris
32
34 N. Dessipris - 10/05/1991
35
36
37
38 10 May 1991 IM_GAUSNOISE(3)