Difference between revisions of "Function:Flip"
From CUVI Wiki
| Line 5: | Line 5: | ||
|style="font-size:150%;"| | |style="font-size:150%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus | CuviStatus flipImage(CuviImage* srcImage, | ||
CuviImage* dstImage, | CuviImage* dstImage, | ||
CuviFlipType type = CUVI_FLIP_LEFT_RIGHT, | CuviFlipType type = CUVI_FLIP_LEFT_RIGHT, | ||
Revision as of 08:11, 11 July 2012
Mirrors an image about a horizontal or vertical axis, or both
Function
|
Parameters
| Name | Type | Description | |||
|---|---|---|---|---|---|
| srcImage | CuviImage* | Input image | |||
| dstImage | CuviImage* | Output image | |||
| type | CuviFlipType | Supports:
| |||
| stream | CuviStream* | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8uC1 | 8uC1 |
| 8uC3 | 8uC3 |
| 16uC1 | 16uC1 |
| 16uC3 | 16uC3 |
Sample
Example
|

