def finish_image(img): img = image.gaussian_filter(img, 3) img = img + np.random.normal(0, 0.01, img.shape) return img