1 / 45

Projective Geometry for Computer Vision

Projective Geometry for Computer Vision. Raquel A. Romano MIT Artificial Intelligence Laboratory romano@ai.mit.edu. 3D Computer Vision. Classical Problem: Given a collection of 2D images, build a model of the 3D world. Example Applications: virtual/immersive environments

july
Download Presentation

Projective Geometry for Computer Vision

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. Projective Geometryfor Computer Vision Raquel A. Romano MIT Artificial Intelligence Laboratory romano@ai.mit.edu Projective Geometry for Computer Vision

  2. 3D Computer Vision Classical Problem: Given a collection of 2D images, build a model of the 3D world. Example Applications: • virtual/immersive environments • robotics & autonomous vehicles • minimally invasive surgery Projective Geometry for Computer Vision

  3. Outline • Projective Geometry Overview • Minimal Projective Parameters • Projective Parameter Estimation • Motion Boundary Detection • Conclusion Projective Geometry for Computer Vision

  4. Image Formation 3D scene 2D images imaging Projective Geometry for Computer Vision

  5. Computer Vision 3D scene model data 2D images analysis measurement Projective Geometry for Computer Vision

  6. scene point optical ray image point optical axis optical center Camera Geometry:Single View pinhole model of perspective projection unknown depth at each point unknown internal camera parameters Projective Geometry for Computer Vision

  7. Camera Geometry:Multiple Views unknown rotations and translations Projective Geometry for Computer Vision

  8. Measured Data:Image Points and Lines geometric constraint: optical rays intersect in 3D projective geometry: express constraint in terms of measured 2D image features Projective Geometry for Computer Vision

  9. Projective Camera Model • linear model of image formation • depth-independent expression for optical ray intersections • multilinear relations among point and line matches Projective Geometry for Computer Vision

  10. Bilinear Constraints (Longuet-Higgins ,1981, Faugeras, 1992; Hartley, 1992) fundamental matrix Projective Geometry for Computer Vision

  11. Fundamental Matrix Maps a point in one image to a line in the other image that contains its match Given matching points in two views, predict the matching point in a third image. Projective Geometry for Computer Vision

  12. Projective Models in Practice • View synthesis and interpolation: point transfer function for dense point correspondences • Self-calibration: automatic recovery of internal camera parameters from fundamental matrices • Bundle adjustment initialization: initial rotation and translation for nonlinear Euclidean optimization Projective Geometry for Computer Vision

  13. Outline • Projective Geometry Overview • Minimal Projective Parameters • Projective Parameter Estimation • Motion Boundary Detection • Conclusion Projective Geometry for Computer Vision

  14. Practical Problem • Few point matches between some views. • Unstable for estimating geometric relationships. Projective Geometry for Computer Vision

  15. ? Geometric Consistency Pairwise geometric relations may be inconsistent. Projective Geometry for Computer Vision

  16. Goals • Impose algebraic geometric constraints on stationary points seen in arbitrarily many views. • Avoid estimating too many parameters: depths, rotations, translations Projective Geometry for Computer Vision

  17. Geometric Dependencies • Pairwise projective geometric relations are interdependent. • Approach: define projective dependencies and restrict solutions to be globally consistent Projective Geometry for Computer Vision

  18. Projective Bilinear Parameters Projective Geometry for Computer Vision

  19. Projective Bilinear Parameters epipoles epipolar collineation imaged 3D translation & rotation (Csurka, et.al., 1997) Projective Geometry for Computer Vision

  20. Projective Parameters • provide a complete projective model of camera configuration But... • set of all pairwise parameters are still redundant • not all images have sufficient overlap Projective Geometry for Computer Vision

  21. Trifocal Dependencies • derive dependencies among three fundamental matrices • correctly models degrees of freedom in camera configuration • geometrically consistent parameterized model of view triplets Projective Geometry for Computer Vision

  22. Trifocal Dependencies • derive dependencies among three fundamental matrices • correctly models degrees of freedom in camera configuration • geometrically consistent parameterized model of view triplets trifocal lines available from two fundamental matrices Projective Geometry for Computer Vision

  23. Outline • Projective Geometry Overview • Minimal Projective Parameters • Projective Parameter Estimation • Motion Boundary Detection • Conclusion Projective Geometry for Computer Vision

  24. view k view i view j Recovering Camera Geometry few correspondences Projective Geometry for Computer Vision

  25. Linear Initialization 8-point Algorithm (Hartley, 1995) Minimize over all matching point pairs. Rewrite bilinear constraints as where and solve linear system Projective Geometry for Computer Vision

  26. Projection to Parameter Space Map linear estimate of fundamental matrix to projective parameter space: • parameterization requires choice of projective basis • basis affects shape of error surface for nonlinear optimization Projective Geometry for Computer Vision

  27. Geometric Objective Function point-to-epipolar-line distance ~ image reprojection error weighted residual of bilinear constraint Projective Geometry for Computer Vision

  28. (e1,e2) (e3,e4) (e1,e2) (e3,e4) gamma(i,j) (h1,h2) gamma(i,j) (h1,h2) (h1,h2) (h2,h3) (h1,h3) (h1,h2) (h2,h3) (h1,h3) Error Surface Depends on Basis canonical basis geometrically defined basis Projective Geometry for Computer Vision

  29. j i k Nonlinear Trifocal Estimation • Initialize epipolar geometry • 8-point algorithm: linear solution to fundamental matrix for all view pairs • extract epipoles and epipolar collineations • 7D nonlinear minimization: bifocal parameters for view pairs (i,k) (j,k) • Trifocally constrained estimation for view pair (i,j) • compute trifocal lines • project parameters to trifocally constrained space • 4D nonlinear minimization for bifocal parameters Projective Geometry for Computer Vision

  30. Convergence eij eji error Ground Truth 8-point Algorithm 7-Parameter Search Trifocal Projection 4-Parameter Search -4000 -2000 0 Projective Geometry for Computer Vision

  31. 8-Point Algorithm 7-Parameter Algorithm 4-Parameter Algorithm Results Ground Truth Projective Geometry for Computer Vision

  32. knossos sequence view i view k view j few correspondences Projective Geometry for Computer Vision

  33. 8-Point Algorithm 7-Parameter Algorithm 4-Parameter Algorithm Ground Truth Results Projective Geometry for Computer Vision

  34. Summary • Imposing projective constraints on camera geometry corrects the estimation of epipolar geometry • Resulting camera configuration for multiple cameras is globally consistent Projective Geometry for Computer Vision

  35. Outline • Projective Geometry Overview • Minimal Projective Parameters • Projective Parameter Estimation • Motion Boundary Detection • Conclusion Projective Geometry for Computer Vision

  36. Camera and Scene Motion Projective Geometry for Computer Vision

  37. Combining Intensity and Geometry trifocal tensor projective linear form relating a point-line-line (Spetsakis & Aloimonos, 1990; Shashua, 1994) Projective Geometry for Computer Vision

  38. @ (a,b,c)T Ix é ù Iy ê ú ë û It - x0 Ix – y0 Iy Tensor Brightness Constraint(Shashua & Hannah, 1995; Shashua & Stein, 1997) • Horn-Schunk brightness constraint is linear in point coordinates • Defines line in each image containing matching point • Spatiotemporal gradient at every pixel provides test of rigid motion u Ix + v Iy + It = 0 u = x - x0 v = y - y0 ax + by + c = 0 Projective Geometry for Computer Vision

  39. Motion Boundary Detection • Partition image into windows and solve for trifocal tensor coefficients. • Only regions with rigid 3D motion have a good fit. • Sum residual error of tensor solution. • High residuals indicate regions that cross a motion boundary. Projective Geometry for Computer Vision

  40. Multiple Frame Flow • Track points over many frames • Multi-frame tracks fall into separable classes • Robustly fit tracks to linear approximation of instantaneous planar motion x(t) = x0+ t [Ax0 + b] Projective Geometry for Computer Vision

  41. Detecting Independent Motions Residual error of estimated motion model on all point tracks Projective Geometry for Computer Vision

  42. Complexity of Motion Model Projective Geometry for Computer Vision

  43. Conclusions When possible, use domain and task knowledge to choose model: • What type of information is needed • What aspects of the imaging conditions are known or controlled • What types of uncertainty can be modeled and compensated for Projective Geometry for Computer Vision

  44. Future Needs Role of learning in motion analysis: • Supervised learning of geometric motion classes • Data-driven model selection by flow classification • Robust estimation of appropriate motion model • Adaptive, time-varying estimation Projective Geometry for Computer Vision

  45. END Projective Geometry for Computer Vision

More Related