lec 21: fundamental matrix cs4670 / 5670: computer vision kavita bala

Download Lec 21: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala

If you can't read please download the document

Upload: jocelyn-lindsey-mcdonald

Post on 21-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

  • Slide 1
  • Lec 21: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala
  • Slide 2
  • Readings Szeliski, Chapter 7.2 Fundamental matrix song
  • Slide 3
  • Two-view geometry Where do epipolar lines come from? epipolar plane epipolar line 0 3d point lies somewhere along r (projection of r) Image 1Image 2
  • Slide 4
  • Fundamental matrix This epipolar geometry of two views is described by a Very Special 3x3 matrix, called the fundamental matrix maps (homogeneous) points in image 1 to lines in image 2! The epipolar line (in image 2) of point p is: Epipolar constraint on corresponding points: epipolar plane epipolar line 0 (projection of ray) Image 1Image 2
  • Slide 5
  • Fundamental matrix Two special points: e 1 and e 2 (the epipoles): projection of one camera into the other All of the epipolar lines in an image pass through the epipole 0
  • Slide 6
  • Fundamental matrix Why does F exist? Lets derive it 0
  • Slide 7
  • Fundamental matrix 0 : intrinsics of camera 1 : intrinsics of camera 2 : rotation of image 2 w.r.t. camera 1 : ray through p in camera 1s (and world) coordinate system : ray through q in camera 2s coordinate system
  • Slide 8
  • Fundamental matrix,, and are coplanar epipolar plane can be represented as 0
  • Slide 9
  • Fundamental matrix 0
  • Slide 10
  • Cross-product as linear operator Useful fact: Cross product with a vector t can be represented as multiplication with a (skew-symmetric) 3x3 matrix
  • Slide 11
  • Fundamental matrix 0
  • Slide 12
  • 0 { the Essential matrix
  • Slide 13
  • Fundamental matrix 0 the Fundamental matrix
  • Slide 14
  • Fundamental matrix 0 the Fundamental matrix : intrinsics of camera 1 : intrinsics of camera 2 : rotation of image 2 w.r.t. camera 1
  • Slide 15
  • Fundamental matrix result
  • Slide 16
  • Properties of the Fundamental Matrix is the epipolar line associated with 16 T 0
  • Slide 17
  • Properties of the Fundamental Matrix is the epipolar line associated with and All epipolar lines contain epipole T 0
  • Slide 18
  • Properties of the Fundamental Matrix is the epipolar line associated with and is rank 2 18 T 0
  • Slide 19
  • Rectified case
  • Slide 20
  • Stereo image rectification reproject image planes onto a common plane parallel to the line between optical centers pixel motion is horizontal after this transformation two homographies (3x3 transform), one for each input image reprojection C. Loop and Z. Zhang. Computing Rectifying Homographies for Stereo Vision. IEEE Conf. Computer Vision and Pattern Recognition, 1999.Computing Rectifying Homographies for Stereo Vision
  • Slide 21
  • Original stereo pair After rectification
  • Slide 22
  • Questions?
  • Slide 23
  • Alternative Formulation
  • Slide 24
  • Homogeneous notation for lines
  • Slide 25
  • The line l through the two points p and q is l = p x q Proof The intersection of two lines l and m is the point x = l x m
  • Slide 26
  • Algebraic representation of epipolar geometry We know that the epipolar geometry defines a mapping x l / point in first image epipolar line in second image
  • Slide 27
  • P Derivation of the algebraic expression Outline Step 1: for a point x in the first image back project a ray with camera P Step 2: choose two points on the ray and project into the second image with camera P / Step 3: compute the line through the two image points using the relation l / = p x q P/P/
  • Slide 28
  • choose camera matrices internal calibration rotationtranslation from world to camera coordinate frame first camera world coordinate frame aligned with first camera second camera
  • Slide 29
  • Step 1: for a point x in the first image back project a ray with camera P A point x back projects to a ray where Z is the points depth, since satisfies
  • Slide 30
  • Step 2: choose two points on the ray and project into the second image with camera P / P/P/ Consider two points on the ray Z = 0 is the camera centre Z = is the point at infinity Project these two points into the second view
  • Slide 31
  • Using the identity Compute the line through the points F F is the fundamental matrix Step 3: compute the line through the two image points using the relation l / = p x q