Description

Use regions-of-interest to select a sub-set of tracks from a given track file.

Each region-of-interest should be either the path to a binary mask image, or a comma-separated list of 4 floating-point values, specifying the [x,y,z] coordinates of the centre and radius of a spherical ROI.

syntax:     filter_tracks [ options ] input output

Arguments

input the input file containing the tracks to be filtered.
output the output file containing the tracks selected.

Options

-include spec specify an inclusion region of interest. Tracks that enter ALL such inclusion ROI will be included.
spec specifies the parameters necessary to define the ROI.
-exclude spec specify an exclusion region of interest. Tracks that enter ANY such exclusion ROI will NOT be included.
spec specifies the parameters necessary to define the ROI.
-minlength value the minimum length of a track. Tracks shorter than this value will NOT be included.
value the minimum length to use in mm.
-invert invert the matching process, so that tracks that would otherwise have been included are now excluded and vice-versa.
-nomaskinterp do NOT perform tri-linear interpolation of mask images.
-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.