fbpx
Wikipedia

Level-set method

The Level-set method (LSM) is a conceptual framework for using level sets as a tool for numerical analysis of surfaces and shapes. LSM can perform numerical computations involving curves and surfaces on a fixed Cartesian grid without having to parameterize these objects.[1] LSM makes it easier to perform computations on shapes with sharp corners and shapes that change topology (such as by splitting in two or developing holes). These characteristics make LSM effective for modeling objects that vary in time, such as an airbag inflating or a drop of oil floating in water.

Video of spiral being propagated by level sets (curvature flow) in 2D. Left image shows zero-level solution. Right image shows the level-set scalar field.
An illustration of the level-set method

Overview edit

The figure on the right illustrates several ideas about LSM. In the upper-left corner 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 X-Y 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 (interior of the shape) or zero (at the boundary).

In the top row, the shape's topology changes as it is split in two. It is challenging to describe this transformation numerically by parameterizing the boundary of the shape and following its evolution. An algorithm can be used to detect the moment the shape splits in two and then construct parameterizations for the two newly obtained curves. On the bottom row, however, the plane at which the level set function is sampled is translated downwards, on which the shape's change in topology is described. It is less challenging to work with a shape through its level-set function rather than with itself directly, in which a method would need to consider all the possible deformations the shape might undergo.

Thus, in two dimensions, the level-set method amounts to representing a closed curve   (such as the shape boundary in our example) using an auxiliary function  , called the level-set function. The curve   is represented as the zero-level set of   by

 

and the level-set method manipulates   implicitly through the function  . This function   is assumed to take positive values inside the region delimited by the curve   and negative values outside.[2][3]

The level-set equation edit

If the curve   moves in the normal direction with a speed  , then by chain rule and implicit differentiation, it can be determined that the level-set function   satisfies the level-set equation

 

Here,   is the Euclidean norm (denoted customarily by single bars in partial differential equations), and   is time. This is a partial differential equation, in particular a Hamilton–Jacobi equation, and can be solved numerically, for example, by using finite differences on a Cartesian grid.[2][3]

However, numerical solution of the level set equation may require advanced techniques. Simple finite difference methods fail quickly. Upwinding methods such as the Godunov method are considered better; however, the level set method does not guarantee preservation of the volume and shape of the set level in an advection field that maintains shape and size, for example a uniform or rotational velocity field. Instead, the shape of the level set may become distorted, and the level set may disappear over a few time steps. Therefore, high-order finite difference schemes, such as high-order essentially non-oscillatory (ENO) schemes, are often required, and even then, the feasibility of long-term simulations is questionable. More advanced methods have been developed to overcome this; for example, combinations of the leveling method with tracking marker particles suggested by the velocity field.[4]

Example edit

Consider a unit circle in  , shrinking in on itself at a constant rate, i.e. each point on the boundary of the circle moves along its inwards pointing normally at some fixed speed. The circle will shrink and eventually collapse down to a point. If an initial distance field is constructed (i.e. a function whose value is the signed Euclidean distance to the boundary, positive interior, negative exterior) on the initial circle, the normalized gradient of this field will be the circle normal.

If the field has a constant value subtracted from it in time, the zero level (which was the initial boundary) of the new fields will also be circular and will similarly collapse to a point. This is due to this being effectively the temporal integration of the Eikonal equation with a fixed front velocity.

Applications edit

History edit

The level-set method was developed in 1979 by Alain Dervieux,[5] and subsequently popularized by Stanley Osher and James Sethian. It has since become popular in many disciplines, such as image processing, computer graphics, computational geometry, optimization, computational fluid dynamics, and computational biology.

See also edit

References edit

  1. ^ Osher, S.; Sethian, J. A. (1988), "Fronts propagating with curvature-dependent speed: Algorithms based on Hamilton–Jacobi formulations" (PDF), J. Comput. Phys., 79 (1): 12–49, Bibcode:1988JCoPh..79...12O, CiteSeerX 10.1.1.46.1266, doi:10.1016/0021-9991(88)90002-2, hdl:10338.dmlcz/144762, S2CID 205007680
  2. ^ a b Osher, Stanley J.; Fedkiw, Ronald P. (2002). Level Set Methods and Dynamic Implicit Surfaces. Springer-Verlag. ISBN 978-0-387-95482-0.
  3. ^ a b Sethian, James A. (1999). Level Set Methods and Fast Marching Methods : Evolving Interfaces in Computational Geometry, Fluid Mechanics, Computer Vision, and Materials Science. Cambridge University Press. ISBN 978-0-521-64557-7.
  4. ^ Enright, D.; Fedkiw, R. P.; Ferziger, J. H.; Mitchell, I. (2002), "A hybrid particle level set method for improved interface capturing" (PDF), J. Comput. Phys., 183 (1): 83–116, Bibcode:2002JCoPh.183...83E, CiteSeerX 10.1.1.15.910, doi:10.1006/jcph.2002.7166
  5. ^ Dervieux, A.; Thomasset, F. (1980). "A finite element method for the simulation of a Rayleigh-Taylor instability". Approximation Methods for Navier-Stokes Problems. Lecture Notes in Mathematics. Vol. 771. Springer. pp. 145–158. doi:10.1007/BFb0086904. ISBN 978-3-540-38550-9.

External links edit

  • See Ronald Fedkiw's academic web page for many pictures and animations showing how the level-set method can be used to model real-life phenomena.
  • Multivac is a C++ library for front tracking in 2D with level-set methods.
  • James Sethian's web page on level-set method.
  • Stanley Osher's homepage.
  • The Level Set Method. MIT 16.920J / 2.097J / 6.339J. Numerical Methods for Partial Differential Equations by Per-Olof Persson. March 8, 2005
  • Lecture 11: The Level Set Method: MIT 18.086. Mathematical Methods for Engineers II by Gilbert Strang

level, method, this, article, tone, style, reflect, encyclopedic, tone, used, wikipedia, wikipedia, guide, writing, better, articles, suggestions, december, 2023, learn, when, remove, this, message, conceptual, framework, using, level, sets, tool, numerical, a. This article s tone or style may not reflect the encyclopedic tone used on Wikipedia See Wikipedia s guide to writing better articles for suggestions December 2023 Learn how and when to remove this message The Level set method LSM is a conceptual framework for using level sets as a tool for numerical analysis of surfaces and shapes LSM can perform numerical computations involving curves and surfaces on a fixed Cartesian grid without having to parameterize these objects 1 LSM makes it easier to perform computations on shapes with sharp corners and shapes that change topology such as by splitting in two or developing holes These characteristics make LSM effective for modeling objects that vary in time such as an airbag inflating or a drop of oil floating in water source source source source source source Video of spiral being propagated by level sets curvature flow in 2D Left image shows zero level solution Right image shows the level set scalar field An illustration of the level set method Contents 1 Overview 2 The level set equation 3 Example 4 Applications 5 History 6 See also 7 References 8 External linksOverview editThe figure on the right illustrates several ideas about LSM In the upper left corner a bounded region with a well behaved boundary Below it the red surface is the graph of a level set function f displaystyle varphi nbsp determining this shape and the flat blue region represents the X Y plane The boundary of the shape is then the zero level set of f displaystyle varphi nbsp while the shape itself is the set of points in the plane for which f displaystyle varphi nbsp is positive interior of the shape or zero at the boundary In the top row the shape s topology changes as it is split in two It is challenging to describe this transformation numerically by parameterizing the boundary of the shape and following its evolution An algorithm can be used to detect the moment the shape splits in two and then construct parameterizations for the two newly obtained curves On the bottom row however the plane at which the level set function is sampled is translated downwards on which the shape s change in topology is described It is less challenging to work with a shape through its level set function rather than with itself directly in which a method would need to consider all the possible deformations the shape might undergo Thus in two dimensions the level set method amounts to representing a closed curve G displaystyle Gamma nbsp such as the shape boundary in our example using an auxiliary function f displaystyle varphi nbsp called the level set function The curve G displaystyle Gamma nbsp is represented as the zero level set of f displaystyle varphi nbsp by G x y f x y 0 displaystyle Gamma x y mid varphi x y 0 nbsp and the level set method manipulates G displaystyle Gamma nbsp implicitly through the function f displaystyle varphi nbsp This function f displaystyle varphi nbsp is assumed to take positive values inside the region delimited by the curve G displaystyle Gamma nbsp and negative values outside 2 3 The level set equation editIf the curve G displaystyle Gamma nbsp moves in the normal direction with a speed v displaystyle v nbsp then by chain rule and implicit differentiation it can be determined that the level set function f displaystyle varphi nbsp satisfies the level set equation f t v f displaystyle frac partial varphi partial t v nabla varphi nbsp Here displaystyle cdot nbsp is the Euclidean norm denoted customarily by single bars in partial differential equations and t displaystyle t nbsp is time This is a partial differential equation in particular a Hamilton Jacobi equation and can be solved numerically for example by using finite differences on a Cartesian grid 2 3 However numerical solution of the level set equation may require advanced techniques Simple finite difference methods fail quickly Upwinding methods such as the Godunov method are considered better however the level set method does not guarantee preservation of the volume and shape of the set level in an advection field that maintains shape and size for example a uniform or rotational velocity field Instead the shape of the level set may become distorted and the level set may disappear over a few time steps Therefore high order finite difference schemes such as high order essentially non oscillatory ENO schemes are often required and even then the feasibility of long term simulations is questionable More advanced methods have been developed to overcome this for example combinations of the leveling method with tracking marker particles suggested by the velocity field 4 Example editConsider a unit circle in R 2 textstyle mathbb R 2 nbsp shrinking in on itself at a constant rate i e each point on the boundary of the circle moves along its inwards pointing normally at some fixed speed The circle will shrink and eventually collapse down to a point If an initial distance field is constructed i e a function whose value is the signed Euclidean distance to the boundary positive interior negative exterior on the initial circle the normalized gradient of this field will be the circle normal If the field has a constant value subtracted from it in time the zero level which was the initial boundary of the new fields will also be circular and will similarly collapse to a point This is due to this being effectively the temporal integration of the Eikonal equation with a fixed front velocity Applications editIn mathematical modeling of combustion LSM is used to describe the instantaneous flame surface known as the G equation Level set data structures have been developed to facilitate the use of the level set method in computer applications Computational fluid dynamics Trajectory planning Optimization Image processing Computational biophysics Discrete complex dynamics visualization of the parameter plane and the dynamic plane History editThe level set method was developed in 1979 by Alain Dervieux 5 and subsequently popularized by Stanley Osher and James Sethian It has since become popular in many disciplines such as image processing computer graphics computational geometry optimization computational fluid dynamics and computational biology See also editContour boxplot Zebra analysis G equation Advanced Simulation Library Volume of fluid method Image segmentation Level set methods Immersed boundary method Stochastic Eulerian Lagrangian method Level set data structures PosterizationReferences edit Osher S Sethian J A 1988 Fronts propagating with curvature dependent speed Algorithms based on Hamilton Jacobi formulations PDF J Comput Phys 79 1 12 49 Bibcode 1988JCoPh 79 12O CiteSeerX 10 1 1 46 1266 doi 10 1016 0021 9991 88 90002 2 hdl 10338 dmlcz 144762 S2CID 205007680 a b Osher Stanley J Fedkiw Ronald P 2002 Level Set Methods and Dynamic Implicit Surfaces Springer Verlag ISBN 978 0 387 95482 0 a b Sethian James A 1999 Level Set Methods and Fast Marching Methods Evolving Interfaces in Computational Geometry Fluid Mechanics Computer Vision and Materials Science Cambridge University Press ISBN 978 0 521 64557 7 Enright D Fedkiw R P Ferziger J H Mitchell I 2002 A hybrid particle level set method for improved interface capturing PDF J Comput Phys 183 1 83 116 Bibcode 2002JCoPh 183 83E CiteSeerX 10 1 1 15 910 doi 10 1006 jcph 2002 7166 Dervieux A Thomasset F 1980 A finite element method for the simulation of a Rayleigh Taylor instability Approximation Methods for Navier Stokes Problems Lecture Notes in Mathematics Vol 771 Springer pp 145 158 doi 10 1007 BFb0086904 ISBN 978 3 540 38550 9 External links editSee Ronald Fedkiw s academic web page for many pictures and animations showing how the level set method can be used to model real life phenomena Multivac is a C library for front tracking in 2D with level set methods James Sethian s web page on level set method Stanley Osher s homepage The Level Set Method MIT 16 920J 2 097J 6 339J Numerical Methods for Partial Differential Equations by Per Olof Persson March 8 2005 Lecture 11 The Level Set Method MIT 18 086 Mathematical Methods for Engineers II by Gilbert Strang Retrieved from https en wikipedia org w index php title Level set method amp oldid 1224694412, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.