Generate an image disturbed by Gaussian noise
#include "dip_noise.h"
dip_Error dip_GaussianNoise ( in, out, variance, random )
integer, float
Generate an image disturbed by additive Gaussian noise.
Data type | Name | Description |
dip_Image | in | Input |
dip_Image | out | Output |
dip_float | variance | Variance of the Gaussian distribution the noise is drawn from |
dip_Random * | random | Pointer to a random value structure |
Get a image with additive Gaussian noise as follows:
dip_Image in, out; dip_float variance; dip_Random random; variance = 1.0; DIPXX(dip_GaussianNoise(in, out, variance, &random ));
RandomVariable, RandomSeed, UniformNoise, PoissonNoise, BinaryNoise
DIPlib on-line documentation | Function reference | Global function index