Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ApplyTransformationParametersCommand Class
See Also  Members  
Leadtools.ImageProcessing.Core Namespace : ApplyTransformationParametersCommand Class



Corrects the image by removing the translation, rotation, and scaling deformations that have been applied on the image. This command is available in the Document/Medical Toolkits.

Syntax

Visual Basic (Declaration) 
Public Class ApplyTransformationParametersCommand 
   Inherits RasterCommand
   Implements IRasterCommand 
Visual Basic (Usage)Copy Code
Dim instance As ApplyTransformationParametersCommand
C# 
public class ApplyTransformationParametersCommand : RasterCommand, IRasterCommand  
C++/CLI 
public ref class ApplyTransformationParametersCommand : public RasterCommand, IRasterCommand  

Example

Remarks

  • 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.
For more information, refer to Detecting Registration Marks.

Inheritance Hierarchy

System.Object
   Leadtools.ImageProcessing.RasterCommand
      Leadtools.ImageProcessing.Core.ApplyTransformationParametersCommand

Requirements

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

See Also