DTI Pipeline

From MIPAV
Revision as of 12:14, 2 May 2012 by Olgavovk (Talk)

Jump to: navigation, search

This article is a stub. It needs improvement.

Introduction

The DTI pipeline of MIPAV prepares diffusion weighted images (DWI) and computes voxel-wise diffusion tensors (DT) for the further analysis of diffusion tensor imaging (DTI) data, see MIPAV DTI Color Display. The pipeline computes maps of diffusion eigenvalues and eigenvectors. It also determines an anatomical correspondence between DTI and structural MRI images of the same sample.

MIPAV DWI pipeline overview

This section is correct.

Error creating thumbnail: Invalid thumbnail parameters
MIPAV DTI Pipeline schematic

Brain MRI introduction

Brain MRI is usually performed with a 1.5- or 3- T MRI machine, with a gradient strength in the range of 20-60 mT/m and a slew rate of 120 T/m/s. Parameters for a single-shot spin-echo echo-planar imaging (EPI) sequence include: a repetition time (TR) of 6000 ms, an echo time (TE) of 100 ms, a field of view (FOV) of 24 cm. These parameters are typically used to obtain 3- to 5-mm axial or coronal sections with a 5-mm intersection gap. The acquisition matrix is usually 96 × 96 with a reconstruction matrix set to 128 × 128. The DWIs are obtained by using 4 linearly increasing b values in 6-7 non-collinear directions (bmax ~ 703-1000 s/mm2). In addition, a T2-weighted (T2W) reference image is obtained without diffusion weighting. Read more: [1], [2].

Determining an anatomical correspondence between DTI and structural MRI images of the same sample

MIPAV uses an image-based registration scheme mainly because i) it doesn't require a field map, which is usually not available for DWIs, and ii) it allows one to correct for mis-registration produced by a patient motion. For more information, refer to [3], [4].

To measure how well the images are spatially aligned MIPAV uses one of the cost functions, e.g., Correlation Ratio, Least Squares, Normalized Cross Correlation, or Normalized Mutual Information.

A T2 image (could be uploaded by a user) is chosen as a reference for all other images in the dataset. We use the T2 as a target image because it is usually less distorted and has a higher signal-to-noise ratio (SNR) than DWIs. Then, using a spatial transformation model, MIPAV aligns all other images to the target image by optimizing the cost function.

Note: In MIPAV, we use the term cost function to refer to the negative cost function.

MIPAV DTI pipeline outline

  1. A user uploads a DWI image and T2 image to the pipeline using the Import Data panel. A DWI image can be acquired from many different MRI scanners (including Philips, Siemens, GE, etc.) and in various formats. MIPAV reads the gradient information from the image header, or from the B-matrix file uploaded by the user. The gradient (or B-matrix) information is then displayed in a gradient table.
  2. In the Pre-processing step, the B0 slice in DWI is detected, and then rigidly registered to the T2 image. The DW image is then registered to rigidly aligned B0 using the Optimized Automatic Registration 3.5 D algorithm. These steps are necessary to perform a motion correction and eddy current distortion correction.
  3. In the EPI Distortion Correction step, MIPAV calculates deformation vector fields for rigidly aligned B0 and T2, which came from the Pre-processing step. MIPAV then uses both: the transformation matrices obtained in the Pre-processing step, and deformation vector field values to create a corrected DWI image.
  4. MIPAV then creates a tensor using pre-processing DWI and the gradient/B-value information and a mask image uploaded by the user.
  5. MIPAV uses the tensor information to create a whole bunch of images, including ADC, color map, Eigen value, Eigen vector, FA, RA, and Volume Ratio.
  6. MIPAV created 3D visualization of fiber bundle tracts in the brain's white matter using the information from the previous step. The user can save fiber tracts information as .vtk and .dat files.

MIPAV DTI pipeline dialog box

Import Data tab

Upload DWI Image

DTI Pipeline reads raw data, all MIPAV supported formats and DICOM (Digital Imaging and Communications in Medicine) formatted files. DWI Image Browse – check this option if you would like to upload your image of interest from your computer. Use Active DWI Image – check this option to use an active image, which is already opened in MIPAV.

Note: in MIPAV, an active image is the one that has a red frame.

Upload B-Value/Gradient File or B-Matrix file

B-value A diffusion gradient can be represented as a 3D vector q. The direction of vector q is in the direction of diffusion and its length is proportional to the gradient strength. The gradient strength, or more often used diffusion weighting parameter, is s expressed in terms of the b value parameter, which is proportional to the product of the square of the gradient strength q and the diffusion time interval (b ~ q2 • Δ).

Gradient or B-Matrix table

In the Gradient or B-Matrix table the B column contains b values and X Gradient, Y Gradient And Z gradient columns contain the diffusion gradients applied along the x (Gx), y (G,), and z (Gz) axis. Gradient Creator Input Parameters • Fatshift • Jones 30 • Kirby • Gradient Resolutions • Gradient Overplus • Phillips release • OS • Inverted

Re-Ordering data (from Camino)

Probably the most common task is to re-order data from image to voxel order. In scanner order or image order, multi-component images are stored as consecutive volumes. This is convenient for visualization, since you can easily render a particular 3D volume. It is inconvenient for parallel processing, as you must read the entire 4D image in order to get the components for a particular processing. Data in voxel order stores all components for a particular voxel together. Thus you can read the image one voxel at a time, or skip ahead to particular voxel, without reading the entire image into memory. Camino does most of its I/O in voxel order. You can get into and out of scanner order with the scanner2voxel and voxel2scanner commands. Since these commands expect to deal with mostly raw data, they read and write floats by default (see below). You can change this behaviour with -inputdatatype and -outputdatatype options. For example:

scanner2voxel -voxels 983040 -components 60 -inputfile ScannerOrder.img -inputdatatype short > VoxelOrder.Bfloat where -components specifies the number of volumes in the 4D input and -voxels specifies the number of voxels (ie, X×Y×Z, where X, Y, Z are the dimensions of the image).