-
type
ThresholdType type
Which algorithm to use
-
fixedThreshold
double fixedThreshold
The threshold to apply to the image. Only valid for fixed threshold.
-
scale
double scale
Scale factor applied to computed threshold. Only used with adaptive techniques. 0.95 is a good starting value
when tuning. It will remove much of the noise in nearly uniform regions without degrading interesting features
by much.
-
down
boolean down
If true then it thresholds down
-
radius
int radius
Radius of adaptive threshold.
-
savolaK
float savolaK
Positive parameter used to tune threshold in Savola. Try 0.3
- See Also:
ThresholdType.LOCAL_SAVOLA
-
minPixelValue
int minPixelValue
Minimum pixel value. Only used for some algorithms.
-
maxPixelValue
int maxPixelValue
Maximum pixel value. Only used for some algorithms.