33
Lecture 6 : Level Set Method

Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Embed Size (px)

Citation preview

Page 1: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Lecture 6 : Level Set Method

Page 2: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Introduction

• Developed by– Stanley Osher (UCLA)– J. A. Sethian (UC Berkeley)

• Books– J.A. Sethian: Level Set Methods and Fast

Marching Methods, 1999– S. Osher, R. Fedkiw, Level Set Methods and

Dynamic Implicit Surfaces , 2002

Page 3: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Evolving Curves and Surfaces

Page 4: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Geometry Representation

Page 5: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Explicit Techniques for Evolution

Page 6: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Explicit Techniques - Drawbacks

Page 7: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Implicit Geometries

Page 8: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Discretized Implicit Geometries

Page 9: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Level Set Method: Overview

• Generic numerical method for evolving fronts in an implicit form– Handles topological changes of the evolving interface– Define problem in 1 higher dimension

• Use an implicit representation of the contour C as the zero level set of higher dimensional function - the level set function

Page 10: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Level Set Method: Overview

• Move the level set function, so that it deforms in the way the user expects

• contour = cross section at z=t

Page 11: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Implicit Curve Evolution

Page 12: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Level Set Evolution

• Define a speed function F, that specifies how contour points move in time– Based on application-specific physics such as time,

position, normal, curvature, image gradient magnitude

• Build an initial level set curve

• Adjust over time

• Current contour is defined as

Page 13: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Equation for Level Set Evolution

• Indirectly move C by manipulating

where F is the speed function normal to the curve

Level set equation

Page 14: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Example: an expanding circle

• Level Set representation of a circle

– Setting F=1 causes the circle to expand uniformly

– Observe everywhere– We obtain

• Explicit solution: – meaning the circle has radius r+t at time t

Page 15: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Example: an expanding circle

Page 16: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Motion under curvature

• Complicated shapes?

– Each piece of the curve moves perpendicular to the curve with speed proportional to the curvature

– Since curvature can be either positive or negative , some parts of the curve move outwards while others move inwards

– Example movie file• Setting F = curvature

Page 17: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Level Set Segmentation

• We may think of as signed distance function– Negative inside the curve– Positive outside the curve– Distance function has unit gradient almost

everywhere and smooth

• By choosing a suitable speed function F, we may segment an object in an image

Page 18: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Level Set Segmentation

• Evolving Geometry : (X,t)=0

– Intuitively, move a lot on low intensity gradient area and move little on high intensity gradient area along normal direction

– F : speed function , k : curvature , I : intensity

Page 19: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Segmentation Example

• Arterial tree segmentation

Page 20: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Discretization

• Use upwinded finite difference approximations (first order)

Page 21: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and
Page 22: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Acceleration Techniques

• Acceleration for fast level set method– Narrow band level set method– Fast marching method

Page 23: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Narrow band level set method

• The efficiency comes from updating the speed function

• We do not need to update the function over the whole image or volume

• Update over a narrow band (2D or 3D)

Page 24: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Fast Marching Method

• Assume the front (level set) propagates always outward or always inward

• Compute T(x,y)=time at which the contour crosses grid point (x,y)

• At any height T, the surface gives the set of points reached at time T

Page 25: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Fast Marching Algorithm

Page 26: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Fast Marching Algorithm

Page 27: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Fast Marching Method

Page 28: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Applications

• Segmentation

• Level Set Surface Editing Operators

• Surface Reconstruction

Page 29: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Segmetation

• 2D

• 3D

Page 30: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Level Set Surface Editing Operators

• SIGGRAPH 2002

Page 31: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Level Set Surface Editing Operators

Page 32: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

Surface Reconstruction

• zhao, osher, and fedkiw 2001

Page 33: Lecture 6 : Level Set Method. Introduction Developed by –Stanley Osher (UCLA) –J. A. Sethian (UC Berkeley) Books –J.A. Sethian: Level Set Methods and

A painting interface for interactivesurface deformations