diff options
author | Daniil Kazantsev <dkazanc@hotmail.com> | 2019-03-06 23:34:55 +0000 |
---|---|---|
committer | Daniil Kazantsev <dkazanc@hotmail.com> | 2019-03-06 23:34:55 +0000 |
commit | cfcc4be4413f65a0b9c4ef197687e3a167eff0e8 (patch) | |
tree | 41f7154e9e986d6429be9ba6289902edf1f91ec7 /src/Python/ccpi | |
parent | 4b29a6adc924bf8a4b3e4f9835ded93a3a2f7b92 (diff) | |
download | regularization-cfcc4be4413f65a0b9c4ef197687e3a167eff0e8.tar.gz regularization-cfcc4be4413f65a0b9c4ef197687e3a167eff0e8.tar.bz2 regularization-cfcc4be4413f65a0b9c4ef197687e3a167eff0e8.tar.xz regularization-cfcc4be4413f65a0b9c4ef197687e3a167eff0e8.zip |
cont1
Diffstat (limited to 'src/Python/ccpi')
-rw-r--r-- | src/Python/ccpi/filters/regularisers.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Python/ccpi/filters/regularisers.py b/src/Python/ccpi/filters/regularisers.py index fb2c999..67f432b 100644 --- a/src/Python/ccpi/filters/regularisers.py +++ b/src/Python/ccpi/filters/regularisers.py @@ -11,12 +11,13 @@ except ImportError: from ccpi.filters.cpu_regularisers import NDF_INPAINT_CPU, NVM_INPAINT_CPU def ROF_TV(inputData, regularisation_parameter, iterations, - time_marching_parameter,device='cpu'): + time_marching_parameter,tolerance_param,device='cpu'): if device == 'cpu': return TV_ROF_CPU(inputData, regularisation_parameter, iterations, - time_marching_parameter) + time_marching_parameter, + tolerance_param) elif device == 'gpu' and gpu_enabled: return TV_ROF_GPU(inputData, regularisation_parameter, |