C#
VB
Java
Objective-C
WinRT C#
C++
Flags that determine the behavior of the Auto Binarize process.
[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
Value | Member | Description |
---|---|---|
0x00000000 | UseAutoPreProcessing | Use automatic pre-processing. |
0x00000000 | UseAutoThreshold | Perform automatic thresholding. |
0x00000001 | DontUsePreProcessing | Do not perform pre-processing. |
0x00000002 | UseBackGroundElimination | Eliminate the background of the bitmap but keep the key features, such as text. |
0x00000004 | UseColorLeveling | Perform auto color-leveling. |
0x00000010 | UseUserThreshold | Let the user choose the threshold color value to be passed in Factor. Valid values range from 0 (black) to 255 (white). |
0x00000020 | UsePercentileThreshold | 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. |
0x00000040 | UseMedianThreshold | Perform median thresholding. |
You can use a bitwise OR ( ¦ ) to specify one or more flags.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET