comparison examples/Image Denoising/SMALL_ImgDenoise_DL_test_Training_size.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
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