 | IBitmapImageThreshold Method |
Applies a bracketed (upper and lower) brightness threshold to the image.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
SyntaxIBitmapImage Threshold(
float lowerThresholdPc,
float lowerThresholdPassPc,
float upperThresholdPc,
float upperThresholdPassPc
)
Parameters
- lowerThresholdPc
- Type: SystemSingle
The lower threshold percent. - lowerThresholdPassPc
- Type: SystemSingle
Value to use if below lower threshold. - upperThresholdPc
- Type: SystemSingle
The upper threshold percent. - upperThresholdPassPc
- Type: SystemSingle
Value to use if upper threshold is exceeded.
Return Value
Type:
IBitmapImageA new image instance with effect applied.
Exceptions
See Also