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

Antipodally reflected bvecs for sagittal DWIs #863

Open
Lestropie opened this issue Sep 21, 2024 · 0 comments
Open

Antipodally reflected bvecs for sagittal DWIs #863

Lestropie opened this issue Sep 21, 2024 · 0 comments

Comments

@Lestropie
Copy link

Describe the bug

Where DWIs are acquired with sagittal slice orientation, the saved bvecs are antipodally reflected with respect to the diffusion sensitisation gradients that the sequence was instructed to apply. This happens irrespective of phase encoding direction or slice order.

To reproduce

Build and run the Docker image at: https://github.com/Lestropie/DWI_metadata

Expected behavior

The gradient table utilised during acquisition contains three fiducials at the head, applying diffusion sensitisation gradients along the three axes of the Device Coordinate System. The software tool reads these three columns from bvecs, transforms them to RAS real space according to my understanding of the bvecs format (which is seemingly confirmed correct via other tests), and compares them to the fiducials. If these correspond, no warning will be issued.

Version

The Docker image builds the most recent tag, v1.0.20240202, from source.


PS. In case it's a clue: I found that with Eigen used by MRtrix3, when trying to access the 3x3 portion of an affine transform, .rotation() gives a different result to .linear() only for sagittal acquisition, as the former actually invokes a decomposition.

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