←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
Java
Objective-C
WinRT C#
C++
public class ApplyTransformationParametersCommand : RasterCommand 
public sealed class ApplyTransformationParametersCommand : Leadtools.Imageprocessing.Leadtools.ImageProcessing.IRasterCommand   
@interface LTApplyTransformationParametersCommand : LTRasterCommand 
public class ApplyTransformationParametersCommand extends RasterCommand 
function Leadtools.ImageProcessing.Core.ApplyTransformationParametersCommand() 

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly