SciPy - Image Processing (scipy.ndimage)
What is the output of this code?
import numpy as np from scipy.ndimage import gaussian_filter img = np.array([[0, 0, 0], [0, 20, 0], [0, 0, 0]]) result = gaussian_filter(img, sigma=0.5) print(np.round(result, 1))
