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
)
Public Sub New (
noiseType As AddNoiseFilterType,
variance As Double,
monochromatic As Boolean,
mean As Double
)
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 Exception | Condition |
---|
| Thrown if the variance or mean arguments are less than 0. |
See Also