Difference between revisions of "Function:ChannelMix"
From CUVI Wiki
| Line 4: | Line 4: | ||
|style="font-size:150%;"| | |style="font-size:150%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus colorTwist(const CuviImage | CuviStatus colorTwist(const CuviImage& src, | ||
CuviImage | CuviImage& dst, | ||
Cuvi32f coeffs[12], | Cuvi32f coeffs[12], | ||
CuviStream& stream = CuviStream()); | CuviStream& stream = CuviStream()); | ||
Revision as of 11:07, 18 April 2013
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| src | const CuviImage& | Input Image |
| dst | CuviImage& | Output Image |
| coeffs[12] | Cuvi32f | Augmented coefficient matrix for channel mixing |
| stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8uC3 | 8uC3 |
| 16uC3 | 16uC3 |
Sample
Example
|

