1IM_ADDGNOISE(3)            Library Functions Manual            IM_ADDGNOISE(3)
2
3
4

NAME

6       im_addgnoise - add gaussian noise to an image
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_addgnoise(in, out, sigma)
12       IMAGE *in, *out;
13       double sigma;
14
15

DESCRIPTION

17       im_addgnoise()  adds  gaussian noise with mean 0 and standard deviation
18       sigma to the image held by the  image  descriptor  in  and  writes  the
19       result on the image descriptor out.  The function works on any non-com‐
20       plex input image.  Input can have any no of bands.  The noise is gener‐
21       ated by adding 12 random numbers.
22
23

RETURN VALUE

25       The function returns 0 on success and -1 on error.
26

SEE ALSO

28       im_add(3), im_lintra(3), im_multiply(3).
29
31       N. Dessipris
32

AUTHOR

34       N. Dessipris - 25/04/1991
35
36
37
38                                  14 May 1991                  IM_ADDGNOISE(3)
Impressum