Function image::imageops::sample::interpolate_bilinear
source ยท pub fn interpolate_bilinear<P: Pixel>(
img: &impl GenericImageView<Pixel = P>,
x: f32,
y: f32,
) -> Option<P>
Expand description
Linearly sample from an image using coordinates in [0, w-1] and [0, h-1].