overview
play

Overview Introduction to local features Harris interest points + - PowerPoint PPT Presentation

Overview Introduction to local features Harris interest points + SSD, ZNCC, SIFT Scale & affine invariant interest point detectors Evaluation and comparison of different detectors Region descriptors and their performance


  1. Overview • Introduction to local features • Harris interest points + SSD, ZNCC, SIFT • Scale & affine invariant interest point detectors • Evaluation and comparison of different detectors • Region descriptors and their performance

  2. Scale invariance - motivation • Description regions have to be adapted to scale changes • Interest points have to be repeatable for scale changes

  3. Harris detector + scale changes Repeatability rate   | {( , ) | ( ( ), ) } | a b dist H a b   ( ) i i i i R max(| |, | |) a b i i

  4. Scale adaptation Scale change between two images       x x sx         1 2 1 I I I       1 2 2       y y sy 1 2 1 Scale adapted derivative calculation

  5. Scale adaptation Scale change between two images       x x sx         1 2 1 I I I       1 2 2       y y sy 1 2 1 Scale adapted derivative calculation     x x           1 2 n n ( ) ( ) s I G s s I G s       1 2 i i i i     y y 1 1 n n 1 2

  6. Scale adaptation     2 ( ) ( ) L L L ~   x x y   ( ) G   2   ( ) ( ) L L L   x y y (  ) where are the derivatives with Gaussian convolution L i

  7. Scale adaptation     2 ( ) ( ) L L L ~   x x y   ( ) G   2   ( ) ( ) L L L   x y y (  ) where are the derivatives with Gaussian convolution L i Scale adapted auto-correlation matrix     2 ( ) ( ) L s L L s ~   2 x x y   ( ) s G s   2 ( ) ( )  L L s L s  x y y

  8. Harris detector – adaptation to scale     R ( ) {( a , b ) | dist ( H ( a ), b ) } i i i i

  9. Multi-scale matching algorithm  1 s  3 s  5 s

  10. Multi-scale matching algorithm  1 s 8 matches

  11. Multi-scale matching algorithm Robust estimation of a global  1 s affine transformation 3 matches

  12. Multi-scale matching algorithm  1 s 3 matches  3 s 4 matches

  13. Multi-scale matching algorithm  1 s 3 matches  3 s 4 matches highest number of matches  5 s correct scale 16 matches

  14. Matching results Scale change of 5.7

  15. Matching results 100% correct matches (13 matches)

  16. Scale selection • We want to find the characteristic scale of the blob by convolving it with Laplacians at several scales and looking for the maximum response • However, Laplacian response decays as scale increases: original signal increasing σ (radius=8) Why does this happen?

  17. Scale normalization • The response of a derivative of Gaussian filter to a perfect step edge decreases as σ increases 1   2

  18. Scale normalization • The response of a derivative of Gaussian filter to a perfect step edge decreases as σ increases • To keep response the same (scale-invariant), must multiply Gaussian derivative by σ • Laplacian is the second Gaussian derivative, so it must be multiplied by σ 2

  19. Effect of scale normalization Original signal Unnormalized Laplacian response Scale-normalized Laplacian response maximum

  20. Blob detection in 2D • Laplacian of Gaussian: Circularly symmetric operator for blob detection in 2D   2 2 g g    2 g   2 2 x y

  21. Blob detection in 2D • Laplacian of Gaussian: Circularly symmetric operator for blob detection in 2D     2 2 g g       2 2 g   Scale-normalized:   norm 2 2   x y

  22. Scale selection • The 2D Laplacian is given by       2 2 2 2 2 2 ( ) / 2 x y (up to scale) ( 2 ) x y e • For a binary circle of radius r, the Laplacian achieves a maximum at   / 2 r Laplacian response r scale ( σ ) / 2 r image

  23. Characteristic scale • We define the characteristic scale as the scale that produces peak of Laplacian response characteristic scale T. Lindeberg (1998). Feature detection with automatic scale selection. International Journal of Computer Vision 30 (2): pp 77--116.

  24. Scale selection • For a point compute a value (gradient, Laplacian etc.) at several scales • Normalization of the values with the scale factor  2 | ( ) | e.g. Laplacian s L L xx yy • Select scale at the maximum → characteristic scale  s  2 | ( ) | s L L xx yy scale • Exp. results show that the Laplacian gives best results

  25. Scale selection • Scale invariance of the characteristic scale s norm. Lap. scale

  26. Scale selection • Scale invariance of the characteristic scale s norm. Lap. norm. Lap. scale scale     • Relation between characteristic scales s s s 1 2

  27. Scale-invariant detectors • Harris- Laplace (Mikolajczyk & Schmid’ 01) • Laplacian detector (Lindeberg’ 98) • Difference of Gaussian (Lowe’ 99) Harris-Laplace Laplacian

  28. Harris-Laplace multi-scale Harris points selection of points at maximum of Laplacian invariant points + associated regions [Mikolajczyk & Schmid’01]

  29. Matching results 213 / 190 detected interest points

  30. Matching results 58 points are initially matched

  31. Matching results 32 points are matched after verification – all correct

  32. LOG detector Convolve image with scale- normalized Laplacian at several scales     2 ( ( ) ( )) LOG s G G xx yy Detection of maxima and minima of Laplacian in scale space

  33. Hessian detector   L L  xx xy   ( ) H x Hessian matrix L L   xy yy   2 DET L L L Determinant of Hessian matrix xx yy xy Penalizes/eliminates long structures  with small derivative in a single direction

  34. Efficient implementation • Difference of Gaussian (DOG) approximates the     Laplacian ( ) ( ) DOG G k G • Error due to the approximation

  35. DOG detector • Fast computation, scale space processed one octave at a time David G. Lowe. "Distinctive image features from scale-invariant keypoints .”I JCV 60 (2).

  36. Local features - overview • Scale invariant interest points • Affine invariant interest points • Evaluation of interest points • Descriptors and their evaluation

  37. Affine invariant regions - Motivation • Scale invariance is not sufficient for large baseline changes detected scale invariant region A projected regions, viewpoint changes can locally be approximated by an affine transformation A

  38. Affine invariant regions - Motivation

  39. Affine invariant regions - Example

  40. Harris/Hessian/Laplacian-Affine • Initialize with scale-invariant Harris/Hessian/Laplacian points • Estimation of the affine neighbourhood with the second moment matrix [Lindeberg’94] • Apply affine neighbourhood estimation to the scale- invariant interest points [Mikolajczyk & Schmi d’02, Schaffalitzky & Zisserman’0 2] • Excellent results in a comparison [Mikolajczyk et al.’05]

  41. Affine invariant regions • Based on the second moment matrix (Lindeberg’ 94)     2 ( , ) ( , ) L x L L x         2  x D x y D  ( , , ) ( ) M x G   2 I D D I   ( , ) ( , ) L L x L x   x y D y D • Normalization with eigenvalues/eigenvectors 1   x x 2 M

  42. Affine invariant regions  x x A R L   1 1   x x x x 2 2 M M L L R R L R    x R x R L Isotropic neighborhoods related by image rotation

  43. Affine invariant regions - Estimation • Iterative estimation – initial points

  44. Affine invariant regions - Estimation • Iterative estimation – iteration #1

  45. Affine invariant regions - Estimation • Iterative estimation – iteration #2

  46. Affine invariant regions - Estimation • Iterative estimation – iteration #3, #4

  47. Harris-Affine versus Harris-Laplace Harris-Laplace Harris-Affine

  48. Harris/Hessian-Affine Harris-Affine Hessian-Affine

  49. Harris-Affine

  50. Hessian-Affine

  51. Matches 22 correct matches

  52. Matches 33 correct matches

  53. Maximally stable extremal regions (MSER) [Matas’02] • Extremal regions: connected components in a thresholded image (all pixels above/below a threshold) • Maximally stable: minimal change of the component (area) for a change of the threshold, i.e. region remains stable for a change of threshold • Excellent results in a recent comparison

  54. Maximally stable extremal regions (MSER) Examples of thresholded images high threshold low threshold

  55. MSER

Recommend


More recommend