Digital Signal Processing Reference
In-Depth Information
a
b
Fig. 2
Epipolar geometry: in (
a
) an unrectified setup and in (
b
) a rectified setup is shown. The
rectification process in (
b
) to achieve row-aligned search space is illustrated only for the left
projection plane
=(
x
l
−
)[
]
[
]
[
]
x
r
pixel
. With the rectified focal length
f
pixel
, the baseline
T
m
[
]
of the camera pair, the distance
z
m
between the baseline and the 3D point can be
calculated as
fT
fT
d
.
z
=
x
r
)
=
(1)
(
x
l
−
information from a stereo camera setup becomes estimating the
disparity map
d
.
In addition to a non-ideal camera setup, stereo vision systems have to handle
camera-inflicted image distortions, of which the most common are radial lens
before
rectification. However, when applying undistortion and rectification to a
sequence of input images both steps can be combined. Reverse mapping assigns
every pixel in the undistorted and rectified image a sub-pixel accurate origin in the
input image. The rectified pixels are obtained using any desired pixel interpolation
method. The bilinear interpolation for example, exhibits a reasonable trade-off
between image quality and hardware implementation costs. Alternative interpola-
tion methods are spline interpolation, which has higher silicon area requirements,
and nearest-neighbor, which does not provide the required resolution for disparity
The displacement vectors for undistortion and rectification are calculated using
the intrinsic and extrinsic matrices, the tangential and the radial distortion parame-
Alternatively, or additionally, camera self-calibration from scene structure can be
employed for particular camera parameters. For latter use in e.g. cars, camera self-
calibration or at least updating of the intrinsic parameters from scene structure is
mandatory.
(
x
,
y
)