diff options
author | Daniil Kazantsev <dkazanc@hotmail.com> | 2018-03-06 12:46:09 +0000 |
---|---|---|
committer | Daniil Kazantsev <dkazanc@hotmail.com> | 2018-03-06 12:46:09 +0000 |
commit | 309d84445b5ec2980db7c79832958a6481343f17 (patch) | |
tree | 4370c24ba9890dc669690ec784bf40f89a5b2e32 /Wrappers/Python/src | |
parent | 8d310478254f3cda63f3663729b416f425ad70b6 (diff) | |
download | regularization-309d84445b5ec2980db7c79832958a6481343f17.tar.gz regularization-309d84445b5ec2980db7c79832958a6481343f17.tar.bz2 regularization-309d84445b5ec2980db7c79832958a6481343f17.tar.xz regularization-309d84445b5ec2980db7c79832958a6481343f17.zip |
FGP/ROF updates
Diffstat (limited to 'Wrappers/Python/src')
-rw-r--r-- | Wrappers/Python/src/cpu_regularizers.pyx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Wrappers/Python/src/cpu_regularizers.pyx b/Wrappers/Python/src/cpu_regularizers.pyx index d62ca59..60e8627 100644 --- a/Wrappers/Python/src/cpu_regularizers.pyx +++ b/Wrappers/Python/src/cpu_regularizers.pyx @@ -93,7 +93,7 @@ def TV_FGP_2D(np.ndarray[np.float32_t, ndim=2, mode="c"] inputData, return outputData def TV_FGP_3D(np.ndarray[np.float32_t, ndim=3, mode="c"] inputData, - float regularization_parameter, + float regularization_parameter, int iterationsNumb, float tolerance_param, int methodTV, @@ -109,11 +109,10 @@ def TV_FGP_3D(np.ndarray[np.float32_t, ndim=3, mode="c"] inputData, #/* Run ROF iterations for 3D data */ TV_FGP_CPU_main(&inputData[0,0,0], &outputData[0,0,0], regularization_parameter, - iterationsNumb, + iterationsNumb, tolerance_param, methodTV, nonneg, printM, dims[0], dims[1], dims[2]) - return outputData |