Skip to main content

warp_perspective

Function warp_perspective 

Source
pub fn warp_perspective<T: PixelComponent, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    transform: PerspectiveTransform,
    output_width: usize,
    output_height: usize,
    interpolation: Interpolation,
    border: BorderMode<T, CHANNELS>,
) -> VisionResult<Image<T, CHANNELS>>
Expand description

Warps an image with a source-to-destination projective transform.