Just FYI, I could not get this issue resolved by altering the script. I was, however, successfully able to get the head surface mesh using the iso2mesh toolbox, with the vol2surf function. 

On Tue, Feb 23, 2016 at 2:51 PM, Bruce Fischl <fischl@nmr.mgh.harvard.edu> wrote:
the magic # 16777213 means it's a quad file, not a triangle file. I still would have thought we could read it fine. Do you want to email us the surface file and someone will take a look?


On Tue, 23 Feb 2016, Douglas Greve wrote:

Can you load it in tksurfer or freeview?

On 2/23/16 8:58 AM, Maheen Siddiqui wrote:
      Hi FreeSurfer users, 
I have used the "mkheadsurf" command to create a head surface for my subject. However when I try to use "read_surf" to
read the "lh.seghead" file that is created, the magic number is not one that is recognised. 

Having read some previous posts/questions with similar problem/error, I think the problem is probably within the
"lh.seghead" file. I think someone wrote that incompatibility of the magic number means that the surface is corrupted. Is
there a way to check errors of mkheadsurf? Or whether something is wrong? It looked fine in freeview. 

Does anybody have any advice?

Thanks,

Maheen 


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer




_______________________________________________
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.