Generate head surface

Hello,

I am trying to understand Generate head surface function, but some questions come to my mind that I want to ask. First of all, How does Brainstorm define the head surface? Is this only a global thresholding segmentation or do you apply other functions too?
Secondly, How does Brainstorm define the curvature after applying the Generate head surface function? which algorithm does it use?
Finally, I will be very happy if anybody put the git link of the Generate head surface function here.

Thank you so much

I am trying to understand Generate head surface function, but some questions come to my mind that I want to ask. First of all, How does Brainstorm define the head surface? Is this only a global thresholding segmentation or do you apply other functions too?

The options for computing the head surface are documented here:
https://neuroimage.usc.edu/brainstorm/Tutorials/LabelFreeSurfer#The_head_surface_looks_bad

The commented code is available in the function tess_isohead.m:

Secondly, How does Brainstorm define the curvature after applying the Generate head surface function? which algorithm does it use?

The curvature of a surface is computed by tess_curvature.m, but this is not very meaningful for the head surface. It is mostly used for displaying as darker areas the bottom of the cortical sulci:

1 Like