Back to Aurora Vision Studio website

You are here: Start » Filter Reference » OpenCV » Geometric Image Transformations » cvGetAffineTransform

cvGetAffineTransform


Module: OpenCV

Calculates the affine transform from 3 corresponding points.

Applications

Prepares matrix to be used with cvWarpAffine.
Name Type Description
Input value inSrc Point2DArray Coordinates of triangle vertices in the source image.
Input value inDst Point2DArray Coordinates of the corresponding triangle vertices in the destination image.
Output value outM Matrix Calculated transformation matrix.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Each of input array must contain three points in cvGetAffineTransform.

Complexity Level

This filter is available on Basic Complexity Level.