Mercurial > hg > smallbox
diff examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.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 | 8b3c71bb44eb |
children |
line wrap: on
line diff
--- a/examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m Wed Mar 14 16:31:38 2012 +0000 +++ b/examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m Thu Apr 12 13:52:28 2012 +0100 @@ -22,15 +22,15 @@ % COPYING included with this distribution for more information. %% -clear all; +clear; %% Load an image TMPpath=pwd; FS=filesep; -[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 file containin pre-calculated notes'); -[pathstr, name, ext, versn] = fileparts(filename); +[pathstr, name, ext] = fileparts(filename); test_image = imread(filename); test_image = double(test_image); cd(TMPpath);