---
name: "im_gaussnoise"
section: "3"
platform: "linux"
package: "libvips-dev"
version: "7.20.7-1+b3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/im_gaussnoise"
---

# im\_gaussnoise(3)

creates a gaussian noisy picture

## NAME

im\_gaussnoise - creates a gaussian noisy picture

## SYNOPSIS

\#include \<vips/vips.h\>

int im\_gaussnoise(image, xsize, ysize, mean, sigma)\
 IMAGE \*image;\
 int xsize, ysize;\
 double mean, sigma;

## 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.

## RETURN VALUE

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

## SEE ALSO

[im\_grey(3)](/im_grey/3.md), [im\_addgnoise(3)](/im_addgnoise/3.md).

## COPYRIGHT

N. Dessipris

## AUTHOR

N. Dessipris - 10/05/1991
