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
294 stars 180 forks source link

Question about tck2connectome to compute filber length #2707

Closed duzc-Repos closed 1 year ago

duzc-Repos commented 1 year ago

Hi, I computed the mean streamline length between each node pair following the example usage: 'tck2connectome tracks.tck nodes.mif distances.csv -scale_length -stat_edge mean -symmetric` I was confused with the 0 values in output matrix. Does it mean that no fiber is constructed between that node pairs or the real average fiber length is very close to 0?

Lestropie commented 1 year ago

There must be no streamlines between those two regions. If there were streamlines of non-zero length, then the reported mean length would be non-zero.

The streamline length necessary to result in misleading truncation of the reported calculation to zero is of the order of 0.0000000000000001m; I'm guessing that your minimum streamline length is much larger than that. Indeed even if you did not set any minimum length for tractography, the fact that one streamline endpoint was assigned to one node and the other to a different node means that there must be some distance between the two endpoints of the streamline, and therefore the streamline length would have to be non-zero.