Mercurial > hg > smallbox
comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_KSVDvsRLSDLA.m @ 65:55faa9b5d1ac
(none)
author | idamnjanovic |
---|---|
date | Wed, 16 Mar 2011 13:41:02 +0000 |
parents | 623fcf3a69b1 |
children | 62f20b91d870 |
comparison
equal
deleted
inserted
replaced
64:8288a23f041f | 65:55faa9b5d1ac |
---|---|
40 noise_level=[10 20 25 50 100]; | 40 noise_level=[10 20 25 50 100]; |
41 % Defining Image Denoising Problem as Dictionary Learning | 41 % Defining Image Denoising Problem as Dictionary Learning |
42 % Problem. As an input we set the number of training patches. | 42 % Problem. As an input we set the number of training patches. |
43 for noise_ind=1:1 | 43 for noise_ind=1:1 |
44 for im_num=4:4 | 44 for im_num=4:4 |
45 SMALL.Problem = generateImageDenoiseProblem(test_image(im_num).i, 40000, '',512, noise_level(noise_ind)); | 45 SMALL.Problem = generateImageDenoiseProblem(test_image(im_num).i, 40000, '',256, noise_level(noise_ind)); |
46 SMALL.Problem.name=im_num; | 46 SMALL.Problem.name=im_num; |
47 | 47 |
48 results(noise_ind,im_num).noisy_psnr=SMALL.Problem.noisy_psnr; | 48 results(noise_ind,im_num).noisy_psnr=SMALL.Problem.noisy_psnr; |
49 | 49 |
50 %% | 50 %% |