AddNoiseGauss Method

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

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static Image Gauss(
	Image img,
	double mean,
	double stdDev,
	int seed
)

Parameters

img
Type: Stemmer.CvbImage
image to add the noise to
mean
Type: SystemDouble
mean value of the gaussian distribution
stdDev
Type: SystemDouble
standard deviation of the gaussian 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