Interactive Graph Cuts for Optimal Boundary & Region - - PowerPoint PPT Presentation

interactive graph cuts
SMART_READER_LITE
LIVE PREVIEW

Interactive Graph Cuts for Optimal Boundary & Region - - PowerPoint PPT Presentation

Interactive Graph Cuts for Optimal Boundary & Region Segmentation of Objects in N-D Images Yuri Y. Boykov and Marie-Pierre Jolly 1 From [3] 2 Vision problems as image labeling depth (stereo) object index (segmention) original


slide-1
SLIDE 1

Interactive Graph Cuts

for Optimal Boundary & Region Segmentation of Objects in N-D Images Yuri Y. Boykov and Marie-Pierre Jolly

1

slide-2
SLIDE 2

From [3]

2

slide-3
SLIDE 3

Vision problems as image labeling

  • depth (stereo)
  • object index (segmention)
  • original intensity (image restoration)

3

slide-4
SLIDE 4

Labeling problems can be cast in terms of energy minimization

Labeling of pixels Penalty for pixel labeling Interaction between neighboring pixels. Smoothing term.

E(L) =

  • p∈P

Dp(Lp) +

  • p,q∈N

Vp,q(Lp, Lq)

Dp : Lp → L : P → Lp

Vp,q : P x P →

4

slide-5
SLIDE 5

Energy minimization can be solved with graph cuts

S terminal S terminal T terminal T terminal

5

slide-6
SLIDE 6
  • Energy function and graph construction
  • Min-cut of graph minimizes energy
  • Summar max-flow/min-cut algorithms
  • Rest of bone segmentation example

6

slide-7
SLIDE 7

Some Notation

L = (L1, . . . , Lp, . . . , L|P |)

P = set of pixels p

N = set of unordered pairs (p, q) of neighbors in P

Binary vector representing a binary segmentation

G = (V, E) graph with nodes, V, and edges, E B = set of user defined background pixels O = set of user defined object pixels

7

slide-8
SLIDE 8

Labeling problems can be cast in terms of energy minimization

Labeling of pixels Penalty for pixel labeling Interaction between neighboring pixels. Smoothing term.

E(L) =

  • p∈P

Dp(Lp) +

  • p,q∈N

Vp,q(Lp, Lq)

Dp : Lp → L : P → Lp

Vp,q : P x P →

8

slide-9
SLIDE 9

Their Energy Function

E(L) = λ ·

  • p∈P

Rp(Lp) +

  • (p,q)∈N

B(p, q) · δ(Lp, Lq) Dp(Lp) becomes regional term Rp(Lp) Vp,q becomes boundary term B(p, q) · δ(Lp, Lq)

9

slide-10
SLIDE 10

Regional term

E(L) = λ ·

  • p∈P

Rp(Lp) +

  • (p,q)∈N

B(p, q) · δ(Lp, Lq)

Penalize pixel label based on local properties Negative log-likelihood of intensity

Rp(obj) = − ln Pr(Ip|O) Rp(bkq) = − ln Pr(Ip|B)

10

slide-11
SLIDE 11

Boundary term: penalize dissimilar neighbors

E(L) = λ ·

  • p∈P

Rp(Lp) +

  • (p,q)∈N

B(p, q) · δ(Lp, Lq) B(p, q) ∝ exp(−(Ip − Iq)2 2σ2 ) · 1 dist(p, q)

r p s q

11

slide-12
SLIDE 12

Boundary term: penalize dissimilar neighbors

B(p, q) ∝ exp(−(Ip − Iq)2 2σ2 ) · 1 dist(p, q)

r p s q

E(L) = λ ·

  • p∈P

Rp(Lp) +

  • (p,q)∈N

B(p, q) · |Lp − Lq|

12

slide-13
SLIDE 13

Graph construction: cost of n-links

Object Background

c(p, q) = B(p, q) if (p, q) ∈ N B(p, q)

T S

B(p, q) ∝ exp(−(Ip − Iq)2 2σ2 ) · 1 dist(p, q)

13

slide-14
SLIDE 14

Graph construction: cost of t-link (p, S)

Object Background

If p ∈ O then c(p, q) = K K K = 1 + max

p∈P

  • q:(p,q)∈N

B(p, q)

T S

14

slide-15
SLIDE 15

Object Background

If p / ∈ O ∪ B then c(p, q) = λ · Rp(bkg)

Graph construction: cost of t-link (p, S)

T S

15

slide-16
SLIDE 16

Object Background

Graph construction: cost of t-link (p, S)

T S

If p ∈ B then c(p, q) = 0

16

slide-17
SLIDE 17

Claim: min-cut of graph minimizes energy

  • Min-cut on G is a feasible cut
  • Each feasible cut has a unique binary

segmentation

  • Segmentation associated with min-cut that

satisfies user defined constraints minimizes the energy function

17

slide-18
SLIDE 18

Summary of max-flow/min-cut algorithms

  • Augmenting paths (Ford and Fulkerson)
  • Push-relabel (Goldberg and Tarjan)
  • Their implementation (see [2])

18

slide-19
SLIDE 19

From [3]

19

slide-20
SLIDE 20

Citations

  • [1] Kolmogorov, V. and Zabih, R. What energy functions can be

minimized via graph cuts? IEEE Trans. Pattern Analysis and Machine Intelligence, vol. 26, no. 2, pp. 147-159, February 2004.

  • [2] Boykov, Y. and Kolmogorov, V. An experimental comparison of min-

cut/max-flow algoritms for energy minimization in computer vision. IEEE

  • Trans. Pattern Analysis and Machine Intelligence, vol. 26, no. 9, pp.

1124-1137, September 2004.

  • [3] Boykov, Y., Torr, T. and Zabih, R. Tutorial on Discrete Optimization

Methods in Computer Vision. ECCV 2004

20