From cb8ef11f00e897b6f5b3049126dd32baa3c50cf9 Mon Sep 17 00:00:00 2001 From: Daniil Kazantsev Date: Wed, 18 Oct 2017 21:46:29 +0100 Subject: ordered subsets fix for GH term --- demos/Demo_Phantom3D_Parallel.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'demos') 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 -- cgit v1.2.3