comparison methodologies. evaluating the matching characteristics properties of the similarity...

35
Eurographics 2007 Tutorial T12 Comparison Methodologies

Upload: christopher-barker

Post on 17-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Comparison Methodologies

Page 2: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Evaluating the matching characteristics

Properties of the similarity measure

Robustness of the similarity measure– Low variation of the measure wrt small variations of the shape

descriptor

Type of comparison– global and/or partial matching

Type of information taken into account– geometrical, topological, structural

Computational complexity of the matching algorithm

Application context

2

Page 3: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Properties of similarity measures Let S be the set of shape descriptors, the distance measure

d between two shapes descriptors is defined as:

Properties:

– (self identity)

– (positivity)

– (symmetry)

– (triangular

inequality)

[ (strong t. i.) ]

IRSS:d

0x)d(x,

yx0,y)d(x,

x)d(y,y)d(x,

z)d(y,y)d(x,z)d(x,

z)d(y,,y)d(x,maxz)d(x,

3

Page 4: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Properties of similarity measures

The measure properties are grouped as in the following:

– semi-metric: self-identity, positivity, symmetry

– pseudo-metric: self-identity, symmetry, triangular

inequality

– metric: a pseudo-metric that satisfies the positivity

– ultra-metric: a metric satisfying strong triangular

inequality The perceptual space can be approximated by the

metric properties ? – symmetry and triangular inequality should not hold for partial matching

Metrics can be used for indexing purposes4

Page 5: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Type of comparison

Global Matching: – Overall shape comparison– Real number representing the

similarity estimation between the two objects

Sub-Part Correspondence:– Real number as similarity estimation– Mapping among similar sub-parts

Partial Matching:– Real number as similarity estimation– Similar sub-parts between objects

having different overall shape

5

Page 6: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Type of information taken into account

according to the type of information stored and the way it is coded in the descriptor, the measure of similarity may take into account:

– geometrical information

– topological information – structural information

6

Page 7: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Comparison methodologies

direct comparison in the shape space

– Natural pseudo-distance

shape comparison via descriptors

– Size functions – Barcodes and persistence diagrams– Reeb graphs – Multiresolution Reeb Graphs – Extended Reeb Graphs

7

Page 8: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Natural pseudo-distance [Frosini]

8

Given (X,f), (Y,g), X,Y homeomorphicHomeomorphism: a bijective bi-continuous

map h:XYNatural measure: Natural pseudo-distance:

))(()(sup)( xhgxfh Xx

)(inf)),(),,(( hgYfXD h

h

f g

Page 9: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Matching distance between 1-dimensional size functions [dAFL06]

Two size functions , with associated formal series C1 and C2, can be compared by measuring the reciprocal distances of cornerpoints and cornerlines

and choosing the matching which minimizes the maximum of these distances

when varies among the bijections between C1 and C2

21 ,

9

Page 10: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Matching distance between 1-dimensional size functions [dAFL06]

Matching Stability Theorem: The matching distance satisfies the following

stability condition:

Lower bound for the natural pseudo-distance:

10

gfxgxfd XxgXfXmatch :)()(max),( ),(),(

)),(),,((),( ),(),( gYfXDd gYfXmatch

Page 11: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Example of one-dimesional stability A curvature driven curve evolution and its size

function w.r.t. the distance from the center of mass

(Thanks to Frédéric Cao for curvature evolution code)

11

Page 12: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Matching distance between multidimensional size functions [BCF*08]

On each leaf of a particular foliation of their domain, multidimensional size functions coincide with a particular 1-dimensional size function

the multidimensional matching distance is

stability of the multidimensional matching distance

lower bound for the natural pseudo distance – Greater lower bound than using only 1D size functions:

12

),(, ),...,(),...,( 11 kkii ggffmatchgfmatch Dd

Page 13: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Multidimensional Size Functions [BCF*07]

13

Page 14: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

The 2D matching distance w.r.t. f = (f1, f2) and the max of the 1D matching distances w.r.t. f1 and f2

[BCF*07]

14

Page 15: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

1D size function: Not Stable w.r.t. noise that changes topology

15

Page 16: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

multiD size function: Stable w.r.t. noise that changes topology

16

Page 17: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Stability w.r.t. noisy domains [Frosini-L.’11]

17

Page 18: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Size Functions: matching characteristics [dAFL06,BCF*08]

Properties of the induced similarity measure– the matching distance is a metric

– it provides a lower bound for the natural pseudo-distance

Robustness of the similarity measure– stability theorem for both for noisy functions and spaces

Type of comparison– global and partial matching

Type of compared information – geometric-topological

Computational complexity of the matching algorithm– O(n2.5), where n is the number of cornerpoints taken into

account

Application context– Medical images classification, trademarks recognition, 3D

retrieval18

Page 19: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Barcodes [CZCG05]

JIJIJIJI ),(barcode, a in intervals,

set the is , barcodes between matching A 21 SS 212121 ,..,),( SJSItsJISSSSM

),(pair onemost at in occurs or in intervalany s.t. 21 JISS

torelative ,between Distance 21 MSS

MJI NL

M LJISSD),(

,, 21

intervals matchednon ofset thewith N

19

Page 20: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Barcodes [CZCG05]

Barcode pseudo-metric:

Minimizing is equivalent to maximizing the similarity

Recasting the problem as a graph problem, such minimization is equivalent to the well known maximum weight bipartite matching problem

2121 ,min, SSDSSD MM

2121 ,||||

2

1,

1 2

SSDJISSSS

MS

M

MD

20

Page 21: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Barcodes [CZCG05]

Examples on mathematical surfacesClassification results on a set of 80 hand-

drawn copies of letters

21

Page 22: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Persistence Diagrams [CSEH07]

For with X, Y multisets of points, the bottlneck distance is defined by

where xX, and ranges over all bijections from X to Y

The bottleneck distance between persistence diagrams satisfies – stability:

– Lower bound for the natural pseudo-distance:

)(),( gDgmfDgm

gfgDgmfDgmdB )(),(

)(supinf),( xxYXd

xB

22 )),(),,(()(),( gXfXDgDgmfDgmdB

Page 23: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Partial similarity assessment [DiFabio-L.’11]

23

Page 24: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Barcodes and persistence diagrams: matching characteristics [CZCG05,CSEH07]

Properties of the induced similarity measure

– pseudo-metric between barcodes

– metric between persistence diagrams

Robustness of the similarity measure

– stability theorems for persistence diagrams under the Bottleneck distance both for noisy functions and spaces

Type of comparison

– global and partial matching

Type of compared information

– geometric-topological

Computational complexity of the matching algorithm

– for the pseudo-metric between barcodes, it depends on the

algorithm used to minimize D(s1, s2)

Application context: 3D and curve PCD comparison24

Page 25: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Multiresolution Reeb Graph [HSKK01]

Similarity between two nodes P,Q is weighted on their attributes:

101 |,)()(|)(|)()(|),( QLPLQAPAQPsim

Nodes with maximal similarity are paired if:– Share the same range of f– Parent nodes are matched– Belong to graph paths

already matched The distance between two

MRGs is the sum of all node similarities

25

Page 26: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Multiresolution Reeb Graph: matching characteristics [HSKK01]

Properties of the induced similarity measure– metric

Robustness of the similarity measure– no theoretical results

Type of comparison– global matching (suitable also for sub-part correspondence and partial

matching) Type of compared information

– structural and geometric information Computational complexity of the matching algorithm

– where M and N is the number of nodes of the two multiresolution graphs

Application context– Retrieval of free form objects

))(( NMMO

26

Page 27: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Extended Reeb Graphs [BMSF06]

Two ERGs are compared using a graph-matching approach based on the “best common subgraph” detection

The output of the matching process should be the largest maximal common sub-graph that minimizes the geometric and the structural differences of the two objects.

Also sub-part correspondences are recognized

Heuristics are used to improve– Quality of the results– Computational time

27

Page 28: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Extended Reeb Graphs [BMSF06]

Given G1 and G2, two direct, acyclic and attributed graphs:– the distance d between two nodes v1G1 and v2G2 is

– the distance D(G1,G2) depends both on the geometry and the structure of the objects:

3321

21SSS Szw+Stw+Gw

=)v,d(v

][wi 0,1

1=wi

28

Page 29: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Extended Reeb Graphs [BMSF06]

Some examples of sub-part correspondence and partial matching

29

Page 30: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Extended Reeb Graphs: matching characteristics [BMSF06]

Properties of the Induced similarity measure– semi-metric

Robustness of the similarity measure– No theoretical results

Type of comparison– global matching, sub-part correspondence and partial

matching

Type of compared information – structural and geometric information

Computational complexity of the matching algorithm– where n is

Application context– free form objects and CAD models

)( 3nO 21 GG ,max

30

Page 31: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Reeb graphs of curves are (labeled) cycle graphs

Any two Reeb graphs of curves can be deformed into each other by 3 types of edit moves

Reeb graphs of curves [DiFabio-L.]

31

Page 32: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Reeb graphs of curves: edit moves

32

Page 33: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Edit distance

The edit distance is defined as

where (T1,T2,…,Tr) is any sequence of edit moves that takes Γf to Γg

The edit distance satisfies the following stability condition:

The edit distance equals the natural pseudo-distance

33

gfxgxfd

Sxgf :)()(max),( 1

)),(),,((),( 11 gSfSDd gf

Page 34: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Reeb graphs of curves: edit disance [DiFabio-L.]

Properties of the Induced similarity measure– metric

Robustness of the similarity measure– Stability theorem

Type of comparison– global matching

Type of compared information – structural and geometric information

Computational complexity – no available algorithm

Application context– none so far

34

Page 35: Comparison Methodologies. Evaluating the matching characteristics Properties of the similarity measure Robustness of the similarity measure – Low variation

Conclusions Shape-from-functions methods provide modular

shape descriptors able to capture geometrical and topological information

Suitable distances ensure stability properties w.r.t. perturbations

Partial similarity can be handled Usefulness for non-rigid objects

Computational complexity may be overwhelming Limited experimentation in practical applications

QUESTIONS?35