open-discussion > to get the bvals/bvecs from DTI DICOM data?
Showing 1-7 of 7 posts
Display:
Results per page:
Jan 11, 2012  06:01 AM | xiangzhen kong
to get the bvals/bvecs from DTI DICOM data?
How to get the bvals/bvecs from DTI DICOM data?
I did this with MATLAB in the past, but I want to do this with python.
Is it possible?

Thanks!

ConXZ
Jan 11, 2012  07:01 AM | Nolan Nichols
RE: to get the bvals/bvecs from DTI DICOM data?
Hi ConXZ,

If you want to use python to access the bvecs/bvals directly from the DICOM header, I suggest using the pydicom package (http://code.google.com/p/pydicom), but the script you use wil depend on what scanner you use and which DICOM format you are using (e.g., Classic vs. Multi-frame DICOM).

Manufacturers (Philips, GE, Siemens, etc.) use different DICOM tags to store bvecs/bvals, and even a single manufacturer may store the bvec/bvals differently for a given DICOM format.

For example, I normally use dcm2nii (http://www.nitrc.org/projects/mricron) to get the bvecs/bvals from our Philips scans in the classic DICOM format, but I am now working with the Philips Multi-Frame DICOM format called "Enhanced DICOM" and dcm2nii does not output the bvecs/bvals files for this format. As a work around I wrote a script using pydicom to extract the bvecs/bvals. Its not pretty, but hopefully it gives you an idea for where to start: https://github.com/UW-IBIC/ibicUtils

Cheers,

Nolan
Jan 11, 2012  09:01 AM | Torsten Rohlfing - Google LLC
RE: to get the bvals/bvecs from DTI DICOM data?
There is also some information on the NAMIC Wiki at

http://www.na-mic.org/Wiki/index.php/NAM...

Best,
  Torsten
Jan 11, 2012  10:01 AM | Marco Antonio Gomes Del Aquilla
RE: to get the bvals/bvecs from DTI DICOM data?
Kong.
Usually during DICON image record is created 2 files: BVAL and BEVEC. You be able to find this files open CD or other midia with  apropiate viewer software.
If you have some problem, try to convert to NIFTI (.nii), using a converter toll like MRICRON.
When you will finish the convertion to .nii, it will be create 2 files (BVAL and BVEC), called FILE BVAL and FILE BEVEC, just open both to see the references and informations about B vallue and B vector.
Warm regards
Marco
Jan 25, 2013  11:01 AM | Cin Hovcat
RE: to get the bvals/bvecs from DTI DICOM data?
I am also have problems with this (using mricron). I get the .nii.gz conversions but there is no bvals bvec file. Any idea what might wrong?
Jan 25, 2013  11:01 AM | Cin Hovcat
RE: to get the bvals/bvecs from DTI DICOM data?
I am also have problems with this (using mricron). I get the
.nii.gz conversions but there is no bvals bvec file. Any idea what
might wrong?
Jan 25, 2013  12:01 PM | vania karami
RE: to get the bvals/bvecs from DTI DICOM data?
Hi
I use MRIconverter for changing the format of my image from DICOM to analyze 7.5,
and when I save them in a folder there is two note files that are contaning bval & bvecs.
I think if you try it you can get them.
Good luck
V.Karami