changeset 114:04cce72a4dc8 sup_158_IMG_Processing_toolbox_

SMALL_rlsdla.m - IMP toolbox dependency removed
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Tue, 24 May 2011 15:14:39 +0100
parents 028599837f1d
children 921f9931c84f
files DL/RLS-DLA/SMALL_rlsdla.m
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/DL/RLS-DLA/SMALL_rlsdla.m	Tue May 24 15:13:41 2011 +0100
+++ b/DL/RLS-DLA/SMALL_rlsdla.m	Tue May 24 15:14:39 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