 | IBitmapImageThresholdBinary Method (Single, Boolean) |
Brightness values are clamped to 100% (white) or 0% (black) depending on parameters thresholdPc and toInverse.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
SyntaxIBitmapImage ThresholdBinary(
float thresholdPc,
bool toInverse
)
Parameters
- thresholdPc
- Type: SystemSingle
Threshold percent. - toInverse
- Type: SystemBoolean
if set to true convert image to inverse.
Return Value
Type:
IBitmapImageA new image instance with effect applied.
Exceptions
See Also