Mercurial > hg > smallbox
diff Problems/generatePierreProblem.m @ 220:0d30f9074dd9
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 11 Apr 2012 15:56:39 +0100 |
parents | 9c418bea7f6a |
children | 8768cefe5753 |
line wrap: on
line diff
--- a/Problems/generatePierreProblem.m Wed Sep 07 14:17:55 2011 +0100 +++ b/Problems/generatePierreProblem.m Wed Apr 11 15:56:39 2012 +0100 @@ -45,10 +45,10 @@ TMPpath=pwd; FS=filesep; if ~ exist( 'src', 'var' ) || isempty(src) -[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 a source image'); -[pathstr, name, ext, versn] = fileparts(filename); +[pathstr, name, ext] = fileparts(filename); data.srcname=name; src = imread(filename); src = double(src); @@ -58,7 +58,7 @@ if ~ exist( 'trg', 'var' ) || isempty(trg) [filename,pathname] = uigetfile({'*.png;'},'Select a target image'); -[pathstr, name, ext, versn] = fileparts(filename); +[pathstr, name, ext] = fileparts(filename); data.trgname=name; trg = imread(filename); trg = double(trg);