Accusoft.ScanFixXpress8.Net
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
'Declaration
 
<DebuggerNonUserCodeAttribute()>
<DebuggerStepThroughAttribute()>
Public Sub Binarize( _
   ByVal options As BinarizeOptions _
) 
'Usage
 
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
) 
[DebuggerNonUserCode()]
[DebuggerStepThrough()]
public:
void Binarize( 
   BinarizeOptions^ options
) 

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

Reference

ScanFix Class
ScanFix Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback