Hi all, I've tried running mri_label2vol on a few different computers now and keep encountering the same memory error. Can anyone provide suggestions as to how to get around this problem? I've included the output from a run using linux on a dual 3.05 GHz Xeon with 8GB ram below. Thanks for your help, Alex
mri_label2vol --annot 1002593/label/fsavg_lh_500_compact.aparc.annot --identity --temp 1002593/mri/orig.mgz --subject 1002593 --hemi lh --o output.nii Number of labels: 0 Annot File: 1002593/label/fsavg_lh_500_compact.aparc.annot Template Volume: 1002593/mri/orig.mgz Outut Volume: output.nii Registration File: (null) Fill Threshold: 0 Label Vox Vol: 1 ProjType: (null) ProjTypeId: 0 ProjStart: 0 ProjStop: 0 ProjDelta: 0.1 Subject: 1002593 Hemi: lh UseNewASeg2Vol: 1 DoLabelStatVol 0 $Id: mri_label2vol.c,v 1.25.2.3 2009/06/09 16:22:30 greve Exp $ Template RAS-to-Vox: -------- -1.000 0.000 0.000 128.000; -0.000 -0.000 -1.000 128.000; -0.000 1.000 -0.000 128.000; 0.000 0.000 0.000 1.000; Template Voxel Volume: 1 nHits Thresh: 0 Using Identity Matrix RegMat: -------- 1.000 0.000 0.000 0.000; 0.000 1.000 0.000 0.000; 0.000 0.000 1.000 0.000; 0.000 0.000 0.000 1.000; Label RAS-to-Vox: -------- -1.000 0.000 0.000 128.000; 0.000 0.000 -1.000 128.000; 0.000 1.000 0.000 128.000; 0.000 0.000 0.000 1.000; INFO: loading surface /work/imaging5/af397/twins/freesurfer/1002593/surf/lh.white nvertices = 143248 Reading thickness /work/imaging5/af397/twins/freesurfer/1002593/surf/lh.thickness Loading annotations from 1002593/label/fsavg_lh_500_compact.aparc.annot reading colortable from annotation file... colortable with 596 entries read (originally /autofs/space/birn_044/users/christophe_atlas_rebuild/Simple_surface_labels2 005.txt) annotidmax = 595 Allocating Hit Volume (1392508928) voxels MRIalloc(256, 256, 256): could not allocate 131072 bytes for 22406th slice
Cannot allocate memory