Skip to main content

separable_convolve

Function separable_convolve 

Source
pub fn separable_convolve(
    image: &Array2<f64>,
    row_kernel: &[f64],
    col_kernel: &[f64],
    border: Border,
) -> Result<Array2<f64>, ErrorsJSL>
Expand description

Separable filtering: convolves every row with row_kernel and then every column with col_kernel (both odd length, symmetric or not; true convolution).