Difference between revisions of "Function:Resize"
From CUVI Wiki
(Created page with "__NOTOC__ Resizes input image to fit into the output image size. The function used linear interpolation ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"...") |
|||
Line 87: | Line 87: | ||
//Resizing input image to fit output container | //Resizing input image to fit output container | ||
cuvi:: | cuvi::geometryTransforms::resize(gimg,gout); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} |
Revision as of 16:13, 26 April 2012
Resizes input image to fit into the output image size. The function used linear interpolation
Function
|
Parameters
Name | Type | Description |
---|---|---|
srcImage | CuviImage* | Input Image |
dstImage | CuviImage* | Output Image |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 8uC1 |
8uC3 | 8uC3 |
16uC1 | 16uC1 |
16uC3 | 16uC3 |
Samples
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|