mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-08 22:55:16 +08:00
Fix rebase error
This commit is contained in:
@@ -214,7 +214,8 @@ def test_adapthist_grayscale():
|
||||
with expected_warnings(['precision loss|non-contiguous input',
|
||||
'deprecated']):
|
||||
adapted_old = exposure.equalize_adapthist(img, 10, 9, clip_limit=0.01,
|
||||
adapted = exposure.equalize_adapthist(img, kernel_size=(57, 51), clip_limit=0.01, nbins=128)most_equal
|
||||
nbins=128)
|
||||
adapted = exposure.equalize_adapthist(img, kernel_size=(57, 51), clip_limit=0.01, nbins=128)
|
||||
assert img.shape == adapted.shape
|
||||
assert_almost_equal(peak_snr(img, adapted), 90.669, 3)
|
||||
assert_almost_equal(norm_brightness_err(img, adapted), 0.084, 3)
|
||||
|
||||
Reference in New Issue
Block a user