Expand description
Functions for adding synthetic noise to images.
Functionsยง
- gaussian_
noise - Adds independent additive Gaussian noise to all channels of an image, with the given mean and standard deviation.
- gaussian_
noise_ mut - Adds independent additive Gaussian noise to all channels of an image in place, with the given mean and standard deviation.
- salt_
and_ pepper_ noise - Converts pixels to black or white at the given
rate
(between 0.0 and 1.0). Black and white occur with equal probability. - salt_
and_ pepper_ noise_ mut - Converts pixels to black or white in place at the given
rate
(between 0.0 and 1.0). Black and white occur with equal probability.