Difference between revisions of "Function:ConvertScale"
From CUVI Wiki
(Created page with "__NOTOC__ Converts image data type with optional scaling. ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviStatus convertScale(const CuviImage& src...") |
(No difference)
|
Latest revision as of 19:20, 13 June 2014
Converts image data type with optional scaling.
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input Image |
dst | CuviImage& | Destination Image |
scale | const Cuvi32f | Scale factor |
offset | const Cuvi32f | Value added to scaled values |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8u | 8u |
16u | 16u |
32f | 32f |
8u | 32f |
16u | 32f |
8u | 16u |
32f | 8u |
32f | 16u |
16u | 8u |
Example
|