Difference between revisions of "Function:Flip"
From CUVI Wiki
(Created page with "__NOTOC__ Mirrors an image about a horizontal or vertical axis, or both ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus flip(CuviImage* src...") |
|||
Line 31: | Line 31: | ||
| type | | type | ||
| CuviFlipType | | CuviFlipType | ||
| Supports: {||CUVI_FLIP_LEFT_RIGHT|CUVI_FLIP_LEFT_RIGHT|CUVI_FLIP_LEFT_RIGHT|CUVI_FLIP_LEFT_RIGHT|} | | Supports: | ||
{| | |||
|CUVI_FLIP_LEFT_RIGHT | |||
|CUVI_FLIP_LEFT_RIGHT | |||
|CUVI_FLIP_LEFT_RIGHT | |||
|CUVI_FLIP_LEFT_RIGHT | |||
|} | |||
|- | |- | ||
| stream | | stream |
Revision as of 16:03, 1 May 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
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|