Function imageproc::geometric_transformations::rotate
source · pub fn rotate<P>(
image: &Image<P>,
center: (f32, f32),
theta: f32,
interpolation: Interpolation,
default: P
) -> Image<P>
Expand description
Rotates an image clockwise about the provided center by theta radians.
The output image has the same dimensions as the input. Output pixels
whose pre-image lies outside the input image are set to default
.