NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.7.1.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
Rotate Utility Functions

The set of rotate utility functions. More...

Functions

NppStatus nppiGetRotateQuad (NppiRect oSrcROI, double aQuad[4][2], double nAngle, double nShiftX, double nShiftY)
 Compute shape of rotated image. More...
 
NppStatus nppiGetRotateBound (NppiRect oSrcROI, double aBoundingBox[2][2], double nAngle, double nShiftX, double nShiftY)
 Compute bounding-box of rotated image. More...
 

Detailed Description

The set of rotate utility functions.

Function Documentation

NppStatus nppiGetRotateBound ( NppiRect  oSrcROI,
double  aBoundingBox[2][2],
double  nAngle,
double  nShiftX,
double  nShiftY 
)

Compute bounding-box of rotated image.

Parameters
oSrcROIRegion-of-interest of the source image.
aBoundingBoxTwo 2D points representing the bounding-box of the rotated image. All four points from nppiGetRotateQuad are contained inside the axis-aligned rectangle spanned by the the two points of this bounding box.
nAngleThe rotation angle.
nShiftXPost-rotation shift in x-direction.
nShiftYPost-rotation shift in y-direction.
Returns
ROI Related Error Codes.
NppStatus nppiGetRotateQuad ( NppiRect  oSrcROI,
double  aQuad[4][2],
double  nAngle,
double  nShiftX,
double  nShiftY 
)

Compute shape of rotated image.

Parameters
oSrcROIRegion-of-interest of the source image.
aQuadArray of 2D points. These points are the locations of the corners of the rotated ROI.
nAngleThe rotation nAngle.
nShiftXPost-rotation shift in x-direction
nShiftYPost-rotation shift in y-direction
Returns
ROI Related Error Codes.

Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES