Fast marching method
The fast marching method[1] is a numerical method created by James Sethian for solving boundary value problems of the Eikonal equation:
- [math]\displaystyle{ |\nabla u(x)|=1/f(x) \text{ for } x \in \Omega }[/math]
- [math]\displaystyle{ u(x) = 0 \text{ for } x \in \partial \Omega }[/math]
Typically, such a problem describes the evolution of a closed surface as a function of time [math]\displaystyle{ u }[/math] with speed [math]\displaystyle{ f }[/math] in the normal direction at a point [math]\displaystyle{ x }[/math] on the propagating surface. The speed function is specified, and the time at which the contour crosses a point [math]\displaystyle{ x }[/math] is obtained by solving the equation. Alternatively, [math]\displaystyle{ u(x) }[/math] can be thought of as the minimum amount of time it would take to reach [math]\displaystyle{ \partial\Omega }[/math] starting from the point [math]\displaystyle{ x }[/math]. The fast marching method takes advantage of this optimal control interpretation of the problem in order to build a solution outwards starting from the "known information", i.e. the boundary values.
The algorithm is similar to Dijkstra's algorithm and uses the fact that information only flows outward from the seeding area. This problem is a special case of level-set methods. More general algorithms exist but are normally slower.
Extensions to non-flat (triangulated) domains solving
- [math]\displaystyle{ |\nabla_S u(x)|=1 / f(x), }[/math]
for the surface [math]\displaystyle{ S }[/math] and [math]\displaystyle{ x\in S }[/math], were introduced by Ron Kimmel and James Sethian.
Algorithm
First, assume that the domain has been discretized into a mesh. We will refer to meshpoints as nodes. Each node [math]\displaystyle{ x_i }[/math] has a corresponding value [math]\displaystyle{ U_i = U(x_i) \approx u(x_i) }[/math].
The algorithm works just like Dijkstra's algorithm but differs in how the nodes' values are calculated. In Dijkstra's algorithm, a node's value is calculated using a single one of the neighboring nodes. However, in solving the PDE in [math]\displaystyle{ \mathbb{R}^n }[/math], between [math]\displaystyle{ 1 }[/math] and [math]\displaystyle{ n }[/math] of the neighboring nodes are used.
Nodes are labeled as far (not yet visited), considered (visited and value tentatively assigned), and accepted (visited and value permanently assigned).
- Assign every node [math]\displaystyle{ x_i }[/math] the value of [math]\displaystyle{ U_i=+\infty }[/math] and label them as far; for all nodes [math]\displaystyle{ x_i \in \partial\Omega }[/math] set [math]\displaystyle{ U_i = 0 }[/math] and label [math]\displaystyle{ x_i }[/math] as accepted.
- For every far node [math]\displaystyle{ x_i }[/math], use the Eikonal update formula to calculate a new value for [math]\displaystyle{ \tilde{U} }[/math]. If [math]\displaystyle{ \tilde{U} \lt U_i }[/math] then set [math]\displaystyle{ U_i = \tilde{U} }[/math] and label [math]\displaystyle{ x_i }[/math] as considered.
- Let [math]\displaystyle{ \tilde{x} }[/math] be the considered node with the smallest value [math]\displaystyle{ U }[/math]. Label [math]\displaystyle{ \tilde{x} }[/math] as accepted.
- For every neighbor [math]\displaystyle{ x_i }[/math] of [math]\displaystyle{ \tilde{x} }[/math] that is not-accepted, calculate a tentative value [math]\displaystyle{ \tilde{U} }[/math].
- If [math]\displaystyle{ \tilde{U} \lt U_i }[/math] then set [math]\displaystyle{ U_i = \tilde{U} }[/math]. If [math]\displaystyle{ x_i }[/math] was labeled as far, update the label to considered.
- If there exists a considered node, return to step 3. Otherwise, terminate.
See also
External links
- Dijkstra-like Methods for the Eikonal Equation J.N. Tsitsiklis, 1995
- The Fast Marching Method and its Applications by James A. Sethian
- Multi-Stencils Fast Marching Methods
- Multi-Stencils Fast Marching Matlab Implementation
- Implementation Details of the Fast Marching Methods
- Generalized Fast Marching method by Forcadel et al. [2008] for applications in image segmentation.
- Python Implementation of the Fast Marching Method
- See Chapter 8 in Design and Optimization of Nano-Optical Elements by Coupling Fabrication to Optical Behavior
Notes
Original source: https://en.wikipedia.org/wiki/Fast marching method.
Read more |