Skip to main content
HAL-INSERM logoLink to HAL-INSERM
. Author manuscript; available in PMC: 2011 Apr 15.
Published in final edited form as: Med Image Comput Comput Assist Interv. 2010;13(Pt 2):594–601. doi: 10.1007/978-3-642-15745-5_73

An efficient EM-ICP algorithm for symmetric consistent non-linear registration of point sets

Benoit Combès 1,*, Sylvain Prima 1
PMCID: PMC3077756  PMID: 20879364

Abstract

In this paper, we present a new algorithm for non-linear registration of point sets. We estimate both forward and backward deformations fields best superposing the two point sets of interest and we make sure that they are consistent with each other by designing a symmetric cost function where they are coupled. Regularisation terms are included in this cost function to enforce deformation smoothness. Then we present a two-step iterative algorithm to optimise this cost function, where the two fields and the fuzzy matches between the two sets are estimated in turn. Building regularisers using the RKHS theory allows to obtain fast and efficient closed-form solutions for the optimal fields. The resulting algorithm is efficient and can deal with large point sets.

Keywords: Algorithms; Image Enhancement; methods; Image Interpretation, Computer-Assisted; methods; Imaging, Three-Dimensional; methods; Nonlinear Dynamics; Pattern Recognition, Automated; methods; Reproducibility of Results; Sensitivity and Specificity; Signal Processing, Computer-Assisted; Subtraction Technique

1. Introduction

The most popular methods in the literature for the non-rigid registration of two point sets are probably those extending the original ICP algorithm of Besl & McKay [1], such as the EM-ICP of Granger & Pennec [2] or the TPS-RPM of Chui & Rangarajan [3]. The common viewpoint of these methods is to consider the points of the first set as the means of a Gaussian Mixture Model (GMM) and the points of the other set as samples of this GMM. The unknown non-rigid transformation best superposing the two point sets can then be estimated according to the maximum likelihood principle and using (typically) the EM algorithm. This optimisation then boils down to a simple iterative estimation of fuzzy point-to-point correspondences (encoded in what is often termed the match matrix) and of the non-rigid transformation in turn. This simple two-step (point matching and transformation estimation) algorithm is very attractive, but inherently asymmetric, which makes it difficult to obtain inverse consistent registration (i.e. the registration of one set to the other provides the inverse transformation of that obtained when switching the two sets) in this EM-ICP framework. Such a property is very desirable, especially when building an atlas from a set of anatomical structures. First trials towards a symmetric point matching include the work by Rangarajan et al. who used the Sinkhorn theorem to enforce the match matrix to be doubly stochastic [3]. Most other works focused on the estimation of the transformation: Joshi & Miller [4] showed how to build a diffeomorphism between two sets of matched points, but without guaranteeing inverse consistency. In parallel, Johnson & Christensen proposed a method towards this goal, but using thin-plate splines where invertibility is not ensured [5]. These solutions are theoretically attractive but computationally redhibitory in case of large point sets, which limits their use to simple anatomical structures.

In this paper, we propose a symmetric formulation of the registration problem in an EM-ICP framework, that allows to jointly compute the forward and the backward deformation fields linking the two point sets (Section 2). Our cost function is composed of two data attachment terms, two consistency terms (to enforce both transformations to be compatible with each other) and two regularisation terms over both fields. We provide an iterative two-step algorithm to minimise this new criterion, in which the first step is quite similar to that of the original EM-ICP algorithm and the second step consists of two interleaved approximation problems. Using the Reproducing Kernel Hilbert Space (RKHS) theory and the Fourier analysis, we devise efficient regularisers leading to closed-form solutions based on sparse linear algebra for these two problems (Section 3). This results in an efficient algorithm allowing non-linear registration on large 3D point sets (Section 4). Finally, we give some perspectives (Section 5).

2. A framework for a consistent & symmetric EM-ICP

2.1. Cost function

Let X = {x1, …, xN} and Y = {y1, …, yM} be two point sets representing two anatomical structures to be registered. Let TX and TY be respectively the backward and forward unknown transformations superposing X and Y. Let AX (resp. AY) be the match matrix describing the correspondences between TX(X) and Y (resp. TY (Y) and X). Let α and β be real positive values weighing the influence of the different terms. Following the EM-ICP framework in its energetic formulation [3], we consider the matrices AX and AY as hidden variables of the problem and we design our cost function as :

E(TX,TY,AX,AY)=[Ed(Y,TX(X),AX)+Ed(X,TY(Y),AY)+αEc(TXTY,I)+αEc(TYTX,I)+βEr(TX)+βEr(TY)], (1)

where:

  • Inline graphic(Y, TX(X), AX) is a data attachment term defined as:
    Ed(Y,TX(X),AX)=1/N[i,jAi,jX||yiTX(xj)||2+σ2i,jAi,jXlog(Ai,jX)], (2)

    where Σi,j is the sum over the points yiY and xjX, and iAi,jX=1j. The parameter σ can be seen as the Gaussian noise variance on X and Y. In practice σ controls the fuzziness of A.

  • Inline graphic(TY ◦ TX, I) is a consistency term that measures the discrepancy between transformations TX and TY. Without this term, estimations of TX and TY would be completely independent. This new term couples them and forces them to be compatible with each other. We design it as: Inline graphic(TY ◦ TX, I) = 1/N ΣxjX ||TY ◦ TX(xj) − xj||2.

  • Inline graphic(TX) = R(TX) is a regularisation term penalising discontinuities of TX.

  • Inline graphic(X, TY (Y), AY), Inline graphic(TX ◦ TY, I) and Inline graphic(TY) are built the same way.

2.2. Minimisation

The cost function (1) can be optimised by an iterative two-step algorithm that consists in minimisation over AX;AY and TX; TY in turn:

  • init

    X and Y as the identity function

  • i)

    ÃX; ÃY = arg minAX,AY Inline graphic(X, T̃Y,AX,AY)

  • ii)

    X; T̃Y = arg minTX,TY Inline graphic(TX, TYXY)

    Step i) has a closed-form solution. To achieve robustness, we replace the square cost function in Inline graphic by a truncated quadratic cost function. Then Step i) can be efficiently solved using a kd-tree [2]. For Step ii), we optimise iteratively the criterion with respect to each one of the two unknowns TX and TY :

  • ii.a)

    TX = T̃X and TY = T̃Y

  • ii.b)

    X = arg minTXInline graphic(TX, TYXY)

  • ii.c)

    Y = arg minTYInline graphic(TX, TYXY)

Intuitively, this algorithm consists in alternatively estimating TX as a compromise between data attachment (Inline graphic(Y, TX(X),AX)), regularisation (Inline graphic(TX)) and consistency with TY (Inline graphic(TY ◦TX, I)) and TY as a compromise between the three other symmetric terms. Implementing this last scheme requires further specification of T and R. We define the transformation TX as the initial position plus a displacement field: TX(xj) = xj +tX(xj) and R is a regulariser on tX (similarly for TY and tY). Then Step ii.b) can be written as:

  • ii.b)

    tX=argmintX1/Ni,jAi,jX||yixjtX(xj)||2+βR(tX)+α/Nj||tY(xj+tX(xj))+tX(xj)||2+α/Mi||tX(yi+tY(yi))+tY(yi)||2

    Step ii.c) has a similar expression.

Due to the terms Σj ||Y (xj+tX(xj))+tX(xj)||2 in step ii.a) and Σi ||X(yi+ tY (yi)) + tY (yi)||2 in Step ii.b), which are somewhat redundant with their symmetric counterparts, the two problems are very intricate. Thus, similarly to what is done by Chui et al. [7] in a related context, we drop them, which allows to reformulate Steps ii.a) and ii.b) as two independent approximation problems:

  • ii.b)

    tX=argmintX1/Ni,jAi,jX||yixjtX(xj)||2+βR(tX)+α/Mi||tX(yi+tY(yi))+tY(yi)||2

  • ii.c)

    tY=argmintY1/Mi,jAi,jY||xiyjtY(yj)||2+βR(tY)+α/Nj||tY(xj+tX(xj))+tX(xj)||2

In practice, only a few iterations are necessary to decrease importantly the criterion. Then, R could be chosen as a TPS regulariser and then the two approximations problems would consist in solving linear systems of size proportional to N × M, which would be impracticable in terms of time and memory complexity for large point sets. Below, we propose an alternative efficient strategy.

3. Efficient solutions for the approximation problems

3.1. Formalism

One can show that the two above mentioned problems can be restated as:

f=argminfi,jpjAi,j||ui(vj+f(vj))||2+βR(f). (3)

where U = {u1, …, uN}, V = {v1, …, vM} and Σi Ai,j = 1 ∀ j. The positive values (pj) are introduced for the sake of generality and allow to consider some points of V as outliers by simply fixing pk = 0 when vk is an outlier.

First, one can show that this problem is equivalent to (considering that the derivatives vanish at the optimum and noting that Σi Ai,j = 1, ∀j):

f=argminfj=1pj||cj(vj+f(vj))||2+βR(f),withcj=iAi,jui. (4)

This reduces the size of the problem from card(U) × card(V) to card(V).

Now, we focus on building a tractable (in terms of minimisation) and powerful (in terms of reliability of the model) regulariser R. For that, we consider our problem in a space of admissible solutions Inline graphic that we span using a positive definite kernel (pdk) k1: H={ff(·)=i=0k(qi,·)wi,wiIR3,,qiΩ;||f||H<}C where SC denotes the completion of the set S and where Omega; ⊂ IR3. This space is endowed with the inner product: <f,h>H=i,j=0wiTk(qi,qj)wj. The space Inline graphic is a Hilbert space with reproducing kernel k (or more compactly a RKHS) [8].

Then we assume that fInline graphic and define our regulariser R(f) as || f ||Inline graphic:

f=argminfHj=1pj||cj(vj+f(vj))||2+β||f||H. (5)

One of the key advantage of RKHS is that one can show [9] that the values taken by the solution at the points v1, …, vj,…, vM can be expressed as f(vj)=i=1Mk(vi,vj)wi and then formulate the last minimisation problem as:

(w)=argmin(w)j=1..Mpj||cj(vj+i=1..Mk(vj,vi)wi)||2+βi,j=1..MwiTk(vj,vi)wj

Vanishing the derivatives gives a linear system whose solution can be expressed in a closed-form as: W = (d(P)K +βI)−1 d(P)[CV ], where V = [v1, …, vM]T, C = [c1, …, cM]T, W = [w1, …,wM]T, K = (k(vi, vj)i,j) is the M by M matrix associated to kernel k and d(P) is the diagonal matrix formed by the pj values. The challenge is now to choose a kernel corresponding to a relevant regulariser.

3.2. Choosing a kernel

In order to design a suitable k, one can use an interesting relationship with Fourier-based stabilisers. Let ∀f = (f1, f2, f3) integrable, R(f) = R(f1)+R(f2)+ R(f3), with R(fi)=1(2π)3fi(ω)2φ(ω/b)dω, where * is the Fourier transform operator, φ: IRIR is an integrable function and b is a real positive rescaling factor. Let Inline graphic = {f: IR3IR3|R(f) < ∞}. Interestingly, one can state that if φ* is symmetric, positive and if φInline graphic thus Inline graphic is a RKHS whose reproducing kernel is given by k(qi,.) = b × φ(b × (qi − .)) and such that ∀ fInline graphic, Inline graphic = R(f) [8, 10]. This dual view is convenient as it allows to design a wide variety of efficient regularisers directly into the Fourier domain.

In order to design an efficient regulariser, we have to choose 1φ as a high-pass filter. This way, high frequencies of the deformation will be drastically penalised whereas low frequencies will only be penalised a little. Generally, φ[0,] is a monotonically decreasing function and the most important element that characterises its influence on the regularisation is the way it decreases that indicates the amount of penalisation with respect to frequencies. Particularly, the frequencies for which φ*(||ω||/b) is null are forbidden. The two parameters β and b allow to handle the regularisation properties: β is a quantitative parameter (it indicates the amount of smoothness) whereas b is more qualitative (in a way, it defines what the term “smoothness” means). Finally, note that an undesirable effect of this approach is to penalise the null frequency i.e. the average of the field (as 1*(0) is not null). One removes this penalisation by simply ensuring that the deformation field has the same norm before and after regularisation. Figure 1 shows the influence of b and β when approximating a noisy field when choosing φ as the Wu kernel [8].

Fig. 1.

Fig. 1

Effect of parameters β and b on the approximation of a noisy field.

3.3. Efficient choices

Although we propose a closed-form solution for the approximation problem, it consists in solving a M×M system. This is can be problematic when M increases (in term of memory usage and of computational time). Suppose that we choose a compactly supported pdk (i.e. for ∀x, ∀y such that ||y|| > r; k(x, y) = 0), then i) d(P)K + βI is a sparse matrix that can be computed using a kd-tree and ii) computing W consists in solving a sparse system. Some interesting compactly supported pdk corresponding to low-pass filters have been proposed in the literature (such as Wendland, Wu or Buhmann functions). Moreover, techniques to generate a wide variety of them have been proposed [8]. Alternatively one can use a highly decreasing function and approximate it by zeroying all its values over a given threshold. We experimentally find the compact support kernel of Wu (φ2,3) as the one providing the best results and we will use it in the following.

4. Evaluation & Application

We use three databases of 20 surfaces each, composed of pairs of lateral ventricles of control subjects (15,000 points, segmented from T1-weighted MRI using itksnap.org), caudate nuclei of patients with dysphasia (2,000 points, segmented from T1-weighted MRI with an in-house software) and osseous labyrinths of modern H. sapiens (30,000 points, segmented from CT images with amira.com). We perform the following validation experiments.

Experiment 1

We choose one surface in each dataset and deform these 3 surfaces 100 times using randomly generated non-linear transformations (using TPS). Then we register the original and deformed surfaces and compute the overall residual distance between the known corresponding points and the Hausdorff distance between the surfaces. These two error measures are then averaged over the 100 simulations for each of the three surfaces.

Experiment 2

We manually select 6 landmarks on each of the 40 pairs of ventricles and labyrinths (the 20 nuclei are not used in this experiment). Then we choose one of the surfaces in each of the two datasets to be the template, and register all the 19 other surfaces to this template. We evaluate the mean residual errors on the landmarks, the Hausdorff distance between the surfaces, and we average these errors over the 19 subjects for each of the two datasets.

For both sets of experiments, we evaluate 3 strategies: asymmetric EM-ICP formulation using an order-one Tikhonov regularisation [6] (Method 1), asymmetric formulation using RKHS-based regularisation (Method 2) and symmetric-consistent formulation using RKHS (Method 3). The results are displayed on Tab. 1. Fig. 2 and Fig. 3 illustrate the added value of the symmetric consistent RKHS formulation compared to the asymmetric one on ventricles and nuclei.

Table 1. Average registration errors for the 3 tested methods and the two experiments on the 3 datasets.

The first error is the mean point-to-point (for Exp. 1) or landmark-to-landmark (Exp. 2) error, and the second error is the Hausdorff distance. Both errors are averaged over the 100 (Exp. 1) or 19 (Exp. 2) registrations. Method 3 (symmetric-consistent EM-ICP with RKHS regularisation) gives the lowest error for each experiment and dataset.

Experiment 1 Experiment 2
Method 1 Method 2 Method 3 Method 1 Method 2 Method 3
nuclei 2.26/1.87 0.73/1.76 0.64/1.37 - - -
ventricles 2.15/7.80 1.55/5.15 1.53/1.48 2.21/3.41 1.84/2.23 1.67/1.01
labyrinths 0.29/0.85 0.23/0.75 0.21/0.23 0.32/0.65 0.28/0.62 0.24/0.19

Fig. 2. Registration of lateral ventricles.

Fig. 2

From left to right: (i) two misaligned pairs of lateral ventricles A and B (from Exp. 1); (ii) A to B and (iii) B to A with the asymmetric EM-ICP with RKHS; (iv) A to B and (v) B to A with the symmetric-consistent EM-ICP with RKHS. Point-to-point and Hausdorff registration errors are given below each figure. The asymmetric formulation leads to registration errors close to the horns. The location of these errors depends on what surface is used as the template. With the symmetric consistent formulation, no order-dependent registration error is visible, and the overall registration quality is visually and quantitatively improved.

Fig. 3. Registration of caudate nuclei.

Fig. 3

Same display as in Fig. 2, but with caudate nuclei and a color mapping of the point-to-point errors. We draw the same conclusions as in Fig. 2.

The parameters for Method 3 are initialised as: α= 8, β = 400, σ2 = 20×S, b = 250 × S where S is the size (in metre) of the object; β, σ2, b are then decreased throughout the algorithm until they reach the respective values of 20, 5×S and 150×S. The same is done for Method 1 for β and σ2 and for Method 2 for β, σ2 and b. The run time to register point sets of 5,000 points is 2 min for Method 1, 5 min for Method 2 and 12 min for Method 3 on a standard PC.

Application to statistical shape modeling

Two major tracks have been followed in the literature to extend the EM-ICP formalism to build statistical shape models [7, 12]. By using our contributions, these methods can be made symmetric and consistent (allowing to reduce the bias during the computation of the mean shape) and one can drastically increase the size of the input data. Fig. 4 shows the mean shape and the first mode of variation for 20 caudate nuclei by adapting the method of Hufnagel et al. [12].

Fig. 4. Mean shape and first mode of variation ( ±2λ1) on 20 caudate nuclei.

Fig. 4

The first mode can be interpreted as a bending.

5. Conclusion

Our contributions are twofold. First, we proposed a symmetric and consistent EM-ICP framework where we enforce coherency between backward and forward deformations. Note that none of these transformations is guaranteed to be invertible, though. Second, we designed new efficient regularisers for EM-ICP based registration. These new regularisers are expressed within the RKHS formalism which leads to computationally attractive solutions (especially when using kernels with compact support). A particular class of kernels provides regularisers with a simple interpretation in the frequency domain. Overall, our algorithm allows to perform registration on large data sets. Future works will include i) comparing our regulariser with others such as Coherent Point Drift [11] or TPS; ii) comparing our statistical shape modelling with other techniques [7, 12].

Acknowledgments

We thank José Braga for the labyrinths data and Aline Carsin for segmenting the caudate nuclei.

Footnotes

1

More generally, we could use a vectorial positive definite kernel k (in our case, k(., .) would be a 3×3 matrix). By simply considering a scalar pdk, we indirectly restrict our study to vectorial pdk k of the form k(., .) = k(., .)I. However, note that all the results of this section can be extended to vectorial pdks.

References

  • 1.Besl P, McKay N. A method for registration of 3-D shapes. IEEE PAMI. 1992 Dec;14(2):239–256. [Google Scholar]
  • 2.Granger S, Pennec X. Multi-scale EM-ICP: A fast and robust approach for surface registration. ECCV. 2002 May;:418–432. [Google Scholar]
  • 3.Chui H, Rangarajan A. IEEE MMBIA. 2000. A Feature Registration Framework Using Mixture Models; pp. 190–198. [Google Scholar]
  • 4.Joshi S, Miller M. Landmark matching via large deformation diffeomorphisms. IEEE TMI. 2000 Aug;9(8):1357–1370. doi: 10.1109/83.855431. [DOI] [PubMed] [Google Scholar]
  • 5.Johnson H, Christensen G. Consistent landmark and intensity-based image registration. IEEE TMI. 2002 May;21(5):450–461. doi: 10.1109/TMI.2002.1009381. [DOI] [PubMed] [Google Scholar]
  • 6.Combès B, Prima S. Setting priors and enforcing constraints on matches for nonlinear registration of meshes. MICCAI’2009. :175–183. doi: 10.1007/978-3-642-04271-3_22. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Chui H, et al. Unsupervised learning of an atlas from unlabeled point-sets. IEEE PAMI. 2004;26:160–172. doi: 10.1109/TPAMI.2004.1262178. [DOI] [PubMed] [Google Scholar]
  • 8.Wendland H. Scattered Data Approximation. Cambridge Monographs on Applied and Computational Mathematics; 2005. [Google Scholar]
  • 9.Schlkopf B, Herbrich R, Smola AJ. A generalized representer theorem. Annual Conference on Computational Learning Theory. 2001:416–426. [Google Scholar]
  • 10.Sidlofov T. Existence and uniqueness of minimization problems with Fourier based stabilizers. Compstat; Prague: 2004. [Google Scholar]
  • 11.Myronenko A, et al. Non-rigid point set registration: Coherent Point Drift Advances. Neural Information Processing Systems. 2007:1009–1016. [Google Scholar]
  • 12.Hufnagel H, et al. Generation of a Statistical Shape Model with Probabilistic Point Correspondences and EM-ICP. IJCARS. 2008 Mar;2(5):265–273. [Google Scholar]

RESOURCES