Difference between revisions of "Function:Multiply"
From CUVI Wiki
| (4 intermediate revisions by the same user not shown) | |||
| 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==== | |||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
| Line 44: | Line 46: | ||
| 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 110: | Line 113: | ||
| 16u | | 16u | ||
| 32f | | 32f | ||
|} | |||
|} | |} | ||
===Sample=== | ====Sample==== | ||
[[File:MultiplyIn1.png|none|frame|First Input Image (8-bit)]] | |||
<br/> | |||
[[File:MultiplyIn2.png|none|frame|Second Input Image (8-bit)]] | |||
<br/> | |||
[[File:MultiplyOut.png|none|frame| Resultant Image (16-bit)]] | |||
<br/> | |||
===Example=== | ====Example==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 12:19, 18 October 2022
Multiplies image with another image or constant value(s).
Function
|
Parameters
|
Image Type Support
|
Sample
Example
|


