Mercurial > hg > smallbox
diff DL/RLS-DLA/SMALL_rlsdla.m @ 126:db5a7fe1a404 ivand_dev
Merge from branch "sup_158_IMG_Processing_toolbox_"
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Wed, 25 May 2011 15:30:34 +0100 |
parents | 04cce72a4dc8 |
children | 8e660fd14774 |
line wrap: on
line diff
--- a/DL/RLS-DLA/SMALL_rlsdla.m Wed May 25 13:33:47 2011 +0100 +++ b/DL/RLS-DLA/SMALL_rlsdla.m Wed May 25 15:30:34 2011 +0100 @@ -133,8 +133,8 @@ end if (show_dictionary) - dictimg = showdict(D,[8 8],round(sqrt(size(D,2))),round(sqrt(size(D,2))),'lines','highcontrast'); - figure(2); imshow(imresize(dictimg,2,'nearest')); + dictimg = SMALL_showdict(D,[8 8],round(sqrt(size(D,2))),round(sqrt(size(D,2))),'lines','highcontrast'); + figure(2); imagesc(dictimg);colormap(gray);axis off; axis image; end % Forgetting factor @@ -193,9 +193,9 @@ C = C - (alfa * u)* u'; if (show_dictionary &&(mod(i,show_iter)==0)) - dictimg = showdict(D,[8 8],... + dictimg = SMALL_showdict(D,[8 8],... round(sqrt(size(D,2))),round(sqrt(size(D,2))),'lines','highcontrast'); - figure(2); imshow(imresize(dictimg,2,'nearest')); + figure(2); imagesc(dictimg);colormap(gray);axis off; axis image; pause(0.02); end end