Mercurial > hg > smallbox
diff Problems/generateImageDenoiseProblem.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 | 9c418bea7f6a |
children |
line wrap: on
line diff
--- a/Problems/generateImageDenoiseProblem.m Wed Mar 14 16:31:38 2012 +0000 +++ b/Problems/generateImageDenoiseProblem.m Thu Apr 12 13:52:28 2012 +0100 @@ -63,10 +63,10 @@ FS=filesep; TMPpath=pwd; if ~ exist( 'im', 'var' ) || isempty(im) - [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); + [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m')); cd([pathstr1,FS,'data',FS,'images']); [filename,pathname] = uigetfile({'*.png;'},'Select an image'); - [pathstr, name, ext, versn] = fileparts(filename); + [pathstr, name, ext] = fileparts(filename); data.name=name; im = imread(filename); %im = double(im);