AffineTransform

Performs an affine transformation of a 2D, 3D, or 4D vector or array of vectors in a Homogeneous coordinate space.

Syntax

IppStatus ippmAffineTransform_m4v2_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f* pDst);

IppStatus ippmAffineTransform_m4v3_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f* pDst);

IppStatus ippmAffineTransform_m4v4_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f* pDst);

IppStatus ippmAffineTransform_m4v2a_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, int src2Stride0, Ipp32f* pDst, int dstStride0, int count);

IppStatus ippmAffineTransform_m4v3a_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, int src2Stride0, Ipp32f* pDst, int dstStride0, int count);

IppStatus ippmAffineTransform_m4v4a_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, int src2Stride0, Ipp32f* pDst, int dstStride0, int count);

Parameters

pSrc1
Pointer to the source 4x4 matrix src1.
pSrc2
Pointer to the source vector src2 or array of vectors.
src2Stride0
Stride between the vectors in the source array.
pDst
Pointer to the destination vector dst or array of vectors.
dstStride0
Stride between the vectors in the destination array.
count
The number of vectors in the arrays.

Description

The functions ippmAffineTransform_m4v2_32f, ippmAffineTransform_m4v3_32f, ippmAffineTransform_m4v4_32f, ippmAffineTransform_m4v2a_32f, ippmAffineTransform_m4v3a_32f, and ippmAffineTransform_m4v4a_32f are declared in the ippm.h file. These functions perform an affine transformation of a vector or array of vectors in a Homogeneous coordinate space. The transformation is determined by the src1 matrix. The functions whose names contain the v2, v3, or v4 characters in the descriptor, operate on 2D, 3D, or 4D vectors, respectively. The functions whose names contain the a character before the underscore transform vector arrays, whereas the other functions transform vectors.

Provided that the 4x4 matrix src1 is represented as a 16-element array, the transformation uses the following formulae, depending on the dimension of the vectors:

Return Values

ippStsNoErr

Indicates no parameter checking.

See Also


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.