e0049736a9efa9d6879494a634ae811c8daf0e16
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m  1) function main(model,task)
private/main.m  2) 
private/main.m  3) % parse the GUI and pass parameters as structure
private/main.m  4) disp('RUN');
private/main.m  5) timeLine = getTimeLineParams(model);
private/main.m  6) subjects = getSubjectCellList(model);
private/main.m  7) classDef = parseClassDef(model);
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/main.m  8) 
private/main.m  9) mask     = ['^' cell2mat(getImageFileMask(model)) '.*\.img$'];
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m 10) % images
private/main.m 11) % normalization
private/main.m 12) 
private/main.m 13) switch task
private/main.m 14)     case 'COORD'
private/main.m 15)         disp('COORD');
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/main.m 16)         coordargs = struct;
private/main.m 17)         coordargs.subjects = subjects;
private/main.m 18)         coordargs.timeline = timeLine;
private/main.m 19)         coordargs.basedir = model.baseDir;
private/main.m 20)         coordargs.sessionList = 1:3;
private/main.m 21)         coordargs.eventList = classDef.eventMatrix;
private/main.m 22)         coordargs.coords = parseCoordinateTextField(model);
private/main.m 23)         coordargs.mask   = mask;
private/main.m 24)         
private/main.m 25)         runCoordTable(coordargs)
Christoph Budziszewski roi image working

Christoph Budziszewski authored 15 years ago

private/main.m 26)         
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m 27)     case 'ROI'
private/main.m 28)         disp('ROI');
Christoph Budziszewski roi image working

Christoph Budziszewski authored 15 years ago

private/main.m 29)         roiargs = struct;
Christoph Budziszewski coordTabel works for JZ006

Christoph Budziszewski authored 15 years ago

private/main.m 30)         roiargs.subjects    = subjects;
private/main.m 31)         roiargs.timeline    = timeLine;
private/main.m 32)         roiargs.classes     = classDef;
private/main.m 33)         roiargs.mask        = mask;
private/main.m 34)         roiargs.basedir     = model.baseDir;
private/main.m 35)         roiargs.sessionList = 1:3;
private/main.m 36)         roiargs.eventList   = classDef.eventMatrix;
Christoph Budziszewski roi image working

Christoph Budziszewski authored 15 years ago

private/main.m 37)         
private/main.m 38)         
private/main.m 39)         assignin('base','roiargs',roiargs);
private/main.m 40)         
private/main.m 41)         runROIImageMaskMode(roiargs);
private/main.m 42)         
Christoph Budziszewski zwischenspeicherung

Christoph Budziszewski authored 15 years ago

private/main.m 43)     case 'FBS'
private/main.m 44)         disp('FBS')
private/main.m 45) end
private/main.m 46) 
Christoph Budziszewski possibly working version, c...

Christoph Budziszewski authored 15 years ago

main.m         47) end
Christoph Budziszewski heavy CrossVal Toolbox deve...

Christoph Budziszewski authored 15 years ago

main.m         48) 
main.m         49) 
main.m         50)