-
Notifications
You must be signed in to change notification settings - Fork 0
Description
As explain here, mri_conv allows to obtain bvec and bval in one file in MRTRIX format (if the option is check, a bvecs/bvals text file with a '-bvecs-bvals-MRtrix' suffix and a '.txt' extension is created) for DICOM (Philips and Brucker).
If we used the option "save bvecs & bvals in 2 files", one file is created for bval and an other for the bvec. Following my request the extension of the file have been change to .bvec and .bval (see 0e1ed59) in order to be similar to FSL format.
However in this case it is not in FSL format but is is still as in MRTRIX format because in FSL format the gradient vectors should be provided with respect to the image axes, not in real or scanner coordinates (as it is the case for MRTRIX format) !
We can find the differences between the two format here but the main features are the following:
-
MRTRIX format : a single ASCII text file with one row per DWI volume (a row = x y z b where [ x y z ] are the components of the gradient vector, and b is the b-value in units of s/mm²) AND the direction vectors are assumed to be provided with respect to real or scanner coordinates (same convention as for DICOM)
-
FSL format: a pair of ASCII text files (bval file = a one row with one b value per DWI volume; bvec file = 3 rows of space-separated floating-point values, with first row = x-component, second row = y-component, and third row = z-component). The gradient vectors are provided with respect to the image axes, not in real or scanner coordinates
If we import BIDS format in mri_conv, the bvec/bval imported are in FSL format.
It could be nice if mri_conv allows to have both MRTRIX format and FSL format when we import DICOM (and PARE_REC but I did not tested yet).
If it is not possible to get FSL format for now, maybe we could change a little be the documentation to make things clearer !