LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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 System.FlagsAttribute attribute that allows a bitwise combination of its member values.

Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum ColorThresholdCommandFlags 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As ColorThresholdCommandFlags
C# 
[FlagsAttribute()]
public enum ColorThresholdCommandFlags : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class ColorThresholdCommandFlags : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
BandBassThe values falling outside the range are modified.
BandRejectThe values falling inside the range are modified.
EffectAllThe pixel is rejected by the test if one of the components is rejected.
EffectChannelEach channel component is modified independently.
SetToClampThe 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.
SetToMaximumThe rejected values are set to the maximum value.
SetToMinimumThe rejected values are set to 0.

Remarks

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

Inheritance Hierarchy

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

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also