The development of the obstacle detection algorithm
has been guided by application to the agricultural ap-
plication domain. While the environment in devel-
oped agriculture is semi-structured and well main-
tained, there may be regions (obstacles), which vehi-
cles should not move into. Obstacles depend on vehi-
cle capabilities and include humans, trees, big rocks,
ditches, and other depressions (potentially filled with
water). As result it is not feasible to rely on horopter
based methods (Badal et al., 1994; Se and Brady,
1998).
This paper first outlines the background in terms
of stereo vision and introduces obstacle detection us-
ing the concept of compatible points. Next, a novel
projection and quantification method is introduced
which projects the 3D reconstructed point cloud onto
a global ground plane and quantifies the projected the
points into bins. In Section 3, the novel method is
evaluated by a comparative study with the recently
introduced obstacle detection in (Manduchi et al.,
2005). The complexities of the algorithms are com-
pared and noise suppression discussed. Finally, the
results are discussed and conclusions given.
2 MATERIAL AND METHOD
2.1 Stereo Vision
Three-dimensional information may be acquired in
many different ways. However, in this study we will
concentrate on the use of binocular stereo, i.e., two
cameras giving a right and a left image. In the follow-
ing, it will be assumed that the cameras used are inter-
nally and externally calibrated. Internal camera para-
meters include focal length, center pixel position, and
geometric distortion. External parameters describe
the positions and orientations of the cameras.
The key to success in stereo vision is to find match-
ing elements in our stereo pair of images. The el-
ements may be lines, edges, etc., in feature-based
matching, or pixels as in area based-matching. The
problem is to find the element in the right image
which has the highest similarity to an element in the
left image.
The search space for matching image elements is
limited considerably by the epipolar constraint. This
constraint exploits that, given a point in one image,
the corresponding point in the second image will al-
ways lie on a line, called the epipolar line. Assuming
a pinhole camera model, the epipolar line is the pro-
jection on the second image plane of the line spanned
by the image point and the focal point of the first cam-
era (Trucco and Verri, 1998).
The epipolar constraint reduces the correspondence
search space from two dimensions (the whole image)
to one dimension (a single line). However, the search
may be eased further by rectifying the stereo images
before the search. Rectification consists of transform-
ing the images to appear as if they were obtained with
parallel cameras with equal focal lengths (Fusiello
et al., 1997). After rectification, the epipolar lines
become horizontal, so that all corresponding pairs of
image elements lie on the same image rows.
From the two rectified images the disparity d may
be calculated as the horizontal displacement between
the reference pixel in the left image and the candidate
pixel in the right image, that is, x
r
= x
l
+ d. (Fig. 1).
Due to the geometry of parallel axes, decreases with
increasing depth.
From the disparity map, the 3-dimensional recon-
struction of the scene may be determined by triangu-
lation. Ideally, the two rays from the left and right
images should cross a in point. However, due to
the quantification in the imaging process this is sel-
dom the case. Hence, the method of triangulation
with non-intersecting rays (Trucco and Verri, 1998)
is used for the reconstruction.
2.2 Compatible Points and Obstacle
Detection
Below, the concept of compatible points, as intro-
duced by (Manduchi et al., 2005), will be presented.
The concept addresses the problem that in cross-
country environments the ground surface can seldom
be modelled as ramps, i.e linear patches. Obstacles
in terms of two distinct points in space are defined as
follows:
Definition 1
Two 3D points p
1
and p
2
are called compatible with
one another if the following two condition are met:
1. Their difference in height is larger than H
min
but
smaller than H
max
.
H
min
< |p
2,y
− p
1,y
| <H
max
2. The lines joining them form an angle with the
horizontal plane larger than θ
max
.
|p
2,y
− p
1,y
|
p
2
− p
1
> sin θ
max
Definition 2
Two 3D points, p
1
and p
2
, are defined as belonging
to the same obstacle if one of the following two
conditions are met:
1. The 3D points, p
1
and p
2
, are compatible.
2. A chain of compatible point pairs linking p
1
and
p
2
exists.
OBSTACLE DETECTION BY STEREO VISION, INTRODUCING THE PQ METHOD
251