Visual Basic (Declaration) | |
---|---|
Public Class ColorReplaceCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class ColorReplaceCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class ColorReplaceCommand : public RasterCommand, IRasterCommand |
Run the ColorReplaceCommand on an image to change the red color by rotating its hue 90 degree.
Visual Basic | Copy Code |
---|---|
Public Sub ColorReplaceCommandExample() |
C# | Copy Code |
---|---|
public void ColorReplaceCommandExample() |
This command replaces the specified color by adjusting value of hue, saturation and brightness. The value of the Fuzziness property of the ColorReplaceCommandColor class determines the range around each color where the pixels will be changed according to Hue, Saturation and Brightness. This command supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits. This commad does not support signed data images. This command does not support 32-bit grayscale images.
For more information, refer to Introduction to Image Processing With LEADTOOLS.
For more information, refer to Correcting Colors.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Color.ColorReplaceCommand
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
Reference
ColorReplaceCommand MembersLeadtools.ImageProcessing.Color Namespace
Introduction to Image Processing With LEADTOOLS
Correcting Colors
ChangeIntensityCommand Class
GammaCorrectCommand Class
ChangeContrastCommand Class
HistogramContrastCommand Class
StretchIntensityCommand Class
RemapIntensityCommand Class
InvertCommand Class
ChangeSaturationCommand Class
HistogramEqualizeCommand Class
FillCommand
HistogramCommand Class
WindowLevelCommand
ChangeHueCommand Class
AverageCommand
MedianCommand
AddNoiseCommand
IntensityDetectCommand Class
SpatialFilterCommand
BinaryFilterCommand
MaximumCommand
MinimumCommand
ShadowCommand
ChangeHueSaturationIntensityCommand Class
ColorThresholdCommand Class
DirectionEdgeStatisticalCommand
DiscreteFourierTransformCommand
FastFourierTransformCommand
FourierTransformDisplayCommand
FrequencyFilterCommand
FrequencyFilterMaskCommand
MathematicalFunctionCommand Class
RevEffectCommand
SegmentCommand Class
SubtractBackgroundCommand
UserFilterCommand
AdjustTintCommand Class
HalfToneCommand