joint work with jean serra kiran bangalore ravi · energetic lattices and braids joint work with...

33
Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit´ e Lille 3 [email protected] March 22, 2017 Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 1 / 21

Upload: others

Post on 21-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Energetic lattices and braidsJoint work with Jean SERRA

Kiran BANGALORE RAVI

Universite Lille 3

[email protected]

March 22, 2017

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 1 / 21

Page 2: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Overview

1 Optimal Cut2 Conditions3 Energetic Lattice4 Braids5 Future directions

This is part of my thesis [9].In this talk i will present

Energetic lattice : theorhetical basisfor dynamical programming (DP)

Braids of Partitions : Familypreserving energetic ordering andDP substructure

I will not present

Constrained optimization onhierarchies: global & localconstraints [9], [18]

Ground truth energies, netopenings, ground truth fusion :[10], [11]

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 2 / 21

Page 3: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Problem Formulation

E

S1 S2

a b c d e

E

S1 S2

a b c d e

Problems :

Tractablesolution ?

Uniquenessconditions ?

Larger Familyof partitions ?

minimizeπ∈Π(E ,H)

∑S∈π

ω(S)

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 3 / 21

Page 4: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Optimization on hierarchies

Decision tree cost-complexitypruning [4]

Rate-distortion minimization,level line selection. [16], [3]

Guigues Scale-sets/λ-cuts [8]

Given : Hierarchy H, Energies ωφ, ω∂ : S → R.

Calculate the nested subtrees or hierarchy of partitions with increasingscale parameter λ.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 4 / 21

Page 5: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Definitions

Partitions

Non-void mutually disjoint subsets of space E whose union restitutes E

π = {Si ⊆ E | ∪i Si = E , ∀i , j Si ∩ Sj = ∅} (1)

Partial Partitions [14]

Partition restricted to subset S ⊂ E :

π(S) = {Ai | Ai ⊆ S , ∀i , j Ai ∩ Aj = ∅} = π u {S} (2)

where S = ∪iAi is called the support of π(S).

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 5 / 21

Page 6: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Refinement ordering and partition lattice

Set of all partitions on space E fors a complete lattice (uniquesupremum/infimum) for the refinement ordering. If πi ≤ πj , each class ofSi ∈ πi including a point x ∈ E will be included in the class Sj ∈ πj

including x .

Figure : Refinement ordering.

πi ≤ πj Si (x) ⊆ Sj (x) (3)

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 6 / 21

Page 7: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Hierarchy of Partitions (HOP)

An indexed family of partitions : {πi , i ∈ I ⊂ Z}A Hierarchy H is :

H = {πi , i ∈ I} s.t. ∀i ≤ k =⇒ πi ≤ πk , I ⊂ Z

π0 is the finest partition in the family and is called the leaves.

π0 contains a finite number of leaves.

π0 ≤ π1 ≤ π2

Elements S ∈ π, π ∈ H are called the classes of the hierarchy H.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 7 / 21

Page 8: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Cuts

E

S1 S2

a b c d e

E

S1 S2

a b

E

S1 S2

c d e

A Cut is a partition created with classes S ∈ H.

It can also be seen as the set of subtrees possible from the originalhierarchy/tree.4

Examples : (t is the disjoint union operator.)

π0 = a t b t c t d t eπ = a t b t S2

π = S1 t c t d t e

Π(E ,H) : family of all cuts possible using classes from H.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 8 / 21

Page 9: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Energies

The family of partial partitions D or PPs is the set of all partialpartitions possible of E .

The energy is a value associated with each partial partition

ω : PPs→ R (4)

To obtain the final energy of π(S) a partial partition we need acomposition function/law :

ω(π(S)) =∑

Ai∈π(S) ω(Ai ) (5)

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 9 / 21

Page 10: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Dynamic Program

π∗(S) =

{{S}, if ω(S) ≤

∑(ω(π∗(a))), a ∈ π(S)⊔

a∈π(S) π∗(a), otherwise

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 10 / 21

Page 11: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Dynamic Program

π∗(S) =

{{S}, if ω(S) ≤

∑(ω(π∗(a))), a ∈ π(S)⊔

a∈π(S) π∗(a), otherwise

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 10 / 21

Page 12: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Dynamic Program

π∗(S) =

{{S}, if ω(S) ≤

∑(ω(π∗(a))), a ∈ π(S)⊔

a∈π(S) π∗(a), otherwise

Can we do other operations than additive ?

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 10 / 21

Page 13: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Dynamic Program

π∗(S) =

{{S}, if ω(S) ≤

∑(ω(π∗(a))), a ∈ π(S)⊔

a∈π(S) π∗(a), otherwise

What conditions preserve the DP ?

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 10 / 21

Page 14: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Dynamic Program

π∗(S) =

{{S}, if ω(S) ≤

∑(ω(π∗(a))), a ∈ π(S)⊔

a∈π(S) π∗(a), otherwise

Only local comparisions performed in DP, though we claim globaloptimum.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 10 / 21

Page 15: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Energy composition

Additive composition : Supremum composition :

Additive :

π∗(S) =

{{S}, if ω(S) ≤

∑a∈π(S) ω(π∗(a))⊔

a∈π(S) π∗(a), otherwise

S more energetic than all its descendants.

ω(S∗) ≥∨π(S) ω(Ti )

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 11 / 21

Page 16: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Generalized Minkowski composition

ω(π(S), α) =

[∑children ω(u)α

] 1α

Additive: [4],[16],[8]

Supremum, Dominant Ancestor: [19],[20],[21]

Minkowski parameter: [15]

Max-pooling type, alternating compositions

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 12 / 21

Page 17: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

h-increasingness on HOP

ω(π1(S)) ≤ ω(π2(S)) =⇒ ω(π1(S) t π0) ≤ ω(π2(S) t π0) (6)

h-increasingness provides the DP sub-structure necessary for optimum [17]

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 13 / 21

Page 18: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Singular eneriges

10

3 5

1.5 1.5 1 3 1

∀ π(S) ∈ Π(S), ω({S}) 6= ω(π(S))}

Various authors indirectly use the singularity for a unique solution.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 14 / 21

Page 19: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Energetic Ordering

π �ω π′ ⇔ ∀S ∈ π ∨ π′ we have ω(π u {S}) ≤ ω(π′ u {S})

One never evaluates energy of a partition during the dynamic programbut only of partial partitions.

The energetic lattice ( �ω,∨ω ) derives from the energetic order.

Existence of unique solution when ω singular.

local minimum =⇒ global minimum.

Given H, ω we have an energetic lattice iff ω is singular.h-increasingess

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 15 / 21

Page 20: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Segmentation Example

luminance fidelity termωϕ(T ) =

∫T ||l(x)− µ(T )||2 dx

Initial image

chrominance fidelity termωϕ(T ) =

∑i

∫T ||ci (x)− µi (T )||2 dx

ω(π(S), λ) =∑

k ωϕ(Tk ) + λω∂(Tk )

Contour length : ω∂(Tk ) = ∂Tk

λ was fixed to have same codingcost

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 16 / 21

Page 21: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Braids of Partitions (BOP)

Pair-wise Refinement supremum are hierarchical [12]

∀ π1, π2 ∈ B ⇒ π1 ∨ π2 ∈ Π(H,E ) \ {E}

All properties ofoptimiszation of thehierarchies extend to braids:

h-increasingness

dynamic programing

energetic lattice

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 17 / 21

Page 22: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

h-increasingness for Braids

ω(π1(S)) ≤ ω(π2(S)) ⇒ ω(π1(S) t π0) ≤ ω(π2(S) t π0)

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 18 / 21

Page 23: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Why Braids ?

Uncertain boundaries =⇒ mutliple partial partitions are optimal.

Multivariate energy minimization, partial partitions acrosscomponents.

Accomodates variablity in Human & Machine segmenations.

Better DP infimum & compatible with Energetic Lattice.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 19 / 21

Page 24: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Future work

Given a hierarchy of partitions that are totally not ordered byrefinement, i.e. H = {πi , i ∈ I} s.t. ∀i , j , k, either πi ≤ πj ≤ πk ,πi ≥ πj ≤ πk , πi ≤ πj ≥ πk , πi ≥ πj ≥ πk . How do formulate the DPto achieve the global optima ? This is possible in algorithms thatperform local refinements, but always working from a fixed partitionlattice.

Understanding the optimal cut and pruning problems in ensembles.Recent paper on Cost-complexity pruning of Random Forests exploresthis subject. [13]

Maximally weighted independent set as segmentation follows a similardynamic program [5]

Project under study : Multi-class graph-cuts to optimize energiesusing the α-extension algorithm [7].

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 20 / 21

Page 25: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Thank you!On to Hyperspectral imaging

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 21 / 21

Page 26: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

References I[1] J. Angulo and D. Jeulin. Stochastic watershed segmentation. In G. J. F. Banon, J. Barrera, U. d. M. Braga-Neto, and

N. S. T. Hirata, editors, Proceedings, (ISMM), Rio de Janeiro, volume 1, pages 265–276. INPE, Oct 2007.

[2] P. Arbelaez. Boundary extraction in natural images using ultrametric contour maps. In Proceedings of the 2006 Conferenceon Computer Vision and Pattern Recognition Workshop, CVPRW ’06, pages 182–, Washington, DC, USA, 2006. IEEEComputer Society.

[3] C. Ballester, V. Caselles, L. Igual, and L. Garrido. Level lines selection with variational models for segmentation andencoding. Journal of Mathematical Imaging and Vision, 27(1):5–27, 2007.

[4] L. Breiman, J. H. Friedman, R. A. Olshen, and C. J. Stone. Classification and Regression Trees. Statistics/ProbabilitySeries. Wadsworth Publishing Company, Belmont, California, U.S.A., 1984.

[5] W. Brendel and S. Todorovic. Segmentation as maximum-weight independent set. In NIPS, pages 307–315, 2010.

[6] J. Cousty and L. Najman. Incremental algorithm for hierarchical minimum spanning forests and saliency of watershed cuts.In ISMM, pages 272–283, 2011.

[7] A. Delong, L. Gorelick, O. Veksler, and Y. Boykov. Minimizing energies with hierarchical costs. International Journal ofComputer Vision (IJCV), 100(1):38–58, 2012.

[8] L. Guigues, J. P. Cocquerez, and H. Le Men. Scale-sets image analysis. International Journal of Computer Vision,68(3):289–317, 2006.

[9] B. R. Kiran. Energetic-Lattice based optimization. PhD thesis, Universite Paris-Est, 2014.

[10] B. R. Kiran and J. Serra. Ground truth energies for hierarchies of segmentations. In International Symposium onMathematical Morphology and Its Applications to Signal and Image Processing, pages 123–134. Springer Berlin Heidelberg,2013.

[11] B. R. Kiran and J. Serra. Fusion of ground truths and hierarchies of segmentations. Pattern Recognition Letters, 47:63–71,2014.

[12] B. R. Kiran and J. Serra. Braids of partitions. In 12th International Symposium On Mathematical Morphology, 2015.

[13] K. B. Ravi and J. Serra. Cost-complexity pruning of random forests. In ISMM 2017, 2017.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 22 / 21

Page 27: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

References II

[14] C. Ronse. Partial partitions, partial connections and connective segmentation. J. Math. Imaging Vis., 32(2):97–125, Oct2008.

[15] P. Salembier. Study of binary partition tree pruning techniques for polarimetric sar images. In International Symposium onMathematical Morphology, ISMM 2015, Reykjavik, Iceland, 05/2015 2015. Springer, Springer.

[16] P. Salembier and L. Garrido. Binary partition tree as an efficient representation for image processing, segmentation, andinformation retrieval. IEEE transactions on Image Processing, 9(4):561–576, 2000.

[17] J. Serra and B. R. Kiran. Optima on hierarchies of partitions. In ISMM, pages 147–158, 2013.

[18] J. Serra and B. R. Kiran. Constrained optimization on hierarchies and braids of partitions. In 12th InternationalSymposium On Mathematical Morphology, 2015.

[19] P. Soille. Constrained connectivity for hierarchical image partitioning and simplification. IEEE transactions on patternanalysis and machine intelligence, 30(7):1132–1145, 2008.

[20] S. Valero, P. Salembier, and J. Chanussot. Hyperspectral image representation and processing with binary partition trees.IEEE Transactions on Image Processing, 22:1430 – 1443, April 2013 2013.

[21] M. Veganzones, G. Tochon, M. Dalla-Mura, A. Plaza, and J. Chanussot. Hyperspectral image segmentation using a newspectral unmixing-based binary partition tree representation. ITIP, 23(8):3574–3589, Aug 2014.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 23 / 21

Page 28: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Braid Examples

UCM Hierarchy : [2]Stochastic Watershed : [1]

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 24 / 21

Page 29: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Braid Examples

Input image Area & Vol. watersheds [6] Monitor Hierarchy

Minimum Spanning Tree (MST) Braid, B5 = {π ∈ Π(E ) | ‖π‖ = 5}

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 25 / 21

Page 30: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Perturning Hierarchies : Searching for better optimumRandom re-compositions on hierarchies

For πi ∈ HFor S ∈ πi

if(ω(πq(S) < π∗p(S))π∗(S) = πq(S)

elserecompose new children

For every class of parent partition πp we regroup children in πl at randomto search possible finer parent level πq

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 26 / 21

Page 31: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Example

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 27 / 21

Page 32: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Example

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 28 / 21

Page 33: Joint work with Jean SERRA Kiran BANGALORE RAVI · Energetic lattices and braids Joint work with Jean SERRA Kiran BANGALORE RAVI Universit e Lille 3 beedotkiran@gmail.com March 22,

Example

Observation

Perturbation and search is λ-dependent.

Locally random perturbations. (More evoled versions possible)

Refinement order respected.

Kiran BANGALORE RAVI (CRISTaL) Energetic lattices and braids March 22, 2017 29 / 21