Misplaced Pages

Fast marching method

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Fast marching) Algorithm for solving boundary value problems of the Eikonal equation

The fast marching method is a numerical method created by James Sethian for solving boundary value problems of the Eikonal equation:

| u ( x ) | = 1 / f ( x )  for  x Ω {\displaystyle |\nabla u(x)|=1/f(x){\text{ for }}x\in \Omega }
u ( x ) = 0  for  x Ω {\displaystyle u(x)=0{\text{ for }}x\in \partial \Omega }

Typically, such a problem describes the evolution of a closed surface as a function of time u {\displaystyle u} with speed f {\displaystyle f} in the normal direction at a point x {\displaystyle x} on the propagating surface. The speed function is specified, and the time at which the contour crosses a point x {\displaystyle x} is obtained by solving the equation. Alternatively, u ( x ) {\displaystyle u(x)} can be thought of as the minimum amount of time it would take to reach Ω {\displaystyle \partial \Omega } starting from the point x {\displaystyle x} . 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

| S u ( x ) | = 1 / f ( x ) , {\displaystyle |\nabla _{S}u(x)|=1/f(x),}

for the surface S {\displaystyle S} and x S {\displaystyle x\in S} , were introduced by Ron Kimmel and James Sethian.

  • Maze as speed function shortest path Maze as speed function shortest path
  • Distance map multi-stencils with random source points Distance map multi-stencils with random source points

Algorithm

First, assume that the domain has been discretized into a mesh. We will refer to mesh points as nodes. Each node x i {\displaystyle x_{i}} has a corresponding value U i = U ( x i ) u ( x i ) {\displaystyle U_{i}=U(x_{i})\approx u(x_{i})} .

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 R n {\displaystyle \mathbb {R} ^{n}} , between 1 {\displaystyle 1} and n {\displaystyle n} 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).

  1. Assign every node x i {\displaystyle x_{i}} the value of U i = + {\displaystyle U_{i}=+\infty } and label them as far; for all nodes x i Ω {\displaystyle x_{i}\in \partial \Omega } set U i = 0 {\displaystyle U_{i}=0} and label x i {\displaystyle x_{i}} as accepted.
  2. For every far node x i {\displaystyle x_{i}} , use the Eikonal update formula to calculate a new value for U ~ {\displaystyle {\tilde {U}}} . If U ~ < U i {\displaystyle {\tilde {U}}<U_{i}} then set U i = U ~ {\displaystyle U_{i}={\tilde {U}}} and label x i {\displaystyle x_{i}} as considered.
  3. Let x ~ {\displaystyle {\tilde {x}}} be the considered node with the smallest value U {\displaystyle U} . Label x ~ {\displaystyle {\tilde {x}}} as accepted.
  4. For every neighbor x i {\displaystyle x_{i}} of x ~ {\displaystyle {\tilde {x}}} that is not-accepted, calculate a tentative value U ~ {\displaystyle {\tilde {U}}} .
  5. If U ~ < U i {\displaystyle {\tilde {U}}<U_{i}} then set U i = U ~ {\displaystyle U_{i}={\tilde {U}}} . If x i {\displaystyle x_{i}} was labeled as far, update the label to considered.
  6. If there exists a considered node, return to step 3. Otherwise, terminate.

See also

External links

Notes

  1. J.A. Sethian. A Fast Marching Level Set Method for Monotonically Advancing Fronts, Proc. Natl. Acad. Sci., 93, 4, pp.1591--1595, 1996.
Category: