Difference between revisions of "Function:Taper"
From CUVI Wiki
| Line 77: | Line 77: | ||
===Example=== | ===Example=== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus st = CUVI_SUCCESS; | CuviStatus st = CUVI_SUCCESS; | ||
Revision as of 08:07, 18 October 2022
Smartly extends image borders
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| src | const CuviImage& | Input Image |
| dst | CuviImage& | Output Image |
| top | Cuvi32u | Add this number of pixels to the top |
| bottom | Cuvi32u | Add this number of pixels to the bottom |
| left | Cuvi32u | Add this number of pixels to left |
| right | Cuvi32u | Add this number of pixels to right |
| stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8uC1 | 8uC1 |
| 8uC3 | 8uC3 |
Sample
Example
|

