libvips/man/im_gaussnoise.3

28 lines
659 B
Groff
Raw Normal View History

2007-08-29 18:23:50 +02:00
.TH IM_GAUSNOISE 3 "10 May 1991"
.SH NAME
im_gaussnoise \- creates a gaussian noisy picture
.SH SYNOPSIS
#include <vips/vips.h>
int im_gaussnoise(image, xsize, ysize, mean, sigma)
.br
IMAGE *image;
.br
int xsize, ysize;
.br
double mean, sigma;
.SH DESCRIPTION
im_gaussnoise() creates a float one band gaussian noise picture of size xsize
by ysize. The created image has mean mean and square root of variance equal
to sigma. The noise is generated by averaging 12 random numbers.
.SH RETURN VALUE
The function returns 0 on success and -1 on error.
.SH SEE ALSO
im_grey(3), im_addgnoise(3).
.SH COPYRIGHT
N. Dessipris
.SH AUTHOR
N. Dessipris \- 10/05/1991