From 4b29a6adc924bf8a4b3e4f9835ded93a3a2f7b92 Mon Sep 17 00:00:00 2001 From: dkazanc Date: Wed, 6 Mar 2019 17:37:14 +0000 Subject: fixes 2n vector problem --- demos/demo_cpu_regularisers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demos') 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 } -- cgit v1.2.3