Click or drag to resize

IBitmapImageThresholdBinary Method (Single)

Brightness values above (or equal to) specified threshold are forced to 100% (white). Brightness values below are forced to 0% (black).

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IBitmapImage ThresholdBinary(
	float thresholdPc
)

Parameters

thresholdPc
Type: SystemSingle
Threshold percent.

Return Value

Type: IBitmapImage
A new image instance with effect applied.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionthresholdPc
See Also