Set random seed value for denoising tests

This commit is contained in:
Johannes Schönberger
2013-01-17 09:11:21 +01:00
parent 5f012cb19d
commit fcc7edd411
+3
View File
@@ -4,6 +4,9 @@ from numpy.testing import run_module_suite, assert_raises, assert_equal
from skimage import filter, data, color, img_as_float
np.random.seed(1234)
lena = img_as_float(data.lena()[:256, :256])
lena_gray = color.rgb2gray(lena)