We have some 12 direction DTI data that does not appear to contain the direction information. When converting the dicom to nifti using dcm2nii it does not output the bvec and bval files. We have a generic directions file, which looks like this:
0.000000 -1.000000 0.000000 -0.500000 -1.000000 0.000000 -0.500000 -1.000000 0.000000 0.500000 -1.000000 0.000000 0.500000
0.000000 0.000000 0.500000 1.000000 0.500000 1.000000 0.000000 0.000000 -0.500000 1.000000 -0.500000 1.000000 0.000000
0.000000 0.500000 1.000000 0.000000 0.000000 0.500000 1.000000 -0.500000 1.000000 0.000000 0.000000 -0.500000 1.000000
And we have the ImageOrientationPatient tag from the Dicom images...
1, -1.11022302e-016, 0, 1.110223025e-016, 0.99588439838795, -0.0906325827033
How would we generate the necessary .bvec file?
|