Collection of functions that add noise to Cvb Images. More...
Static Public Member Functions | |
static Image | Uniform (Image img, double lowest, double highest, int seed) |
Add noise with uniform distribution to an image. Pixel values that exceed the image's value range are saturated at the minimum and maximum value. | |
static Image | Gauss (Image img, double mean, double stdDev, int seed) |
Add noise with Gaussian distribution to an image. Pixel values that exceed the image's value range are saturated at the minimum and maximum value. | |
Collection of functions that add noise to Cvb Images.
Add noise with Gaussian distribution to an image. Pixel values that exceed the image's value range are saturated at the minimum and maximum value.
img | image to add the noise to |
mean | mean value of the gaussian distribution |
stdDev | standard deviation of the gaussian distribution |
seed | seed value for the pseudo random number generator |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
Add noise with uniform distribution to an image. Pixel values that exceed the image's value range are saturated at the minimum and maximum value.
img | image to add the noise to |
lowest | lower bound of the uniform distribution |
highest | upper bound of the uniform distribution |
seed | seed value for the pseudo random number generator |
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.