daducci / COMMIT

Linear framework to combine tractography and tissue micro-structure estimation with diffusion MRI
Other
45 stars 33 forks source link

Weight of fibers as an output of COMMIT #37

Closed Maarkez closed 6 years ago

Maarkez commented 6 years ago

Hi there ,

I am using COMMIT.It works amazing. I am wondering whether it is possible to get the weight of fibers after implementation of COMMIT in order to see which fibers have higher and which fibers have lower weight.

Best Maarkez

barakovic commented 6 years ago

Hello Maarkez, to solve your request the best way to go is to do a git pull and update your version of COMMIT. Recently, we added the possibility to save the weights in a.txt file. You will need just to replace the mit.save_results() with mit.save_results(save_coeff = True). Then, you will find a file xic.txt in the results folder with the weights associated to the streamlines. Hope this can help.

Cheers,

Muhamed

daducci commented 6 years ago

Hi @Maarkez ,

just wanted to add a small remark on this topic. The weight assigned to a single streamline is not very interesting, but probably it is more informative to look at the total weight associated to each bundle of streamlines. Briefly, imagine there are two fibers that are very similar (kinda duplicates): in this case the weight of each of them can be arbitrarily split among the two. For a more detailed discussion about this, please have a look at Section 2.3 and Fig. 4 in this paper: Microstructure Informed Tractography: Pitfalls and Open Challenges.