im_gaussnoise(3)

im_gaussnoise3

Creates a gaussian noisy picture

Usage

#include <vips/vips.h>

int im_gaussnoise(image, xsize, ysize, mean, sigma)
IMAGE *image;
int xsize, ysize;
double mean, sigma;

Overview

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.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

Author

N. Dessipris - 10/05/1991

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.