←Select platform

AutoBinarizeCommandFlags Enumeration

Summary
Flags that determine the behavior of the Auto Binarize process.

Syntax
C#
Objective-C
C++/CLI
Java
Python
[FlagsAttribute()] 
public enum AutoBinarizeCommandFlags   
typedef NS_OPTIONS(NSUInteger, LTAutoBinarizeCommandFlags) 
public final class AutoBinarizeCommandFlags 
    extends java.lang.Enum<AutoBinarizeCommandFlags> 
[FlagsAttribute()] 
public enum class AutoBinarizeCommandFlags   
class AutoBinarizeCommandFlags(Enum): 
   UseAutoPreProcessing = 0 
   UseAutoPreProcessing = 0 
   UseAutoThreshold, DontUsePreProcessing = 1 
   UseAutoThreshold, UseBackGroundElimination = 2 
   UseAutoThreshold, UseColorLeveling = 4 
   UseAutoThreshold, UseUserThreshold = 16 
   UseAutoThreshold, UsePercentileThreshold = 32 
   UseAutoThreshold, UseMedianThreshold = 64 
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 22.0.2023.11.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.