analyze.m 550 B

123456789101112131415161718192021
  1. %reset random generator
  2. rng shuffle
  3. %add nrrd processing capability
  4. addpath('nrrd_read_write_rensonnet')
  5. %path='/home/studen/temp/dynamicSPECT';
  6. [cax,cm]=loadTime(path,patientID);
  7. nclass=str2num(nclass);
  8. realizationId=str2num(realizationId);
  9. centers=loadCenters(path,patientID,nclass,realizationId);
  10. %this will write out fitPar
  11. [globalPar, cPars] = fitCenters(path, patientID, realizationId, cax, cm, centers);
  12. %[globalPar, cPars, xa, U]=fitFromClusters(path,cax, cm, data, nclass,realizationId);
  13. disp('DynamicAnalysis done');
  14. quit;
  15. %writeData