Difference between revisions of "Function:ImageBinary"
From CUVI Wiki
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus imageBinary(const CuviImage& src, | CuviStatus imageBinary(const CuviImage& src, | ||
Line 11: | Line 11: | ||
|} | |} | ||
====Parameters==== | |||
===Parameters=== | {| | ||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 35: | Line 35: | ||
| 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 52: | Line 52: | ||
| 8uC1 | | 8uC1 | ||
|} | |} | ||
|} | |} | ||
====Sample==== | |||
[[File:Binaryin.jpg|none|frame|Input Image]] | |||
<br/> | |||
[[File:Binaryout.jpg|none|frame| Output Binary Image]] | |||
<br/> | |||
====Example==== | |||
===Example=== | |||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 21:05, 18 October 2022
Function
|
Parameters
|
Image Type Support
|
Sample
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Example
|