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