Resample mesh to Freesurfer Ico mesh

Resample mesh using Freesurfer mri_surf2surf with FS icosahedron sphere topology

Description

Contrarily to the processes Mesh resampling, Resample label textures, Resampling freesurfer data textures and Computation of resampling parameters (all used in the pipeline Freesurfer outputs To BrainVisa conversion pipeline), this resampling is not based on BrainVISA/AIMS algorithms, but is using the Freesurfer mri_surf2surf command to perform resampling. It thus allows to resample to builtin Freesurfer icospheres, and only to them.

Parameters

mesh: White Mesh ( input )
mesh to be resampled, normally the raw white mesh from Freesurfer
freesurfer_ico_order: Choice ( input )
ico order number, as used by Freesurfer command mri_surf2surf: corresponds to the number of targer vertices as follows:
ico_ordernum of vertices
012
142
2162
3642
42562
510242
640962
7163842
resampled_mesh: ResampledWhite ( output )

Technical information

Toolbox : Freesurfer

User level : 2

Identifier : freesurfer_resample_mesh_to_freesurfer_ico

File name : brainvisa/toolboxes/freesurfer/processes/Tools/freesurfer_resample_mesh_to_freesurfer_ico.py

Supported file formats :

mesh :
GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI mesh
resampled_mesh :
GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI mesh