Abstract

Diffeomorphic demons can guarantee smooth and reversible deformation and avoid unreasonable deformation. However, the number of iterations needs to be set manually, and this greatly influences the registration result. In order to solve this problem, we proposed adaptive diffeomorphic multiresolution demons in this paper. We used an optimized framework with nonrigid registration and diffeomorphism strategy, designed a similarity energy function based on grey value, and stopped iterations adaptively. This method was tested by synthetic image and same modality medical image. Large deformation was simulated by rotational distortion and extrusion transform, medical image registration with large deformation was performed, and quantitative analyses were conducted using the registration evaluation indexes, and the influence of different driving forces and parameters on the registration result was analyzed. The registration results of same modality medical images were compared with those obtained using active demons, additive demons, and diffeomorphic demons. Quantitative analyses showed that the proposed method’s normalized cross-correlation coefficient and structural similarity were the highest and mean square error was the lowest. Medical image registration with large deformation could be performed successfully; evaluation indexes remained stable with an increase in deformation strength. The proposed method is effective and robust, and it can be applied to nonrigid registration of same modality medical images with large deformation.

1. Introduction

Nonrigid registration has been applied to intersubjective registration to detect lesions and establish atlas. Comparisons of nonrigid registration algorithms have shown that those with demons based on optical flow field theory are superior [1].

The demons algorithm was initially only applicable to image registration with small deformation. Therefore, many studies have tried to improve it. In 2005, Wang et al. introduced the floating image gradient in the diffusion equation and proposed active demons [2, 3]. In 2006, Rogelj and Kovačič proposed symmetric demons algorithm and demonstrated that it is the most efficient [4]. In 2007, Vercauteren et al. applied an optimized framework with nonrigid registration to demons and proposed additive demons. In their method, nonrigid registration was equivalent to the optimization of similarity energy function, and iterations could be stopped adaptively [5]. In 2008, symmetric log-domain diffeomorphic demons algorithm was proposed, and log Euclidean was used in order to avoid time-consuming computations of log spatial transformations [6]. In 2009, diffeomorphic demons algorithm was proposed and it was shown that the final deformation is topologically invariant and that unreasonable deformations are not produced [7]. In 2010, Xu et al. introduced a regularization term and designed a new similarity energy function to ensure smooth and reversible deformations [8]. In 2012, Lei et al. proposed new active gradient and curvature demons (G&C) using the curvature to control the deformation [9].

In recent years, some studies have proposed nonrigid image registration methods with large deformation. Lombaert et al. introduced the direct feature matching technique to find global correspondences between images and the proposed spectral log-demons registration with large deformation [10, 11]. In 2015, Zhao and Jia used multilayer convolutional neural networks to determine scale and translation parameters and proposed the deep adaptive log-demons method for diffeomorphic image registration with very large deformations [12]. In 2015, Yan et al. performed image registration with large deformation by combining manifold learning and diffeomorphic demons [13].

In this paper, we proposed an adaptive diffeomorphic multiresolution demons algorithm and used an optimized framework with nonrigid registration and the diffeomorphic deformation strategy. First, a similarity energy function based on the grey value was designed as a registration metric, and a termination condition was set based on the variation of this metric. Iterations could be stopped adaptively, and medical image registration with large deformation was performed. This method was tested by synthetic image and same modality medical image with large deformation simulated by rotational distortion and extrusion. Mean square error, normalized cross-correlation, and structural similarity were used as evaluation indexes to verify the superiority of this method. Medical image registration with large deformation simulated by rotational distortion and extrusion was performed successfully. Quantitative analyses of the influences of different driving forces and parameters on the registration result showed that our method is effective and robust. This method can be applied to same modality medical image registration with large deformation.

2. Materials and Methods

2.1. Additive Demons

Nonrigid image registration is essentially a multiparameter optimization problem involving mapping a moving image to a reference image. It defines an appropriate objective function as the registration metric and then optimizes this metric. For reference image and moving image , the registration metric should be optimized to seek the best transform . , is the mapping of pixel of the moving image to pixel of the reference image. The definition of the registration metric is a crucial step in the nonrigid registration process. The mean square deviation based on the grey value as a registration metric can be calculated using

In (1), is the common region of and after registration and is the transform operator. Directly minimizing the registration metric using (1) will lead to an unstable solution, and therefore a regularization term needs to be added to restrict the geometric transform. The revised energy function is expressed using

In (2), is the local noise level and is the regularization parameter. Cachier et al. introduced the parameters (nonruled spatial transform) and (ruled spatial transform). Then, the new energy function is expressed using

In (3), and is the uncertainty degree between and . The displacement field is produced using the space geometric transform, and two vectors are added directly to form a new vector. Vercauteren et al. proposed additive demons, and the energy function comprised a similarity measure term, deformation error term, and regularization term. The final energy function is expressed as follows:

In (4), is the updated displacement field and . By minimizing the energy function and solving the displacement field, the final displacement field is expressed using

In (5), and .

2.2. Diffeomorphic Deformation Strategy

To ensure that the deformation is smooth, reversible, and topologically invariant, a diffeomorphic space was proposed. Diffeomorphic transform, which is based on the theory of Lie groups, is related to the exponential map of the velocity field ; that is, , and a practical and fast approximation method with a scaling-and-squaring strategy was described as shown in Algorithm 1.

Input: Velocity field .
Output: Diffeomorphic map
Choose such that is close to 0
e.g., such that pixels
Scale velocity field .
for times do
Square
end for

In the process of registration, deformation field formation is based on the superposition principle, and it is shown in Figure 1.

2.3. Algorithm Implementation

The diffeomorphic deformation strategy was used for optimizing the energy function designed by additive demons. The deformation should always be topologically invariant. Rough deformation greatly influences the registration result; if it is calculated unsuitably, it easily falls into a local optimum. Therefore, a multiresolution strategy was used, and rough deformation was calculated with a low resolution. Then, the energy function was minimized and the best registration result was obtained by avoiding the local optimum.

The number of iterations also greatly influences the registration result. If the number of iterations is insufficient, the best deformation field cannot be obtained. The time consumed will increase with the number of iterations. The mean square deviation based on the grey value was designed as a registration metric, and iterations could be stopped adaptively depending on the variation of the energy function. This can eliminate the influence of the number of iterations on the registration result. The convergence condition was defined by

When updating the displacement field, three different demons driving forces were proposed as follows: Thirion’s primitive driving force, ; Gauss-Newton-based advanced driving force, ; and symmetric driving force, .

Figure 2 shows the algorithm flow.

The steps for each registration layer can be described as follows.

Step 1. Initialize displacement field.

Step 2. Calculate demons driving force and update velocity field .

Step 3. Regulate deformation field using Gauss filter.

Step 4. Obtain exponential mapping of deformation field by diffeomorphic transform.

Step 5. Calculate similarity measurement function using (4).

Step 6. Judge convergence condition.

Step 7. Transform the moving image by the diffeomorphic deformation field.

Step 8. Interpolate the moved image by nearest neighbor interpolation algorithm.

2.4. Algorithm Evaluation

Mean square error, normalized cross-correlation, and structural similarity [14] were calculated as evaluation indexes. The mean square error can be defined by

The normalized cross-correlation coefficient was written bywhere is the reference image, is the registration result, and and are the average grey values of each pixel point in the reference image and registration result, respectively.

3. Results

The superiority of our method is verified through comparisons with active demons, additive demons, and diffeomorphic demons. The experimental parameters were set as follows: Gaussian filter parameter , where ; updating step of deformation field ; multiresolution layer number ; and convergence condition stop criterion = 0.005.

3.1. Synthetic Image Registration

The checkboard image as a synthetic image was processed to validate our method, and the result is shown in Figure 3. Figure 3(a) is the reference image, Figure 3(b) is the moving image, Figure 3(c) is the difference between reference and moving images, Figure 3(d) is the registration result, Figure 3(e) is the final deformation, and Figure 3(f) is the difference between reference and registration results. It can be seen that this method can realize nonrigid image registration and estimate deformation field effectively.

3.2. Same Modality Medical Image Registration

Medical image was selected from Simulated Brain Database provided by Montreal Neurological Institute, McGill University. The size of the medical image is , and T1-weighted MR images were selected as reference and moving images. The intensity scale of origin medical images and registration result was converted to . Figures 4(a) and 4(b) are reference and moving images, and Figure 4(c) is the initial difference between reference and moving images.

Medical image registration was completed by active demons, additive demons, diffeomorphic demons, and our method, and the result is shown in Figures 57. Figure 5 is the registration result by different methods, Figure 6 is the difference between registration result and reference images, and Figure 7 is the final deformation field. From Figures 57, it can be seen that our method can obtain the best registration result and topological invariant deformation field. The edge of deformation field is more reasonable than active demons and additive demons.

Table 1 shows the quantitative analysis of the evaluation indexes for MRI image registration. It is seen that the normalized cross-correlation coefficient and structural similarity are the highest and the mean square error is the lowest; therefore, our method is superior to active demons, additive demons, and diffeomorphic demons.

3.3. Medical Image Registration with Large Deformation

Large deformation was produced by two types of free transforms: rotational distortion and extrusion. The deformation field was determined by the transform strength.

Medical image registration with large deformation produced by rotational distortion was performed using our proposed method, as shown in Figure 8. Figure 8(a) shows moving images produced with rotational distortional strengths of 30%–90%, Figure 8(b) shows the corresponding registration result, and Figure 8(c) shows the corresponding final deformation field. Table 2 shows the quantitative analysis result; the normalized cross-correlation coefficient and structural similarity decreased and the mean square error and time consumed gradually increased with an increase in the deformation field strength.

Figure 9 shows the result for large deformation produced by extrusion. Figure 9(a) shows moving images produced for extrusion strengths of 10%–70%, Figure 9(b) shows the corresponding registration result, and Figure 9(c) shows the corresponding final deformation field. Table 3 shows the quantitative analysis result; the normalized cross-correlation coefficient, structural similarity, and mean square error basically remained stable and the time consumed gradually increased with an increase in the deformation field strength. Therefore, medical image registration with large deformation produced by both rotational distortion and extrusion can be performed efficiently.

3.4. Analysis of Different Driving Forces

Thirion, Gauss-Newton, and symmetric driving forces were used, and the displacement field was defined differently. Figure 10 shows the variation of the energy function ; the convergence is the fastest and the energy function of driving forces is the lowest with symmetric driving forces. Table 4 shows the quantitative analysis; the symmetric driving force shows the best performance.

3.5. Influence of Parameters on Registration Result

The Gaussian filter, deformation updating step length, resolution layer, and convergence condition were used as experimental parameters. The resolution layer can only influence the registration speed, and the convergence condition can influence the registration accuracy. Table 5 shows details about the deformation updating step length; the registration accuracy remained stable and the time consumed decreased with an increase in the step length from 0.8 to 2.0.

4. Conclusion

This study proposed adaptive diffeomorphic multiresolution demons for medical image registration with large deformation. An optimized framework with nonrigid registration and the diffeomorphism strategy was used, a similarity energy function based on grey value was designed, and termination conditions were set to stop iterations adaptively. This method was applied to synthetic image and same modality medical image registration, and mean square error, normalized cross-correlation, and structural similarity were used as evaluation indexes to verify its superiority. Medical images with large deformation were simulated by rotational distortion and extrusion transform, and quantitative analyses showed that they could be registered successfully and efficiently using our method. The influence of different driving forces shows that our method based on symmetric driving force is the most efficient, and the influence of parameters on the registration result shows that our method is robust. This method can solve same modality medical image registration problem with large deformation and can be applied clinically.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This research was supported by the Fundamental Research Funds for Key Scientific Research Project of Henan Higher Education Institutions under Grants 17A310005 and 14B416010, the Aid Project for the Leading Young Teachers in Henan Provincial Institutions of Higher Education of China under Grant 2014GGJS-096, and the Scientific and Technological Project of Henan Province under Grants 182102310528 and 182102310555.