diff util/SMALL_ImgDeNoiseResult.m @ 127:6f78b069e541

Merge from branch "ivand_dev" after issues 158, 159, 163 resolved
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Wed, 25 May 2011 15:34:37 +0100
parents 002ec1b2ceff
children
line wrap: on
line diff
--- a/util/SMALL_ImgDeNoiseResult.m	Mon May 23 12:26:33 2011 +0100
+++ b/util/SMALL_ImgDeNoiseResult.m	Wed May 25 15:34:37 2011 +0100
@@ -1,5 +1,11 @@
-function SMALL_ImgDeNoiseResult(SMALL)
+function SMALL_ImgDeNoiseResult(SMALL)   
+%%  Represents the results of Dictionary Learning for Image denoising
 %
+%   Function gets as input SMALL structure and plots  Image Denoise
+%   results: Original Image, Noisy Image and for learned dictionaries and 
+%   denoised images 
+%
+
 %   Centre for Digital Music, Queen Mary, University of London.
 %   This file copyright 2010 Ivan Damnjanovic.
 %
@@ -8,10 +14,7 @@
 %   published by the Free Software Foundation; either version 2 of the
 %   License, or (at your option) any later version.  See the file
 %   COPYING included with this distribution for more information.
-%   
-%   Function gets as input SMALL structure and plots  Image Denoise
-%   results: Original Image, Noisy Image and for learned dictionaries and 
-%   denoised images 
+%%
 
 
 figure('Name', sprintf('Image %s (training set size- %d, sigma - %d)',SMALL.Problem.name, SMALL.Problem.n, SMALL.Problem.sigma));
@@ -37,7 +40,7 @@
     else
         D = SMALL.DL(i-1).D;
     end
-    dictimg = showdict(D,SMALL.Problem.blocksize,...
+    dictimg = SMALL_showdict(D,SMALL.Problem.blocksize,...
         round(sqrt(size(D,2))),round(sqrt(size(D,2))),'lines','highcontrast');
     
     subplot(2,m,m+i);imagesc(dictimg);axis off; axis image;