1 introduction to level set methods: part ii chunming li institute of imaging science vanderbilt...

32
1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: www.vuiis.vanderbilt.edu/~licm E-mail: [email protected]

Upload: ralph-norris

Post on 13-Jan-2016

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

1

Introduction to Level Set Methods:Part II

Chunming Li

Institute of Imaging Science

Vanderbilt University

URL: www.vuiis.vanderbilt.edu/~licm

E-mail: [email protected]

Page 2: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

2

Outline

1. Numerical issues:

• Difference scheme: upwind scheme

• Velocity extension

• Reinitialization

2. Variational level set method:

• Level set evolution without reinitialization.

• Active contour without edges

• Multiphase level set methods

Page 3: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

3

Numerical Implementation of Numerical Implementation of Level Set EvolutionLevel Set Evolution

Page 4: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

4

Explicit Euler Scheme

• Consider general evolution equation:

• Update equation at each iteration:

Approximate spatial derivatives by certain difference scheme

Approximate temporal derivatives by forward difference

Page 5: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

5

Basic Finite Difference Scheme for Spatial Variable

• Backward difference

• Forward difference

• Central difference

Page 6: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

6

Mean Curvature Motion

• Mean curvature motion

• Update equation:

where

• Mean curvature motion is stable.

Page 7: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

7

Motion in Normal Direction

• Motion in normal direction:

• Right hand side is approximated by:

where

• Update equation:

Page 8: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

8

Advection

• Pure advection equation: , with

• Right hand side is approximated by:

where• Update equation:

Page 9: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

9

Geodesic Active Contour

• Geodesic active contour:

• Update equation:

Page 10: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

10

General Evolution Equation

• Level set evolution:

Page 11: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

11

Time Step

• Level set evolution:

• For stable evolution, the time step and spatial step must satisfy the CFL condition:

Page 12: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

12

Unstable Evolution in Standard Level Set Methods

Evolution of level set function Evolution of zero level setClick here to see the movie Click here to see the movie

Page 13: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

13

Reinitialization (Redistance)

• “Steady state” means exists, denoted by . Signed distance

function.

• Reinitialization: periodically stop the evolution and repair the degraded level set function as a signed distance function.

• Use upwind scheme to numerically solve the above reinitialization equation.

• Solve to steady state:

Reinitialization equation

• Other reinitialization methods: direct compute SDF or fast marching.

Page 14: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

14

Velocity Extension

• In some applications, the speed function is only defined on the zero level set (interface)

with

• To extend to the speed function to the entire domain or a narrow band of the zero level set, solve the boundary value problem:

or solve to steady state of the initial value problem:

Note: is the directional derivative of along the normal to the interface

Page 15: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

15

Summary of Standard Level Set Methods

Reinitialization

Initialization

Evolve level set function

converge?N

Y

stop

Velocity extension

Compute signed distance

Complex upwind scheme and small time step

Solve a PDE

Solve another PDE!

Page 16: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

16

Variational Level Set FormulationVariational Level Set Formulation

Page 17: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

17

Drawbacks of Reinitialization

Drawbacks of Reinitialization:

• Still a serious problem: when and how to reinitialize?

(no general answer so far)

• Error in location of the zero level set

• Computationally expensive

Page 18: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

18

Level Set Evolution without Reinitialization(Li et al, 2005)

• Deviation from a signed distance function:

• Characteristics of signed distance function:

Goal: Find a level set evolution algorithm that can simultaneously move the zero level set while maintaining the signed distance profile throughout the entire evolution.

signed distance function + constant

Page 19: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

19

Variational Level Set Formulation

Define an energy functional on level set function:

Internal energy:

• Penalize the deviation from a signed distance function

External energy:

• Drive the motion of the zero level set

Gateaux derivative:

Gradient flow (or steepest descent):

Page 20: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

20

External Energy for Image Segmentation

Weighted length term:

Weighted region term:

Edge indicator function for image I

Define external Energy:

0

0

Page 21: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

21

Energy Functional and Gradient Flow

Define energy functional:

The gradient flow of the functional is:

Page 22: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

22

Mechanism of Maintaining Signed Distance

Rewrite the gradient flow of internal energy:

Diffusion rate:

Positive diffusion rate

Decrease gradient (usual diffusion)

Negative diffusion rate

Increase gradient (reverse diffusion)

Page 23: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

23

Implementation

Use the smoothed Dirac function

Discretization of PDE:

• Forward difference for temporal derivative

• Can use relatively larger time step

• Central difference for spatial derivative

Page 24: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

24

Experimental Results

Evolution of level set function Evolution of zero level setClick here to see the movieClick here to see the movie

Page 25: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

25

Flexible and Efficient Initialization

A region-based initialization scheme:

The initial level set function is no longer required to be a signed

distance function in our method

Page 26: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

26

Experimental ResultsClick here to see the movie

Page 27: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

27

EvolutionInitial level set functionClick here to see the movie

Page 28: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

28

Detect Weak Object Boundaries

Click here to see the movie

Microscope image of cells

Page 29: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

29

Experimental Results:Initialization from Thresholding

Initial level set functionMR image of corpus callosum

Evolution

Click here to see the movie

Image courtesy of Hong Liu,National Institute of Mental Health

Page 30: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

30

EvolutionInitial level set functionClick here to see the movie

Page 31: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

31

3D Extension

The proposed level set formulation

and implementation can be easily

extended to 3D.

Click here to see the movie

Page 32: 1 Introduction to Level Set Methods: Part II Chunming Li Institute of Imaging Science Vanderbilt University URL: licm E-mail:

32

Thank you