Visual Basic (Declaration) | |
---|---|
Public Class MinimumToZeroCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class MinimumToZeroCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class MinimumToZeroCommand : public RasterCommand, IRasterCommand |
This command will apply MultiscaleEnhancementCommand on a signed image, but since MultiscaleEnhancementCommand doesn't support signed images, we will convert the image to unsigned image, apply the effect, and then convert it back to signed image.
Visual Basic | Copy Code |
---|---|
Public Sub MinimumToZeroCommandExample() |
C# | Copy Code |
---|---|
public void MinimumToZeroCommandExample() |
This command is similar to ConvertSignedToUnsignedCommand.
This command automatically determines the value to be shift in order to convert the image to unsigned image.
This command is used usually before the command ZeroToNegativeCommand.
This command updates the Signed property of the RasterImage.
This command also updates the MinValue and MaxValue properties of the RasterImage.
This command does not support 8-bit images.
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 command supports signed data images.
This command does not support 32-bit grayscale images.
This command is used usually before the command ZeroToNegativeCommand.
This command updates the Signed property of the RasterImage.
This command also updates the MinValue and MaxValue properties of the RasterImage.
This command does not support 8-bit images.
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 command supports signed data images.
This command does not support 32-bit grayscale images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Core.MinimumToZeroCommand
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