Hi Antonio,
mris_fill will fill the interior of the surface, but this will include things like ventricles, thalamus, etc.... You could take this voxels out using the aseg if you want. The surface formats are documented on the wiki I think, but you might be better off just using mris_convert to change them to ascii, or using the matlab I/O functions we supply.
cheers, Bruce
On Thu, 21 Feb 2008, Gallo, Antonio (NIH/NINDS) [F] wrote:
Dear all,
We are trying to extract a cerebral white matter mask from the Freesurfer output. We are currently using the aparc+aseg file in order to do this, however we realized that the white matter mask (taken by choosing the voxels with values equal to 2 and 41) doesn't correspond exactly to the white matter we would like to have, which rather would follow the WM boundary obtained with the surface processing. Is there a way to get a more accurate mask that corresponds to these boundaries? Also, is there a description of the file format that the surface files are written in?
Thank you,
Antonio
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer