Mercurial > hg > smallbox
comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_KSVDvsRLSDLA.m @ 108:b14e1f6ee4be ver_1.1
Merge
author | Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Wed, 18 May 2011 11:50:28 +0100 |
parents | dab78a3598b6 c54e7f2b39d5 |
children | 8e660fd14774 |
comparison
equal
deleted
inserted
replaced
107:dab78a3598b6 | 108:b14e1f6ee4be |
---|---|
1 %% DICTIONARY LEARNING FOR IMAGE DENOISING | 1 %% DICTIONARY LEARNING FOR IMAGE DENOISING |
2 % This file contains an example of how SMALLbox can be used to test different | 2 % This file contains an example of how SMALLbox can be used to test different |
3 % dictionary learning techniques in Image Denoising problem. | 3 % dictionary learning techniques in Image Denoising problem. |
4 % It calls generateImageDenoiseProblem that will let you to choose image, | 4 % It calls generateImageDenoiseProblem that will let you to choose image, |
5 % add noise and use noisy image to generate training set for dictionary | 5 % add noise and use noisy image to generate training set for dictionary |
6 % learning. | 6 % learning. |
204 'Edata', Edata,... | 204 'Edata', Edata,... |
205 'initdict', SMALL.Problem.initdict,... | 205 'initdict', SMALL.Problem.initdict,... |
206 'dictsize', SMALL.Problem.p,... | 206 'dictsize', SMALL.Problem.p,... |
207 'forgettingMode', 'FIX',... | 207 'forgettingMode', 'FIX',... |
208 'forgettingFactor', lambda,... | 208 'forgettingFactor', lambda,... |
209 'show_dict', 500); | 209 'show_dict', 1000); |
210 | 210 |
211 | 211 |
212 SMALL.DL(3) = SMALL_learn(SMALL.Problem, SMALL.DL(3)); | 212 SMALL.DL(3) = SMALL_learn(SMALL.Problem, SMALL.DL(3)); |
213 | 213 |
214 % Initialising solver structure | 214 % Initialising solver structure |