summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-10-19 09:51:42 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-19 09:51:42 +0100
commit0df7531d23a3bb7df482eda99022c216614c556f (patch)
treea082590a91f8e633806cc196740724771a22d0bb /demos
parentce035d17d19cd769983a6de632bbc59b1eefcd1b (diff)
parentcb8ef11f00e897b6f5b3049126dd32baa3c50cf9 (diff)
downloadregularization-0df7531d23a3bb7df482eda99022c216614c556f.tar.gz
regularization-0df7531d23a3bb7df482eda99022c216614c556f.tar.bz2
regularization-0df7531d23a3bb7df482eda99022c216614c556f.tar.xz
regularization-0df7531d23a3bb7df482eda99022c216614c556f.zip
Merge branch 'master' into pythonize
Diffstat (limited to 'demos')
-rw-r--r--demos/Demo_Phantom3D_Parallel.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/Demo_Phantom3D_Parallel.m b/demos/Demo_Phantom3D_Parallel.m
index fd8096a..ac9827c 100644
--- a/demos/Demo_Phantom3D_Parallel.m
+++ b/demos/Demo_Phantom3D_Parallel.m
@@ -33,6 +33,7 @@ params.sino = single(sino_tomophan3D); % sinogram
params.iterFISTA = 5; %max number of outer iterations
params.X_ideal = TomoPhantom; % ideal phantom
params.show = 1; % visualize reconstruction on each iteration
+params.subsets = 12;
params.slice = round(N/2); params.maxvalplot = 1;
tic; [X_FISTA, output] = FISTA_REC(params); toc;
@@ -44,6 +45,6 @@ figure(2);
subplot(1,2,1); imshow(X_FISTA(:,:,params.slice),[0 params.maxvalplot]); title('FISTA-LS reconstruction'); colorbar;
subplot(1,2,2); imshow(Resid3D(:,:,params.slice),[0 0.1]); title('residual'); colorbar;
figure(3);
-subplot(1,2,1); plot(error_FISTA); title('RMSE plot'); colorbar;
-subplot(1,2,2); plot(obj_FISTA); title('Objective plot'); colorbar;
+subplot(1,2,1); plot(error_FISTA); title('RMSE plot');
+subplot(1,2,2); plot(obj_FISTA); title('Objective plot');
%% \ No newline at end of file