Description

convert a tracks file into a map of the fraction of tracks to enter each voxel.

syntax:     tracks2prob [ options ] tracks output

Arguments

tracks the input track file.
output the output fraction image

Options

-template image an image file to be used as a template for the output (the output image wil have the same transform and field of view).
image the input template image
-vox size provide either an isotropic voxel size, or comma-separated list of 3 voxel dimensions.
size the voxel size (in mm).
-colour add colour to the output image according to the direction of the tracks.
-fraction produce an image of the fraction of fibres through each voxel (as a proportion of the total number in the file), rather than the count.
-totalcount when using the -fraction option, compute fractions as proportion of total_count header entry rather than number of tracks in the file. This total_count corresponds to the total number of streamlines actually generated rather than those that were eventually selected.
-lstdi scale the contribution of each track to the density image by the inverse of the streamline length
-datatype spec specify output image data type.
spec the data type specifier.
-resample factor resample the tracks at regular intervals using Hermite interpolation. If omitted, the program will select an appropriate interpolation factor automatically.
factor the factor by which to resample.
-info display information messages.
-quiet do not display information messages or progress status.
-debug display debugging messages.
-help display this information page and exit.
-version display version information and exit.