comparison util/SMALL_ImgDeNoiseResult.m @ 125:002ec1b2ceff sup_158_IMG_Processing_toolbox_

cleaning up. All IMP toolbox dependencies removed
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Wed, 25 May 2011 15:29:20 +0100
parents 921f9931c84f
children
comparison
equal deleted inserted replaced
124:436e6c044099 125:002ec1b2ceff
1 function SMALL_ImgDeNoiseResult(SMALL) 1 function SMALL_ImgDeNoiseResult(SMALL)
2 %% Represents the results of Dictionary Learning for Image denoising
2 % 3 %
4 % Function gets as input SMALL structure and plots Image Denoise
5 % results: Original Image, Noisy Image and for learned dictionaries and
6 % denoised images
7 %
8
3 % Centre for Digital Music, Queen Mary, University of London. 9 % Centre for Digital Music, Queen Mary, University of London.
4 % This file copyright 2010 Ivan Damnjanovic. 10 % This file copyright 2010 Ivan Damnjanovic.
5 % 11 %
6 % This program is free software; you can redistribute it and/or 12 % This program is free software; you can redistribute it and/or
7 % modify it under the terms of the GNU General Public License as 13 % modify it under the terms of the GNU General Public License as
8 % published by the Free Software Foundation; either version 2 of the 14 % published by the Free Software Foundation; either version 2 of the
9 % License, or (at your option) any later version. See the file 15 % License, or (at your option) any later version. See the file
10 % COPYING included with this distribution for more information. 16 % COPYING included with this distribution for more information.
11 % 17 %%
12 % Function gets as input SMALL structure and plots Image Denoise
13 % results: Original Image, Noisy Image and for learned dictionaries and
14 % denoised images
15 18
16 19
17 figure('Name', sprintf('Image %s (training set size- %d, sigma - %d)',SMALL.Problem.name, SMALL.Problem.n, SMALL.Problem.sigma)); 20 figure('Name', sprintf('Image %s (training set size- %d, sigma - %d)',SMALL.Problem.name, SMALL.Problem.n, SMALL.Problem.sigma));
18 21
19 m=size(SMALL.solver,2)+1; 22 m=size(SMALL.solver,2)+1;