mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-26 13:37:17 +08:00
Fix 16bit rank filter test in python 3.x
This commit is contained in:
@@ -437,7 +437,7 @@ def test_16bit():
|
||||
image[10, 10] = value
|
||||
assert rank.minimum(image, selem)[10, 10] == 0
|
||||
assert rank.maximum(image, selem)[10, 10] == value
|
||||
assert rank.mean(image, selem)[10, 10] == value / selem.size
|
||||
assert rank.mean(image, selem)[10, 10] == int(value / selem.size)
|
||||
|
||||
|
||||
def test_bilateral():
|
||||
|
||||
Reference in New Issue
Block a user