Filters, Matlab, Opencv.
as np import matplotlib.pyplot as plt from scipy.ndimage import gaussian_filter from scipy.signal import convolve2d hsize = 31 sigma = 5 # Create Gaussian kernel h = np.outer(signal.gaussian(hsize, std=sigma), signal.gaussian(hsize, std=sigma)) # Display 3D surface plot of the kernel fig =