learning visual distance function l i vi l di t f ti for
play

Learning Visual Distance Function L i Vi l Di t F ti for - PowerPoint PPT Presentation

Learning Visual Distance Function L i Vi l Di t F ti for Identification from one Example for Identification from one Example. Eric Nowak and Frederic Jurie E i N k d F d i J i Bertin Technologies / CNRS LEAR Group INRIA - France


  1. Learning Visual Distance Function L i Vi l Di t F ti for Identification from one Example for Identification from one Example. Eric Nowak and Frederic Jurie E i N k d F d i J i Bertin Technologies / CNRS LEAR Group – INRIA - France

  2. This is an object you've never seen before … … can you recognize it in the following images?

  3. This is an object you've never seen before … … can you recognize it in the following images? Identification from One Example. Id ifi i f O E l “obviously” different same pose and shape but different object same pose and shape, but different object different pose and light, but same object j

  4. This is an object you've never seen before … … can you recognize it in the following images? Car A Car A Car A Car B Car B Car A Car A Car A Not Possible! N P ibl ! Car B Car A Car B Car B Car B Car A Car A Car B Cl Class B B Class A

  5. This is an object you've never seen before … … can you recognize it in the following images? S( S( ) ) , S( S( ) ) , S( ( ) ) , ,

  6. This is an object you've never seen before … This is an object you've never seen before … … can you recognize it in the following images? … can you recognize it in the following images? can you recognize it in the following images? ) ) S( S( , ) ) < < S( S( , Knowledge about categories Different Same

  7. Our goal: Learning from one Example O l L i f E l with Equivalence Constraints with Equivalence Constraints. • We want to learn a similarity measure on a generic category (e.g. cars) • Given a training set of image pairs labelled «same» or «different»: equivalence constraints • we can predict how similar two never seen images are • despite occlusions, clutter and modifications in pose, light, ...

  8. How to compare images ? Distance (Euclidean) ) ) S( S( , , ) ) ) ) S( S( , Representation Space p p (Histograms, etc.) N t d Not adapted to visual classes t d t i l l

  9. How to learn the distance ? How to learn the distance ? Negative Constaint S=X t AX Positive Constaint Constaint Representation Space (Hi t (Histograms, etc.) t ) Not robust to occlusions, background

  10. How to be robust to occlusion How to be robust to occlusion, view point changes ? view point changes ? Robust combination” of local distances: S=f(d 1 d 2 S=f(d 1 ,d 2 ,…,d n ) d )

  11. C Computation of t ti f corresponding patches corresponding patches • P0 in I0: sampled randomly P0 P0 (quadratic in size, uniform in position) • P1 in I1: the best ZNCC match of P1 P0 around P0. Search region: g extension of P0 in all directions. A pair of images is simplified • into the np patch pairs sampled from it. from it.

  12. From multiple local similarities p to one global similarity Patch 1 Patch 2 Patch 2 P(d|same) P(d|same) P(d|same) Patch i P(d|same) Patch n P(d|different) P(d|different) P(d|same) P(d|different) d d d P(d|different) P(d|different) d d Likelihood->Similarity [Ferencz et al Iccv 05] [Ferencz et al. Iccv 05]

  13. Patch independence: a bad assumption D3 D1 D2 D2 D4 D4 D8 D5 D6 D7 Space of patch Space of patch pairs differences =>Vector quantization

  14. V Vector quantization of t ti ti f pair difference pair difference x =[ 1 0 1 1 0 1 0 1 ]

  15. Computation of the trees Computation of the trees Tree creation (EXTRA-Trees [ Geurts et al. ML06, Moosman et al. NIPS06]) : – create a root node with positive and negative patch pairs. – recursively split the nodes until they contain only pos or neg pairs: • create ncondtrial random split conditions : simple parametric tests on pixel intensity, gradient, geometry, etc. simple parametric tests on pixel intensity, gradient, geometry, etc. random <=> parameters drawned randomly • select the one with the highest information gain • split the node into two sub-nodes lit th d i t t b d Very Fast!

  16. Computation of the trees Computation of the trees The positive patches of three The positive patches of three different nodes during tree construction construction (''faces in the news'' dataset)

  17. F From clusters to Similarity l t t Si il it The similarity measure is a linear combination Sim ( ( ) ) = , of the cluster f th l t membership • and we want: = the larger the more similar • We define the weight vector [ 1 0 1 1 0 1 0 1 ] as the normal of the linear as the normal of the linear SVM hyperplane separating the descriptors of positive and negative learn set image pairs.

  18. Similarity measure • Given 2 images ... • Detect corresponding patch pairs pairs. • Affect them to clusters with extremely randomized trees. extremely randomized trees. • The similarity measure is a linear combination of the cluster membership. x =[ 1 0 1 1 0 0 1 1 ] [ ] Sim ( Sim ( , ) = ) =

  19. Conclusions Conclusions Similarity of never seen objects , given a set of similar and • different training object pairs of the same category. Original method consisting in Original method consisting in • • – (a) finding similar patches – (b) clustering the set of patch pair differences with an ensemble of extremely randomized trees – (c) combining the cluster memberships of the pairs of local regions to make a global decision about the two images. g g • Can learn complex visual concepts. • Image polysemy ‐ >of pairs of “same“ and “different” defines visual concepts i l t • Can automatically selects and combines most appropriate feature types feature types • Future works: recognize similar object categories from a training set of equivalence constraints.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend