diff options
author | dkazanc <dkazanc@hotmail.com> | 2019-03-06 17:37:14 +0000 |
---|---|---|
committer | dkazanc <dkazanc@hotmail.com> | 2019-03-06 17:37:14 +0000 |
commit | 4b29a6adc924bf8a4b3e4f9835ded93a3a2f7b92 (patch) | |
tree | 356cae729e8d783adc8151174bef57b6feabd4e0 /demos | |
parent | 39baef90c4b209090f006e5308653cb0a3348c4e (diff) | |
download | regularization-4b29a6adc924bf8a4b3e4f9835ded93a3a2f7b92.tar.gz regularization-4b29a6adc924bf8a4b3e4f9835ded93a3a2f7b92.tar.bz2 regularization-4b29a6adc924bf8a4b3e4f9835ded93a3a2f7b92.tar.xz regularization-4b29a6adc924bf8a4b3e4f9835ded93a3a2f7b92.zip |
fixes 2n vector problem
Diffstat (limited to 'demos')
-rw-r--r-- | demos/demo_cpu_regularisers.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/demo_cpu_regularisers.py b/demos/demo_cpu_regularisers.py index e58ed2f..8fa7022 100644 --- a/demos/demo_cpu_regularisers.py +++ b/demos/demo_cpu_regularisers.py @@ -31,7 +31,7 @@ def printParametersToString(pars): return txt ############################################################################### -# filename = os.path.join( "data" ,"lena_gray_512.tif") +#filename = os.path.join( "data" ,"lena_gray_512.tif") filename = "/home/kjy41806/Documents/SOFT/CCPi-Regularisation-Toolkit/test/lena_gray_512.tif" # read image @@ -128,8 +128,8 @@ imgplot = plt.imshow(u0,cmap="gray") pars = {'algorithm' : FGP_TV, \ 'input' : u0,\ 'regularisation_parameter':0.04, \ - 'number_of_iterations' :200 ,\ - 'tolerance_constant':1e-06,\ + 'number_of_iterations' :800 ,\ + 'tolerance_constant':1e-07,\ 'methodTV': 0 ,\ 'nonneg': 0 } |