Visual Basic (Declaration) | |
---|---|
Public Class DesaturateCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class DesaturateCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class DesaturateCommand : public RasterCommand, IRasterCommand |
Run the DesaturateCommand on an image.
Visual Basic | Copy Code |
---|---|
Public Sub DesaturateCommandExample() |
C# | Copy Code |
---|---|
public void DesaturateCommandExample() |
The image is converted to a grayscale level by reducing the saturation of each color to zero. This class supports only RGB images. It does not support grayscale images. Support for 48-bit and 64-bit colored images are available only in the Document/Medical toolkits. This class does not support signed data images. This command does not support 32-bit grayscale images.
For more information, refer to Grayscale Images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Color.DesaturateCommand
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
DesaturateCommand MembersLeadtools.ImageProcessing.Color Namespace
Introduction to Image Processing With LEADTOOLS
Grayscale Images
Color Halftone and Halftone Images
BalanceColorsCommand Class
GrayscaleCommand
GrayScaleExtendedCommand Class
IsGray
AutoColorLevelCommand Class
ColorLevelCommand Class
CorrelationListCommand
GrayScaleToDuotoneCommand Class
GrayScaleToMultitoneCommand Class
HolePunchRemoveCommand
SelectiveColorCommand Class
SkeletonCommand