Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

GetRotateShift

Computes shift values for rotation of an image around the specified center.

Syntax

IppStatus ippiGetRotateShift (double
xCenter
, double
yCenter
, double
angle
, double*
xShift
, double*
yShift
);
Include Files
ippi.h
Flavors with the
_L
suffix:
ippi_l.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
xCenter, yCenter
Coordinates of the required center of rotation.
angle
The angle in degrees to rotate the image clockwise around the point with coordinates (
xCenter, yCenter
).
xShift, yShift
Pointers to computed shift values along horizontal and vertical axes. These shift values should be passed to
ippiRotate
function to bring about the desired rotation around (
xCenter, yCenter
).
Description
Use this function if you need to rotate an image about an arbitrary center (
xCenter, yCenter
) rather than the origin (0,0). The function helps compute shift values
xShift, yShift
that should be passed to the warping function for the rotation around (
xCenter, yCenter
) to take place.
Example shows how to use the function
ippiGetRotateShift
.
Return Values
ippStsNoErr
Indicates no error. Any other value indicates an error.
ippStsNullPtrErr
Indicates an error condition if
xShift
or
yShift
pointer is
NULL
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804