scil_surface_convert.py

usage: __main__.py [-h] [--flip_axes FLIP_AXES FLIP_AXES FLIP_AXES]
                   [--reference REFERENCE] [-v [{DEBUG,INFO,WARNING}]] [-f]
                   in_surface out_surface

Script to convert surface formats

Supported formats:
    ".vtk", ".vtp", ".ply", ".stl", ".xml", ".obj"
    and FreeSurfer surfaces

> scil_surface_convert.py surf.vtk converted_surf.ply

Formerly: scil_convert_surface.py
-----------------------------------------------------------------
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
  --flip_axes FLIP_AXES FLIP_AXES FLIP_AXES
                        Flip axes for RAS or LPS convention. Default is LPS convention (MI-Brain) [-1, -1, 1].
  --reference REFERENCE
                        Reference image to extract the transformation matrix to align the freesurfer surface with the T1.
  -v [{DEBUG,INFO,WARNING}]
                        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.

Scilpy version: 2.0.2