The function fs_voxel_features.m contains the MATLAB script of the method described in Local Morphological Measures Confirm that Folding within Small Partitions of the Human Cortex Follows Universal Scaling Law. For a given subject, it computes the variables average cortical thickness, total surface area, exposed surface area, and integrated Gaussian curvature in small regions around each point on the cortex. It corrects the surface area measures using the curvature and then computes the new morphological variables K, I, and S. The method enables the near-pointwise analysis of cortical folding.
The current version excludes points located on the corpus callosum or in the insula.
The input of the function is the path to a subject's FreeSurfer folder. The method requires the FreeSurfer files ?h.pial, ?h.thickness, ?h.pial-outer-smoothed
(see the FreeSurfer lGI website), and an expansion of the ?h.white surface by 0.5 saved as ?h.mid (using FreeSurfer mris_expand -thickness ?h.white 0.5 ?h.mid
).
The output is saved in the 'surf' folder.
It also needs the MATLAB libraries CorticalFoldingAnalysisTools and iso2mesh.
The script runs on MATLAB versions starting with R2016b. If you are using older versions, please contact K.Leiberg2@newcastle.ac.uk for a script compatible with pre-R2016b MATLAB.