LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly)

ColorThresholdCommandFlags Enumeration

Show in webframe







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.

Syntax
[FlagsAttribute()]
public enum ColorThresholdCommandFlags : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<FlagsAttribute()>
Public Enum ColorThresholdCommandFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As ColorThresholdCommandFlags
[FlagsAttribute()]
public enum ColorThresholdCommandFlags : System.IComparableSystem.IConvertibleSystem.IFormattable  
enum LTColorThresholdCommandFlags
public enum ColorThresholdCommandFlags
Leadtools.ImageProcessing.Color.ColorThresholdCommandFlags = function() { };
Leadtools.ImageProcessing.Color.ColorThresholdCommandFlags.prototype = {
EffectChannel = 0x00000000, SetToMinimum = 0x00000000, BandBass = 0x00000000, BandReject = 0x00000001, EffectAll = 0x00000010, SetToMaximum = 0x00000100, SetToClamp = 0x00000200, };
[FlagsAttribute()]
public enum class ColorThresholdCommandFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000EffectChannelEach channel component is modified independently.
0x00000000SetToMinimumThe rejected values are set to 0.
0x00000000BandBassThe values falling outside the range are modified.
0x00000001BandRejectThe values falling inside the range are modified.
0x00000010EffectAllThe pixel is rejected by the test if one of the components is rejected.
0x00000100SetToMaximumThe rejected values are set to the maximum value.
0x00000200SetToClampThe 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.
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

See Also

Reference

Leadtools.ImageProcessing.Color Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.