mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-01 12:31:10 +08:00
Set random seed value for denoising tests
This commit is contained in:
1 parent
5f012cb19d
commit
fcc7edd411
1 file changed
+3
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user