If you have matlab, you can load the aseg into matlab, like aseg = MRIread('aseg.mgz'); vol = length(aseg.vol(:,:,n:256) == ID); where ID is the code number for the ROI you want as found in $FREESURFER_HOME/FreeSurferColorLUT.txt doug
Joshua Lee wrote: > Hi All, > > I would like to determine the volumes of a segmented region below or > above an arbitrary line in one of the planes. For example, what would > be the remaining volume of a label when z >= nth slice, where I would > have previously determined the appropriate value of n. > > > > Thanks, > Josh > ------------------------------------------------------------------------ > > _______________________________________________ > 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 The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.