Skip to main content

separable_convolve_2d

Function separable_convolve_2d 

Source
pub fn separable_convolve_2d(
    image: &[f32],
    width: usize,
    height: usize,
    kernel_x: &[f32],
    kernel_y: &[f32],
) -> Vec<f32>
Expand description

Separable 2D convolution (more efficient for separable kernels)