SLIDE 1
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 / - - 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 2
SLIDE 3
Image Segmentation
Goal: To capture objects & boundaries in given 2d / 3d images
SLIDE 4
Segmentation Related
- Medical imaging
- Motion detection & tracking
- 3d scene reconstruction
- Image understanding
- Scientific visualization
- Surgery planning
… … …
SLIDE 5
Finding the Right Curves
Q: How do we decide which are the right curves?
SLIDE 6
Shape Optimization Approach
Define shape energy for given shape ... Compute a sequence such that
SLIDE 7
Differential Geometry
boundary domain
- uter unit normal
SLIDE 8
Differential Geometry
For smooth extended to a neighborhood of
(normal derivative) (tangential gradient) (tangential divergence) (Laplace-Beltrami)
SLIDE 9
Finding the Right Curves
Q: What are the right energies to impose on curves?
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
Edge Indicator Function
Edge indicator function:
I x
edge
H x
edge
1 x
edge
SLIDE 12
Edge Indicator Function
I(x) H(x)
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
Geodesic Active Contours
Computing small large (local min)
SLIDE 15
The Mumford-Shah Model
Given I(x), find discontinuities K and p.w. smooth approx. u
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
Chan-Vese Approach
(Chan & Vese, 01; Tsai, Yezzi & Willsky, 01)
- ptimality cond. w.r.t
SLIDE 18
Shape Derivatives
Shape derivative of J( ) in direction V:
SLIDE 19
Shape Derivatives
Shape derivative of J( ) in direction V: Second shape derivative w.r.t. V, W:
SLIDE 20
Shape Gradient
The structure of the shape derivative for J( ) where G is the shape gradient. For most cases
SLIDE 21
Shape Gradient
where G is the shape gradient. For most cases Choose The structure of the shape derivative for J( )
SLIDE 22
Geodesic Active Contours
First shape derivative with
SLIDE 23
Geodesic Active Contours
First shape derivative with Energy-decreasing velocity
SLIDE 24
Behavior of
Geodesic Active Contours
SLIDE 25
Behavior of
Geodesic Active Contours
I x
edge
H x
edge
1 x
edge
SLIDE 26
Example: Bacteria Image
SLIDE 27
Other Descent Directions
Take a scalar product
- n
- continuous
- coercive
And solve The solution V satisfies
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
Geodesic Active Contours
Second shape derivative with
(Hintermueller & Ring, 03)
SLIDE 30
Bacteria: H1 Flow
H1 flow 276 iters vs L2 flow 865 iters
SLIDE 31
Finite Element Method on Surfaces
Solve
- n surface
SLIDE 32
Finite Element Method on Surfaces
Solve Weak form
- n surface
SLIDE 33
Finite Element Method on Surfaces
Solve Weak form Substitute
- n surface
SLIDE 34
Finite Element Method on Surfaces
Solve Weak form Substitute Linear system
- n surface
SLIDE 35
Computing the Velocity
At each iteration solve the following to get Obtain the new curve/surface
SLIDE 36
Computing the Velocity
At each iteration solve the following to get Obtain the new curve/surface
SLIDE 37
Computing the Velocity
At each iteration solve the following to get Obtain the new curve/surface
SLIDE 38
Computing the Velocity
At each iteration solve the following to get System of PDEs Obtain the new curve/surface
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
Linear System
At each iteration solve the following to get Weak form Obtain the new curve/surface Linear system
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
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
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
Example: Medical Image
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
3d Example: Touching Balls
SLIDE 47
3d Example: Prism
SLIDE 48
Mumford-Shah Energy
subject to First shape derivative where jump of f across
SLIDE 49
Mumford-Shah Energy
Second shape derivative with
(Hintermueller & Ring, 03)
SLIDE 50
Mumford-Shah Energy
Two choices of scalar products Velocity equation
- L2 flow:
- H1 flow:
SLIDE 51
Bacteria: H1 Flow
SLIDE 52
Bacteria: L2 Flow vs H1 Flow
L2 flow H1 flow 586 iters, 2m 51s 142 iters, 43s
SLIDE 53
Bacteria: Pw. Smooth Approximations
SLIDE 54
Bacteria: Pw. Smooth Approximation
SLIDE 55
Domain Meshes
SLIDE 56
Simultaneous Segmentation & Denoising
107 iters, 47s
SLIDE 57
Galaxy: No Edges
53 iters, 20s
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,