Mercurial > hg > smallbox
diff examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m @ 220:0d30f9074dd9
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 11 Apr 2012 15:56:39 +0100 |
parents | 8b3c71bb44eb |
children |
line wrap: on
line diff
--- a/examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m Wed Sep 07 14:17:55 2011 +0100 +++ b/examples/Image Denoising/SMALL_ImgDenoise_DL_test_SPAMS_lambda.m Wed Apr 11 15:56:39 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);