Mercurial > hg > smallbox
comparison Problems/Pierre_Problem.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 | 38d4fbf6ae24 |
children |
comparison
equal
deleted
inserted
replaced
124:436e6c044099 | 125:002ec1b2ceff |
---|---|
1 function data=Pierre_Problem(src, trg, blocksize, dictsize); | 1 function data=Pierre_Problem(src, trg, blocksize, dictsize); |
2 %%% Generate Pierre Problem | 2 %% Generate Pierre Problem |
3 % | |
4 % Centre for Digital Music, Queen Mary, University of London. | |
5 % This file copyright 2010 Ivan Damnjanovic. | |
6 % | |
7 % This program is free software; you can redistribute it and/or | |
8 % modify it under the terms of the GNU General Public License as | |
9 % published by the Free Software Foundation; either version 2 of the | |
10 % License, or (at your option) any later version. See the file | |
11 % COPYING included with this distribution for more information. | |
12 % | 3 % |
13 % Pierre_Problem is a part of the SMALLbox and generates the problem | 4 % Pierre_Problem is a part of the SMALLbox and generates the problem |
14 % suggested by Professor Pierre Vandergheynst on the SMALL meeting in | 5 % suggested by Professor Pierre Vandergheynst on the SMALL meeting in |
15 % Villars. | 6 % Villars. |
16 % The function takes as an input: | 7 % The function takes as an input: |
36 % - blocksize - block size (default [5 5]), | 27 % - blocksize - block size (default [5 5]), |
37 % - maxval - maximum value (default - 255) | 28 % - maxval - maximum value (default - 255) |
38 % - sparse - if 1 SMALL_solve will keep solution matrix in sparse form, | 29 % - sparse - if 1 SMALL_solve will keep solution matrix in sparse form, |
39 % due to memory constrains. | 30 % due to memory constrains. |
40 | 31 |
32 % | |
33 % Centre for Digital Music, Queen Mary, University of London. | |
34 % This file copyright 2010 Ivan Damnjanovic. | |
35 % | |
36 % This program is free software; you can redistribute it and/or | |
37 % modify it under the terms of the GNU General Public License as | |
38 % published by the Free Software Foundation; either version 2 of the | |
39 % License, or (at your option) any later version. See the file | |
40 % COPYING included with this distribution for more information. | |
41 %% prompt user for images %% | 41 %% prompt user for images %% |
42 | 42 |
43 % ask for source file name | 43 % ask for source file name |
44 | 44 |
45 TMPpath=pwd; | 45 TMPpath=pwd; |