Skip to main content

warp_perspective

Function warp_perspective 

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

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