Try mri_binarize with the --match option. Look in FreeSurferColorLUT.txt for the match numbers to use.
doug Jared Price wrote: > Anyone know how to extract a single structure from aseg.mgz? In other > words I assume it is possible to use the information in aseg.mgz to > extract a single structure such that there is a new.mgz file that > contains just the segmentation of the putamen or just of the caudate or > whatever. Thanks. > Jared > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > > -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer