Difference between revisions of "Function:ChannelMix"
From CUVI Wiki
m (Jawad moved page Function:ColorTwist to Function:ChannelMix) |
|||
| Line 4: | Line 4: | ||
|style="font-size:150%;"| | |style="font-size:150%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus | CuviStatus cuvi::colorOperations::channelMix(const CuviImage& src, | ||
CuviImage& dst, | |||
Cuvi32f coeffs[12], | |||
CuviStream& stream = CuviStream()); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
Revision as of 12:50, 27 March 2018
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
|

