You are viewing a javascript disabled version of the site. Please enable Javascript for this site to function properly.
Go to headerGo to navigationGo to searchGo to contentsGo to footer
In content section. Select this link to jump to navigation

The improved differential demon algorithm

Abstract

BACKGROUND:

Differential demon is a fast and efficient registration algorithm. It drives the floating image to deform using the force based on the gradient between the reference and floating image. But it will cause abnormal deformation when the driving force approaches zero,which limits its practical applications.

OBJECTIVE:

This paper proposed an improved differential demon algorithm, which aimed to enhance the registration performance of the existing demon algorithm.

METHODS:

Firstly, we review the original differential demon algorithm. Then, we propose an improved differential demon algorithm and the process of mathematical deduction. Finally, we use experiment to prove that the improved differential demon algorithm is effective and it can improve the accuracy of registration.

RESULTS:

We tested our method on data sets provided by Xuanwu Hospital Capital Medical University. The registration performance proved to be better than the original demon algorithm in terms of mutual information, normalized correlation coefficient, mean square error and iteration number.

CONCLUSIONS:

Experiment results demonstrate the superiority of method proposed in this paper to the original demon algorithm.

1.Introduction

Medical image registration has become one of the most popular topics in the field of medical image analysis. All anatomical points, or at least the points of diagnostic significance and surgical interest of two images can be successfully matched [1].

In the past decade years, various studies of medical imaging registration had been conducted. The previous work on medical image registration can be divided into two categories: one is based on feature points and the other is based on physical model. The former method needs to build the transformation model based on the corresponding feature points extracted on both reference and floating images. Then this model is used to drive the floating image transform toward reference image [2, 3, 4, 5]. However, it’s really hard to extract corresponding feature points accurately, so the registration is not always correct. Normally, algorithm based on physical model needs to build a similarity criteria of statistics between the reference image and the floating image, and then complete the registration with one kind of physical model [6, 7, 8]. Thirion proposed the demon algorithm in 1998 [9]. Demon algorithm is a non-parametric, non-rigid registration method with high accuracy and fast convergence. However, it may cause unreasonable physical deformation or registration error when it deals with larger deformation [10]. In order to solve the problem, Vercauteren et al. proposed the differential demon algorithm [11] and Fritscher et al. used the “anatomically correct” [13] displacements vector fields to replace the tradition displacement field in demon [12].

2.The improved differential demon algorithm

Differential demon algorithm is proposed by Vercauteren et al. [11]. It takes each pixel of the floating image as a genie, and then these genies will drive the floating image to deform to the reference image. Under the assumption that the gray value of the image pixels is constant during the process of the transformation, the driving force comes from the theory of optical flow equation, namely:

(1)
F(x,y,t)=F(x+Δx,y+Δy,t+Δt)

p is the pixel of the floating image and M is the gray value of p. F is the gray value of the p in reference image. From Eq. (1), we can get Eq. (2)

(2)
f=(M(p)-F(p))(F(p)+M(p))(F(p)+M(p))2+σi2σx2I

In the Eq. (2),

f=(dxdt,dydt),F(p)=(Fx,Fy)T

and

M(p)=(Mx,My)T,

σi represents the noise at p and σx represents the uncertainty between the two geometric transformation. When F(p)+M(p) is zero, the registration will be erroneous. Therefore, an differential demon algorithm to combine the normalized correlation coefficient is improved in this paper.

In this paper, energy function is proposed as Eq. (3):

(3)
Et𝑐𝑜𝑟𝑟(u)=F-Mtexp(u)2+σi2σx2𝑑𝑖𝑠𝑡(t,texp(u))2+γ2(1-ρF,Mtexp(u)))

F stands for the reference image, M stands for the floating image, t is the prior deformation field. u is the current deformation field, 𝑑𝑖𝑠𝑡(t,texp(u))2 means the two adjacent displacement difference , γ is the regular factor, ρF,Mtexp(u)) represents the normalized correlation between the image F and the image Mtexp(u). Equation (3) is the differential transformation in the updated displacement field, which can maintain the invariance of topology during the deformation. We can get Eqs (4) and (5) by Taylor expansion:

(4)
f1tp(u)=F(p)-Mtexp(u)(p)f1tp(0)+J1pu(p)=F(p)-Mt(p)+J1pu(p)
(5)
f2tp(u)=γ(1-ρF(p),Mtexp(u)(p)))f2tp(0)+J2pu(p)=γ(1-ρF(p),Mt(p))+J2pu(p)
(6)
Etcorr(u)=12|Ω|pΩ||(F(p)-Mt(p)0γ(1-ρF(p),Mt(p))I)+(J1pσi(p)σxIγJ2p)u(p)||2

From Eqs (4) and (5), we can get Eq. (6). Minimizing Eq. (6), we can get Eq. (7):

(7)
u(p)=(F(p)-Mt(p))J1pT+r2(1-ρF,Mt)J2pTJ1pT2+σi2σx2I+r2J2pT2

In the following, ESM is used to optimize the algorithm. In Eq. (7),

J1p(u)=vTf(texp(v))|v=u

and Taylor expansion is as Eq. (8), we join Eq. (8) to get Eq. (9).

(8)
J1p(u)=J1p(0)+uTH1p+O(u2)
(9)
f(texp(u))=f(t)+12(J1p(u)+J1p)u+O(u3)

However, it is difficult to minimize the closed form of J1p(u). Because of the particularity of the registration task, we can assume that u is already optimized. The updating floating image is Eq. (10):

(10)
Mtopt=Mtexp(uopt)
(11)
J1p-12(F+Mt)

Figure 1.

(a)–(h) are 1–8 sets of data respectively. The first row is the reference image. The second row is floating image. The third row is the result image using this improved differential Demons algorithm. The fourth row is the result image using original algorithm of differential Demons. The red dashed represents the difference of the same parts.

(a)–(h) are 1–8 sets of data respectively. The first row is the reference image. The second row is floating image. The third row is the result image using this improved differential Demons algorithm. The fourth row is the result image using original algorithm of differential Demons. The red dashed represents the difference of the same parts.

Similarly,

(12)
J2p=F+IρF,Mt

Based on Eqs (11) and (12), we can get u(p).

(13)
u(p)=(F(p)-Mt(p))JpT+r2(1-ρF,Mt)(F+IρF,Mt)Jp2+σi2σx2I+r2F+IρF,Mt2

Figure 2.

(a) is the reference image’s coronal plane. (b) is the floating image’s coronal plane. (c) is the result’s coronal plane using this improved differential Demons algorithm. (d) is the result’s coronal plane using original differential Demons algorithm. (e) is the result’s three dimensional figure using this improved differential Demons algorithm. (f) is the result’s three dimensional figure using original differential Demons algorithm. The red dashed represents the difference of the same parts.

(a) is the reference image’s coronal plane. (b) is the floating image’s coronal plane. (c) is the result’s coronal plane using this improved differential Demons algorithm. (d) is the result’s coronal plane using original differential Demons algorithm. (e) is the result’s three dimensional figure using this improved differential Demons algorithm. (f) is the result’s three dimensional figure using original differential Demons algorithm. The red dashed represents the difference of the same parts.

The steps of the improved differential demon algorithm are listed as follow:

  • Step1. Choose the initial geometric transformation t. The dense displacement t is identical to zero vector fields;

  • Step2. The current transform t is given to obtain u by minimizing the updated dense velocity field

    Etcorr(u),Etcorr(u)=F-Mtexp(u)2+σi2σx2dist(t,texp(u))2+γ2(1-ρF,Mtexp(u)))2;

  • Step3. For a fluid-like regularization, let u Fluid u. The convolution kernel will be a typical Gaussian kernel.

  • Step4. Update the transform t by using the index mapping and compound operation ttexp(u);

  • Step5. Check the convergence. If not, return Step2; else, output the optimal transformation topt.

Figure 3.

(a) is the comparison of mutual information. (b) is the comparison of normalized correlation coefficient. (c) is the comparison of mean square error. (d) is the comparison of iteration number.

(a) is the comparison of mutual information. (b) is the comparison of normalized correlation coefficient. (c) is the comparison of mean square error. (d) is the comparison of iteration number.

3.Experiments

The experimental data sets are provided by Xuanwu Hospital Capital Medical University. The experimental machine has the CPU core i5-3570, 4 GB memory and works on the 64bits Win 7 operating system. In order to demonstrate that the proposed method is practicable, we choose eight groups of MRI brain data which size is 512*512*192.

In this paper, three evaluation indexes – mutual information (MI), normalized correlation coefficient (CC) and mean square error (MSE) are chosen to evaluate the image registration result. Firstly, Yang’s method is adopted to remove skull [14], and the multi-resolution strategy is used to improve the speed of convergence. The comparison results of our proposed method and the original demon algorithm on 8 different data sets are shown in Fig. 1, it is obviously observed that our method can effectively keep the texture and intensity details of the brain tissue. The corresponding 3D registration results for the proposed method and original demon algorithm are shown in Fig. 2. In order to evaluate the effectiveness and robustness of the proposed algorithm, we compute three different indexs (MI, CC and MSE) for traditional demon method and our proposed method, the comparison results are shown in Figs 3a–c, Fig. 3d shows the iteration comparison result. It can be observed that the greater mutual information and normalized correlation coefficient of two images are, and the smaller the mean square error of two images is, the more similar two images are. From Fig. 3, we can conclude that the precision of the improved diffeomorphic demon algorithm is greater than the original algorithm, and from Fig. 3d, the speed of the improved algorithm is faster than the original algorithm.

4.Conclusion

Differential demon algorithm is a fast and efficient registration algorithm. By using the index mapping and compound operations, it can keep the topology of the image. Original differential demon algorithm adopts the gradient of reference image and floating image as a driving force to drive floating image to deform. However, when driving force is close to zero, there may be an error (for example, gray value of the corresponding pixels in the reference image and floating image are different, but the driving force is zero). To solve the problem, we present an improved differential demon method in conjunction with normalized relations. Experiments demonstrate that the proposed method can achieve more accurate registration result than the original method, especially for the large deformation.

Conflict of interest

None to report.

Acknowledgments

This work was supported by the Fundamental Research Funds for the Central Universities under grant N140402003, N130219001, N140403004, N140403006 and N140407001, Chinese National Natural Science Foundation under grant N61172002.

References

[1] 

Hill DL, Batchelor P, Holden M. Medical Image Registration. Physics in Medicine & Biology, (2001) ; 46: (3): 1-45. doi: 101002/cmdc.200700265.

[2] 

Wang CF, Jiang M. Review of Image Registration Methods for Medical Images. Computerized Tomography Theory & Applications, (2006) ; May; 15: (2): 74-80.

[3] 

Maurer CR, Fitzpatrick JM, Wang MY, et al. Registration of head volume images using implantable fiducially markers. IEEE Transactions on Medical Imaging, (1997) ; Aug; 16: (4): 447-462.

[4] 

Chui HL, Rangarajan A. A new point matching algorithm for non-rigid registration. Computer Vision & Image Understanding, (2003) ; 89: (2–3): 114-141. doi: 101016/S1077-3142(03)00009-2.

[5] 

Jung HM. Method for determining feature points based on hierarchical block searching technique: US, US5731851 [P]. (1998) .

[6] 

Feng L, Zhang MJ, He MF, et al. A Non-Rigid Medical Image Registration Approach Based on Hierarchical Mutual Information and Thin-Plate Spline. Journal of Computer Aided Design & Computer Graphics, (2005) ; July; 17: (7): 1492-1496.

[7] 

D’Agostino E, Maes F, Vandermeulen D, et al. A viscous fluid model for multimodal non-rigid image registration using mutual information. Medical Image Analysis, (2003) ; Dec; 7: (4): 565-575. doi:10.1016/S1361-8415(03)00039-2

[8] 

Lester H, Arridge SR, Jansons KM, et al. Non-linear Registration with the Variable Viscosity Fluid Algorithm. Information Processing in Medical Imaging. Springer Berlin Heidelberg, (1999) ; June; 238-251. doi: 101007/3-540-48714-X_18.

[9] 

Thirion JP. Image matching as diffusion process: An analogy with maxwell’s demons. Medical Image Analysis, (1998) ; Oct; 2: (3): 243-260. doi: 101016/S1361-8415(98)80022-4.

[10] 

Hellier P, Barillot C, Corouge I, et al. Retrospective Evaluation of Inter-subject Brain Registration. IEEE Transactions on Medical Imaging, (2003) ; 22: (9): 1120-30.doi: 101007/3-540-45468-3_31.

[11] 

Vercauteren T, Pennec X, Perchant A, et al. Differential demons: Efficient non-parametric image registration. Neuroimage, (2009) ; 45: (1 Suppl): 61-72. doi: 101016/j.neuroimage.2008.10.040.

[12] 

Fritscher KD, Schuler B. Model guided differential demons for atlas based segmentation. Proceedings of SPIE – The International Society for Optical Engineering, (2010) ; Feb; 7623: (1): 666-673. doi: 101117/12.844134.

[13] 

Prabu SB, Toth R, Madabhushi A. A statistical deformation model (SDM) based regularize for non-rigid image registration: application to registration of multimodal prostate MRI and histology. Proceedings of SPIE – The International Society for Optical Engineering, (2013) ; 8676: (5): 387-393.

[14] 

Di J, Yang JZ, Zhang YF, et al. Self-adapting segmentation for brain tissue. Journal of Jilin University, (2012) ; 42: (1): 161-165.