Flags that determine the behavior of the Auto Binarize process.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum AutoBinarizeCommandFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum AutoBinarizeCommandFlags : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class AutoBinarizeCommandFlags : public Enum |
Member | Description |
---|---|
UseAutoPreProcessing | Use automatic pre-processing. |
DontUsePreProcessing | Don’t perform pre-processing. |
UseBackGroundElimination | Eliminate the background of the bitmap but keep the key features, such as text. |
UseColorLeveling | Perform auto color-leveling. |
UseAutoThreshold | Perform automatic thresholding. |
UseUserThreshold | Let the user choose the threshold color value to be passed in Factor. Valid values range from 0 (black) to 255 (white). |
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. |
UseMedianThreshold | Perform median thresholding. |
You can use a bitwise OR (|) to specify one or more flags.
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.Core.AutoBinarizeCommandFlags
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family