• Keine Ergebnisse gefunden

Fast computation of Mutual Information in a variational image registration approach

N/A
N/A
Protected

Academic year: 2022

Aktie "Fast computation of Mutual Information in a variational image registration approach"

Copied!
5
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Fast computation of Mutual Information in a variational image registration approach

Stefan Heldmann, Oliver Mahnke, Daniel Potts Jan Modersitzki, and Bernd Fischer Institute of Mathematics, University of L¨ubeck,

Wallstraße 40, 23560 L¨ubeck, Germany

E-Mail:{heldmann,mahnke,potts,modersitzki,fischer}@math.uni-luebeck.de

Abstract. In this paper we present a novel method for computing the Mutual Information of images using recently developed non-equidistant fast Fourier-transform (NFFT) techniques. Standard approaches suffer from the problem that some sort of quantization is needed in order to apply a fast equidistant FFT-technique. For the new method no quanti- zation is necessary which on one hand leads to an improved registration accuracy and on the other hand to a straight forward implementation.

The evaluation is done for MR brain registration as well as for synthetic examples.

1 Introduction

Image registration is one of today’s most challenging problems in digital imaging.

Given a reference image and a template image the task is to find a geometric transformation that maps the template onto the reference, such that the images are similar and corresponding points match.

Particularly in medical imaging the difficulty arises that images are taken from several different devices, like e.g. Computer Tomography, Magnetic Reso- nance Imaging, or Ultra Sound scanners. Thus, their intensities cannot be taken directly to measure the images similarity. Recent studies show that maximizing the Mutual Information of the images performs very successful for image reg- istration in a multimodal situation [1,2,3,4]. In order to compute the Mutual Information one has to estimate in one way or another the intensity distribution of the given images. This is a tricky problem for discrete digital images. However, the accuracy of this estimation plays a very important role for the outcome of the registration as well as for the needed computational effort.

Basically, one has to distinguish between two approaches for estimating the distribution function. The first one does construct a discrete approximation whereas the second one deals with continuous intensity distributions. Methods for constructing discrete distributions are histogram based and therefore are easy to compute. However, their accuracy is limited by the quantization of the intensi- ties. Furthermore, since efficient numerical optimization schemes in general make use of the derivative of the distribution function, they cannot be applied directly

(2)

in the discrete setting. Here, the needed derivative has to be approximated which may slow down the convergence of the overall numerical scheme. For constructing continuous distribution functions, typically a so-calledParzen-window estima- tor is used. Such an estimator is the sum of Parzen-window-functions, usually Gaussians that are centered at points of a drawn sample. Its computational com- plexity is much higher than the one for computing a histogram based estimate and is directly connected to the sample size. To reduce the computational effort, theParzen-estimator is often constructed from a small number of samples [1].

Its derivative, however, is always known analytically.

In this note we propose a new method for estimating the continuous distri- bution function. It is based on special band-limitedParzen-window-functions, that are approximations of conventional window functions, such as Gaussians or Cauchy densities. The main point is, that these functions enables one to employ recently developed fast Fourier transforms at non-equispaced knots (NFFTS) [5,6]. Using this approach, the computational complexity drops drastically. More precisely, the computational cost to approximate the Parzen-estimator con- structed from M samples at N points reduces from O(N M) to O(N +M) operations. Thus, we are able to use very large samples, yielding a reliable and robust density estimate.

2 A variational approach for image registration

Given two d-dimensional images R, T : Rd → R, one is interested to find a displacementu:Rd→Rd that maps the templateT onto the referenceR, such thatT◦(I−u) is similar toRon a domainΩ⊂Rd. A common approach is to minimize the joint-functional (see, for example [7])

J[R, T;u] :=D[R, T;u] +αS[u], α >0, (1) with a distance measureD and a so-called smoother S. The distance measure D rates the similarity ofR and the deformed template Tu :=T◦(I−u). The smootherS penalizes unwanted deformations. The parameterαweights the sim- ilarity of the images versus the smoothness of the displacement.

Mutual information as distance measure.We use Mutual Information to measure the distance of images. Here, one does regard the two images as random variablesR, Tu:Ω→Rwith the joint intensity densitypR,Tu :R×R→ Rand marginal densitiespR, pTu :R→R. The Mutual Information measures the similarity of R andTu by the Kullback-Leibler-distance. Then the wanted distance measure is given by [3,4]

DMI[R, T;u] :=−MI[R, Tu] =− Z

R2

pR,Tu(r, t) log pR,Tu(r, t)

pR(r)pTu(t)d(r, t). (2) The smoother. Several smoothers have been proposed in literature. Among those is the so-called curvature smoother

SCURV[u] :=

Xd

`=1

Z

∆u`(x)2

dx, (3)

(3)

introduced byFischer&Modersitzki[7], which is used here.

The optimization method. To compute a solution of the minimization problem (1) we make use of the fact, that the first variation of the joint functional J has to vanish for a minimizer, which holds if and only if [7,8]

α∆2u+f(u) = 0 onΩ, ∇u`=∇∆u`= 0 on∂Ω, `= 1,2, . . . , d, (4) with the so-calledforces

f(x, u(x)) :=LR,Tu R(x), T(x−u(x))

· ∇T(x−u(x)), (5) whereby LR,Tu(r, t) := tppTuTu(t)(t)tpR,Tu(r,t)

pR,Tu(r,t) . Thus a minimizer is a solution of the boundary value problem (4).

The numerical method. To compute a solution of the boundary value problem (4) we apply a semi-discrete time-marching method. To approximate spatial derivatives we use finite difference. This leads to a linear system that can be efficiently solved withinO(NlogN) operations [7].

3 Efficient Parzen-window estimation

To evaluate the forces (5) we have to estimate the densitiespR,T andpT. There- fore we use aParzen-estimator as proposed in [1]:

pbX(x) = 1 M

XM

j=1

K(x−Xj), (6)

whereby X1, X2, . . . , XM denote realizations of the random variableX and K denotes the so-calledParzen-window. As window function we use a band-limited approximation of the Gaussian

K(x) :=

n/21

X

k=n/2

αkexp(i2πkx), αk:= exp(−2σ2π2(k/n)2), (7) where αk is the Fourier-coefficient of a Gaussian with the standard deviation σ at the frequencyk/n. From (6) and (7) we obtain

pbX(x) = 1 M

n/21

X

k=n/2

αk

XM

j=1

exp(−i2πkXj)

| {z }

NFFTT

exp(i2πkx)

| {z }

NFFT

. (8)

Using the non-equidistant fast Fourier transform NFFT and its transposed ver- sion NFFTT [5] we are able to evaluatepbX(x`),`= 1,2, . . . , N withO(nlogn+ M+N) operations, wherenis a constant depending on the approximation. The derivative dxd pbX can be computed along the same lines. In contrast to other fast algorithms like the discrete Gauss transform [9], our method is easy to imple- ment and can be adapted to other window functions, e.g. Cauchy densities or B-splines, by simply choosing different coefficientsαk.

(4)

Table 1.Timings to evaluate the forces (5) for the NFFT based and the histogram based method withbthe number of bins (AMD Athlon XP 2700+, SuSE Linux 8.2).

N, M NFFT b= 32 b= 64 b= 128 b= 256 b= 512 b= 1024

1282 0.30s 0.03s 0.04s 0.14s 0.77s 3.01s 12.11s

2562 0.91s 0.11s 0.12s 0.22s 0.85s 3.10s 12.20s

5122 3.41s 0.57s 0.58s 0.68s 1.31s 3.56s 12.65s

10242 13.34s 2.27s 2.29s 2.38s 3.02s 5.29s 14.36s

Fig. 1. Registration results; (a) reference; (b) template; (c) NFFT based method;

(d),(e) histogram based method (128 and 256 bins).

(a) (b) (c) (d) (e)

4 Results

In this section we compare our new method with a histogram based method.

To this end, we compute the histogram of a random sample and subsequently smooth it by convolving it with a discrete Gaussian. The needed derivative is approximated by standard finite differences. Finally, we evaluate the obtained estimates by a bilinear interpolation. Using a sample with M points and a his- togram withbbins, applying a FFT technique the computational complexity of this method is O(b2logb+M +N), with N the number of pixels (cf. tab. 1).

In contrast to the naive implementation, the NFFT and histogram based meth- ods reduce the complexity from O(N M) to O(N +M), both. The binning of intensities leads to inaccurate results for histogram based methods in areas with low local contrast, because small gray-value changes are not taken into account if the bin size is chosen too small. The more bins used, the more accurate is the outcome of the registration. Since our method allows for non-quantized sample values it is not affected by the binning effect. Fig. 1 shows the registration of low contrast images with intensities in [0,25]. To illustrate the binning effect, the intensity range [0,255] was discretized with 128 and 256 bins. Our method leads to a nearly perfect matching (c.f. fig. 1(c)), whereas the histogram-based methods fail to produce an accurate result (c.f. figs. 1(d),(e)).

In a second experiment we registrated simulated T1/T2 brain images from the brain-web database. As expected, the histogram based method leads to mis- registration of regions with low local contrast, e.g. the border between gray and white matter (c.f. figs. 2(h),(d)).

(5)

Fig. 2.Registration results; (a) reference; (e) template; (b) NFFT based; (f) histogram based (32 bins); (c) reference (detail); (g) template (detail); (d) NFFT based (detail);

(h) histogram based method (detail).

(a) (b) (c) (d)

(e) (f) (g) (h)

References

1. P. Viola.Alignment by Maximization of Mutual Information.PhD thesis, MIT, 1995.

2. A. Collignon, F. Maes, D. Vandermeulen, P. Suetens, and G. Marchal.Automated multi-modality image Registration based on information theory.Information Process- ing in Medical Imaging, 1995.

3. G. Hermosillo.Variational Methods for Multimodal Image Registration.PhD thesis, Universit´e de Nice, France, 2002.

4. E. D’Agostino, F. Maes, D. Vandermeulen, P.Suetens. A viscous flow model for multimodal non-rigid image registration using mutual information. MICCAI 2002, Tokyo, 23-26 September, 2002.

5. S. Kunis, D. Potts. Software package, C subroutine library. http://www.math.uni- luebeck.de/potts/nfft, 2003

6. D. Potts, G. Steidl.Fast Summation at non-equidistant knots by NFFTs.SIAM J.

Sci. Comput., 24:2013-2037, 2003.

7. B. Fischer, J. Modersitzki.Curvature based image registration.JMIV 18(1), 2003.

8. O. Mahnke, S. Heldmann, J. Modersitzki, B. Fischer. A variational approach for maximizing mutual information.In preparation, 2004.

9. L. Greegard and X. Sun.The fast Gauss transform.Doc. Math. J. DMV, 3:575-584, 1998.

Referenzen

ÄHNLICHE DOKUMENTE

In a first experiment we successfully demonstrated our method for the registration of artificially deformed data where we were able to almost recover the original deformation based

The overall idea is to avoid locally ambiguous mappings between parts of the images by re- moving morphological details but also finding a global optimal solution by spreading

The re- sulting displacement field may be described as a linear combination of pre-selected basis functions (parametric approach), or, as in our case, it may be computed as a

Keywords: medical image registration, statistical methods, mutual information, weighted distance measure, elastic

Elastic registration of high resolution images of serial histologic sections of the human brain is quantitatively accurate and provides an registered stack of images that can

Fischer, B., Modersitzki, J.: A unified approach to fast image registration and a new curvature based registration technique. In: In

In general, the constraint is applied globally with one global regularization parameter and – for the elastic regular- izer – with elastic properties independent from the

We discuss individual methods for various applications, including the registration of magnetic resonance images of a female breast subject to some volume preserving constraints..