usage: __main__.py [-h] [--reference REFERENCE]
[--ref_pial REF_PIAL | --ref_gii REF_GII]
[--legacy_vtk_format]
[--source_space {vox,voxmm,rasmm,lpsmm}]
[--destination_space {vox,voxmm,rasmm,lpsmm}]
[--source_origin {corner,center}]
[--destination_origin {corner,center}]
[-v [{DEBUG,INFO,WARNING,ERROR}]] [-f]
in_surface out_surface
Script to convert surface formats
Supported formats:
".vtk", ".vtp", ".ply", ".stl", ".xml", ".obj"
and FreeSurfer surfaces
> scil_surface_convert surf.vtk converted_surf.ply
-----------------------------------------------------------------
Reference:
[1] St-Onge, E., Daducci, A., Girard, G. and Descoteaux, M. 2018.
Surface-enhanced tractography (SET). NeuroImage.
-----------------------------------------------------------------
positional arguments:
in_surface Input a surface (FreeSurfer or supported by VTK).
out_surface Output surface (formats supported by VTK).
Recommended extension: .vtk or .ply.
options:
-h, --help show this help message and exit
--reference REFERENCE
Reference image to extract the transformation matrix
to align the freesurfer surface with the T1.
--ref_pial REF_PIAL Reference pial surface to extract the
transformation matrix to align the freesurfer
surface with the T1.
--ref_gii REF_GII Reference gii surface to extract the header
information to be valid.
--legacy_vtk_format Save the VTK file in the legacy format.
-v [{DEBUG,INFO,WARNING,ERROR}]
Produces verbose output depending on the provided level.
Default level is warning, default when using -v is info.
-f Force overwriting of the output files.
Surface spatial options:
--source_space {vox,voxmm,rasmm,lpsmm}
Source space of the input surface [rasmm].
--destination_space {vox,voxmm,rasmm,lpsmm}
Destination space of the output surface [rasmm].
--source_origin {corner,center}
Source origin of the input surface [center].
--destination_origin {corner,center}
Destination origin of the output surface [center].
2.3.0