mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-16 11:21:25 +08:00
Fix order of keyword arguments to _tv_denoise_2d.
tv_denoise passes keyword arguments `eps` and `weight` as positional arguments, but the order in _tv_denoise_2d was switched.
This commit is contained in:
@@ -92,7 +92,7 @@ def _tv_denoise_3d(im, eps=2.e-4, weight=100, keep_type=False, n_iter_max=200):
|
||||
else:
|
||||
return out
|
||||
|
||||
def _tv_denoise_2d(im, weight=50, eps=2.e-4, keep_type=False, n_iter_max=200):
|
||||
def _tv_denoise_2d(im, eps=2.e-4, weight=50, keep_type=False, n_iter_max=200):
|
||||
"""
|
||||
Perform total-variation denoising
|
||||
|
||||
|
||||
Reference in New Issue
Block a user