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

Resizing

Image Transformation

Image resizing. More...

Device pointer interface: Image Resize

Parameters:
[out]d_outThe ouput image
[in]mINumber of rows in *input* image
[in]nINumber of columns in *input* image
[in]d_inInput image
[in]mONumber of rows in *output* image
[in]nONumber of columns in *output* image
[in]typespecifies type of image interpolation {nearest(0), linear(1), bilinear(2), cubic(3)}
Note:
only 'nearest' interpolation type currently supported

afError af_resize_S (float *d_out, unsigned mO, unsigned nO, const float *d_in, unsigned mI, unsigned nI, unsigned type)
 Image resize.

Detailed Description

Image resizing.


Function Documentation

afError af_resize_S ( float *  d_out,
unsigned  mO,
unsigned  nO,
const float *  d_in,
unsigned  mI,
unsigned  nI,
unsigned  type 
)

Image resize.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines