Developer Reference for Intel® Integrated Performance Primitives 2018
Computes the affine coefficients for the rotation transform.
IppStatus ippiGetRotateTransform(double angle, double xShift, double yShift, double coeffs[2][3]);
Platform-aware functions
IppStatus ippiGetRotateTransform_L(double angle, double xShift, double yShift, double coeffs[2][3]);
ippi.h
Flavors with the _L suffix: ippi_l.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
angle |
Angle of rotation, in degrees. The source image is rotated counterclockwise around the origin (0, 0). |
xShift, yShift |
Shift along horizontal (x) or vertical (y) axis that is performed after rotation. |
coeffs |
Computed affine transform coefficients for the given rotation parameters. |
This function computes the coefficients for the affine transform that rotates an image by the specified angle around the origin (0, 0) and shifts the image after rotation. The result is stored in the coeffs parameter.
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsSizeErr |
Indicates an error when one of the coeffs values is NULL. |
ippStsOutOfRangeErr |
Indicates an error when angle is not-a-number (NaN) or infinity. |