Stereo 3d Vision
Stereo 3d Vision
Anaglyphs
Anaglyphs provide a stereoscopic 3D effect when
viewed with 2-color glasses (each lens a
chromatically opposite color, usually red and cyan).
http://en.wikipedia.org/wiki/Anaglyph_image
A free pair of red-blue stereo glasses can be ordered from Rainbow Symphony Inc
http://www.rainbowsymphony.com/freestuff.html
3D Movies
left image
right image
O
f
image of point
B in front image
D
xi
B
3D object
point
Z
(Note: For convenience, we orient Z axis as above and use f instead of f as in lecture 5)
camera L
xl
baseline
camera R
f
xr
x-b
X
z
f
x
xl
z
f
P=(x,z)
x-b
=
xr
z
f
y =
yl
y
yr
Y-axis is
perpendicular
to the page.
This method of
determining depth
from disparity d is
called triangulation.
dense
sparse
y1
z2
y2
P1
C1
P2
epipolar
plane
x
C2
.
Epipolar plane cuts through image planes forming an epipolar
line in each plane
Match for P1 (or P2) in the other image must lie on epipolar line
P1
C1
C2
Epipolar line
y1
y2
P1
e2
e1
P2
x2
x1
C1
C2
But the epipolar lines may no longer be horizontal
Example
Yellow epipolar
lines for the three
points shown on
the left image
Example
SSD
dmin
Best matching disparity
W=3
Larger window
+ Robust to noise
Reduced precision, less detail
W = 20
Scene
Ground truth
Window-based matching
(best window size)
Ground truth
Ground truth
2. Smoothness
2. Smoothness
We want to minimize
Calibrate cameras
Rectify images
Compute disparity
Estimate depth
Recovered 3D Model
http://www.cs.wright.edu/~agoshtas/stereorange.html
Angle
b
From calibration of both camera and light projector, we can
compute 3D coordinates laser points on the surface
CCD
http://graphics.stanford.edu/projects/mich/
Optical triangulation
Project a single stripe of laser light
Scan it across the surface of the object
Drumroll please