Compute resampling parameters for meshes and textures onto a template icosphere mesh, needed to actually resample data with vertex-by-vertex correspondance
SphereRegMesh: SphereReg ( input )Mesh to be resampled
icosphere_type: Choice ( optional, input )This merely helps the link to the target template icosphere. There are basically 3 sets of meshes:
- Brainvisa builtin sphere, 40962 vertices
- Freesurfer icospheres, named ic0, ic1... ic7. BrainVisa only ships the ic6 sphere, using also 40962 vertices, but which is different from the above BrainVisa one.
- Human Connectome Project spheres (hcp 40k) which have 32492 vertices and are lateralized: there is one mesh for the left hemisphere and another one for the right hemisphere. This lateralization ensures an additional inter-hemisphere vertex-by-vertex correspondance.
destination: Ico Mesh ( input )target template icosphere. See icosphere_type above for an explanation.
Isin: BaseFreesurferType ( output )Output resampling parameters. Internal format.
Toolbox : Freesurfer
User level : 2
Identifier :
freesurferIsinComputing
File name :
brainvisa/toolboxes/freesurfer/processes/Tools/freesurferIsinComputing.py
Supported file formats :
SphereRegMesh :GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI meshdestination :GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI meshIsin :FreesurferIsin, FreesurferIsin