Mercurial > hg > smallbox
diff SMALLboxSetup.m @ 143:8d866d96f006
changes to the merge
author | Ivan <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Tue, 26 Jul 2011 15:13:29 +0100 |
parents | a4e255cfb113 |
children | 19e0af570914 |
line wrap: on
line diff
--- a/SMALLboxSetup.m Mon Jul 11 13:43:12 2011 +0100 +++ b/SMALLboxSetup.m Tue Jul 26 15:13:29 2011 +0100 @@ -274,7 +274,22 @@ end %% +%% KSVD utils setup +if ~(exist('addtocols')==3) + cd([SMALL_path,FS,'util',FS,'ksvd utils']); + make + cd(SMALL_path); +end + +%% fast omp for Gabor dictionary + +if ~(exist('omp2Gabor')==3) + cd([SMALL_path,FS,'solvers', FS,'SMALL_ompGabor']); + make +cd(SMALL_path); +end +%% if ~exist('ksvdver.m','file') fprintf('\n ******************************************************************'); fprintf('\n\n Initialising OMPbox and KSVDBox Setup'); @@ -300,9 +315,9 @@ fprintf('\n\n Downloading toolbox, please be patient\n\n'); end unzip(KSVD_zip,[KSVD_path, FS, 'ksvdbox']); -% cd([KSVD_path, FS, 'ksvdbox', FS, 'private']); -% make; -% cd(SMALL_path); + cd([KSVD_path, FS, 'ksvdbox', FS, 'private']); + make; + cd(SMALL_path); KSVD_p=genpath(KSVD_path); addpath(KSVD_p); fprintf('\n KSVDBox and OMPBox Installation Successful\n'); @@ -392,13 +407,7 @@ fprintf('\n\n matlab_midi (http://www.kenschutte.com/midi/) is already installed'); end -%% KSVD utils setup -if ~(exist('addtocols')==3) - cd([SMALL_path,FS,'util',FS,'ksvd utils']); - make - cd(SMALL_path); -end %% RWT setup if ~(exist('mdwt')==3)