Click or drag to resize

AddNoiseCommand Constructor (AddNoiseFilterType, Double, Boolean, Double)

Initializes a new instance of AddNoiseCommand specifying the filter type, variance, monochromatic setting, and mean.

Namespace:  Atalasoft.Imaging.ImageProcessing.Filters
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public AddNoiseCommand(
	AddNoiseFilterType noiseType,
	double variance,
	bool monochromatic,
	double mean
)

Parameters

noiseType
Type: Atalasoft.Imaging.ImageProcessing.FiltersAddNoiseFilterType
The type of noise to apply.
variance
Type: SystemDouble
Controls the intensity.
monochromatic
Type: SystemBoolean
When true applies the same noise equally to each channel.
mean
Type: SystemDouble
Adds additional noise to the output for Gaussian and Uniform noise types.
Exceptions
ExceptionCondition
Thrown if the variance or mean arguments are less than 0.
See Also