diff --git a/skimage/deconvolution/tests/camera_rl.npy b/skimage/deconvolution/tests/camera_rl.npy index 799b5a20..b87318c3 100644 Binary files a/skimage/deconvolution/tests/camera_rl.npy and b/skimage/deconvolution/tests/camera_rl.npy differ diff --git a/skimage/deconvolution/tests/camera_unsup.npy b/skimage/deconvolution/tests/camera_unsup.npy index 96f4e666..5c1fbd31 100644 Binary files a/skimage/deconvolution/tests/camera_unsup.npy and b/skimage/deconvolution/tests/camera_unsup.npy differ diff --git a/skimage/deconvolution/tests/camera_wiener.npy b/skimage/deconvolution/tests/camera_wiener.npy index 7152aba1..9e65b802 100644 Binary files a/skimage/deconvolution/tests/camera_wiener.npy and b/skimage/deconvolution/tests/camera_wiener.npy differ diff --git a/skimage/deconvolution/tests/test_deconvolution.py b/skimage/deconvolution/tests/test_deconvolution.py index fd78e433..ff062574 100644 --- a/skimage/deconvolution/tests/test_deconvolution.py +++ b/skimage/deconvolution/tests/test_deconvolution.py @@ -1,10 +1,13 @@ from os.path import abspath, dirname, join as pjoin + import numpy as np from scipy.signal import convolve2d + +import skimage from skimage.data import camera from skimage import deconvolution -test_img = camera().astype(np.float) +test_img = skimage.img_as_float(camera()) def test_wiener():