summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorDaniil Kazantsev <dkazanc@hotmail.com>2017-10-18 21:46:29 +0100
committerDaniil Kazantsev <dkazanc@hotmail.com>2017-10-18 21:46:29 +0100
commitcb8ef11f00e897b6f5b3049126dd32baa3c50cf9 (patch)
tree10a16da90cd269bad73390fa91e73ebbdad26813 /demos
parent0847a315ce744e52be3dade398fb16c58323084e (diff)
downloadregularization-cb8ef11f00e897b6f5b3049126dd32baa3c50cf9.tar.gz
regularization-cb8ef11f00e897b6f5b3049126dd32baa3c50cf9.tar.bz2
regularization-cb8ef11f00e897b6f5b3049126dd32baa3c50cf9.tar.xz
regularization-cb8ef11f00e897b6f5b3049126dd32baa3c50cf9.zip
ordered subsets fix for GH term
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