aboutsummaryrefslogtreecommitdiff
path: root/tveq_phantom_example.m
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-01-29 16:58:01 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-01-29 17:10:57 -0500
commitcfce29dac7d33537697cc4d722a861ba3872a1a2 (patch)
tree381afd9d01c86caefe24873f5b356c4f2d7d6150 /tveq_phantom_example.m
parent08d3232bdcbada58ffe9d20c6924b7e55aeeafda (diff)
downloadl1magic-cfce29dac7d33537697cc4d722a861ba3872a1a2.tar.gz
l1magic-cfce29dac7d33537697cc4d722a861ba3872a1a2.zip
Added image display for reconstruction assessmentHEADv1.11.01master
Diffstat (limited to 'tveq_phantom_example.m')
-rw-r--r--tveq_phantom_example.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/tveq_phantom_example.m b/tveq_phantom_example.m
index 0439a00..ac98f65 100644
--- a/tveq_phantom_example.m
+++ b/tveq_phantom_example.m
@@ -43,3 +43,9 @@ disp(sprintf('Original TV = %8.3f', tvI));
xp = tveq_logbarrier(xbp, A, At, y, 1e-1, 2, 1e-8, 600);
Xtv = reshape(xp, n, n);
toc
+
+figure(1); imagesc(X); colormap(gray); colorbar;
+title('Original image');
+figure(2); imagesc(Xtv); colormap(gray); colorbar;
+title('Reconstructed image');
+