InterpolationLinear

Performs linear interpolation of two 2D, 3D, or 4D vectors.

Syntax

IppStatus ippmInterpolationLinear_v2_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f scale, Ipp32f* pDst);

IppStatus ippmInterpolationLinear_v3_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f scale, Ipp32f* pDst);

IppStatus ippmInterpolationLinear_v4_32f (const Ipp32f* pSrc1, const Ipp32f* pSrc2, Ipp32f scale, Ipp32f* pDst);

Parameters

pSrc1
Pointer to the first source vector src1.
pSrc2
Pointer to the second source vector src2.
scale
The scale factor.
pDst
Pointer to the resulting vector dst of the interpolation.

Description

The functions ippmInterpolationLinear_v2_32f, ippmInterpolationLinear_v3_32f, and ippmInterpolationLinear_v4_32f are declared in the ippm.h file. These functions interpolate 2D, 3D, and 4D vectors, respectively, according to the formula dst = src1 + scale*(src2-src1).

Return Values

ippStsNoErr

Indicates no parameter checking.

See Also


Submit feedback on this help topic

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