pub fn warp<P>(
image: &Image<P>,
projection: &Projection,
interpolation: Interpolation,
default: P,
) -> Image<P>Expand description
Applies a projective transformation to an image.
The returned image has the same dimensions as image. Output pixels
whose pre-image lies outside the input image are set to default.
The provided projection defines a mapping from locations in the input image to their corresponding location in the output image.