Mercurial > hg > smallbox
comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_KSVDvsSPAMS.m @ 220:0d30f9074dd9
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 11 Apr 2012 15:56:39 +0100 |
parents | 9c418bea7f6a |
children |
comparison
equal
deleted
inserted
replaced
165:775caafd5651 | 220:0d30f9074dd9 |
---|---|
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 |