Skip to main content

warp_affine

Function warp_affine 

pub fn warp_affine<T, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    transform: AffineTransform,
    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 affine transform.