Do more. Code less. Free software for GPU computing.
<scroll to top>

Rotation

Image Transformation

Rotate a given image by a specified amount. More...

Device pointer interface: Image Rotation

Parameters:
[in]xoNumber of rows in the output
[in]yoNumber of columns in the output
[out]d_outThe rotated image
[in]xiNumber of rows in input image
[in]yiNumber of columns in input image
[in]d_inInput image
[in]thetaValue in radians the image is to be rotated
[in]batchNumber of input images (1)

afError af_rotate_S (float *d_out, unsigned xo, unsigned yo, const float *d_in, unsigned xi, unsigned yi, float theta, unsigned batch)
 Single precision, Image Rotation.

Detailed Description

Rotate a given image by a specified amount.


Function Documentation

afError af_rotate_S ( float *  d_out,
unsigned  xo,
unsigned  yo,
const float *  d_in,
unsigned  xi,
unsigned  yi,
float  theta,
unsigned  batch 
)

Single precision, Image Rotation.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines