AddNoiseUniform Method

CVB.Net Documentation
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

public static Image Uniform(
	Image img,
	double lowest,
	double highest,
	int seed
)

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: Image
the input image with added noise
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img is null
ObjectDisposedExceptionIf the input img has already been disposed
See Also

Reference