Skip to main content

remap

Function remap 

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

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