←Select platform

ApplyTransformationParametersCommand Class

Summary
Corrects the image by removing the translation, rotation, and scaling deformations that have been applied to the image.
Syntax
C#
VB
Objective-C
C++
Java
public class ApplyTransformationParametersCommand : RasterCommand 
Public Class ApplyTransformationParametersCommand  
   Inherits RasterCommand 
@interface LTApplyTransformationParametersCommand : LTRasterCommand 
public class ApplyTransformationParametersCommand extends RasterCommand 
public ref class ApplyTransformationParametersCommand : public RasterCommand   
Remarks

This command is available in the Document/Medical Toolkits.

  • 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 GetTransformationParameters.
  • Get the values for the translation, rotation, and scaling parameters by calling GetTransformationParameters: the returned values must be passed exactly as they are to the 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.

Example

Refer to GetTransformationParameters for sample code.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.