Function image::imageops::sample::sample_bilinear

source ยท
pub fn sample_bilinear<P: Pixel>(
    img: &impl GenericImageView<Pixel = P>,
    u: f32,
    v: f32,
) -> Option<P>
Expand description

Linearly sample from an image using coordinates in [0, 1].