Accusoft.Forms1 - Updated
Binarize Method



Accusoft.ScanFixXpressSdk Namespace > ScanFix Class : Binarize Method
An object containing parameters that control the binarization process.
Creates an enhanced 1-bit output DIB of the same dimensions as a 1-bit, 8-bit or 24-bit input DIB using the settings provided by the caller.
Syntax
<DebuggerNonUserCodeAttribute()>
<DebuggerStepThroughAttribute()>
Public Sub Binarize( _
   ByVal options As BinarizeOptions _
) 
Dim instance As ScanFix
Dim options As BinarizeOptions
 
instance.Binarize(options)
[DebuggerNonUserCode()]
[DebuggerStepThrough()]
public void Binarize( 
   BinarizeOptions options
)
[DebuggerNonUserCode()]
[DebuggerStepThrough()]
public:
void Binarize( 
   BinarizeOptions^ options
) 

Parameters

options
An object containing parameters that control the binarization process.
Exceptions
ExceptionDescription
Thrown when required argument value is null.
Thrown when argument is out of range.
Thrown when argument enum value is invalid.
Thrown when image type is unsupported.
Thrown when operation failed.
Remarks

To replicate ScanFix Xpress v5 AutoBinarize for bitonal images use the following settings:

LowThreshold = 0

HighThreshold = 0

LceFactor = 0

PreBlurType = SmartBlur

To replicate ScanFix Xpress v5 AutoBinarize for gray or color images use the following settings:

LowThreshold = 170

HighThreshold = 190

LceFactor = 0

PreBlurType = NoBlur

See Also

Reference

ScanFix Class
ScanFix Members