rordenlab / dcm2niix

dcm2nii DICOM to NIfTI converter: compiled versions available from NITRC
https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage
Other
893 stars 228 forks source link

bvec values modified ? #686

Closed Brainarea closed 1 year ago

Brainarea commented 1 year ago

Describe the bug

We acquired some Multi-shell 99 DIR DTI data on a SIEMENS Prisma and used dcm2niix on it. It seems that values in bvec files have been transformed so that :

Is this accurate? Is there a way to access to unchanged data ? I could not find any information about this. Sorry if I missed something in the documentation

neurolabusc commented 1 year ago

This is not a bug. The behavior is as intended. dcm2niix creates bvec/bval files in the FSL format required by BIDS.

Please see the Siemens Diffusion Tensor Notes. Gradient vectors are reported with respect to the scanner bore, and dcm2niix will attempt to re-orient these to FSL format bvec files. As you note, the b-values are those acquired rather than requested.

Assuming your Prisma runs E11 and you are using custom gradients, you can get the requested gradients from the .dvs files in your CustomerSeq/DiffusionVectorSets folder (though remember, the frame of reference is in scanner space, not rotated to image space). On Siemens, you always want to create your own gradient tables, as the default ones are always sampled on a half-sphere. While this reduces Eddy Current distortion, it also means these distortions are harder to model and correct. See here for more details.

You could also modify dcm2niix to extract the non-rotated vectors, or use a tool like dicm2nii.