# HG changeset patch
# User idamnjanovic
# Date 1271326432 0
# Node ID 79e1d62f0115d54ba469431e99c985920b1a6102
# Parent  bcc748594b613d100667d9bbb3ff8094cd8cddc7


diff -r bcc748594b61 -r 79e1d62f0115 examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.m
--- a/examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.m	Thu Apr 01 10:58:54 2010 +0000
+++ b/examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.m	Thu Apr 15 10:13:52 2010 +0000
@@ -72,8 +72,8 @@
         'Edata', Edata,...
         'initdict', SMALL.Problem.initdict,...
         'dictsize', SMALL.Problem.p,...
-        'iternum', 20,...
-        'memusage', 'high');
+        'iternum', 20);
+        %'memusage', 'high');
     
     %   Learn the dictionary
     
@@ -184,6 +184,10 @@
 subplot(1,2,1); plot(Training_size, time(1,:), 'ro-', Training_size, time(2,:), 'b*-');
 legend('KSVD','SPAMS',0);
 title('Time vs Training size');
+xlabel('Training Size (Num. of patches)');
+ylabel('Time(s)');
 subplot(1,2,2); plot(Training_size, psnr(1,:), 'ro-', Training_size, psnr(2,:), 'b*-');
 legend('KSVD','SPAMS',0);
-title('PSNR vs Training size');
\ No newline at end of file
+title('PSNR vs Training size');
+xlabel('Training Size (Num. of patches)');
+ylabel('PSNR(dB)');
\ No newline at end of file