comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.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 8b3c71bb44eb
comparison
equal deleted inserted replaced
185:a0e0982a17fe 187:3cc204120431
25 clear all; 25 clear all;
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