Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Kluwer - Handbook of Biomedical Image Analysis Vol

.1.pdf
Скачиваний:
106
Добавлен:
10.08.2013
Размер:
10.58 Mб
Скачать

Recent Advances in the Level Set Method

235

important when having to interpolate the data to determine the front speed on the boundary contour. Of the three methods, this is the only one that has this capability.

The Immersed Interface Method

The immersed interface method, introduced by LeVeque and Li [74], has also been coupled to the level set method [76, 78]. Like the X-FEM described above, the immersed interface method is designed to solve elliptic equations which arise in a variety of physical applications. The advantage of the immersed interface method is that it is second-order accurate, even near the interface where jump conditions may appear.

The immersed interface method is designed to solve equations of the form

· (β(x) u(x)) + κ(x)u(x) = f (x),

(4.58)

where the coefficient functions β, κ, and f may have discontinuities across an interface . The function f may also have a delta function singularity, which often arises, for example, from surface tension in multiphase flow.

The key idea in the immersed interface method is to modify the discretization of Eq. 4.58 in such a way that the jump discontinuities and singularities are accounted for, leading to a fully second-order method. At points away from the interface, where the coefficient functions and the solution are smooth, the standard central difference approximation is used. However, for grid points which are near the interface, an additional grid point is added to the usual central difference stencil to account for a second-order Taylor approximation around a point on the interface.

To illustrate how this method works, consider the one-dimensional problem

(βux)x +κu = f, x [0, 1] \ α,

(4.59)

u+ u= a,

at x = α,

(4.60)

u+x ux = b,

at x = α,

(4.61)

where uis the value of u on the interval [0, α], and u+ is the value of u on the interval [α, 1]. Suppose that the point α is located between the uniformly spaced grid points xi and xi+1. The idea is to calculate coefficients γi−1, γi, γi+1, and an

236

Chopp

additional constant, Ci, so that the approximation

 

γi−1ui−1 + γiui + γi+1ui+1 + κiui = fi + Ci

(4.62)

is second-order accurate, with jump conditions Eqs. 4.60 and 4.61.

To determine the γi’s, Taylor expansions are taken about the point x = α to

get

u(xi−1) = u+ (xi−1

α)ux

+

 

1

(xi−1

α)2uxx + O ( x3),

(4.63)

2

u(xi) = u+ (xi α)ux +

1

(xi α)2uxx + O ( x3),

(4.64)

 

 

2

u(xi+1) = u+ + (xi+1

α)u+x

+

1

(xi+1

α)2u+xx + O ( x3).

(4.65)

 

 

2

These expansions are inserted into Eq. 4.62, and the u+ terms are eliminated from the equation by using the jump conditions Eqs. 4.60 and 4.61, combined with the equation

(βu+x )x + κu+ = (βux )x + κu,

(4.66)

which comes from the continuity of f in Eq. 4.59. The function f on the right side

of Eq. 4.62 is replaced with the approximation from the left side, f

=

(βu)x

+

κu. This results in the following equation:

 

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

γi−1 u+ (xi−1 α)ux +

1

(xi−1

α)2uxx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

+ γi u+ (xi α)ux +

1

(xi α)2uxx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

γ

u

a

+

(x

 

 

α)(u

+

b)

+

1

(x

α)2

u

x κa

 

 

+ i+1

+

 

i+1

 

 

 

 

 

x

 

2

 

i+1

 

xx

 

β

 

 

+ κ u+ (xi α)ux +

1

(xi α)2uxx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

= βxux

+ βuxx + κu+ Ci + O ( x3)

 

 

 

 

 

 

 

 

 

 

(4.67)

The coefficients γi−1, γi, γi+1, and Ci are now chosen so that Eq. 4.67 holds up to second order. This leads to the following equations:

γi−1 + γi + γi+1

= 0,

 

 

(4.68)

γi−1(xi−1 α) + γi(xi α) + γi+1(xi+1 α) + κ(xi α) = βx,

(4.69)

γi−1(xi−1 α)2 + γi(xi α)2 + γi+1(xi+1 α)2 + κ(xi α)2 = 2β,

(4.70)

1

(

x

)(

)2

= Ci.

 

γi+1 a + b(xi+1 α) −

 

 

κa xi+1 α

 

(4.71)

2

 

 

β

 

Recent Advances in the Level Set Method

237

 

(x*,y*)

 

(x*, y*)

1

2

1

2

(a)

(b)

Figure 4.20: Choice of stencil for (a) points not crossed by the interface and (b) points where the interface crosses the stencil. Dashed lines indicate the points used in the stencil.

These equations are solved for γi−1, γi, γi+1, and Ci, thus determining the numerical approximation corresponding to the point xi using Eq. 4.62. A similar process is followed for the approximation centered at xi+1. This results in a specialized discretization at these two points and standard central difference approximations everywhere else.

For higher dimensional problems, a similar approach is taken. At grid points not crossed by the interface, the standard central difference stencil is used (see Fig. 4.20(a)) to approximate Eq. 4.58. At grid points where the interface crosses through the stencil, an additional grid point is chosen across the interface from the center of the stencil (see Fig. 4.20(b)).

When building the specialized discretization for the stencil at grid points as in Fig. 4.20(b), a point (x , y ) is chosen for the point around which the approximation will be computed, and around which all Taylor expansions will be taken. Usually, the point (x , y ) is the point on the interface closest to the center of the stencil (in this example, point 2). Once (x , y ) is chosen, a coordinate transformation is taken so that the interface normal maps onto the x-axis. Once this coordinate transformation is completed, the computation of the stencil is similar to the one-dimensional case described above.

As noted earlier, the advantage of this method is that it is truly second-order accurate, even in the neighborhood of the interface. However, the stencil that is produced is irregular, and it sometimes can be difficult to solve the resulting linear system. Also, the choice of the points (x , y ) is somewhat arbitrary, and

238

Chopp

it is not clear what the best choices should be. Nonetheless, the method has been used successfully in a number of applications, e.g. see the review in [76].

The Ghost Point Method

The ghost point method [50] is another method designed to solve elliptic equations with irregular and moving boundaries represented by the level set method. The idea behind this method is similar to the use of what are often called ghost points for discretizing boundary conditions in finite difference methods. In this context, ghost points are grid points located outside the computational domain, and are used to enforce boundary conditions.

The method presented in [50] is designed to solve equations of the form

· (β u) = f,

 

= g,

(4.72)

u

in an irregularly shaped domain , where β and f are smooth functions defined on , and g is defined on , the boundary of . This is a more restrictive class of problems than can be handled by the previous two methods described, but it is a class of problems that often arises. By focusing on this simpler class, a second-order method with a simple discretization can be employed, which uses a stencil that has properties which make it easier to solve numerically than the system created by the previous methods.

To illustrate this method, consider first the one-dimensional problem

(βux)x = f,

(4.73)

with = xI , and u(xI ) = uI . Assume xI lies between the two grid points xi and xi+1. For points xj in the interior of the domain, the central difference discretization, similar to the one used in the immersed interface method, is used:

x

 

j+

2

x

 

j2

x

=

j

 

 

1

 

β

 

1

uj+1 uj

 

β

1

uj uj−1

 

f

.

(4.74)

 

 

 

 

 

 

 

At the boundary, the discretization Eq. 4.74 is again employed, but the value of ui+1 is not defined because xi+1 is outside of . Instead, a ghost value for ui+1 is computed from the boundary condition using a linear extrapolation:

u

=

uI + (θ − 1)ui

, where θ

=

xI xi

.

(4.75)

 

i+1

θ

x

 

Recent Advances in the Level Set Method

239

For stability reasons, if θ < x, then Eq. 4.75 is replaced with ui+1 = uI . Using Eq. 4.75 in Eq. 4.74 produces the following discretization for the point near the boundary:

x

i+

2

θ x

i

2

x

= i

 

1

 

β

1

uI ui

 

β

1

ui ui−1

f .

(4.76)

 

 

 

 

 

In multiple dimensions, this same extrapolation technique is carried out along each coordinate direction.

The resulting discretization is only first-order accurate near the boundary, but is second-order accurate overall. This is due to the confinement of the firstorder error to the nodes adjacent to the boundary. On the other hand, the linear system that comes from this discretization can be solved using faster conjugate gradient-type algorithms. Increasing the order of the extrapolation to compute ui+1 can result in a linear system that is more difficult to solve numerically, because of the non-symmetric stencil, and hence is not preferred.

This method is used primarily for its simplicity, while still yielding secondorder convergence overall. For problems where the accuracy at the boundary is critical, this is probably not the preferred method, especially if the solution is difficult to resolve near the boundary. The method has been used in a handful of applications, for example, see [124].

Comparison of the Elliptic Equation Solvers

The algorithms presented here, for solving elliptic equations in conjunction with the level set method, vary significantly in sophistication, complexity, and capability. The X-FEM approach is by far the most difficult to construct, but is also the most general, and has the greatest potential to solve challenging problems. In particular, the X-FEM approach provides a much more accurate representation of the solution near the boundary, a property that is of critical importance when the velocity of the interface depends on this very value.

The immersed interface method and ghost point method, on the other hand, are built much more easily, and still produce accurate solutions. The immersed interface method handles a larger range of equations than does the ghost point method, which is the most restrictive in this regard. Between these two methods, the immersed interface method is more accurate at the boundary, but at the expense of a more difficult system of equations to solve numerically.

240

Chopp

The ghost point method is probably the fastest, due to its use of faster linear solvers, but an actual direct comparison has not been done. Both the immersed interface method and ghost point method will be faster than the X-FEM approach on the same mesh. However, to obtain the same accuracy near the interface, the X-FEM will not require as fine a mesh as the others, and hence can make up the difference in time by using a coarser mesh to obtain comparable results. A direct comparison of these three methods is the subject of current research.

4.3.4 Particle Level Set Method

Another modification of the level set method, called the particle level set method, was proposed by Enright et al. in [38]. In the particle level set method, the level set function is compared with the motion of particles which move along the characteristics of the same velocity field. For an interface which is passively advected using the same velocity field, the particles, in theory, should not cross the interface. By comparing the motion of the particles with the moving interface, problems with the location of the interface can be identified and corrected.

Suppose the interface velocity is determined by a velocity field v(x, t). Given this velocity, the interface speed function, F, in Eq. 4.5 is given by

F

=

v

·

n

=

v

·

 

φ

.

(4.77)

φ

 

 

 

 

 

 

Substituting this expression for F into Eq. 4.77 gives the passive interface advection equation

∂φ

+ v · φ = 0.

(4.78)

∂t

At the same time, the particles themselves are moving with this same velocity, v. These two evolutions are coupled together when the particles are checked to see if any has crossed the interface, which in this case indicates that a particle has moved from a point where φ > 0 to a point where φ < 0, or vice versa. At that point, the level set function is “corrected.”

In [38], a large number of particles are randomly distributed uniformly in the neighborhood of the interface φ = 0. Each particle, p, is assigned a sign, sp, to indicate whether it is starting where φ > 0 or φ < 0, and is also assigned its distance, rp, to the interface. As the evolution of the interface and the particles

Recent Advances in the Level Set Method

241

proceeds, the particle locations are periodically checked to determine whether they have strayed across the level set function interface.

When a particle is determined to have strayed sufficiently far across the level set interface, the interface is reconstructed using the particle information. To do this, each particle, p, located at the point xp, is assigned a local signed distance function

dp(x) = sp(rp x xp ).

(4.79)

The level set function is now reconstructed in two steps. First, the functions φ+ and φare computed where

φ+(x)

max d

(x),

(4.80)

φ(x)

= p P+ p

(x),

 

min d

(4.81)

 

= p Pp

 

 

and where P+ and Pare the sets of points which were assigned positive and negative sp respectively. The final φ function is now recovered from φ+ and φby the equation

φ(x)

=

absmin(φ+(x), φ(x)),

(4.82)

 

 

 

where

a, |a| < |b|

absmin(a, b) = . (4.83) b, |b| ≤ |a|

There is no guarantee that the resulting reconstructed level set function will be a signed distance function, so if this is desired, a reinitialization step will be applied to reform φ into a signed distance function.

What is novel about this approach is the use of the Lagrangian and Eulerian methods to play against each other to ensure proper interface motion. However, one must carefully determine when the particle solution is correct, versus the level set evolution. This is determined by checking the local characteristics to see if they are colliding or expanding. The level set evolution tends to be better when characteristics are colliding, whereas the particle method will be more reliable when the interface is moving tangentially or stretching. Nonetheless, this combination tries to extract the positive capabilities of both the Lagrangian and Eulerian types of approaches to interface motion, while discounting the negatives.

242

Chopp

4.4 Conclusion

The level set method has been used for a wide variety of applications and continues to be a very popular tool. Since 2001, the method has been applied to multiphase flow [7–9, 11, 16, 26, 34, 48, 49, 58, 61, 64, 72, 92, 94, 108–113, 135–138], combustion [98], granular flow [36], surfactants [1], solid mechanics [90, 119], crack propagation [53, 116, 117, 127], welding [65, 66], superconductor manufacturing [91], sintering [77], crystal growth [70, 71], Ostwald ripening and epitaxial growth [18, 37, 51, 89, 95], etching and deposition [59, 62, 63, 73, 96, 97, 130, 132], inverse scattering and shape reconstruction [15, 31, 43–45], image processing [10, 13, 27, 54, 79, 93, 99, 125, 126, 128, 134], medical imaging [30, 87, 122], shape optimization and tomography [5, 60, 86, 131], grid generation [57], bacterial biofilms [33], tissue engineering [83], and string theory [56]. The breadth of the applications is a tribute to the level set method and its creators.

In addition, the fast marching method on its own has made a contribution to a number of areas including crack propagation [24,120], shape reconstruction [35], image processing [4, 28, 47, 52, 67, 114], medical imaging [6, 12, 32, 133], computer graphics and visualization [139], and robotic navigation [68, 69].

Despite its tremendous popularity, the level set method is not suitable for every interface propagation problem. The implicit representation of the interface can be cumbersome at times, and if the more powerful features of the level set method are not required for a given problem, then simpler methods may be more appropriate. This is especially true if the alternative methods are also faster, which can often be the case. For this reason, it is important to remember the following key distinguishing features of the level set method:

1.topological changes are handled smoothly with no user intervention required,

2.corners and cusps in the interface are handled properly by using methods borrowed from hyperbolic conservation laws,

3.the method is easily extended to higher dimensions.

Any one of these reasons may be sufficient to employ the level set method, but not every problem requires these advantages. In that case, it would serve the

Recent Advances in the Level Set Method

243

practitioner to consider alternative numerical methods. It may or may not be the case that the level set method is still the best choice.

For a more comprehensive discussion on the level set method, the interested reader is directed to the books by Sethian [104] (which also includes the fast marching method) and Osher and Fedkiw [84].

Questions

1.What are the main advantages of the level set method?

2.What is the importance of the connection between the level set method and hyperbolic conservation laws?

3.What is the difference between the level set method and the fast marching method?

4.Why are triple junctions a problem for the level set method?

5.What is the primary purpose of reinitialization, and why is it important to do it as accurately as possible?

6.What is the alternative to using repeated reinitializations?

7.What kinds of problems can be solved by the general ordered upwind method that could not be solved by the fast marching method?

8.What is the difference between the original velocity extension and the new velocity extension methods?

9.Can the level set method be implemented using the finite element method?

10.What is the advantage of using the X-FEM over a standard finite element formulation?

11.Is the level set method appropriate for all interface propagation problems?

244

Chopp

Bibliography

[1]Adalsteinsson, D. and Sethian, J. A., Transport and diffusion of material quantities on propagating interfaces via level set methods, J. Comput. Phys., Vol. 185, pp. 271–288, 2003.

[2]Adalsteinsson, D. and Sethian, J. A., A fast level set method for propagating interfaces, J. Comput. Phys., Vol. 118, No. 2, pp. 269–277, 1995.

[3]Adalsteinsson, D. and Sethian, J. A., The fast construction of extension velocities in level set methods, J. Comput. Phys., Vol. 48, No. 1, pp. 2– 22, 1999.

[4]Alkhalifah, T., Traveltime computation with the linearized eikonal equation for anisotropic media, Geophys. Prospecting, Vol. 50, pp. 373–382, 2002.

[5]Allaire, G., Jouve, F., and Toader, A. M., A level-set method for shape optimization, C. R. Math., Vol. 334, No. 1125–1130, 2002.

[6]Antiga, L., Ene-Iordache, B., and Remuzzi, A., Computational geometry for patient-specific reconstruction and meshing of blood vessels from mr and ct angiography, IEEE Trans. Med. Imaging, Vol. 22, pp. 674–684, 2003.

[7]Balabel, A., Binninger, B., Herrmann, M., and Peters, N., Calculation of droplet deformationby surface tension effects using the level set method, Combust. Sci. Technol., Vol. 174, pp. 257–278, 2002.

[8]Bassano, E., Numerical simulation of thermo-solutal-capillary migration of a dissolving drop in a cavity, Int. J. Numer. Methods Fluids, Vol. 41, pp. 765–788, 2003.

[9]Bazdidi-Tehrani, F., and Zaman, S., Two-phase heat transfer on an isothermal vertical surface: a numerical simulation, Int. J. Heat Fluid Flow, Vol. 23, pp. 308–316, 2002.

[10]Bertalmio, M., Cheng, L. T., Osher, S., and Sapiro, G., Variational problems and partial differential equations on implicit surfaces, J. Comput. Phys., Vol. 174, pp. 759–780, 2001.