Mercurial > hg > smallbox
comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_KSVDvsSPAMS.m @ 187:3cc204120431 luisf_dev
Merge from branch "bug_386"
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 09 Feb 2012 17:26:45 +0000 |
parents | 9c418bea7f6a |
children |
comparison
equal
deleted
inserted
replaced
185:a0e0982a17fe | 187:3cc204120431 |
---|---|
39 % function uncomment following lines. This can be useful if you want to | 39 % function uncomment following lines. This can be useful if you want to |
40 % denoise more then one image for example. | 40 % denoise more then one image for example. |
41 | 41 |
42 % TMPpath=pwd; | 42 % TMPpath=pwd; |
43 % FS=filesep; | 43 % FS=filesep; |
44 % [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); | 44 % [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m')); |
45 % cd([pathstr1,FS,'data',FS,'images']); | 45 % cd([pathstr1,FS,'data',FS,'images']); |
46 % [filename,pathname] = uigetfile({'*.png;'},'Select a file containin pre-calculated notes'); | 46 % [filename,pathname] = uigetfile({'*.png;'},'Select a file containin pre-calculated notes'); |
47 % [pathstr, name, ext, versn] = fileparts(filename); | 47 % [pathstr, name, ext] = fileparts(filename); |
48 % test_image = imread(filename); | 48 % test_image = imread(filename); |
49 % test_image = double(test_image); | 49 % test_image = double(test_image); |
50 % cd(TMPpath); | 50 % cd(TMPpath); |
51 % SMALL.Problem.name=name; | 51 % SMALL.Problem.name=name; |
52 | 52 |