Skip to content
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

Add coordinate system declaration to fiber bundle files #221

Open
pieper opened this issue Dec 13, 2023 · 0 comments
Open

Add coordinate system declaration to fiber bundle files #221

pieper opened this issue Dec 13, 2023 · 0 comments

Comments

@pieper
Copy link
Contributor

pieper commented Dec 13, 2023

In newer Slicer versions, files that don't explicitly declare one or the other, files are assumed to be LPS. But FiberBundles are RAS, when read in Slicer as models they are in the wrong space.

The WMA code should add a string array field like this one here to declare the coordinate system:

https://github.com/SlicerDMRI/SlicerDMRI/blob/master/Modules/Loadable/TractographyDisplay/MRML/vtkMRMLFiberBundleStorageNode.cxx#L28

In Slicer this is done by making setting the flag about the coordinate system at the MRML level:
https://github.com/Slicer/Slicer/blob/main/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx#L581-L586

So the WMA code should be updated to match since sometimes it's useful to load fiberbundles as models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant