Difference between revisions of "Function:ChannelMerge"
From CUVI Wiki
(→Sample) |
|||
(4 intermediate revisions by the same user not shown) | |||
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==== | |||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 40: | Line 42: | ||
| const CuviStream& | | const CuviStream& | ||
| GPU stream ID for execution | | GPU stream ID for execution | ||
|} | |||
|} | |} | ||
===Image Type Support=== | ====Image Type Support==== | ||
{| | |||
|style="font-size:75%;"| | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 58: | Line 61: | ||
| 32fC1 x 3 | | 32fC1 x 3 | ||
| 32fC3 | | 32fC3 | ||
|} | |||
|} | |} | ||
===Sample=== | ===Sample=== | ||
[[File:Splitred.jpg|none|frame|Red Channel]] | |||
<br/> | |||
[[File:Splitgreen.jpg|none|frame|Green Channel]] | |||
<br/> | |||
[[File:Splitblue.jpg|none|frame|Blue Channel]] | |||
<br/> | |||
[[File:Splitin.jpg|none|frame|Output Image]] | |||
<br/> | |||
===Example=== | ====Example==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 20:44, 18 October 2022
Merges R, G and B Channel to form a color image
Function
|
Parameters
|
Image Type Support
|
Sample
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Example
|