maps image values on a tractogram


./trekker img2track [OPTIONS] <input image> <input tractogram> <output file name>


  • <input image> TEXT:FILE REQUIRED Input image (.nii, .nii.gz)

  • <input tractogram> TEXT:FILE REQUIRED Input tractogram (.vtk, .tck)

  • <output file name> TEXT REQUIRED Output file name. Output is a float32 type binary file.


Option Description
--SH Treat the image as a 4D spherical harmonics image.
--SF Treat the image as a 4D spherical function image.
--SF_smoothing FLOAT Apply spherical smoothing before using the spherical function.

General options

Option Description
-h, --help Print this help message and exit.
-n, --numberOfThreads INT Number of threads.
-v, --verbose TEXT Verbose level. Options are "quiet", "fatal", "error", "warn", "info", and "debug". Default=info.
-f, --force Force overwriting of existing file.