Mercurial > hg > smallbox
comparison examples/MajorizationMinimization tests/SMALL_ImgDenoise_DL_test_KSVDvsMajorizationMinimization.m @ 186:9c418bea7f6a bug_386
Addresses Bug #386: removed the 4th output variable (versn) in all calls of function fileparts.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 09 Feb 2012 17:25:14 +0000 |
parents | f42aa8bcb82f |
children |
comparison
equal
deleted
inserted
replaced
165:775caafd5651 | 186:9c418bea7f6a |
---|---|
35 % Here we are loading test_image.mat that contains structure with 5 images : lena, | 35 % Here we are loading test_image.mat that contains structure with 5 images : lena, |
36 % barbara,boat, house and peppers. | 36 % barbara,boat, house and peppers. |
37 clear; | 37 clear; |
38 TMPpath=pwd; | 38 TMPpath=pwd; |
39 FS=filesep; | 39 FS=filesep; |
40 [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); | 40 [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m')); |
41 cd([pathstr1,FS,'data',FS,'images']); | 41 cd([pathstr1,FS,'data',FS,'images']); |
42 load('test_image.mat'); | 42 load('test_image.mat'); |
43 cd(TMPpath); | 43 cd(TMPpath); |
44 | 44 |
45 % Deffining the noise levels that we want to test | 45 % Deffining the noise levels that we want to test |