ImageGear .NET v25.1 - Updated
Threshold Field (ImGearBitonalReductionOptions)




ImageGear.Core Assembly > ImageGear.Processing Namespace > ImGearBitonalReductionOptions Class : Threshold Field
This option sets the threshold value for converting pixels to black or white.
Syntax
'Declaration
 
Public Threshold As Integer
'Usage
 
Dim instance As ImGearBitonalReductionOptions
Dim value As Integer
 
value = instance.Threshold
 
instance.Threshold = value
public int Threshold
public: int Threshold
public:
int Threshold

Field Value

Integer in the range 0-255.
Remarks
If the value of a pixel, as calculated by one of the reduction methods, is less than Threshold, the pixels will be set to black; if it is greater than or equal to Threshold, the pixels will be set to white. So, a smaller value for Threshold will make the output appear more black, while a larger value will make the output appear more white.
See Also

Reference

ImGearBitonalReductionOptions Class
ImGearBitonalReductionOptions Members