Difference between revisions of "Function:Subtract"
From CUVI Wiki
(→Sample) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
|} | |} | ||
===Parameters=== | ====Parameters==== | ||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 35: | Line 36: | ||
| 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 70: | Line 72: | ||
| 32fC3 | | 32fC3 | ||
|} | |} | ||
|} | |} | ||
====Sample==== | |||
[[File:Addin1.jpg|none|frame|First Image]] | |||
<br/> | |||
[[File:Addin2.jpg|none|frame|Second Image]] | |||
<br/> | |||
[[File:SubOut.jpg|none|frame|Result]] | |||
<br/> | |||
===Example=== | ====Example==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 20:30, 18 October 2022
Subtracts pixel values of second image from the first image
Function
|
Parameters
|
Image Type Support
|
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
|