DynamicThresholdCommand Constructor (Int32, Int32, Double) |
Creates a new instance of DynamicThresholdCommand specifying the window size, difference
threshold and black grouping.
Namespace:
Atalasoft.Imaging.ImageProcessing.Document
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public DynamicThresholdCommand(
int windowSize,
int differenceThreshold,
double blackGrouping
)
Public Sub New (
windowSize As Integer,
differenceThreshold As Integer,
blackGrouping As Double
)
Parameters
- windowSize
- Type: SystemInt32
The size of the examination window surround the current pixel
- differenceThreshold
- Type: SystemInt32
Value used to improving the thresholding results. - blackGrouping
- Type: SystemDouble
A percentile indication of how tightly grouped black pixels need to be. Default value
is 0.25.
Exceptions Exception | Condition |
---|
| Thrown if the windowSize is less than 1 or if blackGrouping is less than 0 or greater than 1.
|
See Also