Fast Methods to Find Optimal Shapes in Images by Gnay Doan MSCD / - - PowerPoint PPT Presentation

fast methods to find optimal shapes in images
SMART_READER_LITE
LIVE PREVIEW

Fast Methods to Find Optimal Shapes in Images by Gnay Doan MSCD / - - PowerPoint PPT Presentation

Fast Methods to Find Optimal Shapes in Images by Gnay Doan MSCD / ITL joint with Pedro Morin, Ricardo H. Nochetto Image Segmentation Goal: To capture objects & boundaries in given 2d / 3d images Image Segmentation Goal: To capture


slide-1
SLIDE 1

Fast Methods to Find Optimal Shapes in Images

by Günay Doğan MSCD / ITL

joint with Pedro Morin, Ricardo H. Nochetto

slide-2
SLIDE 2

Image Segmentation

Goal: To capture objects & boundaries in given 2d / 3d images

slide-3
SLIDE 3

Image Segmentation

Goal: To capture objects & boundaries in given 2d / 3d images

slide-4
SLIDE 4

Segmentation Related

  • Medical imaging
  • Motion detection & tracking
  • 3d scene reconstruction
  • Image understanding
  • Scientific visualization
  • Surgery planning

… … …

slide-5
SLIDE 5

Finding the Right Curves

Q: How do we decide which are the right curves?

slide-6
SLIDE 6

Shape Optimization Approach

Define shape energy for given shape ... Compute a sequence such that

slide-7
SLIDE 7

Differential Geometry

boundary domain

  • uter unit normal
slide-8
SLIDE 8

Differential Geometry

For smooth extended to a neighborhood of

(normal derivative) (tangential gradient) (tangential divergence) (Laplace-Beltrami)

slide-9
SLIDE 9

Finding the Right Curves

Q: What are the right energies to impose on curves?

slide-10
SLIDE 10

Shape Energies for Segmentation

Kass, Witkin, Terzopoulos, 88 Fue, Leclerc, 90 Caselles, Kimmel, Sapiro, 95 Caselles, Kimmel, Sapiro, Sbert, 97 Paragios, Deriche, 00 Chan, Vese, 01 Tsai, Yezzi, Willsky, 01 Aubert, Barlaud, Faugeras, Jehan-Besson, 03 Kimmel, Bruckstein, 03 Desolneaux, Moisan, Morel, 03 Hintermueller, Ring, 03 and many more ...

slide-11
SLIDE 11

Edge Indicator Function

Edge indicator function:

I x

edge

H x

edge

1 x

edge

slide-12
SLIDE 12

Edge Indicator Function

I(x) H(x)

slide-13
SLIDE 13

Geodesic Active Contours

Generic form of geodesic active contour / surface energy Minimize weighted area of surface and enclosed volume. 2nd term helps with concavities, brings extra push.

( Caselles et al., 95; Caselles et al. 97)

slide-14
SLIDE 14

Geodesic Active Contours

Computing small large (local min)

slide-15
SLIDE 15

The Mumford-Shah Model

Given I(x), find discontinuities K and p.w. smooth approx. u

slide-16
SLIDE 16

The Mumford-Shah Model

Given I(x), find discontinuities K and p.w. smooth approx. u Not practical in this form. Two approaches:

  • Ambrosio-Tortorelli approach: modified functional

with diffuse discontinuities

  • Chan-Vese approach: restrict K to closed curves,

use curve evolution

slide-17
SLIDE 17

Chan-Vese Approach

(Chan & Vese, 01; Tsai, Yezzi & Willsky, 01)

  • ptimality cond. w.r.t
slide-18
SLIDE 18

Shape Derivatives

Shape derivative of J( ) in direction V:

slide-19
SLIDE 19

Shape Derivatives

Shape derivative of J( ) in direction V: Second shape derivative w.r.t. V, W:

slide-20
SLIDE 20

Shape Gradient

The structure of the shape derivative for J( ) where G is the shape gradient. For most cases

slide-21
SLIDE 21

Shape Gradient

where G is the shape gradient. For most cases Choose The structure of the shape derivative for J( )

slide-22
SLIDE 22

Geodesic Active Contours

First shape derivative with

slide-23
SLIDE 23

Geodesic Active Contours

First shape derivative with Energy-decreasing velocity

slide-24
SLIDE 24

Behavior of

Geodesic Active Contours

slide-25
SLIDE 25

Behavior of

Geodesic Active Contours

I x

edge

H x

edge

1 x

edge

slide-26
SLIDE 26

Example: Bacteria Image

slide-27
SLIDE 27

Other Descent Directions

Take a scalar product

  • n
  • continuous
  • coercive

And solve The solution V satisfies

slide-28
SLIDE 28

Other Descent Directions

Instead of the velocity eqn Use the more general velocity eqn with the scalar product For example, use weighted scalar product The general velocity eqn is

slide-29
SLIDE 29

Geodesic Active Contours

Second shape derivative with

(Hintermueller & Ring, 03)

slide-30
SLIDE 30

Bacteria: H1 Flow

H1 flow 276 iters vs L2 flow 865 iters

slide-31
SLIDE 31

Finite Element Method on Surfaces

Solve

  • n surface
slide-32
SLIDE 32

Finite Element Method on Surfaces

Solve Weak form

  • n surface
slide-33
SLIDE 33

Finite Element Method on Surfaces

Solve Weak form Substitute

  • n surface
slide-34
SLIDE 34

Finite Element Method on Surfaces

Solve Weak form Substitute Linear system

  • n surface
slide-35
SLIDE 35

Computing the Velocity

At each iteration solve the following to get Obtain the new curve/surface

slide-36
SLIDE 36

Computing the Velocity

At each iteration solve the following to get Obtain the new curve/surface

slide-37
SLIDE 37

Computing the Velocity

At each iteration solve the following to get Obtain the new curve/surface

slide-38
SLIDE 38

Computing the Velocity

At each iteration solve the following to get System of PDEs Obtain the new curve/surface

slide-39
SLIDE 39

Computing the Velocity

At each iteration solve the following to get System of PDEs Weak form Obtain the new curve/surface

slide-40
SLIDE 40

Linear System

At each iteration solve the following to get Weak form Obtain the new curve/surface Linear system

slide-41
SLIDE 41

Other Descent Directions

Instead of the velocity eqn Use the more general velocity eqn with the bilinear form For example, use 2nd shape deriv. for Newton’s method

slide-42
SLIDE 42

Practical Issues: Step Size

How to choose the right step in

  • too small → too many iterations
  • too large → may miss the objects

Soln: perform backtracking or line search

slide-43
SLIDE 43

Practical Issues: Topological Changes

Four step procedure for topological changes in 2D – detect element intersections – adjust intersection locations – reconnect elements – clean up artifacts

before adjust detect reconnect

slide-44
SLIDE 44

Example: Medical Image

slide-45
SLIDE 45

Practical Issues: Resolution

How to choose the right number of elements?

  • too many elements → too many computations
  • too few elements → may miss the objects

Soln: employ space adaptivity to adjust resolution

adapt to image adapt to geometry

slide-46
SLIDE 46

3d Example: Touching Balls

slide-47
SLIDE 47

3d Example: Prism

slide-48
SLIDE 48

Mumford-Shah Energy

subject to First shape derivative where jump of f across

slide-49
SLIDE 49

Mumford-Shah Energy

Second shape derivative with

(Hintermueller & Ring, 03)

slide-50
SLIDE 50

Mumford-Shah Energy

Two choices of scalar products Velocity equation

  • L2 flow:
  • H1 flow:
slide-51
SLIDE 51

Bacteria: H1 Flow

slide-52
SLIDE 52

Bacteria: L2 Flow vs H1 Flow

L2 flow H1 flow 586 iters, 2m 51s 142 iters, 43s

slide-53
SLIDE 53

Bacteria: Pw. Smooth Approximations

slide-54
SLIDE 54

Bacteria: Pw. Smooth Approximation

slide-55
SLIDE 55

Domain Meshes

slide-56
SLIDE 56

Simultaneous Segmentation & Denoising

107 iters, 47s

slide-57
SLIDE 57

Galaxy: No Edges

53 iters, 20s

slide-58
SLIDE 58

Summary

  • Introduced shape optimization for image segmentation
  • Started with shape sensitivity analysis, i.e. shape derivatives
  • Implemented discrete gradient flows with finite elements
  • Implemented computational enhancements for robustness
  • Applications: Geodesic Active Contours,

Mumford-Shah Model