[−][src]Function imageproc::geometric_transformations::warp_into_with
pub fn warp_into_with<P, F>(
image: &Image<P>,
mapping: F,
interpolation: Interpolation,
default: P,
out: &mut Image<P>
) where
F: Fn(f32, f32) -> (f32, f32) + Send + Sync,
P: Pixel + Send + Sync + 'static,
<P as Pixel>::Subpixel: Send + Sync,
<P as Pixel>::Subpixel: ValueInto<f32> + Clamp<f32>,
Warps an image using the provided function to define the pre-image of each output pixel, writing into a preallocated output.
See the warp_with
documentation for more information.