Change test of ndimage equivalence to use uint8 test image

This commit is contained in:
Nelson Brown
2014-07-16 19:57:25 -07:00
parent 4449c77884
commit eb4725826d
+1 -1
View File
@@ -187,7 +187,7 @@ def test_3d_fallback_black_tophat():
testing.assert_array_equal(new_image, image_expected)
def test_2d_ndimage_equivalence():
image = np.zeros((9, 9), np.uint16)
image = np.zeros((9, 9), np.uint8)
image[2:-2, 2:-2] = 2**14
image[3:-3, 3:-3] = 2**15
image[4, 4] = 2**16-1