aboutsummaryrefslogtreecommitdiff
path: root/tvqc_quantization_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 /tvqc_quantization_example.m
parent08d3232bdcbada58ffe9d20c6924b7e55aeeafda (diff)
downloadl1magic-1.11.01.tar.gz
l1magic-1.11.01.zip
Added image display for reconstruction assessmentHEADv1.11.01master
Diffstat (limited to 'tvqc_quantization_example.m')
-rw-r--r--tvqc_quantization_example.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/tvqc_quantization_example.m b/tvqc_quantization_example.m
index c9204a9..8ae5f94 100644
--- a/tvqc_quantization_example.m
+++ b/tvqc_quantization_example.m
@@ -65,3 +65,9 @@ time0 = clock;
xp = tvqc_logbarrier(x0, A, At, b, epsilon, 1e-1, 5);
Ip = reshape(xp, n, n);
disp(sprintf('Total elapsed time = %f secs\n', etime(clock,time0)));
+
+figure(1); imagesc(I); colormap(gray); colorbar;
+title('Original image');
+figure(2); imagesc(Ip); colormap(gray); colorbar;
+title('Reconstructed image');
+