git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4e48c43
Branches
Tags
master
SVMCrossVal.git
private
loadImageFileNamesData.m
moved things
Christoph Budziszewski
commited
4e48c43
at 2009-02-09 16:44:50
loadImageFileNamesData.m
Blame
History
Raw
function datastruct = loadImageFileNamesData(loadParams) global SVMCROSSVAL_SUBJECT_PREFIX; RESULT_PATH = fullfile('results','SPM.mat'); for subjectCell = loadParams.subjectCellArray SubjectID = cell2mat(subjectCell); subjectString = strcat(SVMCROSSVAL_SUBJECT_PREFIX,SubjectID); display('loading SPM.mat ...'); des = load(fullfile(getStudyBasePath(loadParams.StudyID),SubjectID,RESULT_PATH)); des = des.SPM; display('... done.'); datastruct.(subjectString).images = getImageFileList(des,loadParams.use_smoothed_image_hack); subjectPath = fullfile(getStudyBasePath(loadParams.StudyID),SubjectID); ROIIMAGE = 1; if ROIIMAGE %load ROI Image Header % wd = 'C:\Dokumente und Einstellungen\Christoph\Eigene Dateien\Diplomarbeit\data'; wd = subjectPath; datastruct.(subjectString).roiImages = readRoiImage(sprintf('Select ROI Images for Subject %s',SubjectID),wd); end end