# HG changeset patch # User idamnjanovic # Date 1300112108 0 # Node ID 9ff69e8e049f936804d0e5876cd4d367be9f3c4a # Parent f6b49c9d728c8e8b61a484bc9c9c4fb710fc1be1 diff -r f6b49c9d728c -r 9ff69e8e049f util/SMALL_ImgDeNoiseResult.m --- 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));