You can use mri_binarize --i aparc+aseg.mgz --match 1028 --o ctx-lh-superiorfrontal.nii.gz See $FREESURFER_HOME/FreeSurferColorLUT.txt for the list of codes to use
On 12/04/2018 12:51 PM, Song, Da-Yea wrote: > > External Email - Use Caution > > Hello, > > Is there a command to extract ROIs from atlases (ex. desikan) in nifti > file formats? > > Thank you so much in advance for your time. > > Best, > > Da-Yea > > ------------------------------------------------------------------------ > Disclaimer: > > > The materials in this e-mail are private and may contain Protected > Information. Please note that e-mail communication is not encrypted by > default. You have the right to request further emails be encrypted by > notifying the sender. Your continued use of e-mail constitutes your > acknowledgment of these confidentiality and security limitations. If > you are not the intended recipient, be advised that any unauthorized > use, disclosure, copying, distribution, or the taking of any action in > reliance on the contents of this information is strictly prohibited. > If you have received this e-mail in error, please immediately notify > the sender via telephone or return e-mail. > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer