The C++ interface for skew. More...

array skew (const array &image, const float skew_x, const float skew_y, const unsigned oh=0, const unsigned ow=0, const bool inverse=false)
 

Detailed Description

The C++ interface for skew.

Skew the input image by skew_x radians along x-dimension and skew_y radians along y-dimension.

Function Documentation

array af::skew ( const array &  image,
const float  skew_x,
const float  skew_y,
const unsigned  oh = 0,
const unsigned  ow = 0,
const bool  inverse = false 
)
Parameters
[in]imageinput image
[in]skew_xmagnitude of skew along x (1st or height) dimension
[in]skew_ymagnitude of skew along y (2nd or width) dimension
[in]ohspecify output height of image, if (0, default) then output height is equal to input height
[in]owspecify output width of image, if (0, default) then output width is equal to input width
[in]inverseinverse transform flag (false, default)
Returns
skewed image