Skip to content

tracking_tractoracle

Compute the interface between white matter (WM) and grey matter (GM) for seeding and generate a tractogram using TractOracle-IRT, a deep Reinforcement Learning (RL) based tractography algorithm. Through this module, we provide the best(s) pre-trained agent(s) available for tractography using this RL-based method.

Keywords : Diffusion MRI, Tractography, Reinforcement Learning


Format : tuple val(meta), path(wm), path(gm), path(csf), path(fodf)

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

Format : tuple val(meta), path(*__tracking.trk)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__tracking.trkfileTractogram output file.True*__tracking.{trk,tck}

Format : tuple val(meta), path(*__interface.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
*__interface.nii.gzfileNifti seeding/interface mask for tracking.True*__interface.{nii,nii.gz}

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
compressfloatThe distance threshold for compression of streamlines in mm.0.1
n_actorintegerNumber of actors to use during tracking. This represents the number of streamlines which are propagated in parallel. A higher value will speed up the tracking process, up to a certain point (depending on the number of GPU cores and VRM available). We suggest to use a value between 5000 and 50000.10000
npvintegerNumber of seeds per voxel to use. This directly impacts the total number of streamlines generated. A higher value will result in more streamlines, but also in a longer processing time.1
agent_checkpointstringPath to the TractOracle-IRT agent checkpoint that is available within the container. The following checkpoints are available: “sac_irt_inferno”, “sac_irt_hcp”, “crossq_irt_inferno” and “crossq_irt_hcp”. You should not have to change this as the default checkpoint is the best model available for most cases. For more details about those checkpoints, please refer to the TractOracle-IRT documentation: https://github.com/scil-vital/tractoracle_irt.public://sac_irt_inferno
min_lengthfloatMinimum length of streamlines in mm.20.0
max_lengthfloatMaximum length of streamlines in mm.250.0

DescriptionDOI
tractoracle-irtTractOracle-IRT: Exploring the robustness of TractOracle methods in RL-based tractography.10.1016/j.media.2025.103743
scilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.


Last updated : 2025-10-20