Difference between revisions of "Function:Multiply"
From CUVI Wiki
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Multiplies image with another image or constant value(s). | Multiplies image with another image or constant value(s). | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus multiply(const CuviImage& src1, | CuviStatus multiply(const CuviImage& src1, | ||
Line 21: | Line 21: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
===Parameters=== | ===Parameters=== | ||
Revision as of 20:18, 18 October 2022
Multiplies image with another image or constant value(s).
Function
|
Parameters
Name | Type | Description |
---|---|---|
src1 | const CuviImage& | First Input Image |
src2 | const CuviImage& | Second Input Image |
dst | CuviImage& | Resultant Image |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input 1 | Input 2 | Output |
---|---|---|
8u | 8u | 8u |
16u | 16u | 16u |
32f | 32f | 32f |
8u | 8u | 16u |
8u | 8u | 32f |
16u | 16u | 32f |
8u | 16u | 16u |
16u | 8u | 16u |
8u | 32f | 32f |
32f | 8u | 32f |
8u | 16u | 32f |
16u | 8u | 32f |
16u | 32f | 32f |
32f | 16u | 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
|