diff examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.m @ 19:79e1d62f0115

(none)
author idamnjanovic
date Thu, 15 Apr 2010 10:13:52 +0000
parents f72603404233
children cbf3521c25eb
line wrap: on
line diff
--- 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