comparison Problems/Pierre_reconstruct.m @ 128:8e660fd14774 ivand_dev

Feature 186
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 13 Jun 2011 14:55:45 +0100
parents 6a37442514c5
children
comparison
equal deleted inserted replaced
126:db5a7fe1a404 128:8e660fd14774
1 function reconstructed=Pierre_reconstruct(y, Problem) 1 function reconstructed=Pierre_reconstruct(y, Problem)
2 %%% Pierre Villars Example - reconstruction function 2 %% Pierre Villars Example - reconstruction function
3 %
4 % This example is based on the experiment suggested by Professor Pierre
5 % Vandergheynst on the SMALL meeting in Villars.
6 % The function is using sparse representation y in dictionary Problem.A
7 % to reconstruct the patches of the target image.
8
3 % 9 %
4 % Centre for Digital Music, Queen Mary, University of London. 10 % Centre for Digital Music, Queen Mary, University of London.
5 % This file copyright 2009 Ivan Damnjanovic. 11 % This file copyright 2009 Ivan Damnjanovic.
6 % 12 %
7 % This program is free software; you can redistribute it and/or 13 % This program is free software; you can redistribute it and/or
8 % modify it under the terms of the GNU General Public License as 14 % modify it under the terms of the GNU General Public License as
9 % published by the Free Software Foundation; either version 2 of the 15 % published by the Free Software Foundation; either version 2 of the
10 % License, or (at your option) any later version. See the file 16 % License, or (at your option) any later version. See the file
11 % COPYING included with this distribution for more information. 17 % COPYING included with this distribution for more information.
12 % 18 %%
13 % This example is based on the experiment suggested by Professor Pierre
14 % Vandergheynst on the SMALL meeting in Villars.
15 19
16 % using sparse representation y in dictionary Problem.A reconstruct the 20
17 % patches from the target image 21
18 22
19 imout=Problem.A*y; 23 imout=Problem.A*y;
20 24
21 % combine the patches into reconstructed image 25 % combine the patches into reconstructed image
22 26