comparison util/SMALL_ImgDeNoiseResult.m @ 115:921f9931c84f sup_158_IMG_Processing_toolbox_

IMP toolbox dependency removed from SMALL_ImgDeNoiseResult
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Tue, 24 May 2011 16:13:04 +0100
parents 62f20b91d870
children 002ec1b2ceff
comparison
equal deleted inserted replaced
114:04cce72a4dc8 115:921f9931c84f
35 if strcmpi(SMALL.DL(i-1).name,'ksvds') 35 if strcmpi(SMALL.DL(i-1).name,'ksvds')
36 D = kron(SMALL.Problem.basedict{2},SMALL.Problem.basedict{1})*SMALL.DL(i-1).D; 36 D = kron(SMALL.Problem.basedict{2},SMALL.Problem.basedict{1})*SMALL.DL(i-1).D;
37 else 37 else
38 D = SMALL.DL(i-1).D; 38 D = SMALL.DL(i-1).D;
39 end 39 end
40 dictimg = showdict(D,SMALL.Problem.blocksize,... 40 dictimg = SMALL_showdict(D,SMALL.Problem.blocksize,...
41 round(sqrt(size(D,2))),round(sqrt(size(D,2))),'lines','highcontrast'); 41 round(sqrt(size(D,2))),round(sqrt(size(D,2))),'lines','highcontrast');
42 42
43 subplot(2,m,m+i);imagesc(dictimg);axis off; axis image; 43 subplot(2,m,m+i);imagesc(dictimg);axis off; axis image;
44 title(sprintf('%s dictionary in %.2f s',... 44 title(sprintf('%s dictionary in %.2f s',...
45 SMALL.DL(i-1).name, SMALL.DL(i-1).time),'Interpreter','none'); 45 SMALL.DL(i-1).name, SMALL.DL(i-1).time),'Interpreter','none');