`scipy` is only used for a 2D convolution: https://github.com/lbr-stack/roboreg/blob/4bbdb51ff3e3f3dba8fe1d2e823bc30074b67483/roboreg/util/mask.py#L3 One should rather implement a 2D convolution in `numpy` and remove the `scipy` dependency. See e.g.: https://stackoverflow.com/questions/43086557/convolve2d-just-by-using-numpy
scipyis only used for a 2D convolution:roboreg/roboreg/util/mask.py
Line 3 in 4bbdb51
One should rather implement a 2D convolution in
numpyand remove thescipydependency. See e.g.: https://stackoverflow.com/questions/43086557/convolve2d-just-by-using-numpy