MRtrix3 / mrtrix3

MRtrix3 provides a set of tools to perform various advanced diffusion MRI analyses, including constrained spherical deconvolution (CSD), probabilistic tractography, track-density imaging, and apparent fibre density
http://www.mrtrix.org
Mozilla Public License 2.0
295 stars 182 forks source link

tckgen: Null distribution algorithms #2753

Open Lestropie opened 1 year ago

Lestropie commented 1 year ago

Partly I want to write out the details here because they may be of relevance to other discussions. If anyone ever has a project where these nuances become important, it could be worth pursuing. But right now it remains very much a wishlist item. The proposal does however involve an alteration to the command-line interface, which could in and of itself be of utility.

Currently, tckgen provides two stand-alone tractography "algorithms" for estimation of connectivity null distributions. These are designed to yield the corresponding nulls for specifically iFOD1 and iFOD2. This distinction may be more important than first realised; for instance, nulldist1 would not yield an appropriate null for the tensor_prob algorithm, despite the latter being a first-order probabilistic algorithm.

What I think would be a more suitable structure would be to not have any null distribution tractography algorithms selectable at the command-line. Instead, there would be a global -null command-line option, which would activate the null distribution alternative of whatever tracking algorithm is otherwise invoked. In terms of implementation, this could potentially be achieved using a bool template parameter for each algorithm class, which branches based on the use or non-use of the input diffusion image data.