mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-30 03:30:24 +08:00
@@ -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():
|
||||
|
||||
@@ -11,6 +11,7 @@ def configuration(parent_package='', top_path=None):
|
||||
|
||||
config = Configuration('filter', parent_package, top_path)
|
||||
config.add_data_dir('tests')
|
||||
config.add_data_dir('rank/tests')
|
||||
|
||||
cython(['_ctmf.pyx'], working_path=base_path)
|
||||
cython(['_denoise_cy.pyx'], working_path=base_path)
|
||||
|
||||
Reference in New Issue
Block a user