Skip to main content

rotate

Function rotate 

Source
pub fn rotate(
    image: &Array2<f64>,
    angle: f64,
    reshape: bool,
    order: usize,
    mode: Mode,
) -> Result<Array2<f64>, ErrorsJSL>
Expand description

Rotates the image by angle degrees about its centre (SciPy’s rotate, axes (1, 0)): a positive angle turns the content anticlockwise on the screen. With reshape the output grows to hold the whole rotated image.