daducci / COMMIT

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

Generate a trk file of the fibers used in the dictionary #5

Closed barakovic closed 8 years ago

barakovic commented 8 years ago

Generate a dictionary_TRK_fibers.trk file in the directory of COMMIT outputs. This file contains the fibers used in the dictionary.

There is a possibility to set gen_trk = False in trk2dictionary.run().

The structure of the DICTIONARY change in three parts: 1- Rename of the variable: DICTIONARY['IC']['trkNorm'] ==> DICTIONARY['TRK']['norm']

2- Reintroduction of the length of each streamline DICTIONARY['TRK']['len']

3- Boolean array that takes into account if the streamline is used in the dictionary: DICTIONARY['TRK']['kept']