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:
Tony S Yu
2011-05-31 15:46:02 -04:00
parent 65021f481c
commit 637a568ae4
+1 -1
View File
@@ -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