I have several patients scans taken over multiple time points (up to nine time points in some patients). I thought I might be able to use these to create a base template for longitudinal processing, however the process fails and exits with errors if I try to create a base with more than two time points from a patient.
This is a sample of the error log of the most recent attempt, with three timepoints:
Resolution: 1 S( 128 128 128 ) T( 128 128 128 )
Iteration(f): 1 -- diff. to prev. transform: 0.876663
Iteration(f): 2 -- diff. to prev. transform: 0.0148738
Iteration(f): 3 -- diff. to prev. transform: 0.00156813 < 0.01 :-)
Resolution: 0 S( 256 256 256 ) T( 256 256 256 )
Iteration(f): 1 -- diff. to prev. transform: 0.263086
Iteration(f): 2mri_robust_template(1035) malloc: *** mmap(size=262144) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
MRIalloc(256, 256, 256): could not allocate 262144 bytes for 68th slice
Cannot allocate memory
Darwin 550D-UOM88670.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
recon-all -s KSx3 exited with ERRORS at Mon Jul 23 10:15:13 EST 2012
For more details, see the log file /Applications/freesurfer/subjects/KSx3/scripts/recon-all.log
To report a problem, see http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
I would be grateful for any advice.