Skip to main content
. Author manuscript; available in PMC: 2010 Nov 2.
Published in final edited form as: IEEE Trans Image Process. 2008 May;17(5):645–656. doi: 10.1109/TIP.2008.920737

TABLE I.

Basic Fast Algorithm for Geometry Independent Speeds

  • Step 1: Initialize arrays φ̂ and F̂, and the lists Lout and Lin.

  • Step 2: Compute speed F for all points in Lout and Lin and store sign in .

  • Step 3: Scan through the two lists Lout and Lin and update:

    • Outward evolution. Scan through Lout. For each point xLout, switch_in(x) if (x) > 0.

    • Eliminate redundant points in Lin. Scan through Lin. For each point xLin, if ∀yN(x), φ̂(y) < 0, delete x from Lin, and set φ̂(x) = −3.

    • Inward evolution. Scan through Lin. For each point xLin, switch_out(x) if (x) < 0.

    • Eliminate redundant points in Lout. Scan through Lout. For each point xLout, if ∀yN(x), φ̂(y) > 0, delete x from Lout, and set φ̂(x) = 3.

  • Step 4: If the stopping condition is not satisfied, go to Step 2.