Working with GE medical images and corresponding direction file

Hello,

I am working with a set of GE medical DTI and DWI images. It seems that the directional gradients (in 26 directions) of these images are a in a separate .txt file. If these anyway I can integrate these directions with the signal intensity per voxel within the image itself to extract the 3x3 diffusion tensor matrixes per voxel? Is there anyway I can do this in slicer?

Thank you!

If you are working at that level, you need to take into account the material on this page:

https://na-mic.org/wiki/NAMIC_Wiki:DTI:Nrrd_format

If you have the original GE DICOM data, the SlicerDcm2nii extension should be able to create NRRD files that have the diffusion gradients and b-values embedded. Alternatively, you could use dcm2niix directly from the command line to convert GE DICOM files to either NIfTI (with FSL format *.bvec, *.bval) or NRRD (with embedded gradients).

If the gradients really are not included in the DICOMs (which I have not seen before), you would have to convert your text files. @tbillah’s Python conversion scripts would be a good starting point. Just make sure you get the correct frame of reference for the tool you will be using.

Hi thank you for the response,

They are not embedded, as in slicer I am not able to attain a DWI component and the array of information from the image is a matrix of scalar values. In the Python conversion, would these commands to convert to nrrd embed the information into the image? How could I embed the directional information into the image so I can read it in slicer?

I would suggest running dcmdump or gdcmdump on one of your DWI images. You should inspect the DICOM tags to ensure the DWI fields are indeed missing:

Public Tags
0018,9075 : Diffusion Directionality
0018,9076 : Diffusion Gradient Direction Sequence
0018,9087 : Diffusion b-value
0018,9089 : Diffusion Gradient Orientation
0018,9117 : MR Diffusion Sequence
0018,9147 : Diffusion Anisotropy Type
Private Tags
0019,10e0 : # DTI diffusion directions (release 10.0 & above)
0019,10df : # DTI diffusion directions (release 9.0 & below)
0019,10d9 : Concatenated SAT {# DTI Diffusion Dir., release 9.0 & below}
0021,105A : diffusion direction
0043,1039 : Slop_int_6... slop_int_9: (in the GEMS_PARM_01 block)

If these are really missing, I would check the providence of your images to see if you can determine when these tags were removed. Your GE Research Collaboration Manager should be able to help.

If these are really missing, you need to determine the frame of reference used for the text files, as @pieper notes. There are no off-the shelf tools to do this, but @tbillah’s Python scripts would provide a good starting point.

Hello,

Again thank you for the response, I have been trying to figure out how to work with this data for quite some time now so it is very much appreciated! All tags are missing except for (0019,10d9) , (0021,105A), and (0043,1039). The thing that is confusing me most is the patients data I am working with is a stack of 26 images, therefore the directional data should be compatible with 26 directions. However tag (0021,105A) that gives the diffusion direction in the meta data says that it is in 16 directions (or 7 or simply a number that is not 26 depending on the patient and imaging sequence). Have you ever seen this before? I am working with the IvyGap glioblastoma data base, which is a common data base so I cannot figure out why these irregularities exist. I have attached the links to the dwi and dti images of patient w13 in the data base for referance.


This extension runs on ultrasound data?

The latest version of dcm2niix (v1.0.20190902) will extract the gradient directions and amplitudes from these files - either to NIfTI (with FSL bvec/bval files) or NRRD (with Slicer-format gradients embedded in the NRRD header file).

You should be able to access dcm2niix by installing the SlicerDcm2nii extension - creating the module Dcm2niixGUI. I am not sure if this has been updated to support the latest version of dcm2niix.

Alternatively, you can

In theory, ultra-sound DICOMs should be supported. However, most development has been with MR, so CT and US may be more problematic. If you have any issues, please generate a new issue on the dcm2niix Github page.

Even though standard DICOM tags exist for storing 3D/4D ultrasound information, most ultrasound systems, including GE, store these images in private tags and they only give you the tag definitions if you sign a non-disclosure agreement. I don’t think dcm2niix can read ultrasound from these private tags. If you install SlicerHeart extension then you can import some of these 3D/4D ultrasound images.

2 Likes