Presentation is loading. Please wait.

Presentation is loading. Please wait.

Likelihood Models for Template Matching Using the PDF Projection Theorem Arasanathan Thayananthan Ramanan Navaratnam Dr. Phil Torr Prof. Roberto Cipolla.

Similar presentations


Presentation on theme: "Likelihood Models for Template Matching Using the PDF Projection Theorem Arasanathan Thayananthan Ramanan Navaratnam Dr. Phil Torr Prof. Roberto Cipolla."— Presentation transcript:

1 Likelihood Models for Template Matching Using the PDF Projection Theorem Arasanathan Thayananthan Ramanan Navaratnam Dr. Phil Torr Prof. Roberto Cipolla

2 Problem The correct template The minimum chamfer score Chamfer score

3 Overview Problem Motivation PDF Projection Theorem Likelihood Modelling for Chamfer Matching Experiments Conclusion

4 Motivation Template matching widely used in computer vision Similarity measures are obtained from matching a template to a new image e.g. chamfer score, cross-correlation, etc. A likelihood value need to be calculated from the similarity measures. Chamfer score 3.58 Likelihood ?

5 Motivation Is the similarity measure alone enough to calculate the likelihood ? What are the probabilities of matching to a correct image and an incorrect image at this specific matching measure ?

6 Feature Likelihood Feature likelihood distributions, obtained by matching the templates to the real images they represent They differ according to the shape and scale of the templates.

7 Feature Likelihoods chamfer 6.0 likelihood 0.14likelihood 0.03

8 Clutter Likelihoods Clutter likelihood distributions are obtained by matching the template to the background clutter

9 Likelihood Ratios The ratio of the feature and clutter likelihood provides a robust likelihood measure. Likelihood Ratio Tests (LRT) are often used in many classification problems Jones & Ray [99], skin-colour classification Sidenbladh & Black [01], limb-detector

10 Modelling the likelihood Need a principled framework for modelling the likelihood for template matching Probability Distribution Function Projection Theorem ( Baggenstoss [99]) provides such a framework

11 Overview Problem Motivation PDF Projection Theorem Likelihood Modelling for Chamfer Matching Experiments Conclusion

12 PDF Projection Theorem PDF Projection Theorem Provides a mechanism to work in raw data space, I, instead of extracted feature space, z. This is done by projecting the PDF estimates from the feature space back to the raw data space

13 PDF Projection Theorem Neyman-Fisher factorisation states that if is a sufficient statistic for H, p(I|H) can be factored as Applying Eq(1) for a hypothesis, H, and a reference Hypothesis, H 0,

14 PDF Projection Theorem Image space, I I

15 PDF Projection Theorem Image space, I Feature space, z I z

16 PDF Projection Theorem Image space, I Feature space, z I z

17 Class-specific features PDF Projection Theorem extends to class- specific features Each hypothesis or class can have its feature set Yet, we get consistent and comparable raw image likelihoods Reference hypothesis H 0 remains the same for all hypothesis

18 Class-specific features I

19 Overview Problem Motivation PDF Projection Theorem Likelihood Modelling for Chamfer Matching Experiments Conclusion

20 Chamfer Matching Input imageCanny edges Distance transform Template

21 Chamfer Matching We apply PDF projection Theorem to model likelihood in a chamfer matching scheme Each template chooses its own subset of edge features, z j

22 Chamfer Matching A common reference hypothesis is chosen for all templates p(z j |H 0 ) provides the probability of template matching to any image. Difficulty is in learning p(z j |H j ) and p(z j |H 0 ) for each template T j

23 Learning the PDFs Time-consuming to obtain real images for learning the PDFs Software like Poser can create near real images Becoming popular for learning image statistics e.g. Shakhnarovich [03] For each template T j, we learn p(z j |H j ) and p(z j |H 0 ) from synthetic images.

24 Learning the PDFs Example learning images for the template For learning the feature likelihood p(z j |H j ) For learning the reference likelihood p(z j |H 0 )

25 Overview Problem Motivation PDF Projection Theorem Likelihood Modelling for Chamfer Matching Experiments Conclusion

26 Experiments 35 hand templates from a 3D hand model with 5 gestures at 7 different scales Hypothesis, H j, is that the image contains a hand pose similar to Template T j, (in scale and gesture). The distributions p(z j |H j ) and p(z j |H 0 ) were learned off- line for each template.

27 Experiments Aim of the experiment is to compare the matching performances of 1. Z j, the chamfer score obtained by matching the template T j to the image 2. P(z j |H j ), the feature likelihood of Template T j 3. P(I|H j ), the data likelihood value using the PDF projection theorem.

28 Experiments Template matching on 1000 randomly created synthetic images. Each synthetic image contains a hand pose similar in scale and pose to a randomly chosen template. Three ROC curves were obtained for each matching measure.

29 Results

30 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood14.59 x x reference likelihood88.69 x x data likelihood0.164 x x 10 3

31 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood14.59 x x reference likelihood88.69 x x data likelihood0.164 x x 10 3

32 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood14.59 x x reference likelihood88.69 x x data likelihood0.164 x x 10 3

33 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood14.59 x x reference likelihood88.69 x x data likelihood0.164 x x 10 3

34 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood24.94x x reference likelihood4.73 x x data likelihood5.27 x x 10 3

35 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood24.94x x reference likelihood4.73 x x data likelihood5.27 x x 10 3

36 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood24.94x x reference likelihood4.73 x x data likelihood5.27 x x 10 3

37 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood24.94x x reference likelihood4.73 x x data likelihood5.27 x x 10 3

38 Results PDF Projection Theorem Chamfer Chamfer score feature likelihood13.15 x x reference likelihood8.5 x x data likelihood1.547 x x 10 3

39 Conclusion Depending on raw matching score is less reliable in template matching PDF Projection theorem provides a principled framework for modelling the likelihood in raw image data space. Consistent and comparable likelihoods obtained through PDF projection theorem improves the efficiency of template matching scheme


Download ppt "Likelihood Models for Template Matching Using the PDF Projection Theorem Arasanathan Thayananthan Ramanan Navaratnam Dr. Phil Torr Prof. Roberto Cipolla."

Similar presentations


Ads by Google