Skip to content

pfttracking

Module: tracking/pfttracking

Compute include and exclude maps, and the seeding mask from partial volume estimation (PVE) maps. Generates a tractogram using anatomically-constrained particle filter tracking, Particle Filtering Tractography (PFT).

Keywords : Diffusion MRI, Tractography, Particle Filtering Tractography


Inputs

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]true
wmfileNifti white matter probability map.*.{nii,nii.gz}
gmfileNifti grey matter probability map.*.{nii,nii.gz}
csffileNifti cerebrospinal fuild probability map.*.{nii,nii.gz}
fodffileNifti image of Spherical harmonic file (fodf).*.{nii,nii.gz}
fafileNifti image of FA.*.{nii,nii.gz}

Outputs

TypeDescriptionPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]
trkfileTractogram output file.*.{trk,tck}
configfileJson file containing tracking parameters.*.{json}
includesfileNifti probability map for tracking of ending the streamline and including it in the output.*.{nii,nii.gz}
excludesfileNifti probability map for tracking of ending the streamline and excluding it in the output.*.{nii,nii.gz}
seedingfileNifti seeding mask for tracking.*.{nii,nii.gz}
mqcfilePNG file containing quality control image for tracking. Made for use in MultiQC report.*pft_tracking_mqc.png
global_mqcfileJSON file containing basic measurements of whole tractogram. Made for use in MultiQC report.*pft_tracking_stats.json
versionsfileFile containing software versionsversions.yml

Arguments (see process.ext)

TypeDescriptionDefaultChoices
pft_fa_seeding_mask_thresholdfloatFA threshold for the seeding mask.0.1
pft_wm_seeding_mask_thresholdfloatWM threshold for the seeding mask.0.5
pft_seeding_mask_typestringStrategy to use to compute the seeding mask.wmwm
fa
pft_stepfloatTracking Step size.0.2
pft_random_seedintSeed for random number generators.0
pft_seedingstringSeeding strategy, either Number Per Voxel (npv) or Number Total (nt).npvnpv
nt
pft_nbr_seedsintNumber of seeds per voxel (if npv) or total number of seeds (if nt).5
pft_min_lenfloatMinimum length of streamlines to keep.10.0
pft_max_lenfloatMaximum length of streamlines to keep.300.0
pft_thetafloatMaximum angular difference between tracking steps, in degrees.40.0
pft_sfthresfloatSpherical function threshold for tracking.0.1
pft_sfthres_initfloatInitial spherical function threshold for tracking.0.5
pft_algostringAlgorithm to use for tracking.probdet
prob
pft_compress_valuefloatCompression value for the streamlines, in mm. If 0, no compression is applied.0.0
basisstringSpherical basis used for FODF reconstruction.descoteaux07_legacydescoteaux07_legacy
descoteaux07
tournier07
tournier07_legacy
pft_particlesintNumber of particles to use in the particle filter tracking.15
pft_backfloatBacktracking distance in mm.2.0
pft_frontfloatFront tracking distance in mm.1.0
run_qcbooleanWhether to run quality control (QC) on the tracking results.True

Tools

DescriptionDOI
DIPYDIPY is the paragon 3D/4D+ imaging library in Python.10.1016/j.neuroimage.2014.04.074
scilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.

Authors

Manonedde


Last updated : 2025-07-15