Re: [Freesurfer] combining aseg and seg_edited files for an atlas

2014-07-10 Thread N/A N/A
Thank you Douglas for the suggestion, I will try this method! Alexarae On Thu, Jul 10, 2014 at 11:43 AM, Douglas N Greve wrote: > > If you have matlab, it would be pretty easy to do it there, something like > > aseg = MRIread('aseg.mgz'); > seg = MRIread('seg_edited.mgz'); > > % Your first seg

Re: [Freesurfer] combining aseg and seg_edited files for an atlas

2014-07-10 Thread Douglas N Greve
If you have matlab, it would be pretty easy to do it there, something like aseg = MRIread('aseg.mgz'); seg = MRIread('seg_edited.mgz'); % Your first seg inside cerebellum indseg1 = find(seg.vol == 1 & (aseg.vol == 8 | aseg.vol == 47)); % cerebellum cortex = 8 and 47, see $FREESURFER_HOME/FreeSur