image features
play

Image Features Sanja Fidler CSC420: Intro to Image Understanding 1 - PowerPoint PPT Presentation

Image Features Sanja Fidler CSC420: Intro to Image Understanding 1 / 64 Image Features Image features are useful descriptions of local or global image properties designed to accomplish a certain task You may want to choose different features


  1. Image Features Sanja Fidler CSC420: Intro to Image Understanding 1 / 64

  2. Image Features Image features are useful descriptions of local or global image properties designed to accomplish a certain task You may want to choose different features for different tasks Depending on the problem we need to typically answer three questions: Where to extract image features? What to extract (what’s the content of the feature)? How to match them? Sanja Fidler CSC420: Intro to Image Understanding 2 / 64

  3. Image Features Let’s watch a video clip Sanja Fidler CSC420: Intro to Image Understanding 3 / 64

  4. Image Features Where is the movie taking place? Sanja Fidler CSC420: Intro to Image Understanding 4 / 64

  5. Image Features Where is the movie taking place? Sanja Fidler CSC420: Intro to Image Understanding 4 / 64

  6. Image Features Where is the movie taking place? Sanja Fidler CSC420: Intro to Image Understanding 4 / 64

  7. Image Features Where is the movie taking place? We matched in: Distinctive locations: keypoints Distinctive features: descriptors Sanja Fidler CSC420: Intro to Image Understanding 4 / 64

  8. Image Features Tracking : Where to did the scene/actors move? Sanja Fidler CSC420: Intro to Image Understanding 5 / 64

  9. Image Features Tracking : Where to did the scene/actors move? We matched: Quite distinctive locations Quite distinctive features Sanja Fidler CSC420: Intro to Image Understanding 5 / 64

  10. Image Features A shot in a movie is a clip with a coherent camera (no sudden viewpoint changes) Sanja Fidler CSC420: Intro to Image Understanding 6 / 64

  11. Image Features A shot in a movie is a clip with a coherent camera (no sudden viewpoint changes) We matched: Globally – one descriptor for full image Descriptor can be simple, e.g. color Sanja Fidler CSC420: Intro to Image Understanding 6 / 64

  12. Image Features How could we tell which type of scene it is? Sanja Fidler CSC420: Intro to Image Understanding 7 / 64

  13. Image Features How could we tell which type of scene it is? We matched: Globally – one descriptor for full image (?) More complex descriptor: color, gradients... Sanja Fidler CSC420: Intro to Image Understanding 7 / 64

  14. Image Features How would we solve this? Sanja Fidler CSC420: Intro to Image Understanding 8 / 64

  15. Image Features How would we solve this? We matched: One descriptor for full patch Descriptor can be simple, e.g. color Sanja Fidler CSC420: Intro to Image Understanding 8 / 64

  16. Image Features How would we solve this? Sanja Fidler CSC420: Intro to Image Understanding 8 / 64

  17. Image Features How would we solve this? We matched: At each location Compared pixel values Sanja Fidler CSC420: Intro to Image Understanding 8 / 64

  18. Image Features How would we solve this? Sanja Fidler CSC420: Intro to Image Understanding 8 / 64

  19. Image Features How would we solve this? We matched: Distinctive locations Distinctive features Affine invariant Sanja Fidler CSC420: Intro to Image Understanding 8 / 64

  20. Image Features How would we solve this? Sanja Fidler CSC420: Intro to Image Understanding 8 / 64

  21. Image Features Detection : Where to extract image features? “Interesting” locations (keypoints) In each location (densely) Description : What to extract? What’s the spatial scope of the feature? What’s the content of the feature? Matching: How to match them? Sanja Fidler CSC420: Intro to Image Understanding 9 / 64

  22. Image Features Detection : Where to extract image features? “Interesting” locations (keypoints) TODAY In each location (densely) Description : What to extract? What’s the spatial scope of the feature? What’s the content of the feature? Matching: How to match them? Sanja Fidler CSC420: Intro to Image Understanding 9 / 64

  23. Image Features: Interest Point (Keypoint) Detection Sanja Fidler CSC420: Intro to Image Understanding 10 / 64

  24. Application Example: Image Stitching [Source: K. Grauman] Sanja Fidler CSC420: Intro to Image Understanding 11 / 64

  25. Local Features Detection : Identify the interest points. Description : Extract feature vector descriptor around each interest point. Matching : Determine correspondence between descriptors in two views. [Source: K. Grauman] Sanja Fidler CSC420: Intro to Image Understanding 12 / 64

  26. Goal: Repeatability of the Interest Point Operator Our goal is to detect (at least some of) the same points in both images We have to be able to run the detection procedure independently per image We need to generate enough points to increase our chances of detecting matching points We shouldn’t generate too many or our matching algorithm will be too slow Figure: Too few keypoints → little chance to find the true matches [Source: K. Grauman, slide credit: R. Urtasun] Sanja Fidler CSC420: Intro to Image Understanding 13 / 64

  27. Goal: Distinctiveness of the Keypoints We want to be able to reliably determine which point goes with which. [Source: K. Grauman, slide credit: R. Urtasun] Sanja Fidler CSC420: Intro to Image Understanding 14 / 64

  28. What Points to Choose? [Source: K. Grauman] Sanja Fidler CSC420: Intro to Image Understanding 15 / 64

  29. What Points to Choose? Textureless patches are nearly impossible to localize. [Adopted from: R. Urtasun] Sanja Fidler CSC420: Intro to Image Understanding 16 / 64

  30. What Points to Choose? Textureless patches are nearly impossible to localize. Patches with large contrast changes (gradients) are easier to localize. [Adopted from: R. Urtasun] Sanja Fidler CSC420: Intro to Image Understanding 16 / 64

  31. What Points to Choose? Textureless patches are nearly impossible to localize. Patches with large contrast changes (gradients) are easier to localize. But straight line segments cannot be localized on lines segments with the same orientation (aperture problem) [Adopted from: R. Urtasun] Sanja Fidler CSC420: Intro to Image Understanding 16 / 64

  32. What Points to Choose? Textureless patches are nearly impossible to localize. Patches with large contrast changes (gradients) are easier to localize. But straight line segments cannot be localized on lines segments with the same orientation (aperture problem) Gradients in at least two different orientations are easiest, e.g., corners ! [Adopted from: R. Urtasun] Sanja Fidler CSC420: Intro to Image Understanding 16 / 64

  33. What Points to Choose? Textureless patches are nearly impossible to localize. Patches with large contrast changes (gradients) are easier to localize. But straight line segments cannot be localized on lines segments with the same orientation (aperture problem) Gradients in at least two different orientations are easiest, e.g., corners ! [Adopted from: R. Urtasun] Sanja Fidler CSC420: Intro to Image Understanding 16 / 64

  34. Interest Points: Corners How can we find corners in an image? Sanja Fidler CSC420: Intro to Image Understanding 17 / 64

  35. Interest Points: Corners We should easily recognize the point by looking through a small window. Shifting a window in any direction should give a large change in intensity. Figure: (left) flat region: no change in all directions, (center) edge: no change along the edge direction, (right) corner: significant change in all directions [Source: Alyosha Efros, Darya Frolova, Denis Simakov] Sanja Fidler CSC420: Intro to Image Understanding 18 / 64

  36. Interest Points: Corners Compare two image patches using (weighted) summed square difference Measures change in appearance of window w ( x , y ) for the shift [Source: J. Hays] Sanja Fidler CSC420: Intro to Image Understanding 19 / 64

  37. Interest Points: Corners Compare two image patches using (weighted) summed square difference Measures change in appearance of window w ( x , y ) for the shift [Source: J. Hays] Sanja Fidler CSC420: Intro to Image Understanding 19 / 64

  38. Interest Points: Corners Compare two image patches using (weighted) summed square difference Measures change in appearance of window w ( x , y ) for the shift [Source: J. Hays] Sanja Fidler CSC420: Intro to Image Understanding 19 / 64

  39. Interest Points: Corners Let’s look at E WSSD We want to find out how this function behaves for small shifts Remember our goal to detect corners: Sanja Fidler CSC420: Intro to Image Understanding 20 / 64

  40. Interest Points: Corners Using a simple first-order Taylor Series expansion: I ( x + u , y + v ) ≈ I ( x , y ) + u · ∂ I ∂ x ( x , y ) + v · ∂ I ∂ y ( x , y ) And plugging it in our expression for E WSSD : � � 2 � � E WSSD ( u , v ) = w ( x , y ) I ( x + u , y + v ) − I ( x , y ) x y � � 2 � � w ( x , y ) I ( x , y ) + u · I x + v · I y − I ( x , y ) ≈ x y � � � � x + 2 u · v · I x · I y + v 2 I 2 u 2 I 2 = w ( x , y ) y x y � � I 2 � � u � � � I x · I y � x = w ( x , y ) · u v I 2 I x · I y v y x y Sanja Fidler CSC420: Intro to Image Understanding 21 / 64

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