Difference between revisions of "Function:RotateNoCrop"
From CUVI Wiki
(→Sample) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 88: | Line 88: | ||
if (s != CUVI_SUCCESS) printf("\nImage load Error: %d", s); | if (s != CUVI_SUCCESS) printf("\nImage load Error: %d", s); | ||
//Perform Rotation | //Perform Rotation | ||
s = cuvi::geometryTransforms:: | s = cuvi::geometryTransforms::rotateNoCrop(src, dst, 15.2); | ||
cuvi::io::saveImage(dst, opath); | cuvi::io::saveImage(dst, opath); |
Latest revision as of 16:07, 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
Example
|