←Select platform

AutoBinarizeCommandFlags Enumeration

Summary

Flags that determine the behavior of the Auto Binarize process.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[FlagsAttribute()] 
public enum AutoBinarizeCommandFlags   
<FlagsAttribute()> 
Public Enum AutoBinarizeCommandFlags  
    
    
[FlagsAttribute()] 
public enum AutoBinarizeCommandFlags    
typedef NS_OPTIONS(NSUInteger, LTAutoBinarizeCommandFlags) 
public enum AutoBinarizeCommandFlags 
Leadtools.ImageProcessing.Core.AutoBinarizeCommandFlags = function() { }; 
Leadtools.ImageProcessing.Core.AutoBinarizeCommandFlags.prototype = {<br/> 
  UseAutoPreProcessing = 0x00000000, 
    UseAutoThreshold = 0x00000000, 
    DontUsePreProcessing = 0x00000001, 
    UseBackGroundElimination = 0x00000002, 
    UseColorLeveling = 0x00000004, 
    UseUserThreshold = 0x00000010, 
    UsePercentileThreshold = 0x00000020, 
    UseMedianThreshold = 0x00000040, 
     
 }; 
[FlagsAttribute()] 
public enum class AutoBinarizeCommandFlags   

Members

ValueMemberDescription
0x00000000UseAutoPreProcessing Use automatic pre-processing.
0x00000000UseAutoThreshold Perform automatic thresholding.
0x00000001DontUsePreProcessing Do not perform pre-processing.
0x00000002UseBackGroundElimination Eliminate the background of the bitmap but keep the key features, such as text.
0x00000004UseColorLeveling Perform auto color-leveling.
0x00000010UseUserThreshold Let the user choose the threshold color value to be passed in Factor. Valid values range from 0 (black) to 255 (white).
0x00000020UsePercentileThreshold Perform percentile thresholding. In this case the Factor is the percentage of black pixels at which to perform thresholding, expressed in hundredths of a percent. For example, 500 means 5 percent. Valid values range from 0 to 10000.
0x00000040UseMedianThreshold Perform median thresholding.
Remarks

You can use a bitwise OR ( ¦ ) to specify one or more flags.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly