comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m @ 224:fd0b5d36f6ad danieleb

Updated the contents of this branch with the contents of the default branch.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 12 Apr 2012 13:52:28 +0100
parents 8b3c71bb44eb
children
comparison
equal deleted inserted replaced
196:82b0d3f982cb 224:fd0b5d36f6ad
20 % published by the Free Software Foundation; either version 2 of the 20 % published by the Free Software Foundation; either version 2 of the
21 % License, or (at your option) any later version. See the file 21 % License, or (at your option) any later version. See the file
22 % COPYING included with this distribution for more information. 22 % COPYING included with this distribution for more information.
23 %% 23 %%
24 24
25 clear all; 25 clear;
26 26
27 %% Load an image 27 %% Load an image
28 TMPpath=pwd; 28 TMPpath=pwd;
29 FS=filesep; 29 FS=filesep;
30 [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); 30 [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m'));
31 cd([pathstr1,FS,'data',FS,'images']); 31 cd([pathstr1,FS,'data',FS,'images']);
32 [filename,pathname] = uigetfile({'*.png;'},'Select a file containin pre-calculated notes'); 32 [filename,pathname] = uigetfile({'*.png;'},'Select a file containin pre-calculated notes');
33 [pathstr, name, ext, versn] = fileparts(filename); 33 [pathstr, name, ext] = fileparts(filename);
34 test_image = imread(filename); 34 test_image = imread(filename);
35 test_image = double(test_image); 35 test_image = double(test_image);
36 cd(TMPpath); 36 cd(TMPpath);
37 %% 37 %%
38 38