comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.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
36 clear all; 36 clear all;
37 37
38 %% Load an image 38 %% Load an image
39 TMPpath=pwd; 39 TMPpath=pwd;
40 FS=filesep; 40 FS=filesep;
41 [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); 41 [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m'));
42 cd([pathstr1,FS,'data',FS,'images']); 42 cd([pathstr1,FS,'data',FS,'images']);
43 [filename,pathname] = uigetfile({'*.png;'},'Select a file containin pre-calculated notes'); 43 [filename,pathname] = uigetfile({'*.png;'},'Select a file containin pre-calculated notes');
44 [pathstr, name, ext, versn] = fileparts(filename); 44 [pathstr, name, ext] = fileparts(filename);
45 test_image = imread(filename); 45 test_image = imread(filename);
46 test_image = double(test_image); 46 test_image = double(test_image);
47 cd(TMPpath); 47 cd(TMPpath);
48 48
49 % number of different values we want to test 49 % number of different values we want to test