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.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
Parameters
- img
- Type: Stemmer.CvbImage
image to add the noise to - lowest
- Type: SystemDouble
lower bound of the uniform distribution - highest
- Type: SystemDouble
upper bound of the uniform distribution - seed
- Type: SystemInt32
seed value for the pseudo random number generator
Return Value
Type: Imagethe input image with added noise
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
See Also