Specifications
Intel
®
Image Processing Library Reference Manual
4-44
4
NoiseGaussianInit,
NoiseGaussianInitFp
Initializes parameters
for generating noise
signal with Gaussian
distribution.
void iplNoiseGaussianInit ( IplINoiseParam*
noiseParam
,
unsigned int
seed
, int
mean
, int
stDev
);
void iplNoiseGaussianInitFp ( IplINoiseParam*
noiseParam
,
unsigned int
seed
, float
mean
, float
stDev
);
noiseParam
Pointer to the structure that contains parameters
for the noise generator.
seed
The initial seed value for the pseudo-random
number generator.
mean
The mean of the Gaussian distribution.
stDev
The standard deviation of the Gaussian
distribution.
Discussion
Use functions iplNoiseGaussianInit(), iplNoiseGaussianInitFp()
to initialize the
noiseParam
structure if you want to generate the noise
signal with Gaussian distribution that has the mean value
mean
and
standard deviation
stDev
. After that you can call the iplNoiseImage()
function, which actually generates and adds the noise signal.