manpagez: man pages & more
man im_addgnoise(3)
Home | html | info | man
im_addgnoise(3)                                                im_addgnoise(3)




NAME

       im_addgnoise - add gaussian noise to an image


SYNOPSIS

       #include <vips/vips.h>

       int im_addgnoise(in, out, sigma)
       IMAGE *in, *out;
       double sigma;



DESCRIPTION

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



RETURN VALUE

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


SEE ALSO

       im_add(3), im_lintra(3), im_multiply(3).


COPYRIGHT

       N. Dessipris


AUTHOR

       N. Dessipris - 25/04/1991



                                  14 May 1991                  im_addgnoise(3)

im_addgnoise 7.14.5 - Generated Fri Sep 5 19:36:16 CDT 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.