PyTorch toolbox to work with spherical surfaces.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
-
surfify.utils.io.read_freesurfer(surf_file)[source]ΒΆ Read a surface geometry stored in FreeSurfer format.
- Parameters
surf_file : str
the input FreeSurfer surface file.
- Returns
vertices : array (N, 3)
the N vertices of the surface.
triangles : array (M, 3)
the M triangles that defines the surface geometry.
Follow us