summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/src
diff options
context:
space:
mode:
authoralgol <dkazanc@hotmail.com>2018-04-16 15:16:32 +0100
committeralgol <dkazanc@hotmail.com>2018-04-16 15:16:32 +0100
commit57727584760e6b1a980071587e1f1e8910c7d6a3 (patch)
treeb6dd09825750854bf6c87cee8e544c2278ac5586 /Wrappers/Python/src
parent37e460b0eb2f8d67621dec37aef2d51efa192435 (diff)
downloadregularization-57727584760e6b1a980071587e1f1e8910c7d6a3.tar.gz
regularization-57727584760e6b1a980071587e1f1e8910c7d6a3.tar.bz2
regularization-57727584760e6b1a980071587e1f1e8910c7d6a3.tar.xz
regularization-57727584760e6b1a980071587e1f1e8910c7d6a3.zip
SB TV demos all work
Diffstat (limited to 'Wrappers/Python/src')
-rw-r--r--Wrappers/Python/src/cpu_regularisers.pyx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Wrappers/Python/src/cpu_regularisers.pyx b/Wrappers/Python/src/cpu_regularisers.pyx
index b8d2523..417670d 100644
--- a/Wrappers/Python/src/cpu_regularisers.pyx
+++ b/Wrappers/Python/src/cpu_regularisers.pyx
@@ -20,7 +20,7 @@ cimport numpy as np
cdef extern float TV_ROF_CPU_main(float *Input, float *Output, float lambdaPar, int iterationsNumb, float tau, int dimX, int dimY, int dimZ);
cdef extern float TV_FGP_CPU_main(float *Input, float *Output, float lambdaPar, int iterationsNumb, float epsil, int methodTV, int nonneg, int printM, int dimX, int dimY, int dimZ);
-cdef extern float TV_SB_CPU_main(float *Input, float *Output, float lambdaPar, int iterationsNumb, float epsil, int methodTV, int printM, int dimX, int dimY, int dimZ);
+cdef extern float SB_TV_CPU_main(float *Input, float *Output, float lambdaPar, int iterationsNumb, float epsil, int methodTV, int printM, int dimX, int dimY, int dimZ);
cdef extern float dTV_FGP_CPU_main(float *Input, float *InputRef, float *Output, float lambdaPar, int iterationsNumb, float epsil, float eta, int methodTV, int nonneg, int printM, int dimX, int dimY, int dimZ);
@@ -152,7 +152,7 @@ def TV_SB_2D(np.ndarray[np.float32_t, ndim=2, mode="c"] inputData,
np.zeros([dims[0],dims[1]], dtype='float32')
#/* Run SB-TV iterations for 2D data */
- TV_SB_CPU_main(&inputData[0,0], &outputData[0,0], regularisation_parameter,
+ SB_TV_CPU_main(&inputData[0,0], &outputData[0,0], regularisation_parameter,
iterationsNumb,
tolerance_param,
methodTV,
@@ -176,7 +176,7 @@ def TV_SB_3D(np.ndarray[np.float32_t, ndim=3, mode="c"] inputData,
np.zeros([dims[0], dims[1], dims[2]], dtype='float32')
#/* Run SB-TV iterations for 3D data */
- TV_SB_CPU_main(&inputData[0,0,0], &outputData[0,0,0], regularisation_parameter,
+ SB_TV_CPU_main(&inputData[0,0,0], &outputData[0,0,0], regularisation_parameter,
iterationsNumb,
tolerance_param,
methodTV,