anoushkrit / parcellation

preprocessing pipeline for handling raw neuroimaging data and conducting various file conversions
https://supwma.github.io
Other
0 stars 0 forks source link

trk2tck #9

Closed anoushkrit closed 2 years ago

anoushkrit commented 2 years ago

In nibabel, the .trk track loader is data hungry and memory intensive and also takes about 10 mins to load a full track file.

Also nibabel save and load tractogram only saves in the .trk format and not in the .tck format even if explicitly mentioned.

anoushkrit commented 2 years ago

https://github.com/nipy/nibabel/pull/486

.tck streamlines support possible

anoushkrit commented 2 years ago

nibabel doesn't work and is currently only able to save tracks in trk format. dipy loads and saves different streamlines in different file formats.

https://dipy.org/documentation/1.5.0/examples_built/streamline_formats/#example-streamline-formats

anoushkrit commented 2 years ago

dipy load and save method for tractogram and streamlines takes a lot of time to read streamlines into the memory and then converting them to .tck.

anoushkrit commented 2 years ago

convert trk2tck using trampolino

pip3 install trampolino and then the command to convert trk2tck by trampolino convert -t track.trk trk2tck

to resolve the dot error, go for sudo apt-get install graphviz