Function image::imageops::sample::triangle_kernel

source ยท
pub(crate) fn triangle_kernel(x: f32) -> f32
Expand description

Calculate the triangle function. Also known as BiLinear sampling in two dimensions.