pub fn correlate2d( image: &Array2<f64>, kernel: &Array2<f64>, border: Border, ) -> Result<Array2<f64>, ErrorsJSL>
2D cross-correlation (the kernel is not flipped): out[r, c] = Σ image[r+i, c+j] · kernel[i+hr, j+hc].
out[r, c] = Σ image[r+i, c+j] · kernel[i+hr, j+hc]