Abstract
Background:
In archived diffusion tensor imaging (DTI) studies, a reversed-phase encoding (PE) scan required to correct the distortion in single-shot echo-planar imaging (EPI) may not have been acquired. Furthermore, DTI tractography is adversely affected by incorrect white matter segmentation due to leukoencephalopathy (LE). All these issues need to be addressed.
Purpose:
To propose and evaluate a modified DTI processing pipeline with DIstortion COrrection using pseudo T2-weighted images (DICOT) to overcome limitations in existing acquisition protocols.
Study Type:
Retrospective feasibility.
Subjects:
DICOT was assessed in simulated data and 84 acute lymphoblastic leukemia (ALL) patients with reversed PE acquired. The pipeline was then tested in 522 scans from 261 ALL patients without a reversed PE acquired.
Field Strength/Sequence:
A 3 T; diffusion-weighted EPI; 3D magnetization prepared rapid acquisition gradient echo (MPRAGE).
Statistical Tests:
Repeated measures analysis of variance and Tukey post hoc tests were performed to compare fractional anisotropy (FA) values obtained by different methods.
Assessment:
FA and corresponding absolute error maps were obtained using TOPUP, DICOT, INVERSION (Inverse contrast Normalization for VERy Simple registratION) and NO CORR (no correction). Each method was assessed by comparing to TOPUP. The pipeline in the ALL patients was evaluated based on the failure rate of the distortion correction using the global correlation values.
Results:
Using DICOT reduced the mean absolute errors by an average of 32% in FA in simulation datasets. In 84 patients, the error reductions were approximately 15% in FA with DICOT, while it was 5% with INVERSION. No significant differences between the TOPUP and DICOT were observed in FA with P = 0.090/0.894(AP/PA). Only 15 of 516 examinations requiring any additional manual intervention.
Conclusion:
This modified pipeline produced better results than the INVERSION. Furthermore, robust performance was demonstrated in archived patient scans acquired without an inverse PE necessary for TOPUP correction.
Evidence Level:
3
Technical Efficacy:
Stage 2
Archived studies contain diffusion-weighted images (DWIs) that were collected previously for research or clinical purposes. Investigators frequently want to reuse these existing/archived images for new research goals. The benefit of this is to achieve the research goal quickly and cost effectively. Previous retrospective studies have utilized existing DWI data sets to investigate late radiation-induced damages after focal radiotherapy,1 hemispheric structural network changes as a function of location and size of glioma,2 and even the relationship between reading performance and white matter (WM) alteration and reorganization in neurosurgical patients.3 In addition, as more and more archived data become publicly available, research can be conducted efficiently if the data can be processed in an appropriate way. However, one of the challenges to using data from an archived study is that the acquisition protocols might not be optimized for the novel study goal. Diffusion tensor imaging (DTI) studies almost exclusively use single-shot echo-planar imaging (EPI) or its variants such as readout segmentation of long variable echo-trains (RESOLVE).4 EPI is sensitive to static field inhomogeneities that create geometric image distortion, primarily along the phase encoding (PE) direction.5 Such artifacts are particularly prominent in the inferior temporal and frontal lobes because of magnetic field microscopic gradients/variations at the interface of tissues with different magnetic susceptibility.5
Different techniques have been proposed to correct this image distortion. Among these methods, the field map-based approach is a popular method, in which the B0 field inhomogeneity (offset) is obtained from phase images acquired at different echo times.6,7 A reversed-PE gradient approach,8,9 implemented in FMRIB Software Library FSL,10 called TOPUP, has been widely used, including in the Human Connectome Project11 and MRtrix3.12 In this approach, images are acquired twice with opposite phase encoding polarities, resulting in pairs of images with distortions in opposite directions. From these pairs, the susceptibility-induced off-resonance field is estimated, and the distortion is corrected.
Because additional acquisitions are needed for the B0 field inhomogeneity distortions, they cannot be performed in archived studies in which these extra acquisitions were not acquired. This shortcoming motivated researchers to develop a method to achieve a degree of distortion correction using only these archived images. Registration-based (RB) methods correct the distortion by aligning distorted DWI images to undistorted 3D structural images such as T1-weighed (T1w) or T2-weighted (T2w) images.13–17 A T2w image acquired with the same echo time (TE) as the b0 image is ideal for RB distortion correction when used with appropriately modified histogram match methods.13 However, 3D T2w images are not always acquired in clinical protocols and are very unlikely to be acquired with a TE that matches that of the b0 images. The benefit of using T1w images is that they are more likely to be collected in clinical research scans. However, the contrast of the diffusion images and that of the T1w images are very different. Inverse contrast Normalization for VERy Simple registratION (INVERSION)17 inverts the contrast relationship between T1w and T2w images to make these two images similar enough for registration. However, it is relatively complicated and requires considerable mathematic analysis and calculations. In addition, the approach to globally match the histograms between the two images cannot always guarantee a good local voxel by voxel match. Hence, we proposed a new way to convert a T1w images to a pseudo T2w image by following the physics principles of MR signal formation. The distortion was corrected by using the pseudo T2w image, and we call the method DIstortion COrrection using a pseudo T2w image (DICOT). Recently, deep neural network methods have also been applied to correct the distortion in EPI images18 but are beyond the scope of this project.
The goal of distortion correction is to achieve a distortion-free parameter map or tractography. The diffusion parameter map achieved with a new method should be as close as possible to the gold standard or the reference method. Direct metrics, such as fractional anisotropy (FA) or mean diffusivity (MD) error maps relative to the gold standard/reference, are preferable for evaluating a new method. However, this has only been done in a limited number of simulation data and human subject data.18–20
Leukoencephalopathy (LE), expressed as T2 hyperintensities in the WM, is sometimes seen in children treated for cancer and is often attributed to chemotherapy, radiation, or other drugs.21 These regions appear as hypointense WM on a T1w image and can cause incorrect WM segmentation.22 LE can be manually or semi-automatically segmented23 and then combined with a WM mask to alleviate the problem. However, it is time consuming to perform manual segmentation. Semi-automated methods can be difficult to implement, and the computation cost can be high.23
The aim of this study is to develop and test a new DTI processing pipeline for archived DTI studies. The proposed DICOT method was directly compared with TOPUP and INVERSION in two sets simulation data and 84 patients by using direct metrics (FA and MD maps). The pipeline was also tested in 261 patients with examinations that did not contain the reversed PE scan.
Methods
Pseudo T2w Images and Distortion Correction Using DICOT
Because T1w and b0 images have similar anatomical structures, there should exist a relationship between these two sets of images. This relationship can be nominally found with some assumptions based on examining the signal formation equations. The signal of T1w images can be represented as24
| (1) |
where TI is the inversion time, assuming a magnetization prepared rapid acquisition gradient echo (MPRAGE) acquisition is used.25 T1 is the longitudinal relaxation time. If the image is acquired with other T1w sequences, such as a gradient echo sequence, then the equation may need to be modified accordingly. p1 and p2 are the constants depending on the measurement parameters (see eq. 7 in the literature24). The signal of T2w images is given by26
| (2) |
where S20 is the S2 value at TE = 0 or proton density. By combining Eqs. 1 and 2, pseudo T2w images can be generated from T1w images as follows:
Mean signal values of WM and gray matter (GM) were first measured for the T1w images and p1 and p2 can then be solved from Eq. 1 using T1 values of WM and GM.
- A pseudo T1 map can be calculated by using the following equation:
(3) - Convert the pseudo T1 map to a pseudo T2 map by using the following equation:
assuming the linear relationship between T1 and T2 if only GM and WM are considered.(4) - Convert the pseudo T1 map to a proton density map by using the following equation:
assuming a linear relationship between T1 and S20.(5) A pseudo T2w image can be obtained by using Eq. 2 and then smoothed by using a Gaussian kernel with an full-width half maximum (FWHM) value of 2.35 mm.
The purpose of the conversion is to generate a pseudo T2w image for coregistration, instead of a real T2w image, so we can reasonably make more assumptions in the conversion. Parameters p1 and p2 are assumed to be voxel independent. Only WM and GM were considered in the conversion because cerebrospinal fluid (CSF) signal is well separated from the WM and GM. The T1 values were 1084/1820 msec (WM/GM) and T2 = 70/100 msec (WM/GM).27 The proton density ratio of WM and GM was 70/80.28 The script to convert a T1w image to a pseudo T2w image has been made publicly available (https://github.com/ruitians/distcorr_pipeline).
LE Patching Method
To include LE in the WM segmentation, we patched the hypointense LE region to match normal-appearing WM by implementing the following steps:
Generate a segmentation and parcellate labeled image (aparc+aseg.mgz) from a T1w image by using FreeSurfer (http://surfer.nmr.mgh.harvard.edu/).
Calculate the mean WM value of the T1w image, Sw_mean, over a WM mask obtained from aparc+aseg.mgz file.
In the WM region of the T1w image, identify signals below Sw_mean voxels and patch them to Sw_mean to eliminate hypointense WM regions (LE regions).
The patched T1w image is then used with MRtrix3 to achieve a correct five tissue type (i.e. cortical grey matter, sub-cortical grey matter, WM, CSF, and pathological tissue [5TT]) segmentation.12
DTI Processing
DTI tractography was processed by using MRtrix3 (version:3.0_RC3, www.mrtrix.org /),12 FSL (version 6.0, www.fmrib.ox.ac.uk/),10 and FreeSurfer (version: 5.3.0, www.surfer.nmr.mgh.harvard.edu).29 The pipeline is demonstrated in Fig. 1. After DWI images are preprocessed via denoising, removing Gibbs ringing artifact, and eddy current correction, the b0 image is extracted from the DWI image. Then the brain extraction is performed on T1w images by using FreeSurfer before creating a pseudo T2w image. The extraction using Freesurfer failed in one patient, and ROBEX (https://www.nitrc.org/projects/robex)30 was used for that patient. The pseudo T2w image is then linearly registered to the b0 image using the FSL flirt coregistration tool. In the diffusion space, the distortion of the b0 image is corrected by nonlinearly registering it to the pseudo T2w image along the phase encoding direction. A symmetric normalization (SyN) transformation model in advanced normalization tools (ANTs)31 was chosen for the nonlinear coregistration. The correction is then applied to all DWI volumes.
FIGURE 1:

Flow chart of the modified DTI processing pipeline. A 5TT (five tissue type) image is created from a patched T1w image as described in the methods section. Then the 5TT image is transformed to the diffusion-weighted image space. A pseudo T2w image, converted from the T1w image, is rigid body coregistered to the b0 image extracted from the preprocessed DWI image. The distortion of the DWI images is then corrected by a nonlinear registration. The DTI tractography can then be generated from fiber orientation distributions (FODs) with the aid of anatomically constrained tractography (ACT).
Other parameters used in this registration are a Hamming windowed sinc interpolation, mutual information metric for rigid and affine transformation, and correlation coefficient for deformable transformation. The DTI tractography can finally be generated from fiber orientation distribution functions with the aid of anatomically constrained tractography (ACT).32 This processing pipeline has been made publicly available (https://github.com/ruitians/distcorr_pipeline).
For comparison, patient data were also processed by using the INVERSION method, which is integrated into the DTI processing pipeline in BrainSuite (http://brainsuite.org/). DWI images were preprocessed in the same way as they were for the DICOT method. The BrainSuite processing pipeline was performed on the preprocessed DWI images with masks of the b0 and T1w images. All FA and MD were obtained with the corrected DWI images by using MRtrix3.
Simulation Data
The proposed method was first tested in two simulation data sets, signal-to-noise ratio (SNR) = 20 (A) and SNR = 40 (B), of one virtual human subject with noise and susceptibility distortion downloaded from https://www.nitrc.org/projects/diffusionsim/.19 In the simulation data, susceptibility distortion was introduced into the DWI images by considering susceptibility and PE direction. The parameters used in the simulation are TE = 109 msec, b = 5, 1000 s/mm2 with eight directions; voxel size: 2 × 2 × 2 mm3, matrix size: 90 × 106 × 68; two averages. In each dataset, the images were simulated with both blipup and blipdown PE directions, resulting in two subsets of data (blipup and blipdown). FA and MD maps were obtained with the DICOT, TOPUP, no distortion correction, and ground truth data.
The correction effectiveness was evaluated by comparing FA maps to the ground truth FA map by using an absolute error map and mean absolute error values. The error map was generated by calculating the absolute difference between the estimated FA and the ground truth FA on a voxel-by-voxel basis. MD was also examined in the same way as FA. The mean absolute error was obtained by calculating the mean of the absolute difference over a brain mask eroded by two voxels.19
Patient Datasets (With Reversed PE Acquisitions)
All measurements were performed on a 3.0 T Siemens whole-body system (TrioTim, Siemens Medical Systems, Iselin, NJ) with an 8 element HeadMatrix coil, a 20 or 64 element HeadNeck coil. All patient data used in this study were acquired with imaging protocols approved by the local Institutional Review Board, and written informed consent was obtained from all the patient or guardian of each patient as appropriate. The TOPUP method was chosen as a reference method to validate the proposed DICOT method in 84 patient scans, including three patients with LE, acquired with both AP (anterior to posterior) and PA (posterior to anterior) phase encoding directions. The acquisition parameters were as follows: single average; b = 0, 1500 s/mm2; 64 diffusion gradient directions; spatial resolution = 1.8 × 1.8 × 1.8 mm3; TR/TE = 4000/79 msec. Two subsets of data were obtained for each patient: the images acquired with AP phase encoding and those acquired with PA phase encoding. As part of standard preprocessing practices, DWI images were reviewed by experienced signal processing technicians for excessive motion and removed from further processing.
For each subset of data, FA maps were obtained after TOPUP, DICOT, INVERSION, or no distortion correction. Mean FA was calculated for each subject over a brain mask eroded by two voxels as described previously.19 The average and standard deviation of the mean FAs over all subjects were calculated and used to compare the different methods. Absolute error maps for each corrected or uncorrected image were also calculated relative to the TOPUP correction, which served as the gold standard. The reduction of the absolute error was used to score the improvement, defined as
| (6) |
where RB was either DICOT or INVERSION. If IMP < −10%, then we considered the method to have failed to perform distortion correction. MD was also examined in the same way as FA.
Patient Datasets (Without Reversed PE Acquisitions)
The proposed modified pipeline was also validated in 261 patients treated for acute lymphoblastic leukemia (ALL) who underwent imaging twice, resulting in a total of 522 scans. Three patients were excluded due to insufficient brain coverage on DWI images. Excluding both scans from these three patients resulted in a total of 516 examinations, including 87 with LE.
One patient’s imaging was re-processed using a better cropped brain image to ensure a good 5TT image. For each patient, the first scan was acquired at reinduction I, approximately 6 months into therapy, and the second scan was acquired approximately 2 years later at completion of therapy. The DTI streamlines integrity was examined automatically using the warning message generated in MRtrix3 as part of the process outputs. A warning of lack of streamlines in parcellation was also checked in the MRtrix3 processing output. Quality of the distortion correction was examined using global correlation (GC) between pseudo T2w images and distortion corrected b0 images using ANTs. The mean and standard deviation were calculated, and a threshold of 2 standard deviations below the mean was used to identify outliers where the correction may not be optimal and needed further manual evaluation.
LE was identified based on radiological reports of the clinical examinations. After LE patching, all LE cases were visually inspected by three observers (R.S., J.O.G, and W.E.R. with 18, 26, and 30 years of MRI research experience) to ensure any holes in the WM mask were filled by the patching algorithm. The acquisition parameters were 12 directions, 4 averages, and a spatial resolution of 1.5 × 1.5 × 3.0 mm3 (TR/TE = 6500/120 msec; b = 0.700 s/mm2). 3D T1w images were acquired with an MPRAGE sequence (TR/TE/TI = 1560/2.75/900 msec) having 1 mm isotropic resolution.
Statistical Analysis
One-way repeated measures analysis of variance (ANOVA) and Tukey HSD post hoc tests were performed by using R (version 4.0.3) on the mean FA values for the 84 patient scans acquired with both AP and PA phase encoding directions. The P values were adjusted for multiple comparison. All studied cases, including the failed cases of DICOT and INVERSION, were included in the statistical analysis and comparison. The significance threshold was set to P < 0.05.
Results
Simulation Dataset
Figure 2 shows FA maps estimated from the ground truth and the corresponding absolute error maps of each method for simulation dataset B. This figure demonstrates that the TOPUP method has the smallest mean absolute error about 0.031. However, the improvement by the DICOT method can also be clearly appreciated with a mean error of 0.039, which was much smaller than that of no distortion correction with a mean error of 0.063.
FIGURE 2:

Comparison of different distortion methods to the ground truth in the simulation data. FA map for the ground truth before addition of distortion is shown in the left column. Absolute error maps, defined as absolute value of estimated FA maps minus ground truth FA on a voxel-by-voxel basis, are also shown for FSL TOPUP, DICOT, and no distortion correction (NO_CORR) methods. The scale bars at the bottom are the scales for FA and error maps (both unitless).
Table 1 lists the mean and standard deviation of the FA values over a brain mask along with the mean absolute error of each method for two data sets (A and B) with both blipup and blipdown; Although the mean FA values of the different methods were similar, the mean absolute errors were not zero for all methods. The smallest errors were observed in the TOPUP method. However, the errors produced by the DICOT method were also lower than no correction in all cases and are comparable to those produced by the TOPUP method for the blipdown in dataset B. It can also be observed that the distortion correction performed better in higher SNR for both TOPUP and DICOT.
TABLE 1.
TOPUP, DICOT, and No Correction (NO_CORR) Methods With Ground Truth (GT) in Two Sets of Simulation Data (A and B) With Blipup (bup) and Blipdown (bdown) Phase Encoding Direction
| Data | FA | GT | TOPUP | DICOT | No_Corr |
|---|---|---|---|---|---|
| A/bup | Mean ± SD | 0.23 ± 0.17 | 0.23 ± 0.17 | 0.22 ± 0.17 | 0.23 ± 0.17 |
| Abs. Error | 0.046 | 0.055 | 0.074 | ||
| IMP(%) | 38 | 26 | |||
| A/bdown | Mean ± SD | 0.223 ± 0.173 | 0.24 ± 0.16 | 0.23 ± 0.17 | 0.23 ± 0.17 |
| Abs. Error | 0.046 | 0.054 | 0.073 | ||
| IMP | 37 | 26 | |||
| B/bup | Mean ± SD | 0.23 ± 0.17 | 0.23 ± 0.17 | 0.23 ± 0.17 | 0.23 ± 0.17 |
| Abs. Error | 0.026 | 0.040 | 0.063 | ||
| IMP | 59 | 37 | |||
| B/bdown | Mean ± SD | 0.22 ± 0.17 | 0.24 ± 0.16 | 0.23 ± 0.17 | 0.23 ± 0.17 |
| Abs. Error | 0.036 | 0.038 | 0.062 | ||
| IMP(%) | 42 | 39 |
FA = fractional anisotropy; Mean and SD = the mean and standard deviation of the FA values; Abs. Error = mean absolute error defined as absolute difference between two related images, and IMP is improvement defined in Eq. (6).
Patient Datasets (With Reversed PE Acquisitions)
Figure 3 shows T1w (a), pseudo T2w (b), and original b0 (c) images. The contrast of the pseudo T2w (GC = 0.794) is observed to be more similar to that of the original b0 image than was the T1w (GC = 0.230). The WM region on both pseudo T2w and b0 images are dark, but it is bright in the T1w image. The CSF shows bright in both pseudo T2w and b0 but dark in the T1w image. In the supplement section, pseudo proton density and T1 and T2 maps are also shown (Supporting Information Fig. S1). It took 47 seconds to convert a T1w image with a matrix size of 190 × 200 × 170 on a Linux workstation with 64 GB of memory.
FIGURE 3:

Conversion of a T1w image to a pseudo T2w image for a typical patient. T1w (a), pseudo T2w (b), and original b0 (c) images.
The comparison of different methods to TOPUP for a representative subject is shown (Fig. 4). The left column contains the FA maps obtained by using the TOPUP method for AP and PA images. The mean absolute errors relative to the TOPUP correction are greatest with NO_CORR (0.067/0.063; AP/PA), improved with the INVERSION method (0.056/0.052; AP/PA), and are best for the DICOT method (0.048/0.042; AP/PA).
FIGURE 4:

Evaluation of DICOT method by comparing the DICOT, INVERSION and no distortion correction (NO_CORR) FA maps to TOPUP FA maps. The left column contains the FA maps obtained by using the TOPUP from AP and PA acquisitions. The second column from left contains absolute error maps made by using the DICOT, the third column from left contains absolute error maps made by using INVERSION, and the right column contains the absolute error maps without correction. The scale bars at the bottom are the scales for FA and absolute error maps (both unitless).
The results from the cohort of 84 patients are summarized in Table 2. The INVERSION method demonstrated improvements of 2.8% ± 20.2% in AP acquisition and 7.5%± 14.6% in PA acquisition. DICOT performed better, with improvements of around 14.5% ± 10.7% in AP and 15.8% ± 10.8% in PA. The INVERSION method failed to substantially improve distortion correction (<−10% IMP) for 25 of the AP acquisitions and 10 of the PA acquisitions. The DICOT approach also failed to correct the distortion in a few cases. For the AP acquisitions, one acquisition failed with a large negative IMP (−10.7%), and six other cases of smaller negative improvements from −0.3% to −3.6% were observed. For the PA acquisitions, there was also one failed case with a large negative IMP (−11.4%) and five other cases of minor negative improvement from −1.3% to −4.4%. The two outliers were not from the same patient, and the reversed PE acquisition for each was successful. Inspection of these two cases revealed unusually large distortions in the corresponding PE direction, and nonlinear registrations between b0 and pseudo T2w failed in these two cases. One failed case is shown in Fig. S2 of the in the Supplemental Materia. The comparison of MD values between different methods was summarized in Table S2 of the Supplemental Material. Like the FA results, the mean absolute error maps using MD in NO CORR was reduced by about 23% with DICOT, compared to about 13% with INVERSION.
TABLE 2.
Calculated FA Values From DICOT, INVERSION or No Correction (NO_CORR) Methods With AP or PA Phase Encoding (PE) Directions Relative to Those From The TOPUP Method Evaluated in 84 Patients
| PE | FA | TOPUP | DICOT | INVERSION | NO_CORR |
|---|---|---|---|---|---|
| AP | Mean ± SD | 0.22 ± 0.013 | 0.22 ± 0.013 | 0.22 ± 0.01 | 0.23 ± 0.013 |
| Abs. Error | 0.055 ± 0.008 | 0.062 ± 0.010 | 0.065 ± 0.008 | ||
| IMP(%) | 14.5 ± 10.7 | 2.8 ± 20.2 | |||
| PA | Mean ± SD | 0.22 ± 0.012 | 0.22 ± 0.013 | 0.22 ± 0.013 | 0.23 ± 0.012 |
| Abs. Error | 0.051 ± 0.007 | 0.056 ± 0.008 | 0.061 ± 0.007 | ||
| IMP(%) | 15.8 ± 10.8 | 7.5 ± 14.6 |
Mean and SD are the mean and standard deviation of the FAs across the population of the patients.
PE = phase encoding direction; AP = anterior to posterior; PA = posterior to anterior; Abs. Error = mean absolute error defined as absolute difference between two related images, and IMP: improvement defined in Eq. 6.
Results of the ANOVA statistical analyses of the correction methods are documented in Table 3. Significant differences were found among TOPUP, DICOT, INVERSION and NO_CORR with adjusted P < 0.001, except between TOPUP and DICOT with adjusted P values of 0.090 (AP) and 0.894 (PA).
TABLE 3.
Repeated Measure ANOVA Test of Mean FA Values With Distortion Correction by TOPUP, DICOT, INVERSION, or No Correction (NO_CORR) in 84 Patients
| PE | Reference | DICOT | INVERSION | NO_CORR |
|---|---|---|---|---|
| PA | TOPUP | 0.849 | <0.001* | <0.001* |
| DICOT | <0.001* | <0.001* | ||
| INVERSION | <0.001* | |||
| AP | TOPUP | 0.090 | <0.001* | <0.001* |
| DICOT | <0.001* | <0.001* | ||
| INVERSION | <0.001* |
PE = phase encoding direction; AP = anterior to posterior; PA = posterior to anterior;
The adjusted P value is reported and marked accordingly if the difference between the two methods is statistically significant (* P < 0.05) or not significant (no mark).
Patient Datasets (Without Reversed PE Acquisitions)
The mean and standard deviation of GC between the pseudo T2w and distortion corrected b0 were 0.803 and 0.048, respectively, so the threshold was set to 0.706 (mean – 2 * STD). Fifteen patient scans had GC values less than the threshold scans and required manual inspection and intervention. Distorted (original image, Fig. 5(a)) and undistorted (corrected image, Fig. 5(b)) b0 images are shown in Fig. 5 for a representative patient scan. The distortion on the frontal pole region is effectively corrected by comparing Fig. 5(a,b).
FIGURE 5:

Performing distortion correction by using the proposed method. The distortion can be seen in the original b0 image (a) as indicated by the arrows. After correction, the distortion is much improved (b). The images are overlaid with a white and GM boundary obtained from the T1w image (c).
Without distortion correction, based on the MRtrix log files, nine patient scans had one or more cortical regions that contained no successful streamlines because of imperfect coregistration between the T1w and DWI images. After the DICOT correction, only one patient scan had a single cortical region with no successful streamlines. DTI tractography overlaid on T1w images is shown in Fig. 6(a) (without distortion correction) and Fig. 6(b) (with distortion correction). Without distortion correction, no streamlines were assigned to the parcellation labeled L_10v. Streamlines were successfully assigned to this area with the help of the proposed distortion correction technique.
FIGURE 6:

DTI tractography overlaid on a T1w images using a distorted b0 image (a) and a DICOT distortion corrected b0 image (b). Using this distortion correction method, the streamlines are greatly improved within the distortion region (red circled).
LE patching was applied to 87 of the patient scans in the validation cohort (16.9%). As an example, Fig. 7 shows T1w (a, d), WM segmentation (b, e), and DTI tractography (c, f) with and without LE patching. The holes observed in the periventricular WM in Fig. 7(b,c) (circled areas) were effectively filled by the LE patching algorithm as shown in Fig. 7(e,f). As can also be seen in this representative case, tractography was able to be performed through this region after patching. Upon inspection by the three observers, all cases with severe LE identified by the radiological reports had been successfully corrected by the patching algorithm automatically.
FIGURE 7:

Hypointense leukoencephalopathy (LE) (circled) is observed in a T1w image (a) and caused holes in the WM mask (b) and DTI tractography (c). The hypointense LE is patched to the mean value of WM as shown on the patched T1w (d). This method corrected the false WM segmentation (e) and achieved improved tracks (f).
Discussion
The proposed modified pipeline includes image distortion correction and LE patching for improved WM segmentation. Pseudo T2w images generated from T1w images ensures robust deformable transformation between distorted b0 images and distortion-free T1w images and eliminates the need for additional T2w images. In addition, no further registration from T2w to diffusion is required because pseudo T2w and T1w are in the same space. We used an LE patching method to achieve improved WM segmentation. DICOT demonstrated better performance to correct image distortion than INVERSION. Compared to other LE segmentation methods,23 our method was easy to implement with low computation cost, taking advantage of pre-existing FreeSurfer parcellations needed for connectome analysis. DICOT was tested in two sets of simulation data and 84 patients by comparing FA and MD maps. Retrospective application of the DICOT pipeline was successfully tested for automated processing of a large cohort of scans in patients treated for ALL.
Although significant differences were observed between TOPUP and NO_CORR in mean FA due to the distortion, no significant difference could be found between TOPUP and DICOT. The statistical analysis only compares the mean values, the negative and positive errors could be canceled out in the comparison. Consequently, the absolute errors were also used to assess the correction effectiveness. Among the two RB methods, DICOT outperformed INVERSION in correcting distortion by reducing the absolute errors by 15% (FA) compared to only 5.2% (FA) for INVERSION.
RB distortion correction is usually performed between T2w images and b0 images13,14,16 because they are both T2w. We chose T1w images as reference images mainly because they are more frequently acquired in many brain research and clinical protocols. Although both T2w and b0 images are T2 weighted, their contrasts were not exactly matched because the TEs used in the sequences were different (TE is around 300 msec for T2w images and around 100 msec for b0 images). In addition, brain image segmentation, such as the one used to produce the 5TT image in MRtrix3, is commonly generated from a T1w image. No further registration from the T2w image to the diffusion image is required because the pseudo T2w and T1w images are in the same space.
In converting a T1w to a pseudo T2w image, only WM and GM were considered in the conversion. T1 of CSF was around 4000 msec,33 and that of GM and WM were below 1500 msec at 3 T.27 T2 of CSF was about 500 msec34 and that of GM and WM was less than 100 msec at 3 T.27 Because the T1 and T2 values of CSF were far from those of GM and WM, CSF was not considered in the conversion. The CSF was still bright and well separated in the resulting pseudo T2w images.
The conversion was built on the assumption that WM T1 < GM T1 < CSF T1 and WM T2 < GM T2 < CSF T2. If these relationships between different tissues are valid, then the contrast of pseudo T2w should be similar to that of an actual T2w image regardless of age or sex based on Eqs. 1–5. However, because many assumptions must be made for the conversion, the pseudo T2w image is not identical to an acquired T2w image. The pseudo T2w image is for registration only. Therefore, the T1 and T2 values were not required to be accurate for the conversion, and standard mean T1 and T2 values obtained from literature27 were used in this study.
Limitations
The proposed DICOT method may not always perform as expected, and extra caution should be taken when using this method. The method failed in the distortion correction of one of the 84 subjects, indicating a degradation of alignment. However, image distortion was substantially corrected in more than 90% of subjects compared to the TOPUP method. Another limitation of the method is that a robust and accurate registration tool is required. ANTs was used in the current study because of its superb performance in previous tests.35 It required careful selection of the parameters to ensure sufficient performance. Although ANTs has been proven to be robust for performing nonlinear registration between images,36 room for improvement exists. Brain extraction from both T1w images and b0 images is an essential component of the processing pipeline. The quality of these extractions may affect the registration, and subsequently, the performance of the DICOT method.
As demonstrated in the simulation and human studies, the DICOT method offers an improvement over no distortion correction. However, the performance is not as good as that of the TOPUP method. Consequently, the proposed pipeline is most useful for archived studies where no other advanced distortion correction methods, such as TOPUP, can be performed due to lack of additional required images. If a new research protocol is designed and developed, one should consider collecting extra images for the use of other more accurate methods, such as the TOPUP method.9 Another limitation is only three LE patients were included in the first test cohort. However, 87 patients with LE were tested in the second cohort and satisfactory WM segmentation was achieved for all patients.
Conclusions
We have proposed a modified DTI processing pipeline (DICOT) for archived studies of images possibly containing LE by adding distortion correction and LE patching. The pipeline can be easily integrated into standard DTI processing pipelines in MRtrix3 and was highly successful in processing archived studies of patients treated for ALL.
Supplementary Material
Acknowledgments
The authors acknowledge the valuable contributions of Kathy Jordan, advanced signal processing technician. The authors also thank Dr. Cherise Guess for scientific editing. This research was supported by ALSAC and NIH grants (Cancer Center Support Grant P30 CA21765 and research project grant R01 CA090246 [WER]). The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health.
Footnotes
Additional supporting information may be found in the online version of this article
References
- 1.Cavatorta C, Meroni S, Montin E, et al. Retrospective study of late radiation-induced damages after focal radiotherapy for childhood brain tumors. PLoS One 2021;16(2):e0247748. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.D’Souza S, Hirt L, Ormond DR, Thompson JA. Retrospective analysis of hemispheric structural network change as a function of location and size of glioma. Brain Commun 2021;3(1):fcaa216. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Cargnelutti E, Maieron M, Ius T, Skrap M, Tomasino B. Relation between reading performance and white-matter alteration and reorganization in neurosurgical patients. Front Neurol 2020;11:563259. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Thian YL, Xie W, Porter DA, Weileng AB. Readout-segmented echo-planar imaging for diffusion-weighted imaging in the pelvis at 3T—A feasibility study. Acad Radiol 2014;21(4):531–537. [DOI] [PubMed] [Google Scholar]
- 5.Jezzard P, Clare S. Sources of distortion in functional MRI data. Hum Brain Mapp 1999;8(2-3):80–85. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Jezzard P, Balaban RS. Correction for geometric distortion in echo planar images from B0 field variations. Magn Reson Med 1995;34(1):65–73. [DOI] [PubMed] [Google Scholar]
- 7.N-k C, Wyrwicz AM. Correction for EPI distortions using multi-echo gradient-echo imaging. Magn Reson Med 1999;41(6):1206–1213. [DOI] [PubMed] [Google Scholar]
- 8.Andersson JLR, Skare S, Ashburner J. How to correct susceptibility distortions in spin-echo echo-planar images: Application to diffusion tensor imaging. Neuroimage 2003;20(2):870–888. [DOI] [PubMed] [Google Scholar]
- 9.Smith SM, Jenkinson M, Woolrich MW, et al. Advances in functional and structural MR image analysis and implementation as FSL. Neuroimage 2004;23:S208–S219. [DOI] [PubMed] [Google Scholar]
- 10.Woolrich MW, Jbabdi S, Patenaude B, et al. Bayesian analysis of neuroimaging data in FSL. Neuroimage 2009;45(1 Suppl):S173–S186. [DOI] [PubMed] [Google Scholar]
- 11.Caspers S, Eickhoff SB, Zilles K, Amunts K. Microstructural grey matter parcellation and its relevance for connectome analyses. Neuroimage 2013;80:18–26. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Tournier JD, Smith R, Raffelt D, et al. MRtrix3: A fast, flexible and open software framework for medical image processing and visualisation. Neuroimage 2019;202:116137. [DOI] [PubMed] [Google Scholar]
- 13.Ardekani S, Sinha U. Geometric distortion correction of high-resolution 3 T diffusion tensor brain images. Magn Reson Med 2005;54(5):1163–1171. [DOI] [PubMed] [Google Scholar]
- 14.Kybic J, Thevenaz P, Nirkko A, Unser M. Unwarping of unidirectionally distorted EPI images. IEEE Trans Med Imaging 2000;19(2):80–93. [DOI] [PubMed] [Google Scholar]
- 15.Wu M, Chang LC, Walker L, et al. Comparison of EPI distortion correction methods in diffusion tensor MRI using a novel framework. Med Image Comput Comput Assist Interv 2008;11(Pt 2):321−329. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Huang H, Ceritoglu C, Li X, et al. Correction of B0 susceptibility induced distortion in diffusion-weighted images using large-deformation diffeomorphic metric mapping. Magn Reson Imaging 2008;26(9):1294–1302. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Bhushan C, Haldar JP, Choi S, Joshi AA, Shattuck DW, Leahy RM. Co-registration and distortion correction of diffusion and anatomical images based on inverse contrast normalization. Neuroimage 2015;115:269–280. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Hu Z, Wang Y, Zhang Z, et al. Distortion correction of single-shot EPI enabled by deep-learning. Neuroimage 2020;221:117170. [DOI] [PubMed] [Google Scholar]
- 19.Graham MS, Drobnjak I, Jenkinson M, Zhang H. Quantitative assessment of the susceptibility artefact and its interaction with motion in diffusion MRI. PLoS ONE 2017;12(10):1–25. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Gu X, Eklund A. Evaluation of six phase encoding based susceptibility distortion correction methods for diffusion MRI. Front Neuroinform 2019;13:1–19. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Reddick WE, Glass JO, Langston JW, Helton KJ. Quantitative MRI assessment of leukoencephalopathy. Magn Reson Med 2002;47(5):912–920. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Glass JO, Reddick WE, Reeves C, Pui C-H. Improving the segmentation of therapy-induced leukoencephalopathy in children with acute lymphoblastic leukemia using a priori information and a gradient magnitude threshold. Magn Reson Med 2004;52(6):1336–1341. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Itti L, Chang L, Ernst T. Segmentation of progressive multifocal leukoencephalopathy lesions in fluid-attenuated inversion recovery magnetic resonance imaging. J Neuroimaging 2001. ;11(4):412–417. [DOI] [PubMed] [Google Scholar]
- 24.Liu JV, Bock NA, Silva AC. Rapid high-resolution three-dimensional mapping of T1 and age-dependent variations in the non-human primate brain using magnetization-prepared rapid gradient-echo (MPRAGE) sequence. Neuroimage 2011;56(3):1154–1163. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Mugler JP, Brookeman JR. Three-dimensional magnetization-prepared rapid gradient-echo imaging (3D MP RAGE). Magn Reson Med 1990;15(1):152–157. [DOI] [PubMed] [Google Scholar]
- 26.Bernstein MA, King KF, Zhou XJ. Chapter 14 - Basic PULSE sequences. In: Bernstein MA, King KF, Zhou XJ, editors. Handbook of MRI Pulse sequences. Burlington: Academic Press; 2004. p 579–647. [Google Scholar]
- 27.Stanisz GJ, Odrobina EE, Pun J, et al. T1, T2 relaxation and magnetization transfer in tissue at 3T. Magn Reson Med 2005;54(3):507–512. [DOI] [PubMed] [Google Scholar]
- 28.Gutteridge S, Ramanathan C, Bowtell R. Mapping the absolute value of M0 using dipolar field effects. Magn Reson Med 2002;47(5):871–879. [DOI] [PubMed] [Google Scholar]
- 29.Reuter M, Schmansky NJ, Rosas HD, Fischl B. Within-subject template estimation for unbiased longitudinal image analysis. Neuroimage 2012;61(4):1402–1418. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Iglesias JE, Liu CY, Thompson PM, Tu Z. Robust brain extraction across datasets and comparison with publicly available methods. IEEE Trans Med Imaging 2011;30(9):1617–1634. [DOI] [PubMed] [Google Scholar]
- 31.Avants BB, Epstein CL, Grossman M, Gee JC. Symmetric diffeomorphic image registration with cross-correlation: Evaluating automated labeling of elderly and neurodegenerative brain. Med Image Anal 2008;12 (1):26–41. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Smith RE, Tournier J-D, Calamante F, Connelly A. Anatomically-constrained tractography: Improved diffusion MRI streamlines tractography through effective use of anatomical information. Neuroimage 2012;62(3):1924–1938. [DOI] [PubMed] [Google Scholar]
- 33.Liberman G, Louzoun Y, Ben BD. T1 mapping using variable flip angle SPGR data with flip angle correction. J Magn Reson Imaging 2014;40(1):171–180. [DOI] [PubMed] [Google Scholar]
- 34.Piechnik SK, Evans J, Bary LH, Wise RG, Jezzard P. Functional changes in CSF volume estimated using measurement of water T2 relaxation. Magn Reson Med 2009;61(3):579–586. [DOI] [PubMed] [Google Scholar]
- 35.Klein A, Andersson J, Ardekani BA, et al. Evaluation of 14 nonlinear deformation algorithms applied to human brain MRI registration. Neuroimage 2009;46(3):786–802. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Avants BB, Tustison NJ, Song G, Cook PA, Klein A, Gee JC. A reproducible evaluation of ANTs similarity metric performance in brain image registration. Neuroimage 2011;54(3):2033–2044. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
