Mercurial > hg > smallbox
changeset 34:9ff69e8e049f backup 14032011
(none)
author | idamnjanovic |
---|---|
date | Mon, 14 Mar 2011 14:15:08 +0000 |
parents | f6b49c9d728c |
children | ea9ef4bd7102 |
files | util/SMALL_ImgDeNoiseResult.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/util/SMALL_ImgDeNoiseResult.m Tue Jun 29 12:49:08 2010 +0000 +++ b/util/SMALL_ImgDeNoiseResult.m Mon Mar 14 14:15:08 2011 +0000 @@ -29,7 +29,7 @@ for i=2:m params=SMALL.solver(i-1).param; - subplot(2, m, i); imshow(SMALL.solver(i-1).reconstructed.Image/maxval); + subplot(2, m, i); imagesc(SMALL.solver(i-1).reconstructed.Image/maxval);colormap(gray); title(sprintf('%s Denoised image, PSNR: %.2f dB in %.2f s',... SMALL.DL(i-1).name, SMALL.solver(i-1).reconstructed.psnr, SMALL.solver(i-1).time )); if strcmpi(SMALL.DL(i-1).name,'ksvds') @@ -40,7 +40,7 @@ dictimg = showdict(D,params.blocksize,... round(sqrt(size(D,2))),round(sqrt(size(D,2))),'lines','highcontrast'); - subplot(2,m,m+i);imshow(imresize(dictimg,2,'nearest')); + subplot(2,m,m+i);imagesc(dictimg);colormap(gray); title(sprintf('%s dictionary in %.2f s',... SMALL.DL(i-1).name, SMALL.DL(i-1).time));