1 / 29

How to tell the differences between a Cat and a Dog

How to tell the differences between a Cat and a Dog. Masoud Alipour (malipour@ipm.ir) Ali Farhadi (farhadi@ipm.ir) IPM – Scientific Computing Center Vision Group Institute for Studies in Theoretical Physics and Mathematics Tehran-Iran. Outlines. - Linear Predictive Coding Coefficients

keziah
Download Presentation

How to tell the differences between a Cat and a Dog

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to tell the differences between a Cat and a Dog Masoud Alipour (malipour@ipm.ir) Ali Farhadi (farhadi@ipm.ir) IPM – Scientific Computing Center Vision Group Institute for Studies in Theoretical Physics and Mathematics Tehran-Iran

  2. Outlines • - Linear Predictive Coding Coefficients • - Surfaces Associated to the LPC Coefficients. • - Application of Computational Geometry. • - Detection via Geometric Characteristics of • LPC Surface. • - Results

  3. zoom Making Surfaces – LPC Coefficients.

  4. LPC Surfaces : • 1) By Computing the LPC coefficients for each window W of the image, we obtain a set of data in R20 . • 2) Each window is identified by its upper left corner index (x,y). • 3) Project the data for each window to R by taking the average of the marked neighbors.

  5. Projection to R: • -Take average of 6,10,11,15 coefficients. 6 10 11 15

  6. LPC Surface (continued): • 4) Denote this average by F(x,y). • 5) Sliding window with overlaps defines a function on a grid. • LPC Surface = Graph of F(x,y)

  7. Zp (ip , jp) (ip, jp, zp) (ip’ ,jp’ ,zp’) (ip’ , jp’) Zp’

  8. Surfaces

  9. Quantifying the Oscillations Strain Energy (total curvature) where k1 and k2 are the minimum and maximum (principal) surface curvature, respectively. Bending energy function (roughness measure)

  10. Quantifying Oscillations (continued): • Gaussian Curvature of a surface z=F(x,y)

  11. High curvature Low curvature Images from Caltech Multires Lab

  12. 1 0 0 • Discrete Curvature at a vertex 0 2 0 0 -1 0 0 0 Discrete Curvature • M a triangulated surface (not necessarily smooth)

  13. Euler Number (characteristic)

  14. Discrete Curvature • Discrete Curvature satisfies some basic theorems of Differential Geometry cast in the discrete framework. • 1. Gauss Bonnet Theorem is valid • 2. Every closed surface has triangulation of constant curvature.

  15. Triangulations • Uniform Triangulation • Delaunay Triangulation

  16. Delaunay Triangulations Empty circle property Delaunay Triangulation and Voronoi diagram

  17. Triangulated Surface

  18. Counting the Number of Incident Edges. 1. Mapping center of gravity of each Triangle on the plate z=0 . 2.Generating a uniform grid on z=o; 3. Centroid Matrix

  19. Number of triangles per area Thus a triangle is assigned to a square grid if the orthogonal projection of the centroid of the triangle is located in that windows. Count the number of triangles which is assigned to the each window. Hence a matrix D is obtained.

  20. LPC coefficients. Centroid Matrix

  21. Comparing for detection • The differences between the centroid matrices for cats and dogs are obvious. • Simply by using the means of matrices we can differentiate between cat and dog matrices . • Better statistical invariants are also applicable to the matrix D. For example, - σ2, etc.

  22. Results 9337 9286 7692 8754 20625 19222 48713 20426

  23. Conclusion - This is not a image matching algorithm - This is not a shape matching algorithm - Objects are discriminated via texture analysis

  24. ? Questions

More Related