Click or drag to resize

AddNoiseCommand Constructor (AddNoiseFilterType, Double, Boolean)

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

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

Parameters

noiseType
Type: Atalasoft.Imaging.ImageProcessing.FiltersAddNoiseFilterType
The type of noise to apply.
variance
Type: SystemDouble
Controls the intensity.
monochromatic
Type: SystemBoolean
If True, the same noise is applied equally to all pixel channels.
Exceptions
ExceptionCondition
Thrown if the variance argument is less than 0.
See Also