[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
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document