ScanFix Xpress v9.0 for .NET - Updated
Binarize Method




Accusoft.ScanFixXpressSdk Namespace > ScanFix Class : Binarize Method
An object containing parameters that control the binarization process.
Create 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
'Declaration
 
Public Sub Binarize( _
   ByVal options As BinarizeOptions _
) 
'Usage
 
Dim instance As ScanFix
Dim options As BinarizeOptions
 
instance.Binarize(options)
public void Binarize( 
   BinarizeOptions options
)
public: void Binarize( 
   BinarizeOptions* options
) 
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

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