Hierarchy Construction Schemes within the Scale Set Framework - - PowerPoint PPT Presentation

hierarchy construction schemes within the scale set
SMART_READER_LITE
LIVE PREVIEW

Hierarchy Construction Schemes within the Scale Set Framework - - PowerPoint PPT Presentation

Hierarchy Construction Schemes within the Scale Set Framework Jean-Hugues PRUVOT, Luc BRUN GreyC Laboratory, Image Team CNRS UMR 6072 ENSICAEN 6th IAPR -TC-15 Workshop on Graph-based Representations in Pattern Recognition J.H. PRUVOT, L.BRUN


slide-1
SLIDE 1

Hierarchy Construction Schemes within the Scale Set Framework

Jean-Hugues PRUVOT, Luc BRUN

GreyC Laboratory, Image Team CNRS UMR 6072 ENSICAEN

6th IAPR -TC-15 Workshop on Graph-based Representations in Pattern Recognition

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 1 / 22

slide-2
SLIDE 2

Outline

Outline

1

Introduction

2

The Scale Set Framework The Causality principle Optimal Cuts

3

Merging Heuristics Sequential Merging Parallel Merging

4

Conclusion and Outlooks

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 2 / 22

slide-3
SLIDE 3

Introduction

Introduction

2 approaches for Segmentation Segmentation ⇒ Horowitz[1976] with a predicate P

◮ split/merge while an homogeneity criteria ◮ only a local criteria

The use of energy minimisation scheme within the region based segmentation framework

◮ Level-Set, Bayesian, Min-cut / N-Cut, Minimum Description Length ◮ allows to define criteria which should be globally optimised over a

partition

◮ allows an objective evaluation the segmentations ◮ Level-Set ⇒ minimisation for one scale parameter λ J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 3 / 22

slide-4
SLIDE 4

The Scale Set Framework The Causality principle

The Scale Set Framework

Level Set / N-Cut / MDL ⇒ local minimum in a full search space Principle minimize an energy partition E(P) : ( E(P) is supposed to be an Affine Separable Energy (ASE) )

◮ Energy for each region Ri (weighted sum of 2 terms) :

E(R) =

  • Ri∈R

D(Ri) + λC(Ri)

◮ D(Ri) : internal region energy (fit to data) ◮ C(Ri) : complexity energy (regularization term) ◮ λ : scale parameter J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 4 / 22

slide-5
SLIDE 5

The Scale Set Framework The Causality principle

The Scale Set Framework

Guigues approach

◮ global minimum in a narrow search space ◮ bottom-up approach ◮ provides the optimal partition for each value of a scale parameter

λ ∈ R+ Principle minimize an energy partition E(P) : ( E(P) is supposed to be an Affine Separable Energy (ASE) )

◮ Energy for each region Ri (weighted sum of 2 terms) :

E(R) =

  • Ri∈R

D(Ri) + λC(Ri)

◮ D(Ri) : internal region energy (fit to data) ◮ C(Ri) : complexity energy (regularization term) ◮ λ : scale parameter J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 4 / 22

slide-6
SLIDE 6

The Scale Set Framework The Causality principle

The Scale Set Framework

Guigues approach

◮ global minimum in a narrow search space ◮ bottom-up approach ◮ provides the optimal partition for each value of a scale parameter

λ ∈ R+ Principle minimize an energy partition E(P) : ( E(P) is supposed to be an Affine Separable Energy (ASE) )

◮ Energy for each region Ri (weighted sum of 2 terms) :

E(R) =

  • Ri∈R

D(Ri) + λC(Ri)

◮ D(Ri) : internal region energy (fit to data) ◮ C(Ri) : complexity energy (regularization term) ◮ λ : scale parameter J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 4 / 22

slide-7
SLIDE 7

The Scale Set Framework The Causality principle

The Scale Set Framework

Guigues approach

◮ global minimum in a narrow search space ◮ bottom-up approach ◮ provides the optimal partition for each value of a scale parameter

λ ∈ R+ Principle minimize an energy partition E(P) : ( E(P) is supposed to be an Affine Separable Energy (ASE) )

◮ Energy for each region Ri (weighted sum of 2 terms) :

E(R) =

  • Ri∈R

D(Ri) + λC(Ri)

◮ D(Ri) : internal region energy (fit to data) ◮ C(Ri) : complexity energy (regularization term) ◮ λ : scale parameter J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 4 / 22

slide-8
SLIDE 8

The Scale Set Framework The Causality principle

used energy

Energy Eλ(P) = λC(P) + D(P) affine energy D : internal energy (fit to data) :

◮ squared error :

SE(R) =

i∈R ||ci − µR||2

◮ ⇒ minimal if each region is a pixel

C : energy of complexity (regularisation term) :

◮ total length of the boundaries ◮ ⇒ low if the partition is composed of few regions J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 5 / 22

slide-9
SLIDE 9

The Scale Set Framework The Causality principle

The Scale Set Framework

Causality principle introduced by Witkin in 1984

◮ coherent structures are present at different scales in an image

∀(λ1, λ2) ∈ R+2 with λ2 ≤ λ1 ⇒ Pλ1 can be deduced from Pλ2 by

regions merging

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 6 / 22

slide-10
SLIDE 10

The Scale Set Framework The Causality principle

The Scale Set Framework

Causality principle Conditions on energy Eλ(P) = λC(P) + D(P)

◮ Pλ(I) : partition which minimize Eλ(I) ◮ if Pλ is causal , H = {Pλ(I), λ ∈ R+} is a hierarchy.

Guigues ⇒ if C is sub-additive then P is causal

◮ C sub-additive ⇐⇒ C(R1 ∪ R2) ≤ CR1 + CR2 ◮ natural condition in segmentation task ( MDL ⇒ less parameters to

describe the union of 2 regions than 2 regions)

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 7 / 22

slide-11
SLIDE 11

The Scale Set Framework The Causality principle

Construction of the initial hierarchy2

scale-climbing start from an initial segmentation

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 8 / 22

slide-12
SLIDE 12

The Scale Set Framework The Causality principle

Construction of the initial hierarchy2

scale-climbing built a region adjacency graph (RAG)

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 8 / 22

slide-13
SLIDE 13

The Scale Set Framework The Causality principle

Construction of the initial hierarchy2

scale-climbing For each region compute

◮ the internal energy D(Ri) ◮ the complexity energy C(Ri) J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 8 / 22

slide-14
SLIDE 14

The Scale Set Framework The Causality principle

Construction of the initial hierarchy2

scale-climbing Compute, for any couple of adjacent regions, the scale of appearance λapp. λapp depicts the minimum value, from which , merging those regions, contributes to less increase the global energy defined on the partition.

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 8 / 22

slide-15
SLIDE 15

The Scale Set Framework The Causality principle

Construction of the initial hierarchy2

scale-climbing EA(λ) + EB(λ) = λ(CA + CB) + (DA + DB) EA∪B(λ) = λCA∪B + DA∪B

  • λapp(A ∪ B) = DA+DB−DA∪B

CB+CA−CA∪B

iterating this process we get a serial of λapp providing a set of optimal cut whitin H energy of the optimal cuts within this global hierarchy is then depicted by a concave piecewise function

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 8 / 22

slide-16
SLIDE 16

The Scale Set Framework Optimal Cuts

Construction of the initial hierarchy

Cuts For a given λ, we retrieve the optimal partition within H

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 9 / 22

slide-17
SLIDE 17

The Scale Set Framework Optimal Cuts

Construction of the initial hierarchy

Cuts For a given λ, we retrieve the optimal partition within H

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 9 / 22

slide-18
SLIDE 18

The Scale Set Framework Optimal Cuts

Construction of the initial hierarchy

Cuts For a given λ, we retrieve the optimal partition within H

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 9 / 22

slide-19
SLIDE 19

The Scale Set Framework Optimal Cuts

Construction of the initial hierarchy

Cuts For a given λ, we retrieve the optimal partition within H

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 9 / 22

slide-20
SLIDE 20

The Scale Set Framework Optimal Cuts

Construction of the initial hierarchy

Cuts For a given λ, we retrieve the optimal partition within H

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 9 / 22

slide-21
SLIDE 21

The Scale Set Framework Optimal Cuts

Construction of the initial hierarchy

Cuts For a given λ, we retrieve the optimal partition within H

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 9 / 22

slide-22
SLIDE 22

The Scale Set Framework Optimal Cuts

Optimal Cut

Briefly provide all solutions for any λ the given solutions

◮ are optimal within the

hierarchy corresponding to a narrow search space

◮ Partitions remains

stable on whole intervals

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 10 / 22

slide-23
SLIDE 23

The Scale Set Framework Optimal Cuts

Optimal Cut

Briefly provide all solutions for any λ the given solutions

◮ are optimal within the

hierarchy corresponding to a narrow search space

◮ Partitions remains

stable on whole intervals

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 10 / 22

slide-24
SLIDE 24

Merging Heuristics Sequential Merging

Impact of the search space

Hierarchy importance the research space used in this framework is restricted to the initial hierarchy H

◮ construction scheme is of a crucial importance for the optimal

partitions within H built in the following steps

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 11 / 22

slide-25
SLIDE 25

Merging Heuristics Sequential Merging

Impact of the search space

Hierarchy importance the research space used in this framework is restricted to the initial hierarchy H

◮ construction scheme is of a crucial importance for the optimal

partitions within H built in the following steps

compromise between energy/time sequential merging parallel merging

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 11 / 22

slide-26
SLIDE 26

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging to increasing the search space we allow more than 2 regions merging together

◮ we consider for each region R of P, its set V(R) defined as {R} union

its set of neighbours and the set P∗(V(R)) of all possible subsets of V(R) including R

◮ require computing (2n − 1) λapp for each node in the RAG : J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 12 / 22

slide-27
SLIDE 27

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging to increasing the search space we allow more than 2 regions merging together

◮ we consider for each region R of P, its set V(R) defined as {R} union

its set of neighbours and the set P∗(V(R)) of all possible subsets of V(R) including R

◮ require computing (2n − 1) λapp for each node in the RAG : J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 12 / 22

slide-28
SLIDE 28

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging to increasing the search space we allow more than 2 regions merging together

◮ we consider for each region R of P, its set V(R) defined as {R} union

its set of neighbours and the set P∗(V(R)) of all possible subsets of V(R) including R

◮ require computing (2n − 1) λapp for each node in the RAG : J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 12 / 22

slide-29
SLIDE 29

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging to increasing the search space we allow more than 2 regions merging together

◮ we consider for each region R of P, its set V(R) defined as {R} union

its set of neighbours and the set P∗(V(R)) of all possible subsets of V(R) including R

◮ require computing (2n − 1) λapp for each node in the RAG : J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 12 / 22

slide-30
SLIDE 30

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging to increasing the search space we allow more than 2 regions merging together

◮ we consider for each region R of P, its set V(R) defined as {R} union

its set of neighbours and the set P∗(V(R)) of all possible subsets of V(R) including R

◮ require computing (2n − 1) λapp for each node in the RAG : J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 12 / 22

slide-31
SLIDE 31

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging to increasing the search space we allow more than 2 regions merging together

◮ we consider for each region R of P, its set V(R) defined as {R} union

its set of neighbours and the set P∗(V(R)) of all possible subsets of V(R) including R

◮ require computing (2n − 1) λapp for each node in the RAG : J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 12 / 22

slide-32
SLIDE 32

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging to increasing the search space we allow more than 2 regions merging together

◮ we consider for each region R of P, its set V(R) defined as {R} union

its set of neighbours and the set P∗(V(R)) of all possible subsets of V(R) including R

◮ require computing (2n − 1) λapp for each node in the RAG : J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 12 / 22

slide-33
SLIDE 33

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging to increasing the search space we allow more than 2 regions merging together

◮ we consider for each region R of P, its set V(R) defined as {R} union

its set of neighbours and the set P∗(V(R)) of all possible subsets of V(R) including R

◮ require computing (2n − 1) λapp for each node in the RAG : J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 12 / 22

slide-34
SLIDE 34

Merging Heuristics Sequential Merging

sequential merging

Multi-Merging Using the scale climbing principle, our sequential merging algorithm computes for each region R of the partition the minimal scale of appearance of a region RW

λ+

min(R) = arg minW∈P∗(V(R))

D(RW) − D(W) C(W) − C(RW) complexity is bounded by O(|V|2k) where |V| denotes the number of vertices (i.e. regions) and k represents the maximal vertices’s degree of G

◮ - may induce important execution time ◮ +the cardinal of the subset of regions to be merge may be bounded (by

5) without altering significantly the energy of optimal cuts

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 13 / 22

slide-35
SLIDE 35

Merging Heuristics Sequential Merging

sequential merging

mean energy and execution times

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 13 / 22

slide-36
SLIDE 36

Merging Heuristics Sequential Merging

Data Set

Natural images database All experiments where performed on 100 natural images of the Berkeley database The Berkeley Segmentation Dataset and Benchmark available online at http ://www.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 14 / 22

slide-37
SLIDE 37

Merging Heuristics Sequential Merging

SM2 SM SM5 image

λ = 0.2 λ = 0.4 λ = 0.6 λ = 0.8

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 15 / 22

slide-38
SLIDE 38

Merging Heuristics Sequential Merging

SM2 SM SM5

  • riginal image

λ = 0.2 λ = 0.4 λ = 0.6 λ = 0.8

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 16 / 22

slide-39
SLIDE 39

Merging Heuristics Parallel Merging

parallel merge algorithms

parallel merge 2 algorithms based on the notion of maximal matching using the same approach as [Haxhimusa]

⇒ Maximal Independent Set on the set of edges of the graph

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 17 / 22

slide-40
SLIDE 40

Merging Heuristics Parallel Merging

parallel merge algorithms

parallel merge 2 algorithms based on the notion of maximal matching using the same approach as [Haxhimusa]

⇒ Maximal Independent Set on the set of edges of the graph

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 17 / 22

slide-41
SLIDE 41

Merging Heuristics Parallel Merging

parallel merge algorithms

parallel merge 2 algorithms based on the notion of maximal matching using the same approach as [Haxhimusa]

⇒ Maximal Independent Set on the set of edges of the graph

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 17 / 22

slide-42
SLIDE 42

Merging Heuristics Parallel Merging

parallel merge algorithms

parallel merge 2 algorithms based on the notion of maximal matching using the same approach as [Haxhimusa]

⇒ Maximal Independent Set on the set of edges of the graph

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 17 / 22

slide-43
SLIDE 43

Merging Heuristics Parallel Merging

parallel merge algorithms

parallel merge 2 algorithms based on the notion of maximal matching using the same approach as [Haxhimusa]

⇒ Maximal Independent Set on the set of edges of the graph

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 17 / 22

slide-44
SLIDE 44

Merging Heuristics Parallel Merging

parallel merge algorithms

parallel merge 2 algorithms based on the notion of maximal matching using the same approach as [Haxhimusa]

⇒ Maximal Independent Set on the set of edges of the graph

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 17 / 22

slide-45
SLIDE 45

Merging Heuristics Parallel Merging

parallel merge algorithms

parallel merge 2 algorithms based on the notion of maximal matching using the same approach as [Haxhimusa]

⇒ Maximal Independent Set on the set of edges of the graph

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 17 / 22

slide-46
SLIDE 46

Merging Heuristics Parallel Merging

parallel merging

Algos MM et MM1 MM

◮ + good decimation ratio ◮ - detected minima ⇒ less and less significant as the iterations

progress.

we thus propose an alternative solution MM1

⇒ only contract at each step edges selected at the first iteration ⇒ can be seen as a combination of the method proposed by

[Haxhimusa2003] and the stochastic decimation process of [Jolion2001]

◮ + merge immediately only vertices corresponding to local minima. ◮ + mean decimation ratio equal to 1.73 on the 100 images of the

Berkeley database (comparable to the 2.0 obtained by Haxhimusa)

◮ + improve the energy of optimal cuts. J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 18 / 22

slide-47
SLIDE 47

Merging Heuristics Parallel Merging

parallel merging

mean energy and execution times

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 18 / 22

slide-48
SLIDE 48

Merging Heuristics Parallel Merging

MM MM1

λ = 0.2 = 0.4 = 0.6 = 0.8 = 0.2 = 0.4 = 0.6 = 0.8

AJOUTER D’AUTRES RESULTATS

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 19 / 22

slide-49
SLIDE 49

Conclusion and Outlooks

Conclusion

Conclusion We presented different heuristics to build such hierarchies

◮ sequential ones whose energy is closed from lower bound. ◮ parallel ones providing greater energies but require less execution time

(even on sequential machine)

mean energy and execution times

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 20 / 22

slide-50
SLIDE 50

Conclusion and Outlooks

Thanks for your attention.

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 21 / 22

slide-51
SLIDE 51

Conclusion and Outlooks

End

MM MM1 SM2 SM SM5

λ = 0.2 = 0.4 = 0.6 = 0.8 = 0.2 = 0.4 = 0.6 = 0.8

J.H. PRUVOT, L.BRUN (GreyC) Scale Set representation for image segmentation GbR2007 - 2007-6-11 22 / 22