Mercurial > hg > smallbox
comparison Problems/generateImageDenoiseProblem.m @ 21:0211faef9add
(none)
author | idamnjanovic |
---|---|
date | Tue, 27 Apr 2010 13:31:44 +0000 |
parents | ec86452113ed |
children | 2c59257d734c |
comparison
equal
deleted
inserted
replaced
20:ce03373b3761 | 21:0211faef9add |
---|---|
1 function data=generateImageDenoiseProblem(im, trainnum, blocksize, dictsize, sigma, gain, maxval, initdict); | 1 function data=generateImageDenoiseProblem(im, trainnum, blocksize, dictsize, sigma, gain, maxval, initdict); |
2 %%% Generate Image Denoising Problem | 2 %%% Generate Image Denoising Problem |
3 % Ivan Damnjanovic 2010 | |
4 % | 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 % | |
5 % generateImageDenoiseProblem is a part of the SMALLbox and generates | 13 % generateImageDenoiseProblem is a part of the SMALLbox and generates |
6 % a problem that can be used for comparison of Dictionary Learning/Sparse | 14 % a problem that can be used for comparison of Dictionary Learning/Sparse |
7 % Representation techniques in image denoising scenario. | 15 % Representation techniques in image denoising scenario. |
8 % The function takes as an input: | 16 % The function takes as an input: |
9 % - im - image matrix (if not present function promts user for an | 17 % - im - image matrix (if not present function promts user for an |