- Level set method
The level set method (sometimes abbreviated as LSM) is a numerical technique for tracking interfaces and
shape s. The advantage of the level set method is that one can perform numerical computations involvingcurve s andsurfaces on a fixedCartesian grid without having to parameterize these objects (this is called the "Eulerian approach"). Also, the level set method makes it very easy to follow shapes that changetopology , for example when a shape splits in two, develops holes, or the reverse of these operations. All these make the level set method a great tool for modeling time-varying objects, like inflation of anairbag , or a drop of oil floating in water.Level set function
In two dimensions, the level set method amounts to representing a
closed curve in the plane as the zerolevel set of a two-dimensional auxiliary function , :and then manipulating "implicitly", through the function . This function is called a "level set function". is assumed to take positive values inside the region delimited by the curve and negative values outside.The picture above illustrates several important ideas about the level set method. In the upper-left corner we see a shape, that is, a bounded region with a well-behaved boundary. Below it, the red surface is the graph of a level set function determining this shape, and the flat blue region represents the plane. The boundary of the shape is then the zero level set of , while the shape itself is the set of points in the plane for which is positive or zero.
In the top row we see a shape changing topology by splitting in two. It would be quite hard to describe this transformation numerically by parameterizing the boundary of the shape and following its evolution. One would need an algorithm able to detect the moment the shape splits in two, and then construct parameterizations for the two newly obtained curves. On the other hand, if we look at the bottom row, we see that the level set function merely got translated downward. We see that it is much easier to work with a shape through its level set function than with the shape directly, when we need to watch out for all the possible deformations the shape might undergo.
The level set equation
If the zero level set moves in the normal direction to itself with a speed "v", this movement can be represented by means of a so-called "
Hamilton-Jacobi equation " for the level set function: :This is apartial differential equation , and can be solved numerically, for example by usingfinite difference s on a Cartesian grid.History
The level set method was developed in the 1980s by the American mathematicians
Stanley Osher andJames Sethian . It has become popular in many disciplines, such asimage processing ,computer graphics ,computational geometry , optimization, andcomputational fluid dynamics .A number of
level set data structures have been developed to facilitate the use of the level set method in computer applications.References
* Osher, S. & Sethian, J. A. (1988) "Fronts propagating with curvature-dependent speed: Algorithms based on Hamilton-Jacobi formulations". Journal of Computation Physics, vol. 79, pages 12–49.
* Osher, Stanley J. & Fedkiw, Ronald P. (2002) "Level Set Methods and Dynamic Implicit Surfaces". Springer-Verlag. ISBN 0-387-95482-1.
* Sethian, James A. (1999) "Level Set Methods and Fast Marching Methods : Evolving Interfaces in Computational Geometry, Fluid Mechanics, Computer Vision, and Materials Science" (2nd ed.). Cambridge University Press. ISBN 0-521-64557-3.External links
* See
Ronald Fedkiw 's [http://graphics.stanford.edu/~fedkiw/ academic web page] for many stunning pictures and animations showing how the level set method can be used to model real life phenomena, like fire, water, cloth, fracturing materials, etc.
* [http://vivienmallet.net/fronts/ Multivac] is a C++ library for front tracking in 2D with level set methods.
*James Sethian 's [http://math.berkeley.edu/~sethian/ web page] on level set method.
*Stanley Osher 's [http://www.math.ucla.edu/~sjo/ homepage] .
Wikimedia Foundation. 2010.