diff options
author | Daniil Kazantsev <dkazanc@hotmail.com> | 2018-05-01 15:16:49 +0100 |
---|---|---|
committer | Daniil Kazantsev <dkazanc@hotmail.com> | 2018-05-01 15:16:49 +0100 |
commit | 42a10faa06bd56bff3f0f1804ddcdf1a3e1283cd (patch) | |
tree | b3246b624c4bfa5b07623e2eae8a00f3b28a75cd /Wrappers/Python/ccpi | |
parent | 033c2030a05c7aa4c832e7a5e9fd13346d05e33d (diff) | |
download | regularization-42a10faa06bd56bff3f0f1804ddcdf1a3e1283cd.tar.gz regularization-42a10faa06bd56bff3f0f1804ddcdf1a3e1283cd.tar.bz2 regularization-42a10faa06bd56bff3f0f1804ddcdf1a3e1283cd.tar.xz regularization-42a10faa06bd56bff3f0f1804ddcdf1a3e1283cd.zip |
inpaint NVM added
Diffstat (limited to 'Wrappers/Python/ccpi')
-rw-r--r-- | Wrappers/Python/ccpi/filters/regularisers.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/filters/regularisers.py b/Wrappers/Python/ccpi/filters/regularisers.py index 8120f72..a07b39a 100644 --- a/Wrappers/Python/ccpi/filters/regularisers.py +++ b/Wrappers/Python/ccpi/filters/regularisers.py @@ -2,7 +2,7 @@ script which assigns a proper device core function based on a flag ('cpu' or 'gpu') """ -from ccpi.filters.cpu_regularisers import TV_ROF_CPU, TV_FGP_CPU, TV_SB_CPU, dTV_FGP_CPU, TNV_CPU, NDF_CPU, NDF_INPAINT_CPU +from ccpi.filters.cpu_regularisers import TV_ROF_CPU, TV_FGP_CPU, TV_SB_CPU, dTV_FGP_CPU, TNV_CPU, NDF_CPU, NDF_INPAINT_CPU, NVM_INPAINT_CPU from ccpi.filters.gpu_regularisers import TV_ROF_GPU, TV_FGP_GPU, TV_SB_GPU, dTV_FGP_GPU, NDF_GPU def ROF_TV(inputData, regularisation_parameter, iterations, @@ -114,3 +114,6 @@ def NDF_INP(inputData, maskData, regularisation_parameter, edge_parameter, itera time_marching_parameter, penalty_type): return NDF_INPAINT_CPU(inputData, maskData, regularisation_parameter, edge_parameter, iterations, time_marching_parameter, penalty_type) + +def NVM_INP(inputData, maskData, SW_increment, iterations): + return NVM_INPAINT_CPU(inputData, maskData, SW_increment, iterations) |