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