Keywords

1 Introduction

Over the last years, dynamic contrast-enhanced magnetic resonance imaging (DCE-MRI) has been a useful clinical technique in the characterization of tumor biology. It involves the acquisition of a sequence of images acquired pre- and post-injection of a bolus of a contrast agent. The uptake of the contrast agent from this sequence of images can be quantified via a concentration vs. time curve, which in turn allows us to characterize vascular permeability [13].

DCE-MRI continues to be a crucial component in identifying appropriate patient treatment response. However, motion present in the dataset has to first be compensated to accurately convert signal intensity changes to contrast agent concentrations [7]. Image registration has been demonstrated to be effective in obtaining a motionless dataset from a sequence of DCE-MR images [1, 2, 6, 8].

Some registration methods for DCE images include reducing motion in the dataset through a floating image reference scheme combined with principal component analysis, as presented in [7]. In their paper, an intensity correction term was added to the similarity measure for pairwise registration. In [12], the registration problem was divided into sub-problems using auxiliary images computed from the conditional probability distribution of image pairs. These auxiliary images were registered to the original images using the sum of squared differences.

We introduce a groupwise registration approach combined with an NGF-based pairwise step for correcting motion and subsequently validate the proposed scheme on a set of abdominal dynamic contrast-enhanced MR images. The groupwise framework used in this paper assumes equal weight for all pairwise transformations to come up with an update to the reference image. It effectively reduces naturally occurring motion induced by the respiration process and is able to align images in spite of the changes in contrast.

2 Pairwise Registration

Constructing a motion-corrected dataset through groupwise registration entails aligning the subjects to the same reference geometry. In this paper, we used a combination of affine and elastic (also referred to as “non-parametric registration"in [9]) to initialize each groupwise iteration.

2.1 Mathematical Model

Given a template and a reference image \(\mathcal {T},\mathcal {R}:\varOmega \subset \mathbb {R}^2 \rightarrow \mathbb {R}\), we wish to find a transformation \(y: \varOmega \rightarrow \mathbb {R}^2\) such that a transformed version \(\mathcal {T}\left[ y\right] \) of the template image \(\mathcal {T}\) is similar to the reference \(\mathcal {R}\). This is equivalent to the optimization problem

$$\begin{aligned} \min _{y} \mathcal {J}\left[ y\right] = \mathcal {D}\left[ \mathcal {T}\left[ y\right] ,\mathcal {R}\right] + \alpha \mathcal {S}\left[ y\right] . \end{aligned}$$
(1)

The term \(\mathcal {D}\) in the joint functional \(\mathcal {J}\) is called a distance measure and it quantifies the similarity between the transformed template and the reference image. The second term \(\mathcal {S}\) is the regularization term, which makes the registration problem well-posed.

In our implementations, we have tested the following distance measures:

  1. a.

    Normalized Gradient Field (NGF)

    $$\begin{aligned} \mathcal {D}^\text {NGF}\left[ \mathcal {T},\mathcal {R}\right] = \text {NGF}\left[ \mathcal {T},\mathcal {R}\right] = \displaystyle \int _\varOmega 1 - \left( \text {NGF}\left[ \mathcal {T}(x)\right] ^T\text {NGF}\left[ \mathcal {R}(x)\right] \right) ^2 dx \end{aligned}$$
    (2)

    where \(\text {NGF}\left[ \mathcal {T}\right] \) denotes the normalized gradient field of \(\mathcal {T}\), defined by

    $$\begin{aligned} \text {NGF}\left[ \mathcal {T}\right] = \text {NGF}\left[ \mathcal {T},\eta \right] = \dfrac{\nabla \mathcal {T}}{\sqrt{\left| \nabla \mathcal {T}\right| ^2 + \eta ^2}} \end{aligned}$$

    and \(\eta \) is an edge parameter. The NGF is suited for aligning images where intensity changes appear at corresponding positions. These intensity changes are given by the image gradient \(\nabla \mathcal {T}.\)

  2. b.

    Sum of Squared Differences with Intensity Correction (SSDIC)

    In [7], intensity correction was used in combination with the SSD to partially account for intensity changes between image volumes. Instead of solving for a reasonable transformation aligning \(\mathcal {T}\) and \(\mathcal {R}\), we find one that matches the “intensity-corrected" template \(T^c\) to the reference, where

    $$\begin{aligned} \mathcal {T}^c = \mathcal {T} + c, \ \ \ \ c = (\mathcal {R} - \mathcal {T})*\text {N}\left( 0,\sigma \right) , \end{aligned}$$

    and \(\text {N}\left( 0,\sigma \right) \) is a Gaussian kernel with a mean and standard deviation of 0 and \(\sigma \), respectively. The template image is transformed using the optimal deformation aligning the intensity-corrected template to the reference image.

The above distance measures are approximated using a midpoint quadrature rule on a cell-centered grid with uniform mesh spacing.

2.2 Multilevel Affine and Elastic Registration

The discretized form of the registration problem in (1) is solved from the coarsest to the finest level. We perform an affine registration at the coarsest level and use the resulting optimal transformation to initialize \(y^{\text {ref}}\) in the regularization term \(\mathcal {S}[y]\), which is given by the elastic potential of the transformation y [9]:

$$\begin{aligned} \mathcal {S}[y] = \text {Elastic Potential}\left[ y - y^\text {ref}\right] . \end{aligned}$$

The starting guess for the optimal transformation at every succeeding level is taken to be the prolongated version of the solution \(y^h\) from the preceding level.

3 Groupwise Registration

Groupwise registration has been used in a wide range of applications, including normalizing structural and functional MR data [3]. In [5], the performance of a groupwise registration method with a principal component analysis-based metric for correcting motion in DCE-MR images of the liver was evaluated.

Here, we adopt the method used in [4, 11] to correct motion in a sequence of DCE-MR images and coupled it with the pairwise registration step discussed in the previous section.

Each groupwise iteration is initialized by mapping every image in the dataset to the current reference image. The reference image is then updated using an averaging technique that takes into account all the transformations obtained from the pairwise registration step. The update to the reference is given by

$$\begin{aligned} \mathcal {R}_{\text {mean}}^{n+1}(\text {x}^h) = \frac{1}{N}\sum _{i=1}^{N}\mathcal {T}_i\left( y_i^n\circ \left[ y_{\text {mean}}^{n}\right] ^{-1}(\text {x}^h)\right) , \end{aligned}$$
(3)

where

  • N refers to the size of the dataset,

  • \(\text {x}^h\) is the original grid,

  • \(\mathcal {T}_i\) are the DCE-MR images (\(i = 1,2,\ldots ,N\)),

  • \(y_i^n\) is the mapping that aligns the \(i^\text {th}\) image in the sequence to the \(n^\text {th}\) reference image,

  • \(y_{\text {mean}}^{n}\) is the mean of the transformations \(y_i^n\) at the \(n^\text {th}\) iteration, and

  • \(y_i^n\circ \left[ y_{\text {mean}}^{n}\right] ^{-1}\) is the composition of \(y_i^n\) with the inverse of \(y_{\text {mean}}^{n}\).

Performing the update process described in (3) leads to an average geometry \(\mathcal {R}_\text {mean}\) and a collection of transformations aligning the subjects to \(\mathcal {R}_\text {mean}\).

In our implementations, we used the following approximation for the inverse of the average transformation field \(y_{\text {mean}}^{n}\):

$$\begin{aligned} \left[ y_{\text {mean}}^{n}(\text {x}^h)\right] ^{-1}\approx -y_{\text {mean}}^{n}(\text {x}^h) + 2\text {x}^h . \end{aligned}$$
(4)

A detailed outline of the groupwise registration framework is given in our previous work [10].

4 Experiments and Results

A sequence of abdominal MR images was used for validation. The scans were acquired with a T1-weighted FSPGR sequence. Spatial resolution was 1.88 mm by 1.88 mm by 8 mm in the S/I, L/R, and A/P directions respectively. Temporal resolution was approximately 3.7 seconds per volume [7].

We applied the proposed groupwise algorithm to visually assess how well it eliminates real and complex patient motion. For quantitative validation, the groupwise scheme was applied to a dataset with simulated motion. The resulting sequence of registered images is then compared against the ground truth (the motionless dataset). For experiments that made use of the SSDIC metric, the standard deviation was chosen heuristically to be \(\sigma = 2.7\).

4.1 Real Patient Motion

Every groupwise iteration was initialized by a pairwise alignment of the subjects to the current reference geometry. In Fig. 1, we demonstrate how using different distance measures can affect the overall efficiency of the proposed method. Figures 1(f) and (i) show the optimal transformations that register Fig. 1(b) to (a) obtained using the NGF and SSDIC. Figures 1(d) and (g) show the transformed versions of the template image. Observe that the NGF and SSDIC were able to align corresponding features correctly, with only slight misregistrations near the borders from using SSDIC. We also quantified the efficiency of the distance measure by computing the difference between the transformed template and the reference image. Ideally, if registration were done properly, this difference should only exhibit the regions with contrast differences. This was the case with the NGF and the SSDIC, as demonstrated in Figs. 1(e) and (h).

Table 1. Mean Squared Error of the SI curves as a measure of the accuracy of the registration methods.
Fig. 1.
figure 1

Results of Pairwise Registration of DCE-MR images. (a) reference, (b) template image, (c) difference image between the template and reference, (d) and (g) are the transformed templates, (e) and (h) are the difference images between the transformed template and the reference image, (f) and (i) are the optimal transformations aligning the template to the reference image using different distance measures.

Next, we present results obtained from separate experiments using two significantly different initial reference images (one before and one after the contrast agent had been absorbed) in order to demonstrate that the proposed method for correcting motion in DCE-MR datasets is indeed unbiased regardless of the chosen initial reference. Figures 2(a) and (d) show the two initial reference images used. Next to the reference images are the final mean images computed using the NGF and SSDIC, respectively. Notice that the groupwise scheme converged to the same final average image when the same distance measure was used. For instance, the final mean images Fig. 2(b) and (e) are the same in spite of “evolving” from different initial references.

In Fig. 3, we show the rate of convergence of the groupwise scheme by plotting the average change in pixel values between successive iterates for the reference image against the iteration number. After around seven iterations, the average change in intensity values dropped from approximately 0.08 to 0.005, where the intensity values of the images in the dataset lie in the interval [0,1].

Table 2. Standard Deviation of the SI curves as means of quantifying the amount of remaining motion in the sequence of registered images.
Fig. 2.
figure 2

Unbiased groupwise registration. The computation of the final mean image is independent of the initial reference.

4.2 Simulated Motion

Simulated motion was added to a motionless dataset similar to [7]. Non-rigid diaphragm motion during respiration combined with rigid rotations at point x during time t was modelled by

$$\begin{aligned} \varDelta SI(x,t) = \varDelta SI_\text {max}\sin \left( \dfrac{\pi x}{x_\text {max}}\right) \left| \sin \left( \dfrac{\pi t}{t_b}\right) \right| . \end{aligned}$$

In the above equation, \(\varDelta SI_\text {max}\) is the maximum SI displacement, \(x_\text {max}\) is the maximum LR extent of the patient, and \(t_b\) is the duration of a full breath.

Signal Intensity Curves as Measures of Accuracy. We present statistics on the signal intensity (SI) versus time curves over small regions of interest (ROIs). The ROIs considered are regions with relatively large motion shifts that are also affected by the administration of the contrast agent. They are shown in Fig. 4. SI curves give us an idea of how well the registration corrects motion in the dataset. Without motion, these curves would be smooth. However, naturally occurring motion present in our dataset introduced changes unrelated to the uptake of the contrast agent.

Fig. 3.
figure 3

Convergence of the groupwise algorithm to a stable mean image.

Fig. 4.
figure 4

Regions of interest considered in the sequence of DCE-MR data with simulated motion. Green = ROI1; Red = ROI2 (Color figure online)

In Fig. 5, we display the SI curves after performing pairwise (PW) registration and groupwise (GW) registration for the NGF and SSDIC. All 4 methods were able to mitigate the effects of diaphragm motion and contrast change as demonstrated by smaller peaks in their SI curves compared to that from the simulated data. However, it is important to note the persistence of high fluctuations after using the SSDIC with either a pairwise or groupwise approach. This signifies misregistration in the specified region of interest. On the other hand, we obtained relatively smoother curves for the same ROIs after combining groupwise registration with NGF. See Figs. 5(b), (d).

Fig. 5.
figure 5

The signal intensity vs. time curves pre- and post-pairwise and groupwise registration for different ROIs.

We measured the mean-squared error for each curve to quantify how close our final registered images are to the ground truth. Out of all the methods we implemented, GW-NGF had the smallest mean-squared error. In some cases, it even resulted to a ten-fold improvement in the MSE compared with the other methods.

Fig. 6.
figure 6

The location x of the center of ROI1 was tracked in the sequence of both the motion-corrupted (pre-registration) and motion-corrected images. The TREs are the distances of these centers from their correct location in the motionless dataset.

The standard deviation was also calculated to quantify the amount of motion in the registered images. Again, the GW-NGF yielded the best results, implying that there were smaller fluctuations in the SI curves and less misregistrations in the ROIs considered. On the other hand, using the SSDIC with the groupwise scheme was either a hit or miss. Notice from the convergence of the method visualized in Fig. 3 that the final average change in pixel values fluctuated close to the initial average change in intensity values. This could suggest that the final reference image might be similar to the initial reference and that some of the motion correction made in the previous iterations were cancelled out.

Target Registration Errors as Measures of Accuracy. Target registration errors (TRE) are defined as the distances of pixels from their initial location in the motionless dataset pre- and post-registration. Let

  • \(\phi _i\) be the transformation that warps the initial reference image to the \(i^\text {th}\) motion-simulated image \(I_i\),

  • \(y_{\text {PW}_i}\) the transformation that aligns the \(i^\text {th}\) simulated image to the initial reference,

  • \(y_{\text {GW}_i}\) the transformation that aligns the \(i^\text {th}\) simulated image to the final reference, and

  • \(\psi \) the transformation aligning the final groupwise mean to the initial reference image.

Then the pairwise TREs before and after registration, respectively, are given by

$$\begin{aligned} |x - \phi _i(x)| \ \text {and} \ |x - \phi _i(y_{\text {PW}_i}(x))|. \end{aligned}$$

On the other hand, the groupwise TREs are given by

$$\begin{aligned} |x - \psi (\phi _i(x))| \ \text {and} \ |x - \psi (\phi _i(y_{\text {GW}_i}(x)))|. \end{aligned}$$

Shown in Fig. 6 are the TREs for both PW-NGF and GW-NGF. Observe that the TRE post-GW registration had a smaller average compared to the usual pairwise approach. These are consistent with the results we obtained by analyzing the average signal intensity values over the same ROI in the previous section.

5 Conclusions

In this paper, we presented a computationally efficient and unbiased groupwise registration approach for correcting motion in a sequence of dynamic contrast-enhanced images. We also demonstrated how different distance measures affect the performance of a multilevel elastic registration algorithm for registering contrast-enhanced images and found that both the NGF and SSDIC are able to account for contrast changes between the template and reference images. Finally, we conclude that the groupwise approach combined with the NGF yielded the smoothest SI curves and the smallest TREs, implying that this method eliminates motion more accurately than methods that simply register against an arbitrarily chosen image from the dataset.