Difference between revisions of "Function:Rotate"
From CUVI Wiki
(Created page with "__NOTOC__ Rotates an image about origin (0,0) or center ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus rotate(CuviImage* srcImage, ...") |
|||
| Line 32: | Line 32: | ||
| angle | | angle | ||
| Cuvi32f | | Cuvi32f | ||
| Angle of rotation | | Angle of rotation | ||
|- | |- | ||
| type | | type | ||
Revision as of 05:52, 8 May 2012
Rotates an image about origin (0,0) or center
Function
|
Parameters
| Name | Type | Description | ||
|---|---|---|---|---|
| srcImage | CuviImage* | Input image | ||
| dstImage | CuviImage* | Output image | ||
| angle | Cuvi32f | Angle of rotation | ||
| type | CuviRotationType | Supports:
| ||
| stream | CuviStream* | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8uC1 | 8uC1 |
| 8uC3 | 8uC3 |
Sample
Example
|

