and retrieval source h jegou source h jegou source h
play

and Retrieval Source: H. Jegou Source: H. Jegou Source: H. Jegou - PowerPoint PPT Presentation

Semantic Image Indexing and Retrieval Source: H. Jegou Source: H. Jegou Source: H. Jegou Source: H. Jegou Source: H. Jegou Source: H. Jegou Source: H. Jegou Source: H. Jegou Outline State of the nation Early description methods


  1. Harris detector Hessian determinant • Second moment matrix / autocorrelation matrix     2 I I I ( ) ( )       x D x y D   g ( , ) ( )   I D I 2   I I I ( ) ( )   x y D y D I y I y I x 1. Image derivatives g x (  D ), g y (  D ), I x I y I x 2 I y 2 I x 2 2. Square of derivatives

  2. Harris detector Hessian determinant • Second moment matrix / autocorrelation matrix     2 I I I ( ) ( )       x D x y D   g ( , ) ( ) I x I y   I D I 2   I I I ( ) ( )   1. Image x y D y D derivatives I y 2 I x I y I x 2 2. Square of derivatives 3. Gaussian filter g(  I ) g(I x 2 ) g(I y 2 ) g(I x I y )

  3. Harris detector Hessian determinant • Second moment matrix / autocorrelation matrix I x I y 1. Image derivatives I y 2 I x I y I x 2 2. Square of derivatives 3. Gaussian filter g(  I ) g(I x 2 ) g(I y 2 ) g(I x I y ) 4. Cornerness function – both eigenvalues are strong           har det[ ( , )] [trace( ( , ))] I D I D     2 2 2 2 2 2 g I g I g I I g I g I ( ) ( ) [ ( )] [ ( ) ( )] x y x y x y 5. Non-maxima suppression har

  4. Harris detector How to select features? large small

  5. Harris detector How to select features? large large

  6. Harris detector How to select features? small small

  7. Harris detector Interpretation of eigenvalues Classification of image  2 points using “Edge” eigenvalues of M:  2 >>  1 “Corner”  1 and  2 are large,  1 ~  2 ; E increases in all directions  1 and  2 are small; E is almost constant “Edge” “Flat” in all directions  1 >>  2 region  1 Source: K. Grauman

  8. Harris detector Corner response function Measure of corner response: Does not require computing of the eigenvalues α - constant α = 0.04 - 0.06

  9. Harris detector Corner response function  2 “Edge” R < 0 “Corner” R > 0 | R| small “Edge” “Flat” R < 0 region  1 Source: K. Grauman

  10. Harris detector Algorithm • Compute M matrix within all image windows to get their R scores • Find points with large corner response (R > threshold) • Take the points of local maxima of R

  11. Harris detector Algorithm Source: D. Frolova

  12. Harris detector Algorithm Compute corner response R Source: D. Frolova

  13. Harris detector Algorithm Find points with large corner response: R>threshold Source: D. Frolova

  14. Harris detector Algorithm Take only the points of local maxima of R Source: D. Frolova

  15. Harris detector Algorithm Source: D. Frolova

  16. Harris detector Typical response Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial

  17. Properties of ideal feature • Local: features are local, so robust to occlusion and clutter (no prior segmentation) • Invariant (or covariant) Remember this? • Robust: noise, blur, discretization, compression, etc. do not have a big impact on the feature • Distinctive: individual features can be matched to a large database of objects • Quantity: many features can be generated for even small objects • Accurate: precise localization • Efficient: close to real-time performance

  18. Is the Harris corner detector rotation invariant? Ellipse rotates but its shape remains the same Corner response R is invariant to image rotation

  19. Is the Harris corner detector scale invariant?

  20. Is the Harris corner detector scale invariant? Not invariant to image scale! All points will be This is a corner classified as edges

  21. How can we detect scale invariant interest points?

  22. Exhaustive search A multi-scale approach Source: T. Tuytelaars

  23. Exhaustive search A multi-scale approach Source: T. Tuytelaars

  24. Exhaustive search A multi-scale approach Source: T. Tuytelaars

  25. Exhaustive search A multi-scale approach Source: T. Tuytelaars

  26. Exhaustive search A multi-scale approach Extract patch from each image individually Source: T. Tuytelaars

  27. Scale invariant detection We want to extract the patches from each image independently. Source: T. Tuytelaars

  28. Exhaustive search Solution Design a function on the region, which is “scale invariant” ( the same for corresponding regions, even if they are at different scales ) Example: average intensity. For corresponding regions (even of different sizes) it will be the same. - For a point in one image, we can consider it as a function of region size (patch width) Image 1 f f Image 2 scale = 1/2 region size region size Lindeberg et. al , 1996

  29. Scale invariant detection Common approach Take a local maximum of this function Observation: region size, for which the maximum is achieved, should be invariant to image scale. This scale invariant region size is found in each image independently ! Image 1 f f Image 2 scale = 1/2 s 1 s 2 region size region size Lindeberg et. al , 1996

  30. Scale invariant detection Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial      f I x f I x ( ( , )) ( ( , ))   i i i i 1 m 1 m Same operator responses if the patch contains the same image up to scale factor How to find corresponding patch sizes?

  31. Scale invariant detection Function responses for increasing scale (scale signature) Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial    f I x ( ( , )) f I x ( ( , )) i  i i  i 1 m 1 m

  32. Scale invariant detection Function responses for increasing scale (scale signature) Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial    f I x ( ( , )) f I x ( ( , )) i  i i  i 1 m 1 m

  33. Scale invariant detection Function responses for increasing scale (scale signature) Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial    f I x ( ( , )) f I x ( ( , )) i  i i  i 1 m 1 m

  34. Scale invariant detection Function responses for increasing scale (scale signature) Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial    f I x ( ( , )) f I x ( ( , )) i  i i  i 1 m 1 m

  35. Scale invariant detection Function responses for increasing scale (scale signature) Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial    f I x ( ( , )) f I x ( ( , )) i  i i  i 1 m 1 m

  36. Scale invariant detection Function responses for increasing scale (scale signature) Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial     f I x ( ( , )) f I x ( ( , )) i  i i  i 1 m 1 m

  37. Scale invariant detection Function responses for increasing scale (scale signature) Perceptual and Sensory Augmented Computing Visual Object Recognition Tutorial

  38. Scale invariant detection Common approach Image 1 f f Image 2 scale = 1/2 s 1 s 2 region size region size

  39. Scale invariant detection Common approach • A good function for scale detection has one stable sharp peak • For usual images: a good function would be one which responds to contrast (sharp local intensity change)

  40. Scale invariant detection Common approach We define the characteristic scale that produces peak of Laplacian response Source: L. Lazebnik

  41. Scale invariant detection Harris-Laplace Source: K. Grauman

  42. Scale invariant detection Harris-Laplace Source: K. Grauman

  43. Scale invariant detection Harris-Laplace Source: K. Grauman

  44. Scale invariant detection Harris-Laplace Source: K. Grauman

  45. Scale invariant detection Harris-Laplace Source: K. Grauman

  46. Scale invariant detection Harris-Laplace Source: K. Grauman

  47. Scale invariant detection Harris-Laplace Interest points (blobs) are local maxima in both position and scale scale  List of (x, y, σ ) Source: K. Grauman

  48. Scale invariant detection Harris-Laplace Scale-space blob detector example Source: T. Lindeberg

  49. Scale invariant detection Harris-Laplace Scale-space blob detector example Source: L. Lazebnik

  50. Scale invariant detection Harris-Laplace Harris points vs. Harris Laplace points Harris points Harris-Laplace points Source: C. Schmid

  51. Scale invariant detection Technical detail • Functions for determining scale f = Kernel * Image Kernels:        2 L G x y G x y ( , , ) ( , , ) xx yy (Laplacian)     DoG G x y k G x y ( , , ) ( , , ) (Difference of Gaussians) where Gaussian Lowe, 1999

Recommend


More recommend