def blur(img, sigma=1): """Blur an image with a Gaussian kernel""" return filters.gaussian_filter(img, sigma)