Back to Pascal Cachier's homepage


Symmetrization of the Non-Rigid Registration Problem using Inversion-Invariant Energies: Application to Multiple Sclerosis

Pascal Cachier and David Rey

INRIA Sophia - Epidaure Project
2004 Route des Lucioles BP 93
06902 Sophia Antipolis Cedex, France
{Pascal.Cachier, David.Rey}@sophia.inria.fr


Abstract:


Without any prior knowledge, the non-rigid registration of two images is a symmetric problem, i.e. we expect to find inverse results if we exchange these images. This symmetry is nonetheless broken in most of intensity-based algorithms. In this paper, we explain the reasons why most non-rigid registration algorithms are asymmetric. We show that the asymmetry of quadratic regularization energies causes an oversmoothing of expending regions relatively to shrinking regions, hampering in particular registration-based detection of evolving processes. We therefore propose to use an inversion-invariant energy to symmetrize the registration problem. To minimize this energy, two methods are used, depending on whether we compute the inverse transformation or not. Finally, we illustrate the interest of the theory using both synthetic and real data, in particular to improve the detection and segmentation of evolving lesions in MR images of patients suffering from multiple sclerosis.

Introduction

Non-rigid registration of two images I and J consists in finding a transformation between the two sets of points of both images. If we make the assumption that every point of an image has an homologous point in the other, and that the topology has been conserved, the result of the algorithm should be a smooth homeomorphic transformation T(I, J), going from I to J.

Among non-rigid registration algorithms, intensity-based algorithms are driven by a similarity energy Esim (e.g. the sum of square differences (SSD)) that attracts both images toward each other using their intensity values [1]. At the same time, the transformation T(I,J) is kept smooth either by constraining T(I,J)to belong to some space of regular transformations (e.g. splines with few control points [2]), or by choosing a regularization energy Ereg (e.g. the linear elastic energy), or both [3]. This energy Ereg can be minimized with Esim in a weighted sum [4,5], or minimized alternatively with Esim [6]. See [7] for a review of registration techniques.

   
Asymmetry and related problems

Without any other prior knowledge, the registration problem is symmetric and we expect to obtain the inverse transformation if we exchange I and J: T(J, I) = [T(I, J)]-1. However, this symmetry is usually broken in practice, giving birth to the terminology ``reference'' or ``template'' image and ``study'' or ``floating'' image (here T(I, J) goes from the reference image Ito the study image J). Most, if not all, of the energies used in medical image non-rigid registration leads to asymmetrical registration. This includes the usual similarity energies and quadratic regularization energies such as linear elastic or thin plate energies. Even the general, non-linear elasticity is conceptually asymmetric since one of the images is supposed to be in a no-stress state and not the other; see [8] for an example showing the importance of this consideration.

The first obvious problem with asymmetry is that we have to choose arbitrarily a reference image, and thus the results of measures relying on this registration depend on how the reference image is chosen.

However, there can be a more subtle problem than the previous one. Indeed, using standard similarity measures and quadratic regularization energies will lead to systematically biased solutions: they will smooth the transformation on expanding regions more than on shrinking regions. Both T(I, J) and T(J, I) will have more difficulty to describe a local growth than a local shrink.


  
Figure: Smoothing f by a kernel of size is roughly the same as smoothing f-1 by a kernel of size
6.2cm

In order to understand this, let us present a 1D example where we smooth a function f using a convolution with a kernel of some finite extension : we use values of f in an interval of length to smooth f. As shown on fig. [*], the same smoothing is approximately obtained on f-1 if it is convolved with a kernel of size . Thus, the transformation around an expanding region (f'>1) would be less smoothed if the images were exchanged and the inverse transformation smoothed with the same kernel of size .

This explains why the detection of evolving brain lesions using non-rigid registration has appeared easier on shrinking lesions than on expanding lesions in our previous work [9]. We thus detected expanding and shrinking regions by working on shrinking regions of both T(I, J) and T(J, I).

Towards symmetry of registration

We have found that the asymmetry of intensity-based non-rigid registration is due to one or several of the following reasons:

1. Order non-preservation of the energies: An energy E (I, J, T) being used for registration, we may have E(I, J, T1) < E(I, J, T2) but not E(J, I, T1-1) < E( J,I, T2-1) for two estimates T1 and T2 of the transformation.

2. Non-stable transformation space: The space of allowed transformation may not be a group and thus not stable by inversion, i.e. we may have but not .

3. Local Minima: The optimization algorithm may get stuck in different local minima of the energy when the images are exchanged.

A previous work on the symmetrization of the registration has been done by Christensen [5]. In his work, two asymmetric registrations are made simultaneously, but are constrained to be close to the inverse of each other. This constraint is efficient at smoothing the registration. However, the algorithm is only asymptotically symmetric when the weight of this constraint tends towards infinity. Also, it relies on the computation of an inverse transformation whose existence is not ensured by linear elasticity. This work is nice but we felt that the symmetrization could be handled theoretically in a more efficient way.

In this paper, we propose to tackle the first point of the previous list and to ensure that the minima of the energy are invariant when exchanging the images, by forcing the similarity energy Esim and the smoothness energy Ereg to be symmetric, i.e. invariant if we exchange I and J and invert the transformation: . This is close to a very recent work by Trouvé and Younes [10] where the authors consider distances of two parametric closed curves verifying some properties, including this kind of symmetry.

In section [*] we present a way to construct symmetric energies. In section [*] we present two optimization procedures, depending on whether we compute the inverse transformation or not. We illustrate the theory with a synthetic example in section [*], and in section [*] we show the interest of this method to detect and segment evolving lesions in multiple sclerosis.

   
Symmetric Energies

   
Symmetrization of regularization energies

Let be a point of I, and let be the n-th differential tensor of T at . Let Ereg(T) be a regularization energy that can be written as an integral of some function e2 of the differentials of T:

 
    (1)

Ereg is symmetric (or inversion invariant) if Ereg(T) = Ereg(T-1). If we change variables in Ereg(T-1)


it appears that a sufficient condition for Ereg to be symmetric is that


where is the Jacobian of T at point .

There are many such symmetric energies. Among them, we are more particularly interested in energies that are somehow linked to the asymmetric energies we are used to. There are several possibilities to symmetrize an asymmetric energy. Among them, the most natural is perhaps to take the mean of e2(dT, d2T, ...) and , i.e. the symmetrization Ereg* of a regularization energy Ereg can be defined by

 
    (2)

The trick is that can be calculate (more or less easily) from the derivatives of T. Thus, E*reg(T) is indeed of the form ([*]) and can be computed without inverting T. For example, let us consider the following quadratic energy in 2D: . Since , we find that the symmetrization of this energy using eq. ([*]) is:

 
    (3)

Note that the integrand tends to when dT tends to 0: in practice, this will force the transformation to be one-to-one.

Symmetrization of Similarity Energies

Similarity measures can be symmetrized using the same technique. If Esim(I, J, T) is a similarity energy, a symmetric similarity energy can be deduced by setting:

 
    (4)

Here again, changing the variables inside Esim(J, I, T-1)usually eliminates T-1 from the formulas, and therefore the inversion of T can be avoided. For example, if is the standard SSD criterion between two images, then its symmetrization using ([*]) is

 
    (5)

   
Optimization of the Symmetric Energy

   
Finite element implementation without inversion

Our first implementation uses the fact that the symmetric energies can be computed and optimized without inverting the displacement field. To produce the results presented in the next section, we have minimized in 2D the symmetric energy ([*]) which is the symmetrization of ([*]):

  
E(I, J, T) = (6)
E*(I, J, T) = (7)

In our experiences, the accuracy of the symmetry has been very sensitive to the discretization of the continuous optimization problem. We found out that results were significantly better using a finite element discretization of the energy rather than a finite difference scheme. A triangularization of the rectangular grid defined by the pixels is used. The images as well as the transformation are defined as piecewise linear functions on this triangularization. To minimize the energy, we use a simple gradient descent coupled with a multiresolution scheme.

We encountered two types of problems with the previous algorithm:

1.
The energy is difficult to minimize, mainly because it includes the term 1/|dT| that raises numerical problems, especially when the smoothness constraint is set low ( ).
2.
The optimization by gradient descent is asymmetric (point 3 of the list given in introduction): for example, the derivative of the energy ([*]) with respect to T uses the derivative of J and not the derivative of I. This hampers a perfect symmetry of the result.

   
Alternate minimization with inversion

These last problems can be avoided if we compute the inverse transformation. Our second method uses a very simple yet efficient alternated-minimization method: instead of minimizing E*(I, J, T) = E(I, J, T) + E(J, I, T-1), we minimize alternatively the asymmetric energies E(I, J, T) and E(J, I, T-1) (given by eq. ([*])) using respectively I and J as the reference image. This requires an inversion of the transformation every time we change of reference image.

For a better comparison with the previous algorithm in 2D we have used the same finite element discretization. However, it is not necessary, which is one advantage of this method: faster optimizations are possible with the same quality of symmetry.

The inverse transformation is computed by finding the zero of using a Newton scheme. Interpolation of the transformation is necessary; we have used a bi- or trilinear interpolation. The inverse is found with an error usually less than 0.1 voxel. Note that we cannot have an arbitrarily small error because the inverse of a piecewise bi/trilinear transformation is not piecewise bi/trilinear.

We have to be careful with the computation of the inverse. Indeed, E(I, J, T) does not guarantee that the transformations is invertible. Forcing the corrections brought at each iteration to be small, and/or smoothing them, often helps the transformation to be invertible at every iteration, especially during the first iterations at full resolution when only a small number of points are moving. Furthermore, imposing small corrections seems to give more symmetrical results.

   
Results on a Synthetic Example

In this synthetic example we have two images containing two discs, one multiplying its radius by 2 and the other shrinking symmetrically (fig. [*]). We have registered these images using the asymmetric energy ([*]) (Asym algorithm), and using the algorithms described in sec. [*] (Sym1) and sec. [*] (Sym2).


  
Figure: Mean error in pixels of for Asym (plain), Sym1 (dots) and Sym2 (dashes).
7.3cm

When we register these images using Asym, we are confronted to the problem mentioned in sec. [*] that shrinkage is more easily recovered than growth. We can analyse it using the absolute value of the logarithm of the Jacobian (AVLJ) of the transformation, which expresses the local increase or decrease of area and we used for the detection of brain evolution in [9]. If the growth and the shrinkage were recovered equally, we would find equal AVLJ inside both circles, and if they were furthermore exactly recovered, these numbers would be equal to . Instead, we find that both AVLJ are increasingly underestimated with the strength of the smoothing, which is expected, but also that the AVLJ of the expanding region is systematically underestimated relatively to the AVLJ of the shrinking region (fig. [*]). This shortcoming is reduced with Sym1, and virtually eliminated with Sym2. We have also registered the images in both directions and computed , which should be equal to identity in the case of a perfect symmetry. Mean errors of this composition relatively to the identity have been computed (fig. [*]) and confirm the previous results.

We would like to emphasize that for the same amount of smoothing, Sym1 and Sym2 do not find a solution closer to the real transformation than the asymmetric algorithm for both circles: the small circle is registered better but the big circle is less shrinked. The distance to the real transformation is not uniformally decreased; errors are just shared more equitably.


  
Figure: Top: The two images to register (left and middle), and an example of a log-Jacobian image on the right (positive numbers are white, negative are black). Bottom: Graphs showing the mean absolute value of the log-Jacobian (AVLJ) inside the big circle (in plain) and inside the little circle (in dashed) relatively to the strength of the smoothing (x-axis), using respectively Asym (left), Sym1 (middle) and Sym2 (right). The real AVLJ is (dashed-dotted line) for both circles.


   
Application to Multiple Sclerosis

In this section we would like to show that the method described in this paper can significantly improve results in the detection and segmentation of evolving lesions in multiple sclerosis [11,9]. In a previous article [9] we explain that small expanding lesions can be difficult to detect with temporal analysis of apparent deformations: if there is an important expansion locally between images I and J, we would need a one to many mapping due to limited resolution of the image. To avoid this, we considered only shrinking regions from I to J, and then shrinking regions from J to I. By thresholding shrinking areas we obtained the sought segmentations.

However it is possible to avoid the computation of 2 vector fields (direct and reverse) between images I and J, by computing only one vector field thanks to a symmetrical approach. Here, we have used the alternated minimization method (sec. [*]), without using a finite element scheme but the fast scheme of [6].

We have made some experiments on an evolving lesion extracted from two T2-weighted MRI of a patient with multiple sclerosis. Time between the two acquisitions is 8 weeks. The resolution of the images is really poor as we can see on the first two columns of figure [*] (voxel size is mm3). We have computed four vector fields for our experiment: asymmetric and symmetric fields from I to J, and asymmetric and symmetric fields from 2 to 1. We compute the Jacobian on each field, and we manually search for the Jacobian isovalue (in red on fig. [*]) that segments the lesion. As explained in [9], it does not exist any efficient automatic method to find the best threshold at the moment.


  
Figure: Manual segmentations were done independently. Values are not inverse in the case of asymmetrical computation, and inverse in the case of symmetrical approach. Furthermore, the segmentation of evolving areas better corresponds to reality.

A symmetrical computation of the deformations significantly improves the detection and segmentation of evolving lesions. First it makes it possible to use the same value v to threshold the Jacobian (Jac>v>1 for expansion, and Jac<1/v<1 for shrinking). With an asymmetrical approach we had to compute the direct and reverse field and only search for shrinking areas. In figure [*] manual segmentations were done independently. Values are not inverse in the case of asymmetrical computation, and inverse in the case of symmetrical approach. Furthermore, the segmentation of evolving areas seems to better correspond to reality as we can see in figure [*].

Conclusion

In this paper we have listed the reasons of the asymmetry of intensity-based registration algorithms. We have shown that asymmetry may hamper the equal retrieval of expanding and shrinking areas, perturbing registration-based detection of evolving processes. To reduce the asymmetry of registration, we have introduced inversion-invariant similarity and smoothness energies, and a way to symmetrize the widely used asymmetric energies.

We have worked on a particular asymmetric energy E* that is easily expressed as a function of the transform T. We have minimized E*with and without computation of the inverse transform. On a synthetic example, we have shown that the use of a symmetric energy was reducing considerably the shortcomings of asymmetric energies, and that the computation of the inverse transform, if it exists, is helpful. Finally, a symmetric approach improves segmentation results and simplify the methodology of registration-based detection of evolving lesions, especially in the case of small lesions and/or poor resolution.

Acknowledgment

This work was supported by the EC-funded BIOMORPH project 95-0845, a collaboration between the Universities of Kent and Oxford (UK), ETH Zürich (Switzerland), INRIA Sophia Antipolis (France) and KU Leven (Belgium) who provided us with multiple sclerosis images time series. Thanks to N. Ayache, X. Pennec and J. Stoeckel for proofreading and useful comments.

Bibliography

1
A. Roche, G. Malandain, N. Ayache, and S. Prima.
Towards a Better Comprehension of Similarity Measures Used in Medical Image Registration.
In Proc. of MICCAI'99, pages 555 - 566, 1999.

2
O. Musse, F. Heitz, and J.-P. Armspach.
3D Deformable Image Matching using Multiscale Minimization of Global Energy Functions.
In Proc. of CVPR'99, 1999.

3
D. Rueckert, C. Hayes, C. Studholme, P. Summers, M. Leach, and D. J. Hawkes.
Non-Rigid Registration of Breast MR Images Using Mutual Information.
In Proc. of MICCAI'98, pages 1144 - 1152, 1998.

4
M. Ferrant, S. K. Warfield, C. R. G. Guttmann, R. V. Mulkern, F. A. Jolesz, and R. Kikinis.
3D Image Matching using a Finite Element Based Elastic Deformation Model.
In Proc. of MICCAI'99, pages 202 - 209, 1999.

5
G. E. Christensen.
Consistent Linear-Elastic Transformations for Image Matching.
In Proc. of IPMI'99, pages 224 - 237, 1999.

6
X. Pennec, P. Cachier, and N. Ayache.
Understanding the "Demons" Algorithm: 3D Non-Rigid Registration by Gradient Descent.
In Proc. of MICCAI'99, pages 597 - 605, 1999.
http://www.inria.fr/RRRT/RR-3706.html.

7
J. B. A. Maintz and M. A. Viergever.
A Survey of Medical Image Registration.
Medical Image Analysis, 2(1):1-36, 1998.

8
S. K. Kyriacou and C. Davatzikos.
A Biomechanical Model of Soft Tissue Deformation, with Applications to Non-Rigid Registration of Brain Images with Tumor Pathology.
In Proc. of MICCAI'98, pages 531 - 538, 1998.

9
D. Rey, G. Subsol, H. Delingette, and N. Ayache.
Automatic Detection and Segmentation of Evolving Processes in 3D Medical Images: Application to Multiple Sclerosis.
In Proc. of IPMI'99, pages 154-167, 1999.
http://www.inria.fr/RRRT/RR-3559.html.

10
A. Trouvé and L. Younes.
Diffeomorphicc Matching Problems in One Dimension: Designing and Minimizing Matching Functionals.
In Proc. of ECCV'00 Part 1, pages 573-587, 2000.

11
G. Gerig, D. Welti, C. Guttmann, A. Colchester, and G. Székely.
Exploring the Discrimination Power of the Time Domain for Segmentation and Characterization of Lesions in Serial MR Data.
In Proc. of MICCAI'98, pages 469-480, Boston, USA, 1998.

APPENDIX

For a better comprehension, we develop the mathematics for obtaining the symmetric energies ([*]) and ([*]). If is a diffeomorphic 2D transformation, we can compute its Jacobian matrix at a point


Since , we have
 
    (8)

with . Now, if


then, using ([*]),


Finally we sum this last equation to Ereg(T) to find the symmetrization of Ereg(T) (eq. ([*])).

Similarly, if ,


We find eq. ([*]) by summing this last equation to Esim(T).


next up previous
Pascal Cachier
2000-12-03