Accusoft.ScanFixXpress8.Net - Updated August 4, 2020
BinarizeOptions Constructor(Int32,Int32,BinarizeBlur,Int32)




Accusoft.ScanFixXpressSdk Namespace > BinarizeOptions Class > BinarizeOptions Constructor : BinarizeOptions Constructor(Int32,Int32,BinarizeBlur,Int32)
Controls the background sensitivity. Should generally be set as high as possible without exceeding the brightness of any part of the background. Min = 0, max = 255, default = 170
Controls letter and figure thickness. Black noise appearing in the background can generally be eliminated by lowering the value of lowThreshold. Too-thick letters and figures can generally be improved by lowering the value of highThreshold. Too-thin letters and figures can generally be improved by raising the value of lowThreshold and/or highThreshold. Min = lowThreshold value, max = 255, default = 190
Controls the type of blur to apply to the image. Default = NoBlur
Controls the sensitivity of local contrast enhancement to faint features. Lower values yield less sensitivity. Min = 0, max = 255, default = 0
Instantiates a new BinarizeOptions object with the specified paramaters.
Syntax
'Declaration
 
<DebuggerStepThroughAttribute()>
<DebuggerNonUserCodeAttribute()>
Public Function New( _
   ByVal lowThreshold As Integer, _
   ByVal highThreshold As Integer, _
   ByVal preBlurType As BinarizeBlur, _
   ByVal lceFactor As Integer _
)
 
'Usage
 
Dim lowThreshold As Integer
Dim highThreshold As Integer
Dim preBlurType As BinarizeBlur
Dim lceFactor As Integer
 
Dim instance As New BinarizeOptions(lowThreshold, highThreshold, preBlurType, lceFactor)

Parameters

lowThreshold
Controls the background sensitivity. Should generally be set as high as possible without exceeding the brightness of any part of the background. Min = 0, max = 255, default = 170
highThreshold
Controls letter and figure thickness. Black noise appearing in the background can generally be eliminated by lowering the value of lowThreshold. Too-thick letters and figures can generally be improved by lowering the value of highThreshold. Too-thin letters and figures can generally be improved by raising the value of lowThreshold and/or highThreshold. Min = lowThreshold value, max = 255, default = 190
preBlurType
Controls the type of blur to apply to the image. Default = NoBlur
lceFactor
Controls the sensitivity of local contrast enhancement to faint features. Lower values yield less sensitivity. Min = 0, max = 255, default = 0
See Also

Reference

BinarizeOptions Class
BinarizeOptions Members
Overload List