Difference between revisions of "Function:ColorPick"
From CUVI Wiki
Line 3: | Line 3: | ||
===Function=== | ===Function=== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Line 13: | Line 13: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
===Parameters=== | ===Parameters=== | ||
Revision as of 20:46, 18 October 2022
Segments input color image by selecting a specified color. Rest of the image is converted to grayscale.
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input Image |
dst | CuviImage& | Destination Image |
color | CuviColor | The color to select from the image |
threshold | Cuvi32f | The threshold for color selection |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC3 | 8uC3 |
Sample
Example
|