bids-standard / bids-bep016

BEP016: diffusion derivatives
Creative Commons Attribution 4.0 International
6 stars 7 forks source link

Spherical coordinate systems handedness #95

Closed Lestropie closed 3 months ago

Lestropie commented 4 months ago

Came across an interesting conundrum while writing an MRtrix3 command to convert between fibre orientations defined using different formats. I'm writing this command partly for verifying handling of metadata in MRtrix3, partly for confirming for this project the convention that is used in FSL (and confirming by being able to convert between FSL and MRtrix3 formats and having data from each display properly in the other).

Currently, the BEP draft states that azimuth angles should be computed relative to the first axis, using the right hand rule around the third axis. However the image axes may themselves define a left-handed rather than right-handed coordinate system; in which case I'm not sure if imposing a right-hand rule makes sense. I wonder if instead the angle should be defined in terms of cosine relative to the first axis, and sine relative to the second axis.