Difference between revisions of "Function:RotateNoCrop"
From CUVI Wiki
(→Sample) |
(→Sample) |
||
Line 71: | Line 71: | ||
{| | {| | ||
|- | |- | ||
|[[File:Check.png|frame|Input Image]] | |[[File:Check.png|frame|Input Image Size: 400x300]] | ||
|[[File:Check_NoCrop_15.2.png|frame| | |[[File:Check_NoCrop_15.2.png|frame|Rotated at Angle: 15.3 Size: 467x397]] | ||
|[[File:Check_NoCrop_90.png|frame|Rotated at Angle: 90 Size: 303x401]] | |||
|} | |} | ||
Revision as of 16:06, 17 November 2019
Rotates an image while preserving the rotated image.
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input image |
dst | CuviImage& | Output image |
angle | const Cuvi32f | Angle of rotation |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 8uC1 |
8uC3 | 8uC3 |
16uC1 | 16uC1 |
16uC3 | 16uC3 |
32fC1 | 32fC1 |
32fC3 | 32fC3 |
Sample
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
|