Difference between revisions of "Function:Multiply"
From CUVI Wiki
(Created page with "__NOTOC__ Multiplies two images ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus multiply(CuviImage* srcImage1, CuviImag...") |
(→Sample) |
||
| Line 65: | Line 65: | ||
{| | {| | ||
|- | |- | ||
|[[File:MultiplyIn1.png|frame|First Input Image]] | |[[File:MultiplyIn1.png|frame|First Input Image (8-bit)]] | ||
|[[File:MultiplyIn2.png|frame|Second Input Image]] | |[[File:MultiplyIn2.png|frame|Second Input Image (8-bit)]] | ||
|- | |- | ||
|[[File:MultiplyOut.png|frame| Resultant Image]] | |[[File:MultiplyOut.png|frame| Resultant Image (16-bit)]] | ||
|} | |} | ||
===Example=== | ===Example=== | ||
Revision as of 06:08, 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
Example
|


