Difference between revisions of "Function:ChannelMerge"
From CUVI Wiki
| Line 2: | Line 2: | ||
Merges R, G and B Channel to form a color image | Merges R, G and B Channel to form a color image | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus channelMerge(const CuviImage& red, | CuviStatus channelMerge(const CuviImage& red, | ||
| Line 13: | Line 13: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
===Parameters=== | ===Parameters=== | ||
Revision as of 12:42, 18 October 2022
Merges R, G and B Channel to form a color image
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| red | const CuviImage& | Red channel input image |
| green | const CuviImage& | Green channel input image |
| blue | const CuviImage& | Blue channel input image |
| dst | const CuviImage& | 3-channel output Image |
| stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8uC1 x 3 | 8uC3 |
| 16uC1 x 3 | 16uC3 |
| 32fC1 x 3 | 32fC3 |
Sample
Example
|



