Leadtools.ImageProcessing.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
ColorThresholdCommandFlags Enumeration
See Also  




Flags that represent the treatment of the values within the threshold range, the treatment of a pixel that falls on the threshold and new values for rejected values.

These flags have a FlagsAttribute attribute that allows a bitwise combination of its member values.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum ColorThresholdCommandFlags 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As ColorThresholdCommandFlags
C# 
[FlagsAttribute()]
public enum ColorThresholdCommandFlags : Enum 
Managed Extensions for C++ 
[FlagsAttribute()]
__value public enum ColorThresholdCommandFlags : public Enum 
C++/CLI 
[FlagsAttribute()]
public enum class ColorThresholdCommandFlags : public Enum 

Members

MemberDescription
BandBass The values falling outside the range are modified.
BandReject The values falling inside the range are modified.
EffectChannel Each channel component is modified independently.
EffectAll The pixel is rejected by the test if one of the components is rejected.
SetToMinimum The rejected values are set to 0.
SetToMaximum The rejected values are set to the maximum value.
SetToClamp The rejected component values less than the MinimumRange property go to the minimum value in the used color space component. Rejected component values greater than the MaximumRange property go to the maximum value in the used color space component. This works only with the EffectChannel flag.

Remarks

You can use a bitwise OR (|) to specify one flag from each group.
GroupFlags
Flags that define treatment of the values between the minimum and maximum threshold valuesBandBass, BandReject
Flags that define treatment of a pixel that falls on the thresholdEffectChannel, EffectAll
Flags that define the new values for the rejected valuesSetToMinimum, SetToMaximum, SetToClamp

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.ImageProcessing.Color.ColorThresholdCommandFlags

Requirements

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

See Also