diff options
author | dkazanc <dkazanc@hotmail.com> | 2019-03-06 15:13:58 +0000 |
---|---|---|
committer | dkazanc <dkazanc@hotmail.com> | 2019-03-06 15:13:58 +0000 |
commit | 39baef90c4b209090f006e5308653cb0a3348c4e (patch) | |
tree | e85f827c91fa98a39cef941090dc260db1c76b6c /src/Python/ccpi | |
parent | 5a12eb57a4965dea7241093c1fe7bf50dfac9659 (diff) | |
download | regularization-39baef90c4b209090f006e5308653cb0a3348c4e.tar.gz regularization-39baef90c4b209090f006e5308653cb0a3348c4e.tar.bz2 regularization-39baef90c4b209090f006e5308653cb0a3348c4e.tar.xz regularization-39baef90c4b209090f006e5308653cb0a3348c4e.zip |
tol work
Diffstat (limited to 'src/Python/ccpi')
-rw-r--r-- | src/Python/ccpi/filters/regularisers.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Python/ccpi/filters/regularisers.py b/src/Python/ccpi/filters/regularisers.py index 588ea32..fb2c999 100644 --- a/src/Python/ccpi/filters/regularisers.py +++ b/src/Python/ccpi/filters/regularisers.py @@ -29,15 +29,14 @@ def ROF_TV(inputData, regularisation_parameter, iterations, .format(device)) def FGP_TV(inputData, regularisation_parameter,iterations, - tolerance_param, methodTV, nonneg, printM, device='cpu'): + tolerance_param, methodTV, nonneg, device='cpu'): if device == 'cpu': return TV_FGP_CPU(inputData, regularisation_parameter, iterations, tolerance_param, methodTV, - nonneg, - printM) + nonneg) elif device == 'gpu' and gpu_enabled: return TV_FGP_GPU(inputData, regularisation_parameter, @@ -45,7 +44,7 @@ def FGP_TV(inputData, regularisation_parameter,iterations, tolerance_param, methodTV, nonneg, - printM) + 1) else: if not gpu_enabled and device == 'gpu': raise ValueError ('GPU is not available') |