Function image::imageops::sample::box_kernel
source ยท pub(crate) fn box_kernel(_x: f32) -> f32
Expand description
Calculate the box kernel. Only pixels inside the box should be considered, and those contribute equally. So this method simply returns 1.