DustAndScratchRemovalCommand Constructor (Int32, Int32, Double) |
Creates a new instance of DustAndScratchRemovalCommand specifying the filter size,
threshold and blending.
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 DustAndScratchRemovalCommand(
int filterSize,
int threshold,
double blending
)
Public Sub New (
filterSize As Integer,
threshold As Integer,
blending As Double
)
Parameters
- filterSize
- Type: SystemInt32
The size of the features that will be removed. - threshold
- Type: SystemInt32
The minimum detail intensity required to trigger removal. (0 to 255) - blending
- Type: SystemDouble
The blending of original image with the removed image detail. (0 to 100)
Exceptions Exception | Condition |
---|
| Thrown if filterSize is less than 0, threshold is less than 0 or greater than 255, or if blending is
less than 0 or greater than 100. |
See Also