Accusoft.ScanFixXpress7.Net
Binarize Method
See Also  Send Feedback
Accusoft.ScanFixXpressSdk Namespace > ScanFix Class : Binarize Method




options
An object containing parameters that control the binarization process.

Glossary Item Box

This function operates on 1-bit, 8-bit and 24-bit input DIB’s creating an enhanced 1-bit output DIB of the same dimensions, using the settings provided by the caller.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

options
An object containing parameters that control the binarization process.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThrown when required argument value is null.
System.ArgumentOutOfRangeExceptionThrown when argument is out of range.
System.ComponentModel.InvalidEnumArgumentExceptionThrown when argument enum value is invalid.
ScanFixUnsupportedImageExceptionThrown when image type is unsupported.
ScanFixExceptionThrown 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

©2012. Accusoft Corporation. All Rights Reserved.