Visual Basic (Declaration) | |
---|---|
Public Class ApplyTransformationParametersCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class ApplyTransformationParametersCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class ApplyTransformationParametersCommand : public RasterCommand, IRasterCommand |
Refer to CoreUtilities.GetTransformationParameters for sample code.
This command corrects the image by removing the translation, rotation, and scaling deformations that have been applied to the image. These transformations make this image match a reference image. This command is designed to work with CoreUtilities.GetTransformationParameters. You can get the translation, rotation, and scaling parameters by using CoreUtilities.GetTransformationParameters; the returned values must be passed as they are to ApplyTransformationParametersCommand method. The shift operation is performed first, followed by the rotation and resize operations. If you simply want to automatically straighten the image, use the DeskewCommand. 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 does not support signed data images. This command does not support 32-bit grayscale images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Core.ApplyTransformationParametersCommand
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