Lecture 11: Stereo II
Thursday, Oct 4
CS 378/395T
- Prof. Kristen Grauman
Lecture 11: Stereo II Thursday, Oct 4 CS 378/395T Prof. Kristen - - PDF document
Lecture 11: Stereo II Thursday, Oct 4 CS 378/395T Prof. Kristen Grauman Last time: Disparity Disparity: difference in retinal position of same item Case of stereo rig for parallel image planes and calibrated cameras: depth (Z) is
p p’ P O O’ Scene point in 3d Right image Left image
Figure from Gee & Cipolla 1999
Adapted from M. Pollefeys, UNC
epipolar line l’.
epipolar line l.
Slide credit: M. Pollefeys, UNC
Camera 1 frame Camera 2 frame
Vector p’ in second coord.
coordinates Rp’ in the first one.
Coplanar vectors
Normal to this plane Also coplanar, so dot product with normal is 0
Vector p’ in second
coordinates Rp’ in the first one.
Can be expressed as a matrix multiplication.
Τ p
x x
Let
epipolar line for point p’
is the coordinate vector representing the epipolar line for point p
Τ p
Epipolar constraint: if we observe point p in
image must satisfy this equation.
Τ
x
0 0 0 0 0 T 0 –T 0
Τ
x
0 0 0 0 0 T 0 –T 0
Τ p
T T T
Image of any point must lie on same horizontal line in each image plane!
image I(x,y) image I´(x´,y´) Disparity map D(x,y)
reproject image planes onto a common plane parallel to the line between optical centers pixel motion is horizontal after this transformation two homographies (3x3 transforms), one for each input image reprojection
Adapted from Li Zhang
Motivation: make the lines to be searched correspond to scanlines in images
Figure from Gee & Cipolla 1999
For each epipolar line For each pixel / window in the left image
image
Adapted from Li Zhang
Figures from Li Zhang
Want window large enough to have sufficient intensity variation, yet small enough to contain only pixels with about the same disparity.
descriptor and an associated feature distance
What would make good features?
Untextured surfaces
? ? ? ?
Occlusions
Figure from Gee & Cipolla 1999
Figure from Gee & Cipolla 1999
Figure from Gee & Cipolla 1999
Figure from Gee & Cipolla 1999
David Demirdjian, MIT Vision Interface Group
Fitting!
David Demirdjian, MIT Vision Interface Group
Danijela Markovic and Margrit Gelautz, Interactive Media Systems Group, Vienna University of Technology
Edges in disparity in conjunction with image edges enhances contours found
Danijela Markovic and Margrit Gelautz, Interactive Media Systems Group, Vienna University of Technology