Re: [Freesurfer] creating a binary mask volume

2010-04-12 Thread Douglas N Greve
you can also use mri_vol2vol with --regheader. Bruce Fischl wrote: > yes, that sounds right > Bruce > On Sun, 11 Apr 2010, Mehul Sampat wrote: > > >> Thanks Bruce. Following that, to convert the rth.mgz back to native space I >> think I can use the following command: >> mri_convert -rl orig/001

Re: [Freesurfer] creating a binary mask volume

2010-04-11 Thread Bruce Fischl
yes, that sounds right Bruce On Sun, 11 Apr 2010, Mehul Sampat wrote: > Thanks Bruce. Following that, to convert the rth.mgz back to native space I > think I can use the following command: > mri_convert -rl orig/001.mgz -rt nearest rth.mgz rth.nii > > thanks > Mehul > > On Sun, Apr 11, 2010 at 1:3

Re: [Freesurfer] creating a binary mask volume

2010-04-11 Thread Mehul Sampat
Thanks Bruce. Following that, to convert the rth.mgz back to native space I think I can use the following command: mri_convert -rl orig/001.mgz -rt nearest rth.mgz rth.nii thanks Mehul On Sun, Apr 11, 2010 at 1:38 PM, Bruce Fischl wrote: > Hi Mehul, > try mri_binarize instead. It would be somet

Re: [Freesurfer] creating a binary mask volume

2010-04-11 Thread Bruce Fischl
Hi Mehul, try mri_binarize instead. It would be something like: mri_binarize --match 49 --i aseg.mgz --o rth.mgz where 49 is the index for right thalamus proper (from the FreeSurferColorLUT.txt file) and rth.mgz is the output volume cheers, Bruce On Sun, 11 Apr 2010, Mehul Sampat wrote: > Hi

[Freesurfer] creating a binary mask volume

2010-04-11 Thread Mehul Sampat
Hi Folks, I would like to create a binary mask volume for the Right-Thalamus (all voxels of right-thalamus as 1 and 0 otherwise). I looked at this help page http://surfer.nmr.mgh.harvard.edu/fswiki/mri_vol2roi and i think I should use the following command described on this page: mri_vol2roi --l