level set methods - win.tue.nl€¦ · fast marching method update “downwind” level set methods...

59
Level Set methods Sandra Allaart-Bruin [email protected] Level Set methods – p.1/24

Upload: others

Post on 24-Jul-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Level Set methodsSandra Allaart-Bruin

[email protected]

Level Set methods – p.1/24

Page 2: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Overview

Introduction

Boundary Value Formulation

Initial Value Formulation

Numerical schemes

Fast Marching Methods

Narrow Band Level Set

Level Set methods – p.2/24

Page 3: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Overview

Introduction

Boundary Value Formulation

Initial Value Formulation

Numerical schemes

Fast Marching Methods

Narrow Band Level Set

Level Set methods – p.2/24

Page 4: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Overview

Introduction

Boundary Value Formulation

Initial Value Formulation

Numerical schemes

Fast Marching Methods

Narrow Band Level Set

Level Set methods – p.2/24

Page 5: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Overview

Introduction

Boundary Value Formulation

Initial Value Formulation

Numerical schemes

Fast Marching Methods

Narrow Band Level Set

Level Set methods – p.2/24

Page 6: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Overview

Introduction

Boundary Value Formulation

Initial Value Formulation

Numerical schemes

Fast Marching Methods

Narrow Band Level Set

Level Set methods – p.2/24

Page 7: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Overview

Introduction

Boundary Value Formulation

Initial Value Formulation

Numerical schemes

Fast Marching Methods

Narrow Band Level Set

Level Set methods – p.2/24

Page 8: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Introduction

moving interface problem

Local propertiesGlobal properties

Independent properties

Level Set methods – p.3/24

Page 9: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Introduction

moving interface problemSpeed function � �� � � � �

Local propertiesGlobal properties

Independent properties

Level Set methods – p.3/24

Page 10: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Introduction

moving interface problemSpeed function � � � � � � �Local properties

Global properties

Independent properties

Level Set methods – p.3/24

Page 11: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Introduction

moving interface problemSpeed function � � � � � � �Local propertiesGlobal properties

Independent properties

Level Set methods – p.3/24

Page 12: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Introduction

moving interface problemSpeed function � � � � � � �Local propertiesGlobal properties

Independent properties

Level Set methods – p.3/24

Page 13: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Formulations

Boundary Value Formulation

Initial Value Formulation

Level Set methods – p.4/24

Page 14: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Boundary Value Formulation

Speed function � �

Arrival Time

interface is given by

Level Set methods – p.5/24

Page 15: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Boundary Value Formulation

Speed function � �

Arrival Time

interface is given by

��� � � �

Level Set methods – p.5/24

Page 16: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Boundary Value Formulation

distance � rate · time

� �

���

More dimensions:

|∇ | � �

with � �

on�

Level Set methods – p.6/24

Page 17: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Example Boundary Value Formulation

is circular, � �

:

Level Set methods – p.7/24

Page 18: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Initial Value Formulation

Level Set Function

��� � � �� � �

Interface is given by

��� � � �� � � � �

.

Level Set methods – p.8/24

Page 19: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Initial Value Formulation

level set function

�� � � �� � � � �

By the chain rule:

� ∇

��� � � �� � �

· � ′ � � � � �

is speed in outward normal direction, then′ · , ∇

|∇ |

|∇ |

given

Level Set methods – p.9/24

Page 20: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Initial Value Formulation

level set function

�� � � �� � � � �

By the chain rule:

� ∇

��� � � �� � �

· � ′ � � � � �

is speed in outward normal direction, then

� ′

� � �

· � � , � � ∇

|∇

|

|∇ |

given

Level Set methods – p.9/24

Page 21: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Initial Value Formulation

level set function

�� � � �� � � � �

By the chain rule:

� ∇

��� � � �� � �

· � ′ � � � � �

is speed in outward normal direction, then

� ′

� � �

· � � , � � ∇

|∇

|

� |∇ | � �

given

��� � � � � �

Level Set methods – p.9/24

Page 22: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Example Initial Value Formulation

Level Set methods – p.10/24

Page 23: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Summary

Boundary Value Formulation ( � �

)

|∇ | � �Front =

� � � �

= {

�� � ��

|��� � �� � �

}

Initial Value Formulation

|∇ |

Front = = { | }

Level Set methods – p.11/24

Page 24: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Summary

Boundary Value Formulation ( � �

)

|∇ | � �Front =

� � � �

= {

�� � ��

|��� � �� � �

}

Initial Value Formulation

� |∇ | � �

Front =� � � �

= {

��� � ��

|

��� � � � � � � �

}

Level Set methods – p.11/24

Page 25: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Numerical Scheme for BVP

|∇ |

��� � � �

front:

� � {� |

��� � � �

}

where − −− Backward Scheme

and − Forward Scheme.

Level Set methods – p.12/24

Page 26: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Numerical Scheme for BVP

|∇ |

��� � � �

front:

� � {� |

��� � � �

}

� � �� �

− �� � � � � � � � � �� � � � � �� � ����

where − �� � �� − ��

�� � Backward Scheme

and

� �� � ��� �− ��� � Forward Scheme.

Level Set methods – p.12/24

Page 27: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Numerical Scheme for IVP

� |∇ | � �

front:

� � {� |

��� � � � � �

}

− ∇ ∇−

where

∇ −

∇− −

Level Set methods – p.13/24

Page 28: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Numerical Scheme for IVP

� |∇ | � �

front:

� � {� |

��� � � � � �

}

� � �� � � �− � � � �� � �� � �∇

� � � �� � �

∇−

where

� � � � � � � − �� � � � � � � � � �� � � � � �

� �

∇− � � � � � � � �� � � � � � � � − �� � � � � �

��

Level Set methods – p.13/24

Page 29: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

CFL condition

Time Step restriction

� �� �

≤ �

Level Set methods – p.14/24

Page 30: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Notes

Extensions to higher order schemes

Schemes for non-convex speed function

These Numerical Schemes costs a lot ofcomputations

Level Set methods – p.15/24

Page 31: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Notes

Extensions to higher order schemes

Schemes for non-convex speed function

These Numerical Schemes costs a lot ofcomputations

Level Set methods – p.15/24

Page 32: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Notes

Extensions to higher order schemes

Schemes for non-convex speed function

These Numerical Schemes costs a lot ofcomputations

Level Set methods – p.15/24

Page 33: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Method

Beginning of Fast Marching MethodLevel Set methods – p.16/24

Page 34: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Method

Update “downwind”Level Set methods – p.16/24

Page 35: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Method

A

B

D

C

Compute new possible valuesLevel Set methods – p.16/24

Page 36: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Method

A

B

D

C

Choose smallest dark pink sphere (A)Level Set methods – p.16/24

Page 37: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Method

A

B

D

C

Freeze value at A, update neighboring downwindpoints

Level Set methods – p.16/24

Page 38: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Methods

Initialisation: Tag points as Known, Trial andFar .

Level Set methods – p.17/24

Page 39: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Methods

Begin Loop: Let A be the Trial point with thesmallest T value

Level Set methods – p.17/24

Page 40: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Methods

Begin Loop: Let A be the Trial point with thesmallest T value

Add the point A to Known ; remove it fromTrial

Level Set methods – p.17/24

Page 41: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Methods

Begin Loop: Let A be the Trial point with thesmallest T value

Add the point A to Known; remove it fromTrial

Tag as Trial all neighbors of A that are notKnown . If neighbor is in Far , remove andadd to the set Trial .

Level Set methods – p.17/24

Page 42: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Methods

Recompute the values of T at all Trialneighbors of A according to

� �� − ���� � −� �� �� � �

� �� − � � �� � −� � � �� � �

� � � − � � �� � −

� � � �� � �

� ���

�� ��

Level Set methods – p.17/24

Page 43: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Fast Marching Methods

Begin Loop: Let A be the Trialpoint with thesmallest T value

Add the point A to Known ; remove it fromTrial

Tag as Trial all neighbors of A that are notKnown . If neighbor is in Far , remove andadd to the set Trial .

Recompute the values of T at all Trialneighbors of A according to . . .

Return to top of loop.Level Set methods – p.17/24

Page 44: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Level Set methods – p.18/24

Page 45: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Level Set methods – p.18/24

Page 46: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Level Set methods – p.18/24

Page 47: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Tag Alive points in narrow band

Build Land Mines to indicate near edge

Initialize Far Away points outside the narrowband with large positive (negative) values ifvalues are outside (inside) the front itself

Solve level set equation until Land Mine hit

Rebuild and loop

Level Set methods – p.19/24

Page 48: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Tag Alive points in narrow band

Build Land Mines to indicate near edge

Initialize Far Away points outside the narrowband with large positive (negative) values ifvalues are outside (inside) the front itself

Solve level set equation until Land Mine hit

Rebuild and loop

Level Set methods – p.19/24

Page 49: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Tag Alive points in narrow band

Build Land Mines to indicate near edge

Initialize Far Away points outside the narrowband with large positive (negative) values ifvalues are outside (inside) the front itself

Solve level set equation until Land Mine hit

Rebuild and loop

Level Set methods – p.19/24

Page 50: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Tag Alive points in narrow band

Build Land Mines to indicate near edge

Initialize Far Away points outside the narrowband with large positive (negative) values ifvalues are outside (inside) the front itself

Solve level set equation until Land Mine hit

Rebuild and loop

Level Set methods – p.19/24

Page 51: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Tag Alive points in narrow band

Build Land Mines to indicate near edge

Initialize Far Away points outside the narrowband with large positive (negative) values ifvalues are outside (inside) the front itself

Solve level set equation until Land Mine hit

Rebuild and loop

Level Set methods – p.19/24

Page 52: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Level Set methods – p.20/24

Page 53: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Narrow Band Level Set

Level Set methods – p.21/24

Page 54: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Advantages of Narrow Band Level Set

Speed

instead of in 3D

TimestepCFL condition on narrow band instead ofentire domain

Level Set methods – p.22/24

Page 55: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Advantages of Narrow Band Level Set

Speed

� � � �

instead of

� � �

in 3D

TimestepCFL condition on narrow band instead ofentire domain

Level Set methods – p.22/24

Page 56: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Advantages of Narrow Band Level Set

Speed

� � � �

instead of

� � �

in 3D

Timestep

CFL condition on narrow band instead ofentire domain

Level Set methods – p.22/24

Page 57: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Advantages of Narrow Band Level Set

Speed

� � � �

instead of

� � �

in 3D

TimestepCFL condition on narrow band instead ofentire domain

� �� ≤ �

Level Set methods – p.22/24

Page 58: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

Next lecture

Applications

Level Set methods – p.23/24

Page 59: Level Set methods - win.tue.nl€¦ · Fast Marching Method Update “downwind” Level Set methods – p.16/24. Fast Marching Method A B D C Compute new possible values Level Set

End

Level Set methods – p.24/24