Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2011 Mar 1.
Published in final edited form as: Neuroimage. 2009 Nov 26;50(1):175. doi: 10.1016/j.neuroimage.2009.11.044

Efficient Correction of Inhomogeneous Static Magnetic Field-Induced Distortion in Echo Planar Imaging

Dominic Holland a,b,*, Joshua M Kuperman a,c, Anders M Dale a,b,c
PMCID: PMC2819607  NIHMSID: NIHMS161903  PMID: 19944768

Abstract

Single-shot Echo Planar Imaging (EPI) is one of the most efficient magnetic resonance imaging (MRI) acquisition schemes, producing relatively high-definition images in 100 ms or less. These qualities make it desirable for Diffusion Tensor Imaging (DTI), functional MRI (fMRI), and Dynamic Susceptibility Contrast MRI (DSC-MRI). However, EPI suffers from severe spatial and intensity distortion due to B0 field inhomogeneity induced by magnetic susceptibility variations. Anatomically accurate, undistorted images are essential for relating DTI and fMRI images with anatomical MRI scans, and for spatial registration with other modalities. We present here a fast, robust, and accurate procedure for correcting EPI images from such spatial and intensity distortions. The method involves acquisition of scans with opposite phase encoding polarities, resulting in opposite spatial distortion patterns, and alignment of the resulting images using a fast nonlinear registration procedure. We show that this method, requiring minimal additional scan time, provides superior accuracy relative to the more commonly used, and more time consuming, field mapping approach. This method is also highly computationally efficient, allowing for direct ‘real-time’ implementation on the MRI scanner. We further demonstrate that the proposed method can be used to recover dropouts in gradient echo (BOLD and DSC-MRI) EPI images.

Keywords: EPI distortion correction, fMRI dropout recovery, nonlinear registration, reverse phase encoding

INTRODUCTION

Spatial and intensity distortion in EPI images due to inhomogeneous static magnetic fields is a well-known phenomenon (Haacke et al., 1999; Bernstein et al., 2004a). Apart from scanner imperfections and Maxwell fields (Weisskoff et al., 1993; Jezzard and Clare, 1999), static field inhomogeneity will arise from the subject itself due to its magnetization (the magnetic response of the subject to the applied field) and the different magnetic environments found in different molecules. Spatial and intensity distortion follow since tissue localization is determined by the transverse phase of the nuclear spins under applied linear gradient fields, and the spins’ rate of precession is proportional to the local field. In particular, the degree of local distortion is proportional to the local magnetic field inhomogeneity. Distortion is most pronounced in the phase-encoded direction in rectilinear, or blipped, Echo Planar Imaging (EPI) (Mansfield, 1977; Pykett and Rzedzian, 1987; Jezzard and Clare, 1999) because of the relatively long time between sampling points in that direction, compared to the readout direction, during which there can be substantial change in phase accumulation due to the field inhomogeneity. Increasing the main field strength or the time to acquire a frequency-encoded line will proportionally increase the distortion. Also, since image or signal intensity is proportional to the spin density, intensity distortion will be proportional to the local compression or expansion. All this pertains to both gradient-echo EPI, as used in BOLD fMRI, and spin-echo EPI. In gradient-echo EPI, however, there are two additional significant problems: the well-known through-plane dropout that occurs for tissue in regions of susceptibility change, and the hitherto largely unaddressed problem of in-plane dephasing (discussed further below), which occurs whether there is local tissue compression or expansion in the image, but can be severe in the case of compression or ‘spin bunching’.

The magnetic field inhomogeneity a priori is unknown: it depends on the applied magnetic field, the magnetic susceptibilities within the subject, the geometry of the subject, and its orientation with respect to the external field; it can not be accurately modeled for or shimmed away in advance, but will be smooth within any region of constant susceptibility. The susceptibility of the magnetically linear and isotropic brain is essentially due to water, which is weakly diamagnetic, and the magnetization-induced magnetic field variation within the brain will mainly be governed by the brain’s interface with air, which has essentially zero-susceptibility.

Because of its ultra-fast imaging speed and relatively good image definition, blipped EPI is the pulse sequence of choice for diffusion (Mori, 2007) and perfusion imaging (Bernstein et al., 2004b), BOLD fMRI (Buxton, 2009), cardiac (Bhat et al., 2009), and abdominal imaging (Low et al., 2009). However, inhomogeneous static magnetic field-induced distortions in, for example, a 3T scan can easily be a centimeter or more near an air-tissue boundary, e.g., near the sinuses. This can lead to ~10 or more voxels’ worth of tissue being bunched into a single image voxel. The effect of the distortion artifact can therefore be severe, and has seriously impacted the utility of EPI.

There have been several attempts over the years to obtain distortion-free EPI images in a robust and efficient way. The unwarping method most commonly used is ‘field map’-based (Jezzard and Balaban, 1995). In this method, the back-ground magnetic field inhomogeneity, or field map, ΔB(r⃗), is determined from the phase difference between a pair of conventional (undistorted) complex gradient echo images acquired using different echo times, where, for each complex image data set I, the phase map is given by ϕ = tan−1(Im(I)/Re(I)). In both conventional and echo train gradient echo imaging, in contrast to spin echo imaging, the resonant nuclear spins will continue to accrue transverse phase throughout the MRI acquisition due to background magnetic field inhomogeneities, and the resulting complex image will acquire a phase term exp(−iγΔB(r⃗)TE), where γ is the gyromagnetic ratio and TE is the echo time. If two complex gradient echo images are obtained using slightly different echo times, then B1 (radiofrequency pulse) phase errors can be eliminated and the phase difference Δϕ between the two images gives the field inhomogeneity: Δϕ(r⃗) = −γΔB(r⃗TE, where ΔTE is the difference in echo times. Knowing ΔB(r⃗), the distortion can be calculated from Eq. 3 below.

Note that a full EPI image of the human brain takes only a few seconds, while acquiring a phase map (by conventional gradient-echo imaging so as to be anatomically geometrically correct) requires several minutes. This increases the chance of subject motion during the scan, which can lead to large errors in the resulting field map. Furthermore, the phase maps require phase unwrapping, and tend to be very noisy where image intensity in the amplitude image is low. The phase maps are also problematic near tissue edges and in regions of high variation in the background magnetic field (Zeng and Constable, 2002; Andersson et al., 2003; Li et al., 2007). Thus, use of unregularized phase maps produces rather poor images.

MRI images can also be unwarped based on the point spread function (PSF). Since an acquired image is given by the convolution of the ‘true’ image with the PSF of the imaging system, the displacement field that maps the recorded image back to the true, undistorted, geometry, is incorporated in the PSF. The PSF approach to unwarping EPI images (Robson et al., 1997; Zeng and Constable, 2002) is more robust to noise and high gradients in the background field, and potentially quite accurate, but requires relatively long scan times—taking several minutes for a full brain volume. It involves many (32 or more) single-shot EPI scans per slice, where, for each such scan, a preparatory constant-time phase-encoding gradient (along ŷ) is applied prior to data acquisition, with the gradient amplitude varying from scan to scan. The full set of preparatory gradients essentially constitutes a new set of ky-points per data point acquired in the data sampling window, and enables an image of the PSF to be made for each voxel. The displacement field can then be calculated as the barycenter of the PSF. The PSF mapping technique has been optimized and combined with parallel imaging (Zaitsev et al., 2004; Speck et al., 2008) for reliable and faster distortion correction at high field strengths.

A promising and efficient method for correcting geometric distortion (and N/2 ghosting), a kind of simplified PSF method using an EPI field map, is Phase Labeling for Additional Coordinate Encoding (PLACE) (Xiang and Ye, 2007). This requires two EPI acquisitions, where the preparatory phase-encoding gradient areas for the acquisitions differ only by an amount equal to that of one or two normal phase encoding ‘blips’. The extra preparatory phase-encoding gradient causes a linear phase difference between the complex images in undistorted space, which need not exceed 2π across the FOV—obviating phase unwrapping. Thus, knowing the phase difference between the distorted complex EPI images for any voxel, the correct location for that voxel follows from the known linear phase difference in undistorted space. Post-processing is very fast, involving expansion and heavy smoothing of the complex images.

Another promising method employs Two Reduced Acquisitions Interleaved (TRAIL) (Priest et al., 2004, 2006, 2008). In the acquired images, blurring and distortion in the phase-encode direction are reduced by a factor of 2. Distortion correction, however, does require phase unwrapping, and the SNR is reduced by 2.

A very different approach (Morgan et al., 2004), using the reversed gradient method (Chang and Fitzpatrick, 1992), attempts to calculate the local distortions directly from magnitude EPI images. The reversed gradient method exploits the fact that if the phase-encoding gradients are reversed in polarity, i.e., if k-space in traversed in the opposite direction along the phase-encoding axis, then the distortions will be precisely reversed. The undistorted, anatomically correct image is then midway between the two oppositely-distorted images. The problem, however, is that one still has an integral equation to solve: the distortion of neighboring voxels around a voxel impacts the distortion of that voxel. The method employed to solve this relies on detection of compatible edges in both distorted images, and performing line integrals. The main limitations of this method are the requirement to identify boundaries for matching, and the use of 1-D unwarping, resulting in streaking or discontinuities in the frequency encoding and slice selection directions.

An alternative implementation of the reversed gradient method by Andersson et al. (2003) involves fitting for a smoothly-varying 3-D displacement field using discrete cosine basis functions. The resolution of the displacement field is limited by the highest frequency component of the DCT.

The method proposed here is similar in spirit to the approach of Andersson et al. (2003). It is computationally very efficient; full sub-voxel resolution is implicit in that the displacement field element at each voxel is explicitly determined.

METHODS

Human Subjects

The MRI scanning performed in this experiment was approved by the Institutional Review Board. All subjects provided informed written consent prior to scanning.

Image Acquisition

For the examples presented here, spin-echo EPI images and phase maps were acquired at both 1.5T and 3T. A 3T T1-weighted structural image was also acquired for direct geometric comparison. Additionally, gradient-echo EPI images were acquired at 3T, together with a corresponding pair of spin-echo EPI images. Though implicit, below we explicitly give voxel sizes as this is the scale at which displacement field elements are calculated.

1.5T data were acquired on a General Electric Signa EXCITE HDx 1.5T scanner with an 8-channel phased-array head coil. The two single shot spin-echo EPI sequences were acquired with k-space matrix size 96 × 96, field of view (FOV) 24 cm (acquired or Fourier voxel size, i.e., the resolution, along both readout and phase-encoded axes equal to 2.5 mm; both corresponding reconstructed image voxel sizes equal to 1.875 mm), 47 axial slices of thickness 2.5 mm, and TE 80.4 ms. One set of EPI images was collected with forward phase-encoding polarity, and the other set with reversed phase-encoding polarity. Two phase map scans (Jezzard and Balaban, 1995) were also acquired for use with FSL’s error correction tools (Smith et al., 2004), using conventional gradient-echo pulse sequences with k-space matrix size 128 × 128, FOV 24 cm (both acquired voxel size and reconstructed image voxel size along both readout and phase-encoded axes equal to 1.875 mm), 47 axial slices of thickness 2.5 mm, TE 4 ms and 6.3 ms, respectively, and TR 1,000 ms.

3T data were acquired on a General Electric Signa EXCITE HDx 3.0T scanner with an 8-channel phased-array head coil. The T1-weighted 3D structural scan was acquired with k-space matrix size 256 × 192 (standard ADNI protocol (Jack et al., 2008)), FOV 24 cm (acquired voxel size along readout and phase-encoded axes equal to 0.9375 mm and 1.25 mm, respectively; both corresponding reconstructed image voxel sizes equal to 0.9375 mm), 166 slices of thickness 1.2mm, TE 2.8 ms, TR 6.5 ms, TI 600 ms, flip angle 8°, and bandwidth 31.25 kHz. The forward and reverse phase-encoded spin-echo EPI sequences were acquired with k-space matrix size 96 × 96, FOV 24 cm (acquired voxel size along both readout and phase-encoded axes equal to 2.5 mm; both corresponding reconstructed image voxel sizes equal to 1.875 mm), 47 axial slices of thickness 2.5 mm, and TE 83 ms. Two phase map scans were also acquired as described above. Additionally, a pair of forward and reverse phase-encoded gradient-echo EPI scans was acquired with k-space matrix size 64 × 64, FOV 22 cm (both acquired voxel size and reconstructed image voxel size along both readout and phase-encoded axes equal to 3.4375 mm), 32 axial slices of thickness 4 mm, and TE 30 ms. For use in correcting these gradient-echo EPI scans, a corresponding pair of forward and reverse phase-encoded spin-echo EPI scans was acquired with TE 100 ms, but otherwise with the same parameters as the gradient-echo EPI acquisition. The TE can be less than 100 ms; a large value simply ensures high contrast between CSF (bright with a long T2) and tissue.

Field Map Error Correction

Ppge4, a script provided by the UCSD Center for Functional Magnetic Resonance Imaging designed to facilitate the unwarping of GE DICOM images, was used to perform field map error correction. Ppge4 serves as a front end for FSL’s PRELUDE and FUGUE programs which correct the B0 distortion using a phase map from each of two conventional gradient-echo images (acquired with different echo times) to calculate the field inhomogeneity map.

Unwarping Cost Function

The pair of oppositely distorted spin-echo EPI images will be corrected—such that both corrected images will be essentially identical—without the use of basis functions, by searching for the displacement in the phase encoding direction at each voxel that brings about the match of the images. This will be done by setting up a least-squares cost function that explicitly depends on all the voxel displacements. The numerical task is then to efficiently minimize this function—a task which will greatly be facilitated by going through a hierarchy of image smoothings.

Spatial distortion can be expressed in terms of the field inhomogeneity, pulse sequence timings, and the applied phase-encoding gradient, or dimensionlessly as a ratio of bandwidths. Let be the readout axis, ŷ the phase-encoding axis, and the slice-select axis. Let G be the average phase encoding gradient amplitude during each phase encoding period τ, and Δtytesp the echo spacing, or equivalently the length of time between the start of each frequency-encoding or readout line (tesp = NxΔtx + τ, where Nx is the number of readout sampling points, each separated by the dwell time Δtx). If ΔB(x, y, z) is the inhomogeneity in the magnetic field, then, ignoring the more than two-orders of magnitude smaller shifts along the slice-select and readout directions, the signal emanating from real-space location (x, y, z) will be shifted to (x, y + δy, z), where (Jezzard and Balaban, 1995; Li et al., 2007)

δy(x,y,z)=(tesp/τ)ΔB(x,y,z)G. (1)

Note that this ŷ-displacement is a function of x, y, and z. If Ly is the FOV along the phase-encoding axis, and there are Ny phase-encoding steps, then Δy = Ly/Ny is the voxel dimension along ŷ, and the shift in units of pixels is the dimensionless quantity

u(x,y,z)=δyΔy. (2)

Let the phase-encoding k-space step size be Δky. The discrete Fourier transform (DFT) pair Δy and Δky is related by ΔyΔky = 1/Ny. Note that Δky = γ̶Gτ = γ̶G′ Δty, where γ̶ = γ/(2π), γ the gyromagnetic ratio for the hydrogen nucleus, and G′Gτ/tesp is an effective phase-encoding gradient. Similarly, the time-frequency DFT pair for the phase-encoding axis is related by ΔνppΔty = 1/Ny, where Δνpp is the bandwidth per pixel (in Hz) across the phase-encoding FOV. Through the Larmor equation, the spatial distribution of the static background field inhomogeneity can be expressed in Hz as ΔνB = γ̶ΔB(x, y, z) (Jezzard and Clare, 1999). Hence, the pixel shift can be written as

u=ΔνBΔνpp, (3)

which is proportional to tesp. Hereinafter, x, y, and z will refer to undistorted voxel-space, so that an imaged voxel that should be at voxel location (x, y, z), under an inhomogeneous field will instead be at voxel location (x, y + u, z). The image intensity will be proportional to the spin density, so if distortion leads to local compression the signal will be higher by the amount of compression. I.e., suppressing x and z, it will be scaled by the Jacobian J of the transformation yy′ = y + u(y):

J=1+u(y)y=1+Tpeγ̶ΔB(y)y, (4)

where Tpe = Nytesp is the phase-encoding acquisition time, i.e., the time to traverse k-space along ŷ. If the phase-encoding gradient is reversed, i.e., k-space is traversed in the opposite direction along the phase-encoding axis, and a second image acquired, the signal emanating from location (x, y, z) this time will be shifted to (x, yu, z), and tissue that was compressed in the forward image will now be expanded.

Using this information, a merit or cost function can be constructed to encapsulate the problem. That is, if there are N voxels, where the center of voxel i in the undistorted image is indexed by the voxel integers r⃗i = (xi, yi, zi, then the correct displacement field u(r⃗) ≡ {ui = u(xi, yi, zi);i = 1,…,N}, giving for each i the location of (xi, yi, zi) in the distorted images, can be found as the minimizing vector of variables of a suitable cost function. To be specific, let I1 denote the forward gradient EPI image, acquired traversing k-space in the positive ŷ-direction, and I2 the oppositely-distorted reverse gradient image acquired traversing in the negative ŷ-direction. Let I denote the true undistorted image. The center of voxel i will have intensity I(xi, yi, zi). In the forward image I1, this will show up at voxel location (xi, yi + ui, zi), and at (xi, yiui, zi) in the reverse image, I2. The problem is to identify corresponding locations in both forward and reverse images where the intensities are related by scaling as a result of local volume compression in one and expansion in the other.

In image I, let the neighboring voxel on the +ŷ side of voxel i be denoted ip, and im on the −ŷ side. Let the displacements of their centers, giving their voxel coordinates in the forward image, be uip and uim, respectively. Then

I(ri)=J1iI1(ri+uiy^)=J2iI2(riuiy^), (5)

where J1i and J2i are estimated from a discrete version of Eq. 4 (in voxel space):

J1i=1+uipuim2, (6)

,

J2i=1uipuim2. (7)

. Thus, one can construct a useful convex merit function from

f(u1,,uN)=1Ni=1N[J1iI1(ri+uiy^)J2iI2(riuiy^)]2, (8)

which vanishes by design when all displacements correctly unwarp both images to make each identical to the true undistorted image. That is, when the correct displacement field is found, the undistorted image I is given for all voxels i by Eq. 5. The system must be constrained and regularized to keep the deformation field u(r⃗) smooth. As noted above, the magnetic field within the brain will vary smoothly, but Eq. 3 does not imply y′ is a monotonic function of y: depending on ΔB, for a given pulse sequence fold-over is possible. But if, say, in the forward image there is fold-over at (x, y + u, z), there will be magnification (or expansion) in the reverse image at (x, yu, z), where u is the true displacement. The formulation of the problem in Eq. 8 precludes correct modeling of fold-over (where the Jacobians would become negative); it assumes a one-to-one mapping from the true undistorted image to the forward (and reverse) image, though in principle mappings that are non-injective (many-to-one) are possible. However, given the forward and reverse images, regularizing Eq. 8 (see Eq. 9 below) will allow for a smooth deformation field to be found that will be accurate outside of regions of fold-over, and keep small fold-over regions (which at any location may occur only in one image) well behaved. In other words, when the system is sufficiently regularized, the deformation field will remain single valued and smooth; correct matching outside any region of fold-over will be possible, and the smoothness constraint will maintain a well-defined deformation field within any small region of fold-over. If fold-over occurs at a voxel, the Jacobian will become negative there for an under-constrained system. In practice, we have found that fold-over is insignificant in the brain, even at 3T. That is, the corrected forward and reverse images invariably look practically identical.

The interface of a region of one susceptibility with a region of a different susceptibility causes local field variation when an external field is applied. The magnetic field of MRI interest at any point is the component parallel to the main field. Though this field will vary smoothly within a region of uniform susceptibility, it need not vary smoothly when traversing a boundary into a region of different susceptibility—there is refraction of the magnetic field lines at the interface: Maxwell’s equation ∇⃗ · B⃗ = 0 requires only that the magnetic field component normal to the interface be continuous across it. In the head, this refraction only happens when the other medium is air and, to a much lesser extent, bone, and in both cases there is essentially no MRI signal, in the former because the proton density is practically zero, in the latter because of very fast transverse relaxation compared to soft tissue. Thus, though discontinuities in the magnetic field variation will exist in the head, they are irrelevant. Hence, it is reasonable to look for a smoothly varying displacement field.

A smooth deformation field can be obtained by controlling the sum of the squares of the gradients of the displacements at each voxel. One can also add a term constraining the amplitude of the displacements. Hence, including the driving term Eq. 8, a suitable cost function f is

f(u1,,uN)=1Ni=1N[J1iI1(ri+uiy^)J2iI2(riuiy^)]2+λ1i=1Nui2+λ2i=1N[iui]2, (9)

where λ1 and λ2 are regularization parameters of the model that control the quality of the unwarping—they will generally have a range of valid values, but that range depends on the scale of intensities. In practice, the unwarping has been quite robust to variations in λ1 and λ2. With the 1.5T images in this study, where intensities ranged from 0 to 8k (arbitrary scale), we used λ1 = 0 and λ2 = 104. (Originally the 3T images ranged from 0 to 31k, and were rescaled to conform to the scale of the 1.5T images, so the values of λ1 and λ2 used at 1.5T were also used at 3T.)

There are many possible variations on this cost function. E.g., higher powers could be used, or the smoothing term could be appended to explicitly take into account neighboring displacements, e.g., in the notation of Eq. 6, the term [(uip − ui)2 + (ui − uim)2] could be added, though in practice it behaves similarly to the gradient term.

Cost Function Minimization

If each oppositely distorted image is heavily smoothed (blurred), e.g., by convolving with an isotropic Gaussian kernel of standard deviation ≃3–4 mm, they will look rather similar, even though the unsmoothed images may have relative internal deformations on the order of a cm. The 3T images, being more severely distorted, will generally benefit from higher initial smoothing. The similarity can be exploited to get around the myriad local minima on the path toward the global minimum of f. In other words, given a current estimate of {ui}, which can be initialized to all zeros, sufficient smoothing will allow the global minimum location to be accessible, if not visible, unobscured by local hills and troughs in a landscape of N-dimensions. Having reached that point, one has a very good estimate for the new global minimum for images with less smoothing. Iterating over decreasing levels of smoothing, all the way to the native resolution, allows the displacement field gradually to accumulate large displacements.

The minimization carried out at any level of image smoothing will be done most expeditiously if as much gradient information as possible is taken into account—conjugate directions in a second-order Newton’s method (Gershenfeld, 1999); a first-order Newton’s method using conjugate gradients is stable and accurate, but slow. At the other extreme is steepest descent, where only the steepest gradient direction is used, requiring the next step to be orthogonal. The high smoothing and overall similarity of the images means a second-order Taylor expansion of f is a reasonable approximation—with enough smoothing one is in a concave basin of attraction. So one can perturb the quadratic form approximation for f around the current best estimate u⃗ = (u1, u2,…, uN) of the system displacement vector, and one has a large, sparse, symmetric linear algebra problem:

H(u)υ=g(u), (10)

where H (u⃗) is the Hessian of f at u⃗, g⃗(u⃗) is the gradient of f at u⃗ and the unknown quantity υ⃗ = (υ1, υ2,…, υN) is the displacement around u⃗) that nudges f toward the new global minimum u⃗ + υ⃗) at the new (finer) level of smoothing. The sparseness results from the coupling only of neighboring voxels through the derivative terms in H—the smoothing term couples nearest neighbors, and those terms involving the Jacobians will couple second-neighbors. There exist several efficient iterative methods for finding the solution υ⃗ of Eq. 10, e.g., conjugate gradients squared (CGS), generalized minimal residuals (GMRES), and biconjugate gradients stabilized method (Bi-CGSTAB) (van der Vorst, 1992, 2003). All results presented here were obtained using Bi-CGSTAB.

It should be noted that the displacements u⃗ (Eq. 2) are not restricted to integral voxel values, but, since intensities are well defined for all subvoxel locations through sinc interpolation (Hajnal et al., 1995), can indeed be real numbers.

In summary, distortion-correction is carried out as follows: (0) initialize the displacement field u⃗ to zero, and the standard deviation of the smoothing kernel to 3.5–4 mm; (1) smooth the original forward and reverse images; (2) set up the Hessian (u⃗) and gradient g⃗(u⃗) for the current net displacement field; (3) register the smooth images, i.e., calculate the refinement υ⃗ to the deformation field by solving Eq. 10; (4) update the deformation field: u⃗ = u⃗+υ⃗; (5) decrease the width of the smoothing kernel by 0.25–0.5 mm. Repeat (1)–(5) until there is no smoothing.

RESULTS AND DISCUSSION

Blipped EPI scans were acquired at 1.5T and 3T, with a T1-weighted structural scan also acquired at 3T, as described above. 3T EPI images are shown in Fig. 1: the top and bottom frames on the left hand side are axial slices from the forward and reverse images; the middle column shows the same images corrected by the standard field map method; and on the right are the same images after correction using the method presented here. To highlight the degree of mismatch in the uncorrected images and the accuracy of the current method, Fig. 2 employs complementary color overlays of the forward and reverse images. The top row again shows the corrections of the 3T images shown on the right hand side of Fig. 1, the upper one cyan and the lower one red. Their color addition is shown on the top right of Fig. 2: white implies a good match, i.e., the forward and reverse corrections are identical and so must equal the true undistorted image. The middle row in Fig. 2 shows 3T forward (red) and reverse (cyan) sagittal images: uncorrected on the left hand side, field map corrected in the middle, and corrected as described here on the right hand side. The bottom row is arrayed the same way for a similar slice but at 1.5T. Mismatch in the uncorrected images is significantly greater at 3T, particularly in the occipital and frontal lobes and the brain stem. Sulci are clearly misaligned. As can be seen in the middle sagittal panes in the bottom two rows in Fig. 2, the field map method substantially improves the misalignment at the front and back of the brain, but the interior is at best only partially corrected in places, even at 1.5T.

Figure 1.

Figure 1

Forward (top) and reverse (bottom) spin-echo EPI at 3T. Left: uncorrected. Middle: field map corrected. Right: corrected as described here.

Figure 2.

Figure 2

Complementary color comparison of forward and reverse spin-echo EPI. Top row shows 3T axial images corrected as described here: forward (red), reverse (cyan), and on the right their color-overlay sum (red+cyan=white). Middle row shows 3T sagittal color-overlay sum: left, uncorrected forward (red) and reverse (cyan); center, field map corrected forward and reverse; right, forward and reverse corrected as described here. Bottom row: same as middle row for a similar sagittal plane, but at 1.5T.

The lack of color in the panes on the right hand side in Fig. 2 implies that the corrected forward and corrected reverse images are practically identical, even at 3T. This also implies that they both equate to the true undistorted EPI image, and in principle could be averaged for higher SNR. Fig. 3 shows the excellent agreement of the average corrected 3T EPI image with the 3T T1-structural, to which it has been rigid-body registered using mutual information (Leventon and Grimson, 1998): the front and back of the head are anatomically correct, and even the internal sulci are correctly aligned.

Figure 3.

Figure 3

Corrected spin-echo EPI compared with T1-weighted structural scan. Left: axial and sagittal views of the average forward and reverse corrected 3T EPI. Middle: 3T T1-weighted structural. Right: overlay of corrected EPI on structural.

PLACE (Xiang and Ye, 2007), using EPI readouts, is a promising method for measuring the phase map. The conventional phase map method, however, apart from the inherent difficulty in unwrapping the phase, where a binary decision must be made at each voxel, still requires the acquisition of two phase images at two different echo times. This can add minutes to scan times, and the longer the scan the greater the chance of motion corrupting the data. In contrast, the present method requires an additional EPI volume; the full acquisition can be implemented as an integrated sequence, with reversed phase encoding direction, in a single series. The correction procedure has been implemented in a way that allows it to be automatically applied after image reconstruction on the scanner, thus enabling integration into standard clinical workflow, taking less than a minute for a 3T pair of image volumes with 128 × 128 × 47 voxels (as a single process, single thread, on an Intel “Core i7” 2.67 GHz processor with 8 GB RAM). The displacement field, once calculated, can, for example, be applied to a subsequent series of diffusion-weighted images. Indeed, the current method has been applied to a large number of diffusion-weighted images (Hagler et al., 2009; McDonald et al., 2008), without needing any parameter adjustment. These time-series data sets were acquired with a spin-echo EPI pulse sequence for T2 contrast, where loci of signal dephasing reveal white matter tracts. To correctly identify the white matter tracts, the images need to be registered to structural T1 images, and this is facilitated using the B0-unwarping described here. Note that image distortion in the DW volumes caused by eddy currents was corrected for separately; the displacement field calculated only from the initial forward and reverse b=0 images can then be applied to each DW scan. Since the displacement field is calculated from images which are close in time (about 2 seconds apart), motion is a minor issue in its estimation. Any relative displacement that may have occurred due to motion for subsequent frames in the DW time series can be corrected for by rigid-body registration of these images to the initial b=0 image of the same phase-encoding polarity. Such displacement, however, will generally produce a change in the distortion pattern: if motion is severe, a new displacement field would need to be calculated. It is also possible to apply real-time motion correction procedures (van der Kouwe et al., 2006; White et al., 2009) when acquiring a time-series of images so that the output images are already aligned with the b=0 image.

Geometric distortion in EPI, whether spin-echo or gradient echo, results from background gradients in the magnetic field. Assuming the same bandwidths are used, the distortion is identical in both cases, almost entirely in the phase encoding direction, and is due to the in-plane inhomogeneous static magnetic field gradient along the phase-encoding axis. There is a concomitant enhancement or diminution of image intensity directly proportional to the degree of local bunching or distension of spins.

In spin-echo EPI, phase dispersion due to any background magnetic field gradients, whether in-plane or through-plane, will be recovered at the spin echo; where background gradients are present, there will be just a very slight blurring resulting from the narrower echo peak. In gradient echo EPI, however, where there is continued dephasing throughout the echo train, background gradients can have profound effects on signal intensity, distinctly different for in-plane and through-plane. For through-plane () gradients, there is signal loss due to phase dispersion; for linear variation of the background magnetic field ΔB across a voxel of through-plane extent Δz, it is given by sinc(Δϕz), where, in real space coordinates, Δϕz = γΔzTE∂ΔB/∂z, with TE the echo time and γ the gyromagnetic ratio (Zhao et al., 2005; Li et al., 2007). This in principle can be calculated by using Eq. 1 and Eq. 2 to estimate ∂ΔB/∂z from the z-gradient of the smooth three-dimensional y-displacement field u(x, y, z), with the latter determined by correcting corresponding spin-echo EPI forward and reverse images as described here (care being taken when going between real-space and voxel space: if ∂u/∂z is determined in voxel space, as was done for ∂u/∂y above, then Δϕz = γG/tespyTEu/∂z ). In practice, however, correcting for a low signal would mean also scaling up the noise; there would still be low SNR. For complete signal loss, the only recourse with magnitude images would be to reduce TE or slice thickness so as to reduce dephasing.

The effect of in-plane dephasing due to background field gradients along the phase-encoding direction can be even more severe, but with forward and reverse gradient-echo EPI, any signal loss can largely be recovered. An example is shown in Fig. 4.

Figure 4.

Figure 4

Axial slices from 3T gradient echo EPI, corrected using the displacement field calculated from spin echo EPI, showing complementary in-plane signal dropout patterns. Top row L to R: forward; reverse; root mean square of forward and reverse. Bottom row L to R: forward overlain with Jacobian of displacement field; reverse overlain with Jacobian of inverse displacement field; identical slice from average corrected forward and reverse spin echo EPI. For the overlays, red and blue indicate regions from which tissue was recorded as compressed or expanded, respectively, in the uncorrected images. Red thus indicates regions of recoverable dephasing dropout due to spin bunching.

In a region of compression in the forward gradient image, say, the imaged intensity in a voxel comes from a broader region of actual tissue: the entire phase variation across that broader region, due to the change in net magnetic field throughout the volume, contributes to an attenuation of the recorded voxel image intensity, and the greater the phase variation the greater the attenuation. Conversely, only a small piece of the same tissue region contributes to a specific imaged voxel in the reverse gradient image. There will therefore be substantially less dephasing per imaged voxel, and correspondingly less signal loss. As with spin-echo EPI, one still has geometric scaling of intensity, but with gradient echo EPI it is of a relatively dephased intensity (signal intensification due to geometric compression and signal diminution due to dephasing go hand in hand).

In through-plane dephasing, signal loss results from dephasing across only the slice thickness of a voxel. In in-plane dephasing, however, because of the distortions resulting in many voxels-worth of tissue being imaged into a single voxel, the dephasing effect can be far more severe, yet in this case it can largely, and easily, be rectified.

Because of nonuniform signal loss due to dephasing, the B0-unwarping algorithm described here is not applicable directly to gradient-echo EPI forward and reverse images. However, if a corresponding pair of spin-echo EPI images is acquired, the correct unwarping displacement field can be found from them and then applied to the gradient-echo images. Voxels will be correctly shifted in space, but their intensities will not be accurate in regions where the susceptibility-induced magnetic field varies, e.g., the blue and red regions in Fig. 4. Geometrically-corrected forward and reverse gradient-echo EPI images can be combined, as in Fig. 4, to produce an image superior to either individually: by taking the voxel-wise maximum of both (or equivalently, locally taking the image for which the Jacobian of the displacement field is greater than 1), thus minimizing the effect of dephasing at any voxel; or by forming the root-mean-square of the forward and reverse images to produce an overall less noisy image.

Gradient-echo EPI is used for BOLD fMRI, which relies on T2*-contrast (Kwong et al., 1992), and DSC-MRI, which is commonly used to measure perfusion in stroke and tumors (Ostergaard et al., 2000; Zaharchuk, 2007; Marstrand et al., 2001; Carroll et al., 2008). To minimize the impact of in-plane dephasing in BOLD fMRI and T2*-weighted DSC-MRI, either forward or reverse phase-encoded imaging can be used, depending on which one expands the region of interest in the image. If a sampling frequency of several seconds is not an issue, however, a T2* image, or time-course series of images, with minimal in-plane signal loss could be made as described here from a corrected pair, or corrected series of pairs, of forward and reverse gradient-echo EPI images, but with an effectively doubled TR. When combined with shimming (Wilson et al., 2002), signal loss can be minimized further.

CONCLUSION

Spatial distortion in spin-echo and gradient-echo EPI, and additionally signal loss in the latter, have restricted the utility of this fast MRI acquisition scheme. For example, spatial distortion degrades the accuracy of registration of fMRI and DTI data with conventional structural MRI acquisitions, while signal loss in gradient echo DSC-MRI scans may be mistaken for loss of perfusion. The method presented here for unwarping EPI images, however, is sufficiently fast, robust, and accurate that it can be implemented in a clinical workflow to produce anatomically correct images, which can then directly be compared with images from other modalities. In addition, we have shown how to recover signal in regions of dropout, which is particularly important in and near the orbitofrontal and inferotemporal cortices.

Acknowledgments

This research was supported by NIH grants AG031224 (A.M.D.), NS056883 (A.M.D.), AG22381, and AG18386.

Anders M. Dale is a founder and holds equity in CorTechs Labs, Inc, and also serves on the Scientific Advisory Board. The terms of this arrangement have been reviewed and approved by the University of California, San Diego in accordance with its conflict of interest policies.

Footnotes

Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final citable form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.

References

  1. Andersson JL, Skare S, Ashburner J. How to correct susceptibility distortions in spin-echo echo-planar images: application to diffusion tensor imaging. Neuroimage. 2003 Oct;20:870–888. doi: 10.1016/S1053-8119(03)00336-7. [DOI] [PubMed] [Google Scholar]
  2. Bernstein MA, King KF, Zhou XJ. Handbook of MRI Pulse Sequences. Burlington, MA: Elsevier Academic Press; 2004a. [Google Scholar]
  3. Bernstein MA, King KF, Zhou XJ. Handbook of MRI Pulse Sequences. Burlington, MA: Elsevier Academic Press; 2004b. [Google Scholar]
  4. Bhat H, Zuehlsdorff S, Bi X, Li D. Whole-heart contrast-enhanced coronary magnetic resonance angiography using gradient echo interleaved EPI. Magn Reson Med. 2009 Jun;61:1388–1395. doi: 10.1002/mrm.21963. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Buxton R. Introduction to Functional Magnetic Resonance Imaging: Principles and Techniques. 2nd Edn. Cambridge University Press; 2009. Oct, [Google Scholar]
  6. Carroll TJ, Horowitz S, Shin W, Mouannes J, Sawlani R, Ali S, Raizer J, Futterer S. Quantification of cerebral perfusion using the ”bookend technique”: an evaluation in CNS tumors. Magn Reson Imaging. 2008 Dec;26:1352–1359. doi: 10.1016/j.mri.2008.04.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Chang H, Fitzpatrick J. A technique for accurate magnetic resonance imaging in the presence of field inhomogeneities. IEEE Trans Med Imaging. 1992;11:319–329. doi: 10.1109/42.158935. [DOI] [PubMed] [Google Scholar]
  8. Gershenfeld N. The Nature of mathematical Modeling. Cambridge University Press; 1999. [Google Scholar]
  9. Haacke EM, Brown RW, Thompson MR, Venkatesan R. Magnetic Resonance Imaging: Physical Principles and Sequence Design. New York: Wiley; 1999. [Google Scholar]
  10. Hagler DJ, Ahmadi ME, Kuperman J, Holland D, McDonald CR, Halgren E, Dale AM. Automated white-matter tractography using a probabilistic diffusion tensor atlas: Application to temporal lobe epilepsy. Hum Brain Mapp. 2009 May;30:1535–1547. doi: 10.1002/hbm.20619. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Hajnal JV, Saeed N, Soar EJ, Oatridge A, Young IR, Bydder GM. A registration and interpolation procedure for subvoxel matching of serially acquired MR images. J Comput Assist Tomo. 1995 March/April;12:289–296. doi: 10.1097/00004728-199503000-00022. [DOI] [PubMed] [Google Scholar]
  12. Jack CR, Bernstein MA, Fox NC, Thompson P, Alexander G, Harvey D, Borowski B, Britson PJ, L Whitwell J, Ward C, Dale AM, Felmlee JP, Gunter JL, Hill DL, Killiany R, Schuff N, Fox-Bosetti S, Lin C, Studholme C, DeCarli CS, Krueger G, Ward HA, Metzger GJ, Scott KT, Mallozzi R, Blezek D, Levy J, Debbins JP, Fleisher AS, Albert M, Green R, Bartzokis G, Glover G, Mugler J, Weiner MW. The Alzheimer’s Disease Neuroimaging Initiative (ADNI): MRI methods. J Magn Reson Imaging. 2008 Apr;27:685–691. doi: 10.1002/jmri.21049. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Jezzard P, Balaban R. Correction for geometric distortion in echo planar images from B0 field variations. Magn Reson Med. 1995 Jul;34:65–73. doi: 10.1002/mrm.1910340111. [DOI] [PubMed] [Google Scholar]
  14. Jezzard P, Clare S. Sources of distortion in functional MRI data. Hum Brain Mapp. 1999;8:80–85. doi: 10.1002/(SICI)1097-0193(1999)8:2/3<80::AID-HBM2>3.0.CO;2-C. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Kwong KK, Belliveau JW, Chesler DA, Goldberg IE, Weisskoff RM, Poncelet BP, Kennedy DN, Hoppel BE, Cohen MS, Turner R. Dynamic magnetic resonance imaging of human brain activity during primary sensory stimulation. Proc. Natl. Acad. Sci. U.S.A. 1992 Jun;89:5675–5679. doi: 10.1073/pnas.89.12.5675. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Leventon ME, Grimson WEL. MICCAI’98, LNCS. Vol. 1496. Berlin/Heidelberg: Springer; 1998. Ch. 3. Multi-modal Volume Registration Using Joint Intensity Distributions; pp. 1057–1066. [Google Scholar]
  17. Li Y, Xu N, Fitzpatrick J, Morgan V, Pickens D, Dawant B. Accounting for signal loss due to dephasing in the correction of distortions in gradient-echo EPI via nonrigid registration. IEEE Trans Med Imaging. 2007 Dec;26:1698–1707. doi: 10.1109/tmi.2007.901987. [DOI] [PubMed] [Google Scholar]
  18. Low RN, Sebrechts CP, Barone RM, Muller W. Diffusion-weighted MRI of peritoneal tumors: comparison with conventional MRI and surgical and histopathologic findings–a feasibility study. AJR Am J Roentgenol. 2009 Aug;193:461–470. doi: 10.2214/AJR.08.1753. [DOI] [PubMed] [Google Scholar]
  19. Mansfield P. Multi-planar image formation using NMR spin echoes. Journal of Physics C Solid State Physics. 1977 Feb;10:L55–L58. [Google Scholar]
  20. Marstrand JR, Rostrup E, Rosenbaum S, Garde E, Larsson HB. Cerebral hemodynamic changes measured by gradient-echo or spin-echo bolus tracking and its correlation to changes in ICA blood flow measured by phase-mapping MRI. J Magn Reson Imaging. 2001 Oct;14:391–400. doi: 10.1002/jmri.1199. [DOI] [PubMed] [Google Scholar]
  21. McDonald CR, Ahmadi ME, Hagler DJ, Tecoma ES, Iragui VJ, Gharapetian L, Dale AM, Halgren E. Diffusion tensor imaging correlates of memory and language impairments in temporal lobe epilepsy. Neurology. 2008 Dec;71:1869–1876. doi: 10.1212/01.wnl.0000327824.05348.3b. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Morgan P, Bowtell R, McIntyre D, Worthington B. Correction of spatial distortion in EPI due to inhomogeneous static magnetic fields using the reversed gradient method. J Magn Reson Imaging. 2004 Apr;19:499–507. doi: 10.1002/jmri.20032. [DOI] [PubMed] [Google Scholar]
  23. Mori S. Introduction To Diffusion Tensor Imaging. Elsevier Science; 2007. [Google Scholar]
  24. Ostergaard L, Sorensen AG, Chesler DA, Weisskoff RM, Koroshetz WJ, Wu O, Gyldensted C, Rosen BR. Combined diffusion-weighted and perfusion-weighted flow heterogeneity magnetic resonance imaging in acute stroke. Stroke. 2000 May;31:1097–1103. doi: 10.1161/01.str.31.5.1097. [DOI] [PubMed] [Google Scholar]
  25. Priest AN, Carmichael DW, De Vita E, Ordidge RJ. Method for spatially interleaving two images to halve EPI readout times: two reduced acquisitions interleaved (TRAIL) Magn Reson Med. 2004 Jun;51:1212–1222. doi: 10.1002/mrm.20085. [DOI] [PubMed] [Google Scholar]
  26. Priest AN, De Vita E, Ordidge RJ. Doubling the resolution of echo-planar brain imaging by acquisition of two k-space lines per gradient reversal using TRAIL. NMR Biomed. 2008 Feb;21:79–88. doi: 10.1002/nbm.1155. [DOI] [PubMed] [Google Scholar]
  27. Priest AN, De Vita E, Thomas DL, Ordidge RJ. EPI distortion correction from a simultaneously acquired distortion map using TRAIL. J Magn Reson Imaging. 2006 Apr;23:597–603. doi: 10.1002/jmri.20508. [DOI] [PubMed] [Google Scholar]
  28. Pykett I, Rzedzian R. Instant images of the body by magnetic resonance. Magn Reson Med. 1987 Dec;5:563–571. doi: 10.1002/mrm.1910050607. [DOI] [PubMed] [Google Scholar]
  29. Robson MD, Gore JC, Constable RT. Measurement of the point spread function in MRI using constant time imaging. Magn Reson Med. 1997 Nov;38:733–740. doi: 10.1002/mrm.1910380509. [DOI] [PubMed] [Google Scholar]
  30. Smith SM, Jenkinson M, Woolrich MW, Beckmann CF, Behrens TE, Johansen-Berg H, Bannister PR, De Luca M, Drobnjak I, Flitney DE, Niazy RK, Saunders J, Vickers J, Zhang Y, De Stefano N, Brady JM, Matthews PM. Advances in functional and structural MR image analysis and implementation as FSL. Neuroimage. 2004;23 Suppl 1:S208–S219. doi: 10.1016/j.neuroimage.2004.07.051. [DOI] [PubMed] [Google Scholar]
  31. Speck O, Stadler J, Zaitsev M. High resolution single-shot EPI at 7T. MAGMA. 2008 Mar;21:73–86. doi: 10.1007/s10334-007-0087-x. [DOI] [PubMed] [Google Scholar]
  32. van der Kouwe AJ, Benner T, Dale AM. Real-time rigid body motion correction and shimming using cloverleaf navigators. Magn Reson Med. 2006 Nov;56:1019–1032. doi: 10.1002/mrm.21038. [DOI] [PubMed] [Google Scholar]
  33. van der Vorst HA. A fast and smoothly converging variant of Bi-CG for the solution of nonsymmetric linear systems. SIAM J Sci Stat Comp. 1992;13:631–644. [Google Scholar]
  34. van der Vorst HA. Iterative Krylov Methods for Large Linear Systems. Cambridge: Cambridge University Press; 2003. Apr, [Google Scholar]
  35. Weisskoff RM, Cohen MS, Rzedzian RR. Nonaxial whole-body instant imaging. Magn Reson Med. 1993 Jun;29:796–803. doi: 10.1002/mrm.1910290612. [DOI] [PubMed] [Google Scholar]
  36. White NS, Roddey C, Shankaranarayanan A, Han E, Rettmann D, Santos J, Kuperman JM, Dale AM. PROMO–Real-time Prospective Motion Correction in MRI using Image-based Tracking. Magn Reson Med. 2009 doi: 10.1002/mrm.22176. (in press) [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Wilson JL, Jenkinson M, Jezzard P. Optimization of static field homogeneity in human brain using diamagnetic passive shims. Magn Reson Med. 2002 Nov;48:906–914. doi: 10.1002/mrm.10298. [DOI] [PubMed] [Google Scholar]
  38. Xiang QS, Ye FQ. Correction for geometric distortion and N/2 ghosting in EPI by phase labeling for additional coordinate encoding (PLACE) Magn Reson Med. 2007 Apr;57:731–741. doi: 10.1002/mrm.21187. [DOI] [PubMed] [Google Scholar]
  39. Zaharchuk G. Theoretical basis of hemodynamic MR imaging techniques to measure cerebral blood volume, cerebral blood flow, and permeability. AJNR Am J Neuroradiol. 2007;28:1850–1858. doi: 10.3174/ajnr.A0831. [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Zaitsev M, Hennig J, Speck O. Point spread function mapping with parallel imaging techniques and high acceleration factors: fast, robust, and flexible method for echo-planar imaging distortion correction. Magn Reson Med. 2004 Nov;52:1156–1166. doi: 10.1002/mrm.20261. [DOI] [PubMed] [Google Scholar]
  41. Zeng H, Constable RT. Image distortion correction in EPI: comparison of field mapping with point spread function mapping. Magn Reson Med. 2002 Jul;48:137–146. doi: 10.1002/mrm.10200. [DOI] [PubMed] [Google Scholar]
  42. Zhao Y, Anderson AW, Gore JC. Computer simulation studies of the effects of dynamic shimming on susceptibility artifacts in EPI at high field. J. Magn. Reson. 2005 Mar;173:10–22. doi: 10.1016/j.jmr.2004.11.009. [DOI] [PubMed] [Google Scholar]

RESOURCES