lecture 6 : level set method. introduction developed by –stanley osher (ucla) –j. a. sethian (uc...
TRANSCRIPT
![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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/1.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/2.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/3.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/4.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/5.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/6.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/7.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/8.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/9.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/10.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/11.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/12.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/13.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/14.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/15.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/16.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/17.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/18.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/19.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/20.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/21.jpg)
![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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/22.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/23.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/24.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/25.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/26.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/27.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/28.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/29.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/30.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/31.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/32.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032414/56649ee15503460f94bf1dc6/html5/thumbnails/33.jpg)
A painting interface for interactivesurface deformations