Difference between revisions of "Function:Transpose"
From CUVI Wiki
(Created page with "__NOTOC__ Takes Transpose of the image ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus transpose(CuviImage* srcImage, ...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
|style="font-size:150%;"| | |style="font-size:150%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus transpose(CuviImage | CuviStatus transpose(const CuviImage& src, | ||
CuviImage | CuviImage& dst, | ||
CuviStream | const CuviStream& stream = CuviStream()); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
Line 20: | Line 20: | ||
! Description | ! Description | ||
|- | |- | ||
| | | src | ||
| CuviImage | | const CuviImage& | ||
| Input image | | Input image | ||
|- | |- | ||
| | | dst | ||
| CuviImage | | CuviImage& | ||
| Output image | | Output image | ||
|- | |- | ||
| stream | | stream | ||
| CuviStream | | const CuviStream& | ||
| GPU stream ID for execution | | GPU stream ID for execution | ||
Line 54: | Line 54: | ||
| 16uC3 | | 16uC3 | ||
| 16uC3 | | 16uC3 | ||
|- | |||
| 32fC1 | |||
| 32fC1 | |||
|- | |||
| 32fC3 | |||
| 32fC3 | |||
|} | |} | ||
Line 70: | Line 76: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviImage | CuviImage gimg = cuvi::io::loadImage(path), gout; | ||
//function call | //function call |
Latest revision as of 18:47, 19 April 2013
Takes Transpose of the image
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input image |
dst | CuviImage& | Output image |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 8uC1 |
8uC3 | 8uC3 |
16uC1 | 16uC1 |
16uC3 | 16uC3 |
32fC1 | 32fC1 |
32fC3 | 32fC3 |
Sample
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|