Closed anoushkrit closed 2 years ago
https://github.com/nipy/nibabel/pull/486
.tck streamlines support possible
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
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
.
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
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.