International Journal of Biomedical Imaging

Volume 2009, Article ID 281615, 18 pages

http://dx.doi.org/10.1155/2009/281615

## Mjolnir: Extending HAMMER Using a Diffusion Transformation Model and Histogram Equalization for Deformable Image Registration

Department of Electrical and Computer Engineering, The Johns Hopkins University, Baltimore, MD 21218, USA

Received 2 October 2008; Revised 19 March 2009; Accepted 24 April 2009

Academic Editor: Sun Yoo

Copyright © 2009 Lotta M. Ellingsen and Jerry L. Prince. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Image registration is a crucial step in many medical image analysis procedures such as image fusion, surgical planning, segmentation and labeling, and shape comparison in population or longitudinal studies. A new approach to volumetric intersubject deformable image registration is presented. The method, called Mjolnir, is an extension of the highly successful method HAMMER. New image features in order to better localize points of correspondence between the two images are introduced as well as a novel approach to generate a dense displacement field based upon the weighted diffusion of automatically derived feature correspondences. An extensive validation of the algorithm was performed on T1-weighted SPGR MR brain images from the NIREP evaluation database. The results were compared with results generated by HAMMER and are shown to yield significant improvements in cortical alignment as well as reduced computation time.

#### 1. Introduction

Image registration is a crucial tool in medical image analysis. Applications such as characterizing anatomical variability, monitoring changes due to disease or aging, and surgical planning have created the continuing need for research and development in registration [1–4]. The goal of medical image registration is to spatially align images so that they can be compared visually or quantitatively. In order for this alignment to be accurate, one must both identify correct anatomical correspondences between subjects and generate appropriate coordinate transformations that best align these correspondences. These are the central issues in deformable image registration and are the main focus of this paper.

Deformable image registration has been approached in different ways (cf. [5–23]), and the algorithms can be divided into two main classes: intensity-based [5–9] and feature-based metheods [12, 17, 21–23]. Feature-based methods focus on aligning manually selected or automatically derived image landmarks. These methods are usually specialized for aligning same-modality images of a particular body part—for example, brain, breast, or heart. Automation is a key challenge since the algorithm must identify homologous landmarks or risk very large registration errors. Intensity-based methods, on the other hand, use dense subsets of image intensities to align images. The most popular and successful intensity-based methods to date use mutual information-based similarity criteria [9]. These algorithms are usually fast and fully automated and are very generic in that they are not limited to one particular body part or a single modality. However, the landmarks that are implied by these methods are not primarily based on anatomical homology, which can lead to erroneous deformations.

A few methods that combine these two approaches have been proposed [10, 24–26]. HAMMER [10] combines intensity-based and feature-based registration by introducing two key concepts: attribute vectors and driving voxels. Information about both the image intensity and derived image features are concatenated into an attribute vector, which is defined for every voxel in both the template image and the subject image. Comparison of attribute vectors is analogous to the matching of image intensities. HAMMER's driving voxels are hierarchically selected voxels that represent strong, reliable features that are to be aligned first. This process reduces the number of suboptimal correspondences in the beginning of the registration process. The blending of both intensity-based and feature-based strategies puts HAMMER at the forefront of deformable registration algorithms today and is the main reason why we chose to use a similar framework for our algorithm.

Despite its strengths, there are three components in HAMMER where significant improvements can be made. First, HAMMER computes its attribute vectors exclusively from a hard segmentation of the MR images. The hard segmentation is a strict classification of the image into three discrete classes, which correspond to the three main tissue types of the human brain, that is, the white matter (WM), gray matter (GM), and cerebrospinal fluid (CSF). Given HAMMER's attribute vectors and similarity criteria, this segmentation needs to be extremely consistent between subjects in order for the algorithm to be robust in identifying homologous anatomical landmarks. Second, because of HAMMER's exclusive use of a hard segmentation, it requires extra preprocessing of the images—a time consuming step—wherein the ventricles of the brain are segmented and used (essentially) as a fourth tissue class. Third, HAMMER's strategy to interpolate landmark correspondences in order to generate a dense displacement field is to apply nonoverlapping Gaussian kernels and use uniform smoothing throughout the entire image, that is, both on the highly convoluted brain cortex as well as in the more uniform structures of the subcortical white matter. This approach prevents the algorithm from capturing high-curvature and high-resolution details when registering the folding patterns—that is, sulci and gyri—of the brain cortex.

In this paper, we address these three limitations of HAMMER in a new algorithm that we call Mjolnir. (The name choice was motivated by our goal to create a “better HAMMER”; Mjolnir was the name of the hammer of the Norse god Thor, arguably one of the most powerful hammers ever “made”.) We provide new strategies that both improve registration accuracy and reduce computation time. The main technical contribution of the paper is a novel, fast interpolation of the displacement field defined from sparse landmarks during the registration process (Section 4). We use a diffusion transformation model, which does not smooth the displacement field uniformly throughout the image but takes into account derived information about the quality of landmark correspondences and weights the smoothing based on the anatomical features being aligned. Other contributions include the incorporation of fuzzy classification and histogram equalization into the algorithm. Mjolnir was extensively evaluated using the NIREP (Non-Rigid Image Registration Evaluation Project [27, 28]) evaluation database and its performance compared to the publicly available HAMMER software [29]. Significant improvements are evident in nearly all comparative measures that are computed and are most strikingly evident in the cortex of the brain, which is a very difficult structure to register across subjects because of its high variability in the general population. The Mjolnir software will be made publicly available on http://iacl.ece.jhu.edu/ upon publication of this paper.

#### 2. Overview of Major Concepts

In this section, we focus on the two major areas of improvement that Mjolnir claims over HAMMER: ( 1) improved preprocessing procedures and ( 2) a novel transformation model that interpolates sparse landmarks in order to generate a dense displacement field. To provide context for these improvements, we first briefly describe Mjolnir's major processing concepts, which are graphically illustrated using the flowchart in Figure 1. Elements of Mjolnir that are different from HAMMER are marked with ***** in the figure. For further details about those processing steps that are in common with HAMMER, the reader is referred to the main HAMMER publication [10].

##### 2.1. Attribute Vectors

Consider a voxel at position in either the subject or the template image. An *attribute vector* is defined as the concatenation of specific regional image features that are computed within a small spherical neighborhood centered at . There are three key parts of Mjolnir's attribute vector , which are together used to measure image similarity during the registration process. The first part is an integer that represents the *edge type* of the voxel based on a hard segmentation of the MR brain image into three classes, corresponding to the three main tissue types of the human brain: white matter (WM), gray matter (GM), and cerebrospinal fluid (CSF). The edge type takes one of seven values, one value for voxels that are not adjacent to an edge and six distinct values for voxels that are located on edges between WM, GM, and CSF.

The second part of Mjolnir's attribute vector is the intensity of a histogram-equalized version of the original MR image, normalized between zero and one over the image domain (see the rationale for histogram equalization in Section 3). A good registration will yield strong similarities in both edge type and normalized intensity when the images are aligned. The third part of Mjolnir's attribute vector is a vector of normalized *geometric moment invariants* (GMIs) [30]. Several GMIs, which yield measures of the “intensity shape” around each voxel, are computed based on segmented MR images at a small neighborhood around each voxel of each image.

##### 2.2. Driving Voxels

As in HAMMER, Mjolnir uses the concept of *driving voxels*. These are voxels with distinctive attribute vectors (in either image) that can be associated with similar points in the other image, creating temporary landmark pairs that “drive” the deformation of one image toward the other. Driving voxels are “active” points while all other voxels are “passive,” because the overall displacement field at any given iteration is determined entirely from the implied displacements of the driving voxels.

Driving voxels are automatically selected in a hierarchical fashion, starting with a small initial set of highly distinctive voxels in both the subject and template images. Voxels with attribute vectors that are similar—as measured by the similarity function defined in (1) below—to very few other places in the brain are deemed to be “highly distinctive.” The original HAMMER publication [10] demonstrated that voxels on sulcal fundi and gyral crowns are distinctive by this criterion. These *primary* driving voxels initialize the registration algorithm; in later iterations, the driving voxels in the template image are gradually augmented by adding an increasing number of (increasingly less) distinctive points in the neighborhood of each primary driving voxel. In each iteration, the subject image is deformed relative to the template image, and new driving voxels are identified in order to continue to bring the images into alignment. Various thresholds are changed throughout the registration process such that all voxels in the template image eventually become driving voxels. For computational savings, the driving voxels in the subject image are never augmented to include more than just the primary driving voxels.

##### 2.3. Correspondences

For each driving voxel in the subject and template images, a corresponding voxel in the other image is found, creating a (temporary) landmark pair. This is performed by searching in the opposite image for matching voxels. The quality of a match is based on voxel similarity, which is defined for two voxels and using their attribute vectors as follows:

where is the discrete delta function. The range of similarity is where unity means perfect similarity.

After searching and finding correspondences for all driving voxels, displacement vectors pointing from the template to the subject are formed for each driving voxel, forming a sparse displacement field in the domain of the template. This field must be interpolated and smoothed throughout the entire image domain in order to generate a dense displacement field (see Section 4), which yields a transformation that can be used to align the two images by warping their coordinate systems.

##### 2.4. Overall Control Strategy

Mjolnir is run on three resolutions from coarse to fine (see Figure 1). By careful control of the parameters of the process—for example, size of search windows and growth rate of the number of driving voxels, (see Table 1)—the images are brought into alignment. As in HAMMER, the overall process can be thought of as one that combines landmark alignment through selection of the driving voxels with intensity-based alignment through use of attribute vector similarity. In the following sections we describe the parts of Mjolnir that have been substantially improved over HAMMER.

#### 3. Preprocessing

Before running Mjolnir, a sequence of preprocessing steps must be applied to the raw MR images (see the top box in Figure 1). Mjolnir is specifically tuned for SPGR (SPoiled Gradient Recalled) T1-weighted MR images of the human brain with the following parameters: ms, ms, cm, flip degrees, slice mm, , , . Use of alternate contrasts may require the use of a different classification algorithm and some changes to the attribute vector, the similarity measure, and thresholds on similarity. Once these changes are made, the rest of Mjolnir should work without modification.

The preprocessing steps include skull-stripping, resampling, histogram equalization, and tissue classification (i.e., segmentation). Resampling yields cubic voxels, which reduces the directional dependency in subsequent processing. We do not discuss skull-stripping and resampling herein, as these are carried out in a conventional manner (cf. [31, 32]). However, our use of histogram equalization and the specific implementation and use of tissue classification is novel and important, so we briefly describe them below. Specific benefits resulting from these steps are shown in Section 5.

MR image intensities between subjects can be quite variable, even for the same pulse sequence and the same scanner. Differences may be caused by pulse sequence variations, intensity inhomogeneities, flow artifacts, scanner gain differences, and motion ghosting. This in turn can cause the hard segmentation of MR images to be very inconsistent between different scans. Inconsistencies between subjects are particularly evident on the brain cortex, as demonstrated in Figure 2. The highlighted sulci on these segmented images, which should be homologous and therefore registered to each other, are inconsistent in appearance; in particular, the CSF appears to be split in one subject but not the other. Because of this inconsistency, HAMMER's exclusive reliance on hard segmentations can cause registration errors. Mjolnir addresses this problem both by using histogram equalization and by incorporating the soft segmentations into the attribute vectors.

##### 3.1. Histogram Equalization

In Mjolnir, we use histogram equalization [33] of both images in order to create a more exact match between the intensities of the two images and to create sulcal features that are typically quite subtle in the original MR images. This procedure reduces differences and inconsistencies between different subject scans as well as increasing the intensity contrast between tissue classes, thereby improving their ability to define distinctive landmarks. In particular, we have noticed that histogram equalization yields hard segmentations that are more revealing of tissue class boundaries that are consistently defined across different subjects. This property is illustrated in Figure 3. In this example, regions of sulcal CSF are arbitrarily disconnected in the hard segmentation of the original image, whereas the CSF within sulci is largely connected when the histogram equalized image is used. This tends to increase the consistency of the CSF class between different subjects. A specific example on improved consistency between different subjects is shown in Figure 4.

##### 3.2. Geometric Moments

In both Mjolnir and HAMMER, skull-stripped and isotropically resampled images are classified into white matter (WM), gray matter (GM), and cerebrospinal fluid (CSF) using FANTASM [34, 35]. This algorithm compensates for intensity inhomogeneities while simultaneously generating three membership functions for WM, GM, and CSF (see Figures 5(a)–5(c)), representing a “fuzzy” or “soft” classification. A “hard” classification is created by assigning each voxel to the class having the highest membership value for that voxel. The segmentation result is used by both Mjolnir and HAMMER as the primary basis of their attribute vectors and therefore has a very significant influence on the accuracy of the final result. While HAMMER uses only the hard segmentation, Mjolnir uses the soft segmentation as well.

Mjolnir computes geometric moments on the membership functions rather than the hard classifications as in HAMMER. In addition, Mjolnir incorporates the histogram equalized MR intensity values into its attribute vector whereas HAMMER uses the hard segmentation values instead. It is our observation that these two changes tend to yield more distinctive features throughout the brain, which provides better alignment during registration. We believe that these changes are the main reason why Mjolnir provides excellent alignment of the ventricles (see Section 5) without using a separate ventricle segmentation process as is done in HAMMER.

#### 4. Displacement Field Interpolation

After preprocessing, driving voxels and their correspondences are found as previously described (see also flowchart in Figure 1). The resulting displacement vectors are generally sparse (except in the final iterations) and of varying reliability (as measured by their relative computed similarities (see (1). In order to compute a dense coordinate transformation, these data must be interpolated throughout the entire image, and the stronger matches should maintain more influence on the resulting dense displacement field.

HAMMER uses nonoverlapping Gaussian kernels applied to discrete subvolumes around each driving voxel in order to provide an initial dense displacement field. This field is then modified by both global and local affine transformations and then globally smoothed to remove discontinuities that are introduced on the boundary of each deformed subvolume. This process may oversmooth the displacement vectors corresponding to highly similar landmark voxels and may also leave evidence of the discontinuities at the edges of the supports of the Gaussian kernels.

Numerous interpolation methods have been proposed for interpolation of scattered data. Some have been used in deformable image registration [11]; however, literature is not so abundant when it comes to the interpolation of vector fields, which is required in our case. Rueckert et al. [5] used a free form deformation (FFD) model based on B-splines that deforms the image by manipulating an underlying mesh of uniformly spaced control points. A key advantage of B-splines is that they have local control such that changing a control point affects the transformation only in the local neighborhood of that point. This also makes B-splines computationally efficient; however, large numbers of control points are required in order to capture the fine details of cortical registration, and this greatly increases the computational complexity. Thin-plate splines have also been used to provide coordinate system transformations in registration [12]. Since these are not local models, computational complexity is prohibitive for all but relatively low-order (smooth) transformations. Kriging is another widely used technique for spatial interpolation from sparse data [36], and although local neighborhood kriging has been proposed, it remains computationally prohibitive for large numbers of observed points. Mjolnir's strategy starts with a relatively sparse interpolation problem, and for this phase the above approaches could be used. But as Mjolnir concludes its registration process, the numbers of observed displacements eventually equals the total number of voxels in the image volume, which is not computationally feasible for these existing interpolation and smoothing algorithms. We clearly need a computationally feasible interpolation strategy that will work for vector fields, provides a smoothed interpolation (not an exact fit), and works for both scattered and dense observations.

Mjolnir uses a novel diffusion model to interpolate the displacement field. It features all the properties mentioned above, in addition to providing for variable weights based on reliability. Consider the sparse displacement field computed by matching driving voxels. The first requirement for the dense displacement field is that it follows the displacement vectors of the sparse displacement field that were derived from the landmark pairs, since these displacement vectors represent correspondences that have been carefully evaluated. The second requirement is that the displacement field is smooth across the entire image. In order to satisfy these requirements, we define the dense displacement field to be the vector field that minimizes the following energy functional;

where is the gradient operator. The first term in the integrand of (2) encourages a smooth displacement field while the second term encourages the resultant field to agree with the established landmark displacement vectors. We now describe the selection of the two weights, and .

The computed displacement field should agree with the landmark displacement vectors when they are accurate. Accordingly, is defined as

where is the similarity function defined in (1). With this definition, landmarks that are very similar—that is, —are given more weight than nonlandmarks and landmarks with lower similarity. Those that are located on edges are given twice the weight since it is highly desirable to align edges.

The spatially constant weight in (2) controls the tradeoff between smoothness and data fidelity. It is set to be large in the beginning of the registration process when is sparse and then to become smaller in later iterations. In this way, the spatial influence of each landmark is large in the beginning and becomes smaller as the density of driving voxels increases. The effects of the regularization parameter are demonstrated in 2D in Figure 6.

This approach to displacement vector interpolation provides a more principled interpolation than the approach of HAMMER. The displacement field will be smooth wherever there are few strong features, such as white matter regions, yet will enable intricate displacement fields where there are many strong features, such as the gray matter cortex. Both qualitative and quantitative benefits of using this displacement field interpolation over that used in HAMMER are demonstrated in Section 5.1.

The Euler-Lagrange equation corresponding to (2) is given by We solve this equation using a fast and efficient multigrid approach [37] as described in [38] (which solves this same equation for the computation of gradient vector flow (cf. [39, 40]). This equation can also be solved by gradient descent, leading to the gradient flow whose equilibrium state is the desired solution.

The iterative process shown in the bold box of Figure 1 is deemed to be complete when either the maximum difference between the current computed dense displacement field and that of the previous iteration differs in length by less than one voxel or when a preset *maximum number of iterations* has been achieved. Upon completion of this iterative process at low resolution, the iterative process is repeated at medium and then high resolutions, upsampling and deforming the subject data between each resolution. Mjolnir finishes by deforming the subject image using the dense field computed upon convergence of the iterative process at the highest resolution (see Figure 1).

#### 5. Results and Discussion

In the past, evaluating the performance of deformable registration algorithms has been accomplished through use of simulated deformation fields, demonstration of average images in atlas space, and comparison with small numbers of manually selected landmarks [41–45]. With the advent of the Non-Rigid Image Registration Evaluation Project (NIREP) [27, 28], it is now possible to additionally evaluate the performance of a deformable registration algorithm through its ability to transfer labels between images. The NIREP Na0 database comprises 16 richly annotated 3D T1-weighted SPGR MR brain images corresponding to eight males and eight females, all normal adults. The 16 datasets have been manually segmented into 32 gray matter regions of interest, including the frontal, parietal, temporal, and occipital lobes, the cingulate gyrus and insula [28].

In particular, both Mjolnir and HAMMER were used to register 15 of the NIREP subjects to a randomly selected “template image”, and the deformed labels were then compared to the corresponding labels of the chosen template. The same image was used as a template in all our experiments. The average Dice coefficient for each template label and for each algorithm was then computed, where Dice coefficient is defined as [46] where and are two labeled regions, and is the number of voxels in . This measure gives a quantitative evaluation of the algorithm's performance in aligning anatomical structures. In our analysis of the overlap measure we used the paired -test [47] to determine if the difference in average Dice coefficient between Mjolnir and HAMMER was statistically significant. We did the hypothesis testing on each region's difference of the mean in the following way. The average Dice coefficient for each of the 32 cortical regions for both algorithms was computed, yielding 32 pairs of data , , where is the average Dice coefficient for Mjolnir, and is the average Dice coefficient for HAMMER. Since each of the cortical regions are inherently different, we cannot treat and as being independent samples. The hypothesis testing was therefore applied on each region's difference of the means. We constructed , and tested the hypothesis of no improvements in registration accuracy by testing versus , where is our null hypothesis. If the -value for the null hypothesis is less than .05, our hypothesis that there is no difference in average Dice coefficient between Mjolnir and HAMMER is rejected; hence, we can conclude that the difference in Dice coefficient is statistically significant.

In the following experiments we compared the performance of Mjolnir with the publicly available HAMMER program [29]: HAMMER Version1.0 @ SBIA. Our aim was to demonstrate the benefits of our extensions to the HAMMER algorithm and their effects on registration accuracy, and the experiments were designed with that in mind. All the experiments were performed by us using the default parameter values of HAMMER, and we chose the same parameter values for Mjolnir (see Table 1). The performance of the two algorithms was tested on the NIREP evaluation database http://www.nirep.org/, which, at the time of testing, was “unseen” data to both of the algorithms to prevent any bias of favoring one algorithm over the other; that is Mjolnir was not specifically “tuned” for this dataset in any way prior to carrying out the analyses presented below.

##### 5.1. Specific Benefits of Mjolnir

The efficacy of the three major differences between Mjolnir and HAMMER was evaluated using the NIREP data.

###### 5.1.1. Histogram Equalization

We ran Mjolnir with and without histogram equalization first to measure directly the benefits of including histogram equalization in the preprocessing routine. All other parameters were kept the same. We registered 15 MR brain images to a 16th randomly selected template image. The average Dice coefficient was computed to measure the overlap between corresponding regions of all subjects after registration. Results are shown in Figure 7.

The registration accuracy was improved in 25 out of the 32 labeled regions of the brain when using histogram equalization first, as shown in Figure 7. The top row of the bar chart shows the mean value over all regions. The mean value was 0.6584 with standard deviation (SD) of 0.0614 when Mjolnir was run without the histogram equalization first and 0.6804 with SD of 0.0617 when histogram equalization was included in the preprocessing routine. Statistical analysis of these results using the paired -test indicate that this difference is statistically significant ().

###### 5.1.2. Soft Segmentation versus Hard Segmentation

We modified Mjolnir to use only a hard segmentation in its attribute vector (as in HAMMER) so that a measure of the benefit of using a soft segmentation and histogram equalized MR intensities could be evaluated directly. Histogram equalization was used in the preprocessing steps to make sure that the edge type element in the attribute vector was the same in both versions of Mjolnir used in this experiment. All other parameters were kept the same. We registered 15 MR brain images to a 16th randomly selected template image. The average Dice coefficient was computed to measure the overlap between corresponding regions of all subjects after registration. Results are shown in Figure 8.

Figure 8 reveals that registration accuracy is improved in all regions of the brain. The top row of the bar chart shows the mean value over all regions. The mean value was 0.6615 with SD of 0.0593 when using HAMMER's attribute vector and 0.6804 with SD of 0.0617 when using Mjolnir's attribute vector. Statistical analysis of these results using the paired -test indicate that significant improvements in registration accuracy of all cortical regions were seen when using Mjolnir's full attribute vector ().

###### 5.1.3. Displacement Field Interpolation

To demonstrate the benefits of Mjolnir's displacement field interpolation, we modified Mjolnir to use HAMMER's attribute vector in the following way: ( 1) we used the hard segmentation instead of the histogram equalized MR intensity for the intensity element , and ( 2) we computed the GMI's in based on the hard segmentation instead of the soft segmentation. Therefore, the dominant difference between this modified version of Mjolnir and HAMMER was the displacement field interpolation strategy, although the two algorithms differed in their preprocessing steps as well. As in the previous experiment, we registered 15 subjects to a 16th template image; results are shown in Figure 9.

It is observed from Figure 9 that Mjolnir's interpolation strategy yields better alignment in 23 out of 32 structures. The average Dice coefficient over all regions (top row) is larger in Mjolnir, measuring 0.6416 with SD of 0.0789 when using HAMMER's interpolation approach and 0.6615 with SD of 0.0325 when using Mjolnir's approach. The results of a statistical analysis using a paired -test demonstrate a significant improvement of Mjolnir's interpolation strategy over that of HAMMER ().

##### 5.2. Algorithm Comparison

###### 5.2.1. Dice Coefficients on Labeled Regions

We evaluated the two registration algorithms using the NIREP database by choosing one brain randomly as a template, registering the 15 remaining brains to this template and computing the average Dice coefficient, region-by-region and overall. The results are shown in Figure 10. It is observed that Mjolnir gives a better alignment in 28 out of 32 of the labeled cortical structures than does HAMMER and gives a higher average Dice coefficient across all regions of the brain (top row in Figure 10), measuring 0.6804 with an SD of 0.0617 while HAMMER's average Dice coefficient was 0.6416 with an SD of 0.0789. In a statistical analysis using a paired -test this result is shown to be statistically significant with a -value of .

In order to determine whether the choice of template might bias the result, we repeated the above experiment using a different randomly selected template image. Mjolnir gave again a better alignment in 29 out of 32 labeled cortical structures. It also gave a significantly higher average Dice coefficient than HAMMER (), measuring 0.6507 with an SD of 0.0759 for HAMMER and 0.6866 with an SD of 0.0632 for Mjolnir.

Finally, in order to eliminate any bias from registering all subjects to a single template image we randomly selected 16 image pairs (with one randomly selected as the template). The average Dice coefficients for the 16 pairwise registrations were computed and are shown in Figure 11. It is observed that Mjolnir gives a better alignment in 24 out of 32 of the labeled cortical structures than does HAMMER and also gives a higher average Dice coefficient across all regions of the brain, measuring 0.6680 with an SD of 0.0604 while HAMMER's average Dice coefficient was 0.6394 with an SD of 0.0748. In a statistical analysis using a paired -test this result is shown to be statistically significant with a -value of .

###### 5.2.2. Average Images

A common method used to measure image registration performance is to register multiple subjects to one template image and then compute the average of the registered images [6, 10, 27, 41] as follows:

Here, is the th image in the population, and is the displacement field from subject to the template. The best registration approach yields the least noisy and “sharpest” appearing average image, which can be quantitatively assessed by computing the variance of the registered image intensities [27] as follows:

Small variances throughout the field of view indicates a good registration of all subjects to the template; the average variance across all pixels provides a single figure of merit for algorithm comparison.

As in previous experiments, we registered 15 subjects to a randomly selected template, using all images in the NIREP Na0 database. Average and variance images were computed for both Mjolnir and HAMMER. Figure 12 shows a cross-sectional view of the two average images together with the template image. It can be observed that the average image generated by Mjolnir is sharper than that of HAMMER, particularly within the cortex. The average image variance over all voxels within the template's brain was 52.3 for HAMMER and 34.5 for Mjolnir (where the intensity range of the images was ().

###### 5.2.3. Cortical Gray Matter Alignment

Even when the images are correctly aligned, some variations in intensities between subjects can be expected simply due to both the lack of MR image intensity calibration and the natural variations in the MR properties of human tissues. In this experiment, we explore whether gray matter is well aligned by the two registration algorithms, despite possible underlying intensity variations. In order to visualize this effect, gray matter masks were generated from the labeled “subject” images in the NIREP Na0 database as follows:

for (the “subject” images). After registration of each subject to the template, the sum of the deformed masks was formed as follows:

Figure 13 shows the sum of deformed mask points for both algorithms in the first two columns and the original template gray matter mask on the right for comparison. Visually, it is clear that Mjolnir yields fewer gross errors—that is, outliers—than does HAMMER. Figure 14 shows an example of the (labeled) gray matter mapping results from both HAMMER and Mjolnir, both in comparison to the true template labels. This example demonstrates a rather large alignment error in the HAMMER result, while the Mjolnir result is overall more accurate. While Mjolnir is not perfect, the more compact GM mask alignment revealed in Figure 13 together with the improvements in average Dice coefficient shows that these types of gross errors are less common in Mjolnir than in HAMMER. Some evidences of tissue shearing are visible in the results of Mjolnir shown in Figure 14. The fact is that dramatic deformations must sometimes take place in order to best align homologous brain structures. This is particularly true when aligning different brains. Most of Mjolnir's deformation fields are fairly smooth; however, when a dramatic change is required in order to align important landmarks, it has the flexibility to do so. Figure 14 is an example of such a case.

To further investigate the nature of outliers, we examined the alignment of specific sulci using the two methods. We used CRUISE [35] to extract central cortical surfaces from T1-weighted SPGR volumetric MR data set obtained from the Baltimore Longitudinal Study of Aging (BLSA) [1]. Sulcal regions—for example, cortex surrounding major sulci—were then segmented using the method of Rettmann et al. [48] and manually labeled on all 19 brain images. We then registered a total of 18 subjects to a randomly selected 19th template image using Mjolnir and HAMMER, and the extracted sulcal regions were then deformed using displacement fields derived from the registration processes. Figure 15 shows the 18 superimposed sulcal regions for the left parieto-occipital and the left superior frontal sulcus (two different views). The sulcal alignment in Mjolnir is more compact, while HAMMER produces a more spread alignment with larger registration errors, which is consistent with previous results from the NIREP data.

###### 5.2.4. Runtime

The two programs, Mjolnir and HAMMER (Version1.0 @ SBIA with default parameter values), were run on the same machine (Pentium Xeon 3.0 GHz, 4 GB RAM), on the same dataset (image size voxels), and included all required preprocessing steps. HAMMER finished in 3 hours and 22 minutes while Mjolnir finished in 2 hours and 50 minutes, a 15% decrease in runtime.

#### 6. Conclusion

Mjolnir, a new deformable registration algorithm introduced in this paper, has several significant benefits over HAMMER, the algorithm upon which Mjolnir was based. Among these are improvements to image preprocessing, more descriptive attribute vectors, improved vector field interpolation, and reduced computation time. Mjolnir was extensively validated both qualitatively and quantitatively using the NIREP Na0 evaluation database, and its performance was compared with the publicly available HAMMER. Results showed significant improvements in terms of overlap measure using the Dice coefficient of 32 registered gray matter structures of the brain cortex. As well, the intensity variance of 15 coregistered images was lower for Mjolnir as compared to HAMMER. By several additional measures, Mjolnir has fewer registration outliers than does HAMMER. Finally, Mjolnir showed a 15% decrease in runtime.

Most of Mjolnir's improvements were observed in the brain cortex, which has high variability in the general population (as compared to subcortical structures) and is critically important in the study of populations for analysis of regional shape, thickness, and volume changes due to aging and disease [1, 49, 50]. It is therefore hoped that Mjolnir might enable more compact geometric clustering of observed differences and/or to have a larger effect size, permitting smaller studies to observe statistically significant results.

#### Acknowledgments

This work was supported by the NIH/NINDS R01NS037747. The authors would like to thank Mr. Aaron Carass, Dr. Pierre-Louis Bazin, Dr. Dzung Pham, and Dr. Xiao Han for their discussions and assistance. Thanks to Dr. Susan Resnick for providing the BLSA data. BLSA (contract number N01-AG-3-2124) is supported by the Intramural Research Program, National Institute on Aging, NIH.

#### References

- S. M. Resnick, A. F. Goldszal, C. Davatzikos et al., “One-year age changes in MRI brain volumes in older adults,”
*Cerebral Cortex*, vol. 10, no. 5, pp. 464–472, 2000. View at Google Scholar - B. K. Puri, N. Saeed, A. J. Richardson, A. Oatridge, J. V. Hajnal, and G. M. Bydder, “Schizophrenia syndromes associated with changes in ventricle-to-brain ratios: a serial high-resolution three-dimensional magnetic resonance imaging study in first-episode schizophrenia patients using sobvoxel registration and semiautomated quantification,”
*International Journal of Clinical Practice*, vol. 59, no. 4, pp. 399–402, 2005. View at Publisher · View at Google Scholar - K. Im, J.-M. Lee, J. Lee et al., “Gender difference analysis of cortical thickness in healthy young adults with surface-based methods,”
*NeuroImage*, vol. 31, no. 1, pp. 31–38, 2006. View at Publisher · View at Google Scholar - I. N. McRitchie, P. M. Hart, and R. J. Winder, “Image registration and subtraction for the visualization of change in diabetic retinopathy screening,”
*Computerized Medical Imaging and Graphics*, vol. 30, no. 3, pp. 139–145, 2006. View at Publisher · View at Google Scholar - D. Rueckert, L. I. Sonoda, C. Hayes, D. L. G. Hill, M. O. Leach, and D. J. Hawkes, “Nonrigid registration using free-form deformations: application to breast MR images,”
*IEEE Transactions on Medical Imaging*, vol. 18, no. 8, pp. 712–721, 1999. View at Google Scholar - G. K. Rohde, A. Aldroubi, and B. M. Dawant, “The adaptive bases algorithm for intensity-based nonrigid image registration,”
*IEEE Transactions on Medical Imaging*, vol. 22, no. 11, pp. 1470–1479, 2003. View at Publisher · View at Google Scholar - E. D'Agostino, F. Maes, D. Vandermeulen, and P. Suetens, “A viscous fluid model for multimodal nonrigid image registration using mutual information,”
*Medical Image Analysis*, vol. 7, no. 4, pp. 565–575, 2003. View at Publisher · View at Google Scholar - A. D. Leow, I. Yanovsky, M.-C. Chiang et al., “Statistical properties of Jacobian maps and the realization of unbiased large-deformation nonlinear image
registration,”
*IEEE Transactions on Medical Imaging*, vol. 26, no. 6, pp. 822–832, 2007. View at Publisher · View at Google Scholar - W. M. Wells III, P. Viola, H. Atsumi, S. Nakajima, and R. Kikinis, “Multimodal volume registration by maximization of mutual information,”
*Medical Image Analysis*, vol. 1, no. 1, pp. 35–51, 1996. View at Google Scholar - D. Shen and C. Davatzikos, “HAMMER: hierarchical attribute matching mechanism for elastic registration,”
*IEEE Transactions on Medical Imaging*, vol. 21, no. 11, pp. 1421–1439, 2002. View at Publisher · View at Google Scholar - B. Zitova and J. Flusser, “Image registration methods: a survey,”
*Image and Vision Computing*, vol. 21, no. 11, pp. 977–1000, 2003. View at Publisher · View at Google Scholar - F. L. Bookstein, “Principal warps: thin-plate splines and the decomposition of deformations,”
*IEEE Transactions on Pattern Analysis and Machine Intelligence*, vol. 11, no. 6, pp. 567–585, 1989. View at Google Scholar - J. B. Maintz and M. A. Viergever, “A survey of medical image registration,”
*Medical Image Analysis*, vol. 2, no. 1, pp. 1–36, 1998. View at Google Scholar - J. P. Thirion, “Image matching as a diffusion process: an analogy with Maxwell's demons,”
*Medical Image Analysis*, vol. 2, no. 3, pp. 243–260, 1998. View at Google Scholar - G. E. Christensen and J. He, “Consistent nonlinear elastic image registration,” in
*Proceedings of IEEE Mathematical Methods in Biomedical Image Analysis (MMBIA '01)*, pp. 37–43, Kauai, Hawaii, USA, December 2001. - D. Shen, “Image registration by local histogram matching,”
*Pattern Recognition*, vol. 40, no. 4, pp. 1161–1172, 2007. View at Publisher · View at Google Scholar - H. Chuia, L. Winb, R. Schultzb, J. S. Duncan, and A. Rangarajan, “A unified nonrigid feature registration method for brain mapping,”
*Medical Image Analysis*, vol. 7, no. 2, pp. 113–130, 2003. View at Publisher · View at Google Scholar - G. Wu, F. Qi, and D. Shen, “Learning-based deformable registration of MR brain images,”
*IEEE Transactions on Medical Imaging*, vol. 25, no. 9, pp. 1145–1157, 2006. View at Publisher · View at Google Scholar - B. Glocker, N. Komodakis, N. Paragios, G. Tziritas, and N. Navab, “Inter and intramodal deformable registration: continuous deformations meet efficient optimal linear programming,” in
*Proceedings of the Information Processing in Medical Imaging (IPMI '07)*, Kerkrade, The Netherlands, July 2007. - J. Ashburner, “A fast diffeomorphic image registration algorithm,”
*NeuroImage*, vol. 38, no. 1, pp. 95–113, 2007. View at Publisher · View at Google Scholar - K. Rohr, H. S. Stiehl, R. Sprengel, T. M. Buzug, J. Weese, and M. H. Kuhn, “Landmark-based elastic registration using approximating thin-plate splines,”
*IEEE Transactions on Medical Imaging*, vol. 20, no. 6, pp. 526–534, 2001. View at Publisher · View at Google Scholar - C. A. Pelizzari, G. T. Chen, D. R. Spelbring, R. R. Weichselbaum, and C. T. Chen, “Accurate three dimensional registration of ct, pet, and/or mr images of the brain,”
*Journal of Computer Assisted Tomography*, vol. 13, no. 1, pp. 20–26, 1989. View at Google Scholar - P. J. Besl and H. D. McKay, “A method for registration of 3-D shapes,”
*IEEE Transactions on Pattern Analysis and Machine Intelligence*, vol. 14, no. 2, pp. 239–256, 1992. View at Publisher · View at Google Scholar - P. Cachier, J. F. Mangin, X. Pennec et al., “Multisubject non-rigid registration of brain MRI using intensity and geometric features,” in
*Proceedings of the 4th International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI '01)*, pp. 734–742, Utrecht, The Netherlands, October 2001. View at Publisher · View at Google Scholar - P. Hellier and C. Barillot, “Coupling dense and landmark-based approaches for nonrigid registration,”
*IEEE Transactions on Medical Imaging*, vol. 22, no. 2, pp. 217–227, 2003. View at Publisher · View at Google Scholar - X. Papademetris, A. P. Jackowski, R. T. Schultz, L. H. Staib, and J. S. Duncan, “Integrated intensity and point-feature nonrigid registration,” in
*Proceedings of the 7th International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI '04)*, pp. 763–770, Saint-Malo, France, September 2004. - G. E. Christensen, X. Geng, J. G. Kuhl et al., “Introduction to the nonrigid image registration evaluation project (NIREP),” in
*Proceedings of the 3rd International Workshop on Biomedical Image Registration (WBIR '06)*, vol. 4057 of*Lecture Notes in Computer Science*, pp. 128–135, Utrecht, The Netherlands, July 2006. View at Publisher · View at Google Scholar - G. E. Christensen, “NIREP,” 2006, http://www.nirep.org/.
- D. Shen and C. Davatzikos, “HAMMER,” 2005, http://www.rad.upenn.edu/sbia/rsoftware.html.
- C. H. Lo and H. S. Don, “3-D moment forms: their construction and application to object identification and positioning,”
*IEEE Transactions on Pattern Analysis and Machine Intelligence*, vol. 11, no. 10, pp. 1053–1064, 1989. View at Publisher · View at Google Scholar - A. F. Goldszal, C. Davatzikos, D. L. Pham, M. X. H. Yan, R. N. Bryan, and S. M. Resnick, “An image processing system for qualitative and quantitative volumetric analysis of brain images,”
*Journal of Computer Assisted Tomography*, vol. 22, no. 5, pp. 827–837, 1998. View at Publisher · View at Google Scholar - R. Keys, “Cubic convolution interpolation for digital image processing,”
*IEEE Transactions on Acoustics, Speech, and Signal Processing*, vol. 29, no. 6, pp. 1153–1160, 1981. View at Google Scholar - R. C. Gonzalez and R. E. Woods, Eds.,
*Digital Image Processing*, Prentice Hall, Upper Saddle River, NJ, USA, 2nd edition, 2002. - D. L. Pham, “Robust fuzzy segmentation of magnetic resonance images,” in
*Proceedings of the 14th IEEE Symposium on Computer-Based Medical Systems (CBMS '01)*, pp. 127–131, Bethesda, Md, USA, July 2001. - X. Han, D. L. Pham, D. Tosun, M. E. Rettmann, C. Xu, and J. L. Prince, “CRUISE: cortical reconstruction using implicit surface evolution,”
*NeuroImage*, vol. 23, no. 3, pp. 997–1012, 2004. View at Publisher · View at Google Scholar - J. Ruiz-Alzola, E. Suarez, C. Alberola-Lopez, S. Warfield, and C. Westin, “Geostatistical medical image registration,” in
*Proceedings of the 6th International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI '03)*, pp. 894–901, Montreal, Canada, November 2003. - W. L. Briggs, V. E. Henson, and S. F. McCormick,
*A Multigrid Tutorial*, SIAM, Philadelphia, Pa, USA, 2nd edition, 2000. - X. Han, C. Xu, and J. L. Prince, “Fast numerical scheme for gradient vector flow computation using a multigrid method,”
*IET Image Processing*, vol. 1, no. 1, pp. 48–55, 2007. View at Publisher · View at Google Scholar - C. Xu and J. L. Prince, “Snakes, shapes, and gradient vector flow,”
*IEEE Transactions on Image Processing*, vol. 7, no. 3, pp. 359–369, 1998. View at Google Scholar - C. Xu and J. L. Prince, “Generalized gradient vector flow external forces for active contours,”
*Signal Processing*, vol. 71, no. 2, pp. 131–139, 1998. View at Google Scholar - P. Hellier, C. Barillot, I. Corouge et al., “Retrospective evaluation of intersubject brain registration,”
*IEEE Transactions on Medical Imaging*, vol. 22, no. 9, pp. 1120–1130, 2003. View at Publisher · View at Google Scholar - W. R. Crum, D. Rueckert, M. Jenkinson, D. Kennedy, and S. M. Smith, “A framework for detailed objective comparison of nonrigid registration algorithms in neuroimaging,” in
*Proceedings of the 7th International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI '04)*, pp. 679–686, Saint-Malo, France, September 2004. - P. Rogelj, S. Kovacic, and J. C. Gee, “Validation of a nonrigid registration algorithm for multimodal data,” in
*Medical Imaging 2002: Image Processing*, vol. 4684 of*Proceedings of SPIE*, pp. 299–307, San Diego, Calif, USA, February 2002. View at Publisher · View at Google Scholar - J. A. Schnabel, C. Tanner, A. D. Castellano-Smith et al., “Validation of nonrigid image registration using finite-element methods: application to breast MR images,”
*IEEE Transactions on Medical Imaging*, vol. 22, no. 2, pp. 238–247, 2003. View at Publisher · View at Google Scholar - T. S. Yoo, M. J. Ackerman, and M. Vannier, “Toward a common validation methodology for segmentation and registration algorithms,” in
*Proceedings of the 7th International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI '04)*, pp. 422–431, Saint-Malo, France, September 2004. - L. R. Dice, “Measures of the amount of ecologic association between species,”
*Ecology*, vol. 26, pp. 297–302, 1945. View at Publisher · View at Google Scholar - L. E. Daly, G. J. Bourke, and J. McGilvray,
*Interpretation and Use of Medical Statistics*, Blackwell Science, Oxford, UK, 1991. - M. E. Rettmann, X. Han, C. Xu, and J. L. Prince, “Automated sulcal segmentation using watersheds on the cortical surface,”
*NeuroImage*, vol. 15, no. 2, pp. 329–344, 2002. View at Publisher · View at Google Scholar - P. M. Thompson and L. G. Apostolova, “Computational anatomical methods as applied to ageing and dementia,”
*The British Journal of Radiology*, vol. 80, no. 2, pp. S78–S91, 2007. View at Publisher · View at Google Scholar - D. Tosun, S. Duchesne, Y. Rolland, A. W. Toga, M. Vérin, and C. Barillot, “3-D analysis of cortical morphometry in differential diagnosis of parkinson's plus syndromes: mapping frontal lobe cortical atrophy in progressive supranuclear palsy patients,” in
*Proceedings of the 10th International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI '07)*, pp. 891–899, Brisbane, Australia, November 2007.