-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track files: Implement file format handlers #411
Comments
I'm all for! As a matter of fact, I had already implemented the More importantly, reading and writing to a VTK file requires to keep its contents in RAM, making them very unsuited for streamline tracking or filtering of large datasets. Therefore, I would still advise users to stick to |
Also implement support for .trk format. |
As discussed in #480: Also implement piping of streamlines data. |
Bumping this since there's a bit of interest. I'll hopefully get to it as part of my fixel TWI development stuff. |
This is going to require quite a lot of refactoring. I'd rather remove the RC4 milestone from this, and instead address it as part of my fixel TWI updates (second major update trailing #1543). |
Additional feature request: |
Note that any modifications in this respect should be made with the foresight of the most general case of streamlines data storage; current candidate for a new community-driven format is tee-ar-ex/trx-python#1. |
Desired formats:
Note that if available, using the piping handler in conjunction with Additional layer of complexity: Both
Some formats currently handled in |
Much like is done for image files, it should be possible to identify different types of track data storage based on the file extension, and have the
Tractography::Reader
andWriter
classes call relevant handler functions to extract / write data from/to theTractography::Streamline
class.This would allow any streamlines-handling command to handle streamlines data stored in any format, and may also allow the
tckconvert
command functionality to be encapsulated within thetckedit
command.Ideally this should also allow the
Writer
class to use buffered writeback for any format.As first mentioned in #216.
The text was updated successfully, but these errors were encountered: