Documentation
|
|
The C++ interface for rotate. More...
| array | rotate (const array &image, const float theta=0, const bool iscrop=true, const bool recenter=true) |
The C++ interface for rotate.
Rotate the input image by theta radians. Positive indicates clockwise rotatoin and a negative angle rotates the image counter-clockwise.




| array af::rotate | ( | const array & | image, |
| const float | theta = 0, |
||
| const bool | iscrop = true, |
||
| const bool | recenter = true |
||
| ) |
| [in] | image | input image |
| [in] | theta | clockwise rotation angle in radians. |
| [in] | iscrop | use in-place rotation and crop outlying pixels (true, default), else enlarge image domain to fit rotation (false) |
| [in] | recenter | rotate about the center of the image (true, default) or rotate about the (0,0) index position (top left corner) (false) |