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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public AddNoiseCommand(
AddNoiseFilterType noiseType,
double variance,
bool monochromatic
)
Public Sub New (
noiseType As AddNoiseFilterType,
variance As Double,
monochromatic As Boolean
)
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 Exception | Condition |
---|
| Thrown if the variance argument is less than 0. |
See Also