comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m @ 186:9c418bea7f6a bug_386

Addresses Bug #386: removed the 4th output variable (versn) in all calls of function fileparts.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 09 Feb 2012 17:25:14 +0000
parents f42aa8bcb82f
children 8b3c71bb44eb
comparison
equal deleted inserted replaced
165:775caafd5651 186:9c418bea7f6a
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