pub fn fft_convolve_2d(
in1: &Array2<f64>,
in2: &Array2<f64>,
mode: ConvolveMode,
) -> Result<Array2<f64>, ErrorsJSL>Expand description
2D convolution of real images computed with FFTs.
Full has shape (r1 + r2 - 1, c1 + c2 - 1); Same has the shape of in1, centred; Valid
has shape (r1 - r2 + 1, c1 - c2 + 1) and requires in1 to be at least as large as in2
in both dimensions.