Hi freesurfer community,
I am trying to get faces and vertices of the head surface mesh in Matlab. freesurfer_read_surf works perfectly when I extract faces and vertices for the pial surface (from lh.pial), but I get an "unknown magic number in surface file" error when I use the same function for lh.seghead (which I assume is the head surface?).
Any help on what I am doing wrong?
Thanks!
Meryem
how did you create the head surface?
On 08/21/2014 01:42 PM, Meryem Ayse Yucel wrote:
Hi freesurfer community,
I am trying to get faces and vertices of the head surface mesh in Matlab. freesurfer_read_surf works perfectly when I extract faces and vertices for the pial surface (from lh.pial), but I get an "unknown magic number in surface file" error when I use the same function for lh.seghead (which I assume is the head surface?).
Any help on what I am doing wrong?
Thanks!
Meryem
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu