Difference between revisions of "Function:SHR"
From CUVI Wiki
Line 3: | Line 3: | ||
===Function=== | ===Function=== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus SHR(const CuviImage& src, | CuviStatus SHR(const CuviImage& src, | ||
Line 11: | Line 11: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
===Parameters=== | ===Parameters=== | ||
Revision as of 15:55, 18 October 2022
Right shift pixel values of the input image by specified constant value.
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input Image |
value | const CuviImage& | Shift value |
dst | CuviImage& | Resultant Image |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 8uC1 |
8uC3 | 8uC3 |
16uC1 | 16uC1 |
16uC3 | 16uC3 |
Sample
Example
|