ScanFix Xpress v9.0 for .NET - Updated
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
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
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
Instantiates a new BinarizeOptions object with the specified paramaters.
Syntax
'Declaration
 
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)
public BinarizeOptions( 
   int lowThreshold,
   int highThreshold,
   BinarizeBlur preBlurType,
   int lceFactor
)
public: BinarizeOptions( 
   int lowThreshold,
   int highThreshold,
   BinarizeBlur preBlurType,
   int lceFactor
)
public:
BinarizeOptions( 
   int lowThreshold,
   int highThreshold,
   BinarizeBlur preBlurType,
   int 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
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
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
See Also

Reference

BinarizeOptions Class
BinarizeOptions Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.