Visualization of significant results and overlap of multiple fibre bundles

Hello,
Taking the CST fibre bundle as an example: mrthreshold tract_stats/fd/CST/fwe_1mpvalue.mif -abs 0.95 tract_stats/fd/CST/sig_fixels_05.mif. I have already obtained the significant-result .mif file, but when I try to use this significant result as a mask on the .tck file, it cannot be applied. How can I visualise the significant results as shown in the figure?


When I overlay two fibre bundles, the overlapping regions appear white. Do I need to adjust any parameters for this?

Many thanks in advance for your help
Yuhang Yang

Welcome Yuhang!

When you provide a fixel data file as an inclusion region to tckedit, it is not interpreting that image as representing a binary mask selecting a subset of fixels. It is interpreting that file literally as an image that possesses a spatial embedding, where that embedding is as a ~500,000 x 1 x 1 stack of voxels.

Ideally tckedit would detect the fact that the image you are providing is a fixel data file, ascribing each streamline to the set of fixels it intersects and then checking to see if any of those fixels are present in your mask. I had made some progress toward centralising the handling of fixel datasets deeper in the MRtrix3 code base, thereby facilitating handling of fixel data across a wider suite of commands:

This is however the sort of thing that has become increasingly difficult to commit resources to, as it’s not a publishable capability and not tied to a specific research collaboration. The moment I have a minimum working example of one software enhancement, I have some other obligation that requires my attention; hence why the software has around 100 Pull Requests listed. I hope to write more on this at some point in the future.

In terms of what you can achieve with the existing software capabilities, there’s a range of possibilities. Most involve deriving a mask of those voxels with at least one significant fixel, and selecting streamlines based on their intersection with that. It may well involve manual placement of exclusion ROIs in order to remove those streamlines that pass though one of the non-significant fixels in those voxels.

Regards
Rob

Hi Robert

Thank you for such a detailed answer, it cleared up a lot of my questions. I will carefully review the code you shared. Thank you very much again for your reply!

Regards

Yuhang Yang