Skip to main content

remap

Function remap 

Source
pub fn remap<T: PixelComponent, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    map_x: ImageView<'_, f32, 1>,
    map_y: ImageView<'_, f32, 1>,
    interpolation: Interpolation,
    border: BorderMode<T, CHANNELS>,
) -> VisionResult<Image<T, CHANNELS>>
Expand description

Samples an image at absolute coordinates supplied by two single-channel maps.