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