Improving Shape retrieval by Spectral Matching and Meta Similarity - - PowerPoint PPT Presentation

improving shape retrieval by spectral matching and meta
SMART_READER_LITE
LIVE PREVIEW

Improving Shape retrieval by Spectral Matching and Meta Similarity - - PowerPoint PPT Presentation

Improving Shape retrieval by Spectral Matching and Meta Similarity Amir Egozi (BGU), Yosi Keller (BIU) and Hugo Guterman (BGU) Department of Electrical and Computer Engineering, Ben-Gurion University of the Negev 1 / 21 Talk Outline Problem


slide-1
SLIDE 1

Improving Shape retrieval by Spectral Matching and Meta Similarity

Amir Egozi (BGU), Yosi Keller (BIU) and Hugo Guterman (BGU)

Department of Electrical and Computer Engineering, Ben-Gurion University of the Negev

1 / 21

slide-2
SLIDE 2

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

2 / 21

slide-3
SLIDE 3

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

2 / 21

slide-4
SLIDE 4

Problem statement

S = {si}n

i=1, and Q = {qi}m i=1, si, qi ∈ R2, are two shapes

Ψ(S, Q) ∈ [0, 1] quantifies the ”shape” similarity. Invariant to similarity transformation (translation, rotation, and isotropic scaling) Robust to articulation Resilient to boundary noise and non-linear deformation

3 / 21

slide-5
SLIDE 5

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

3 / 21

slide-6
SLIDE 6

Related work:

1

Feature extraction

Curvature

[Fischler and Wolf TPAMI’94]

Shape-contexts (SC)

[Belongie et al. TPAMI’02]

Inner-distance SC (ID-SC)

[Ling and Jacobs TPAMI’07]

2

Correspondences

Hungarian algorithm

[Munkres 1957]

Dynamic Programming

[Ling and Jacobs TPAMI’07]

3

Agglomerate local similarities into a global similarity measure

4 / 21

slide-7
SLIDE 7

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

4 / 21

slide-8
SLIDE 8

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

4 / 21

slide-9
SLIDE 9

Local Shape Descriptors

Shape contexts [Belongie et al. TPAMI’03 ]

For si ∈ S, a 2D histogram of the relative distances and

  • rientations to the other (n − 1) points:

hi(k) = #

  • si = sj | (si − sj) ∈ bin(k)
  • 5 / 21
slide-10
SLIDE 10

Local Shape Descriptors

Inner-distance shape contexts [Ling and Jacobs TPAMI’07]

Properties: Robust to articulation Capturing part structures ID-SC - An extension to shape contexts Euclidean distance is replaced by the inner-distance

6 / 21

slide-11
SLIDE 11

Local Shape Descriptors

Utilize the ID-SC to obtain a set of candidate assignments E = {(si, qi′)}, s.t. d(Φ(si), Φ(qi′)) < T Retain the k NN For each point si ∈ S.

7 / 21

slide-12
SLIDE 12

Local Shape Descriptors

Utilize the ID-SC to obtain a set of candidate assignments E = {(si, qi′)}, s.t. d(Φ(si), Φ(qi′)) < T Retain the k NN For each point si ∈ S.

7 / 21

slide-13
SLIDE 13

Local Shape Descriptors

Utilize the ID-SC to obtain a set of candidate assignments E = {(si, qi′)}, s.t. d(Φ(si), Φ(qi′)) < T Retain the k NN For each point si ∈ S. Example Let |S| = |Q| = 100, |E| = |S| × |Q| = 10, 000, for k = 5, |E| = |S| × k = 500.

7 / 21

slide-14
SLIDE 14

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

7 / 21

slide-15
SLIDE 15

Assignment problems

Quadratic assignment problem (QAP)

Definition A pair-wise affinity function, Ω : E × E → R+, measures the cost of a pair of individual assignments. Ω(ei, ej) = exp

  • −|DS(si, sj) − DQ(qi′, qj′)|2

σ

  • ,

σ > 0

8 / 21

slide-16
SLIDE 16

Quadratic Assignment Problem

Affinity matrix structure

This affinity measure is: Purely (intrinsic) geometrical measure Invariant to: translation, rotation and reflection. Not invariant to: scaling (uniform and affine)

9 / 21

slide-17
SLIDE 17

Assignment problems

Quadratic assignment problem (QAP)

aij = Ω(ei, ej) = exp

  • −|DS(si, sj) − DQ(qi′, qj′)|2

σ

  • ,

σ > 0 Definition The affinity matrix consists of all pairwise affinities, A = (aij) ∈ RN×N.

10 / 21

slide-18
SLIDE 18

Quadratic Assignment Problem

Affinity matrix structure (cont.)

Serialization constraint - keeps only affinities such that:

  • si, sj

− ∆

  • qi′, qj′

< ∆max

11 / 21

slide-19
SLIDE 19

Quadratic assignment problem (QAP)

Goal - find M ⊂ E which maximizes

ei∈M,ej∈M

Ω(ei, ej) = xTAx, and obeys the matching constraints. The assignment set M can be represented by a binary vector. X =   1 1 1   x = (0 1 0 0 | 1 0 0 0 | 0 0 0 1)T

12 / 21

slide-20
SLIDE 20

QAP solutions

Spectral matching [Leordeanu and Hebert, ICCV’05]

The optimization problem

  • x = arg max

x

xTAx s.t. Cx = b, x ∈ {0, 1}N This optimization problem is NP-complete!

more 13 / 21

slide-21
SLIDE 21

QAP solutions

Spectral matching [Leordeanu and Hebert, ICCV’05]

The optimization problem

  • x = arg max

x

xTAx s.t. Cx = b, x ∈ {0, 1}N This optimization problem is NP-complete! So, relax the binary constraint and the matching constraints [Leordeanu and Hebert, ICCV’05]

  • z = arg max

z

zTAz s.t. zTz = 1, z ∈ RN Since A is symmetric, the maximum is achieved by the leading eigenvector of A. The matching constraints are enforced at the discretization stage.

more 13 / 21

slide-22
SLIDE 22

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

13 / 21

slide-23
SLIDE 23

Similarity measure - Conclusion

Given the estimated matching vector x ∈ {0, 1}N, the similarity measure is given by: Ψ(S, Q) = xTA x Properties: Ψ(S, Q) measure the intrinsic geometrical distortion between the two shapes. Invariance to translation, rotation and isotropic scaling (by normalization). Robust to articulation and boundary noise.

14 / 21

slide-24
SLIDE 24

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

14 / 21

slide-25
SLIDE 25

Graph based recognition

Basic idea My friend’s friend is my friend

0.6 0.5 0.5 . 4 0.8 . 4 0.5 0.1 0.7 0.5 0.6

X

. 8

15 / 21

slide-26
SLIDE 26

Shape Meta-Similarity

Related works: Graph Transduction [Xiang et al. TPAMI’10] xn+1 = Mxn xn+1(i0) = 1; Contextual dissimilarity measure [Jegou et al. TPAMI’10]

Improves bag-of-features based image retrieval

16 / 21

slide-27
SLIDE 27

Shape Meta-Similarity

Our approach Instead of node similarity use structural similarity Given Ψij = Ψ(Si, Sj), for all i and j, Shape Meta-descriptor Λi ∈ RN

+ is defined as,

Λi =   

Ψij ∑Sj∈Ni Ψij

if Sj ∈ Ni

  • therwise.

The Meta-Similarity is ΨM

ij = ||Λi − Λj||1

17 / 21

slide-28
SLIDE 28

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

17 / 21

slide-29
SLIDE 29

Experimental results

MPEG7 Shape-CE-1 MPEG7 Shape-CE-1: 1400 images from 70 categories, with 20 images per category.

18 / 21

slide-30
SLIDE 30

Experimental results 1

MPEG7 Shape-CE-1

Retrival rates - one-to-one similarity

Algorithm Performance Visual Parts [Latecki et al. CVPR’00] 76.45% Shape Contexts [Belongie et al. TPAMI’02] 76.51% MDS+SC+DP [Ling and Jacobs TPAMI’07] 84.35% Planar Graph cuts [Schmidt et al. CVPR’09] 85% IDSC+DP [Ling and Jacobs TPAMI’07] 85.40% IDSC+DP+EMD-L1 [Ling and Okada TPAMI’07] 86.56% GM+IDSC 87.47% GM+SC 88.11% Contour Flexibility [Xu et al. TPAMI’09] 89.31%

19 / 21

slide-31
SLIDE 31

Experimental results 2

MPEG7 Shape-CE-1

Retrival rates - Graph-based similarity

Algorithm Performance Graph Transduction [Yang et al. ECCV’08] 91% GM+IDSC+Meta Descriptor 91.46% GM+SC+Meta Descriptor 92.51% Locally Constrained Diffusion [Yang et al. CVPR’09] 93.32%

20 / 21

slide-32
SLIDE 32

Talk Outline

Problem Statement Related works The proposed scheme

Local shape descriptors Matching algorithm Similarity measure Meta-similarity

Experimental results Conclusions

20 / 21

slide-33
SLIDE 33

Shape similarity measure - Conclusions

We presented a new approach for measuring the similarity between shapes. It measure the intrinsic geometrical distortion between the two shapes. Better for articulated objects. We present an efficient meta-descriptor and meta-similarity.

21 / 21

slide-34
SLIDE 34

Thank you!

22 / 21

slide-35
SLIDE 35

Related work:

Intermediate between local and global

Bending invariant signatures [Elad and Kimmel TPAMI’03] Idea: Embed geodesic distance into Euclidean space via Multi-dimensional scaling (MDS)

23 / 21

slide-36
SLIDE 36

Related work:

Intermediate between local and global

Bending invariant signatures [Elad and Kimmel TPAMI’03] Introduced for 2D manifolds, later to 2D shapes [Ling and Jacobs, TPAMI’07] and [Bronstein et al, IJCV’08].

Back 23 / 21

slide-37
SLIDE 37

Background: Local Shape Descriptors

Inner-distance shape contexts [Ling and Jacobs TPAMI’07]

An extension to shape contexts

Euclidean distance is replaced directly with the inner-distance

0 0 5 3 3 1 1 13 9 5

Shape Contexts (SC)

Distance

π/2 π 3π/2 2π 102 101 100 10−1

24 / 21

slide-38
SLIDE 38

Background: Local Shape Descriptors

Inner-distance shape contexts [Ling and Jacobs TPAMI’07]

An extension to shape contexts

Euclidean distance is replaced directly with the inner-distance

1 0 0 5 3 3 1 13 9 5

θ

Shape Contexts (SC)

Distance

π/2 π 3π/2 2π 102 101 100 10−1

24 / 21

slide-39
SLIDE 39

Background: Local Shape Descriptors

Inner-distance shape contexts [Ling and Jacobs TPAMI’07]

An extension to shape contexts

Euclidean distance is replaced directly with the inner-distance

1 0 0 5 3 3 1 13 10 4

θ

Shape Contexts (SC)

Distance

π/2 π 3π/2 2π 102 101 100 10−1

24 / 21

slide-40
SLIDE 40

Background: Local Shape Descriptors

Inner-distance shape contexts [Ling and Jacobs TPAMI’07]

An extension to shape contexts

Euclidean distance is replaced directly with the inner-distance

1 0 0 5 3 3 1 12 15

Shape Contexts (SC)

Distance

π/2 π 3π/2 2π 102 101 100 10−1

24 / 21

slide-41
SLIDE 41

Background: Local Shape Descriptors

Inner-distance shape contexts [Ling and Jacobs TPAMI’07]

An extension to shape contexts

Euclidean distance is replaced directly with the inner-distance

1 0 0 5 3 3 1 12 15

Shape Contexts (SC)

Distance

π/2 π 3π/2 2π 102 101 100 10−1

Inner-distance SC

15 12 5 3 3 1 1

Distance

π/2 π 3π/2 2π 10−1 100 101 102

24 / 21

slide-42
SLIDE 42

Background: Local Shape Descriptors

Inner-distance shape contexts [Ling and Jacobs TPAMI’07]

An extension to shape contexts

Euclidean distance is replaced directly with the inner-distance

1 0 0 5 3 3 1 12 15

Shape Contexts (SC)

Distance

π/2 π 3π/2 2π 102 101 100 10−1

Inner-distance SC

Distance

π/2 π 3π/2 2π 102 101 100 10−1

24 / 21

slide-43
SLIDE 43

Background: Local Shape Descriptors

Inner-distance shape contexts [Ling and Jacobs TPAMI’07]

An extension to shape contexts

Euclidean distance is replaced directly with the inner-distance

1 0 0 5 3 3 1 12 15 back

Shape Contexts (SC)

Distance

π/2 π 3π/2 2π 102 101 100 10−1

Inner-distance SC

Distance

π/2 π 3π/2 2π 102 101 100 10−1

24 / 21

slide-44
SLIDE 44

QAP solutions

Spectral matching [Leordeanu and Hebert, ICCV’05]

The optimization problem:

  • z = arg max

z

zTAz s.t. zTz = 1, z ∈ Rnm Since A is symmetric, by Rayleigh-Ritz theorem [Horn and Johnson, 1985]: λmax = max

zTz=1 zTAz

And, z is the eigenvector corresponds to λmax. By Perron-Frobenius theorem, since A is non-negative (element-wise) z is strictly positive -

  • zi > 0 for all i.

25 / 21

slide-45
SLIDE 45

QAP solutions

Discretization

Finally, extract a binary approximation from the continuous solution by solving:

  • x = arg min

x

  • zTx

s.t. Cx = b, x ∈ {0, 1}N Greedy [Leordeanu and Hebert, ICCV’05] Hungarian [Munkres, 57].

  • ptimal score.

Used by [Belongie et al. TPAMI’03 ] for shape matching.

Dynamic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 1.1 1.2 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

27 / 21

slide-47
SLIDE 47

Experimental results 2

Articulate dataset

40 images from 8 objects. Each column contains five images from the same object with different degrees of articulation.

Top1 Top2 Top3 Top4 Top5 DP+IDSC 40/40 40/40 34/40 35/40 27/40 SM 40/40 40/40 36/40 31/40 26/40 PM 40/40 40/40 35/40 31/40 27/40

SM - Spectral Matching, PM - Probability Marginalization

28 / 21

slide-48
SLIDE 48

Experimental Results 3

Kimia silhouette Algorithm 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th DP+IDSC 99 99 99 98 98 97 97 98 94 79 SC 97 91 88 85 84 77 75 66 56 37 SM 99 99 99 99 99 98 99 98 97 91 MP 99 99 99 99 99 98 99 98 95 93

SM - Spectral Matching, PM - Probability Marginalization

29 / 21