Back to Adaptive 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.

Name Type Description
inSrc Point2DArray Coordinates of triangle vertices in the source image.
inDst Point2DArray Coordinates of the corresponding triangle vertices in the destination image.
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.