[−][src]Function opencv::cudawarping::rotate
pub fn rotate(
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
dsize: Size,
angle: f64,
x_shift: f64,
y_shift: f64,
interpolation: i32,
stream: &mut Stream
) -> Result<()>
Rotates an image around the origin (0,0) and then shifts it.
Parameters
- src: Source image. Supports 1, 3 or 4 channels images with CV_8U , CV_16U or CV_32F depth.
- dst: Destination image with the same type as src . The size is dsize .
- dsize: Size of the destination image.
- angle: Angle of rotation in degrees.
- xShift: Shift along the horizontal axis.
- yShift: Shift along the vertical axis.
- interpolation: Interpolation method. Only INTER_NEAREST , INTER_LINEAR , and INTER_CUBIC are supported.
- stream: Stream for the asynchronous version.
See also
cuda::warpAffine
C++ default parameters
- x_shift: 0
- y_shift: 0
- interpolation: INTER_LINEAR
- stream: Stream::Null()