Difference between revisions of "Function:Multiply"
From CUVI Wiki
(→Sample) |
|||
Line 76: | Line 76: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviImage* gimg1 = new CuviImage(size, | CuviImage* gimg1 = new CuviImage(size,depth,nChannels); | ||
CuviImage* gimg2 = new CuviImage(size, | CuviImage* gimg2 = new CuviImage(size,depth,nChannels); | ||
CuviImage* gout = new CuviImage(size, | CuviImage* gout = new CuviImage(size,depth2,nChannels); | ||
//Upload input data | //Upload input data |
Revision as of 14:37, 14 May 2012
Multiplies 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
|