Closed phdoerfler closed 2 years ago
Replaced scipy.misc.imread and imwrite with calls to imageio as the former was deprecated and removed. Note how the image is divided by two and later, after the blur, scaled back up. Otherwise most values in the blurred image will be 127.
This fixes https://github.com/diku-dk/futhark/issues/1688
Nice, thanks!
Replaced scipy.misc.imread and imwrite with calls to imageio as the former was deprecated and removed. Note how the image is divided by two and later, after the blur, scaled back up. Otherwise most values in the blurred image will be 127.
This fixes https://github.com/diku-dk/futhark/issues/1688