Difference between revisions of "Function:Add"
From CUVI Wiki
Line 86: | Line 86: | ||
//Add | //Add | ||
cuvi:: | cuvi::arithmeticLogical::add(gimg1,gimg2,gout); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} |
Revision as of 14:21, 30 April 2012
Adds two images
Function
|
Parameters
Name | Type | Description |
---|---|---|
srcImage1 | CuviImage* | First Input Image |
srcImage2 | CuviImage* | Second Input Image |
dstImage | CuviImage* | Resultant Image |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input 1 | Input 2 | Output |
---|---|---|
8u | 8u | 8u |
8u | 8u | 16u |
16u | 16u | 16u |
32f | 32f | 32f |
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 |
Example
|