Next Article in Journal
Particle Fabrication Using Inkjet Printing onto Hydrophobic Surfaces for Optimization and Calibration of Trace Contraband Detection Sensors
Next Article in Special Issue
Tracking Multiple Video Targets with an Improved GM-PHD Tracker
Previous Article in Journal
Automated Low-Cost Smartphone-Based Lateral Flow Saliva Test Reader for Drugs-of-Abuse Detection
Previous Article in Special Issue
A Neural Network-Based Gait Phase Classification Method Using Sensors Equipped on Lower Limb Exoskeleton Robots
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Vision Sensor-Based Road Detection for Field Robot Navigation

College of Mechatronic Engineering and Automation, National University of Defense Technology, Changsha 410073, Hunan, China
*
Author to whom correspondence should be addressed.
Sensors 2015, 15(11), 29594-29617; https://doi.org/10.3390/s151129594
Submission received: 21 September 2015 / Revised: 13 November 2015 / Accepted: 17 November 2015 / Published: 24 November 2015
(This article belongs to the Special Issue Sensors for Robots)

Abstract

:
Road detection is an essential component of field robot navigation systems. Vision sensors play an important role in road detection for their great potential in environmental perception. In this paper, we propose a hierarchical vision sensor-based method for robust road detection in challenging road scenes. More specifically, for a given road image captured by an on-board vision sensor, we introduce a multiple population genetic algorithm (MPGA)-based approach for efficient road vanishing point detection. Superpixel-level seeds are then selected in an unsupervised way using a clustering strategy. Then, according to the GrowCut framework, the seeds proliferate and iteratively try to occupy their neighbors. After convergence, the initial road segment is obtained. Finally, in order to achieve a globally-consistent road segment, the initial road segment is refined using the conditional random field (CRF) framework, which integrates high-level information into road detection. We perform several experiments to evaluate the common performance, scale sensitivity and noise sensitivity of the proposed method. The experimental results demonstrate that the proposed method exhibits high robustness compared to the state of the art.

Graphical Abstract

1. Introduction

Road detection is a fundamental issue in field robot navigation systems, which have attracted keen attention in the past several decades. Vision sensors play an important role in road detection. Image data captured by vision sensors contains rich information, such as luminance, color, texture, etc. Thus, vision sensors have a great potentiality in road detection [1]. Moreover, vision sensors are inexpensive compared to other popular road detection sensors, such as LiDAR and millimeter-wave radar [2].
For these reasons, many state-of-the-art field robot systems employ vision sensors for road detection. For example, Xu et al. [3] presented a mobile robot using a vision system to navigate in an unstructured environment. The vision system consisted of two cameras; one is used for road region detection, and the other is used for road direction estimation. Rasmussen [4] introduced a vehicle-based mobile robot system, which has achieved success in the DARPA Grand Challenge. Vision sensors mounted on the top of the windshield were used to detect the road vanishing point for steering control.
Vision sensor-based road detection is a binary labeling problem trying to label every pixel in the given road image with the category (road or background) to which it belongs [5]. However, vision sensor-based road detection is still a challenging job due to the diversity of road scenes with different geometric characteristics (varying colors and textures) and imaging conditions (different illuminations, viewpoints and weather conditions) [5].
The problem of vision sensor-based road detection has been intensively studied in recent years. Some methods are based on color and texture features, e.g., the method presented in [6] uses the HSI color space as the features for road detection, while the algorithm proposed in [7] combines texture and color features. However, in many off-road environments, the texture and color features of the road and its surroundings are quite complex and diverse, and sometimes, it is extremely difficult to distinguish road regions from the surroundings by using only texture and color features. Another approach for road detection is based on road boundaries; the proposed method in [8] used road boundaries to fit a road curvature model for road detection. Nevertheless, this kind of approach does not appropriately behave when there is no evident borders (e.g., unstructured roads). More recently, the vanishing point was used for road detection in [9]. This kind of method does not work well when there is no obvious road vanishing point or the road has curved boundaries [5]. To deal with curved boundaries, in [10], the authors proposed using the illuminant invariance to detect road regions. This approach is robust to illuminations, shadows and curved roads. However, it contain less information on road shape priors and is sensitive to noise. To make sensible use of prior information, in [11], road priors obtained from geographic information systems (GISs) are combined with the road cues estimated from the current image to achieve robust road segmentation. However, the method may fail when there is no GIS database. Without GIS or a map, Sotelo et al. [12] used road shape restrictions to enhance the road segmentation. To make better use of road shape priors, He et al. [5] proposed to use road shape priors for the road segmentation by encoding the priors into a graph-cut framework, but the method would be suboptimal when the features of the road and background are similar.
In this paper, we introduce a hierarchical vision sensor-based road detection model to address this problem. More specifically, the proposed approach is depicted in Figure 1, which consists of three main components:
(1)
Road vanishing point detection based on MPGA: We propose an efficient and effective road vanishing point detection method, which employed the multiple population genetic algorithm (MPGA) to search for vanishing point candidates heuristically. The value of the fitness function of MPGA is obtained by a locally-tangent-based voting scheme. In this way, we only need to estimate the local dominant texture orientations and calculate voting values at the positions of vanishing point candidate. Thus, the proposed method is highly efficient compared to traditional vanishing point detection methods. In this paper, the road vanishing point is a key element of subsequent image processing tasks.
(2)
GrowCut-based road segmentation: The initial road segments are obtained using GrowCut [13], which is an interactive segmentation framework based on cellular automaton (CA) theory [14]. The seed points of GrowCut are selected automatically by using the information of the road vanishing point, which makes GrowCut become an unsupervised process without an interactive property. Seed selection and GrowCut are performed at the superpixel level. Each superpixel is regarded as a cell with a label (road or background), the initial road segment is obtained when the proliferation of cells stops.
(3)
Refinement using high-level information: In order to get rid of the shortcomings of the illuminant invariance-based method [11] and to ensure that the road segments are globally consistent, inspired by [5], we employ a conditional random field (CRF) [15] to integrate some high-level information into the road segments.
Figure 1. Diagram of our vision sensor-based road detection model.
Figure 1. Diagram of our vision sensor-based road detection model.
Sensors 15 29594 g001
The rest of this paper is organized as follows. In Section 2, Section 3 and Section 4, we introduce the proposed road detection method. Experimental results and a discussion are presented in Section 5, and conclusions are drawn in Section 6.

2. Road Vanishing Point Detection Based on MPGA

In a 2D image data captured by a vision sensor, the road vanishing point is the intersection of the projections of certain parallel lines (e.g., road edges, lane markings) in the real world. The road vanishing point plays an important role in road detection. The information of road direction can be obtained from the road vanishing point. Rasmussen et al. [16] use it for navigation directly. Moreover, the road vanishing point provides a strong clue to the localization of the road region. Hui Kong et al. [9] use the road vanishing point for road segmentation. In this paper, road vanishing point detection is a vital step for the whole road detection task. This section presents a robust method for the fast estimation of the road vanishing point.

2.1. Searching Based on MPGA

Most texture-based vanishing point detection methods [9,16,17] obtain vanishing point candidates in a greedy way, which is computationally expensive. In the proposed method, the multiple population genetic algorithm (MPGA) is employed to search vanishing point candidates heuristically. After the vanishing point candidates are obtained, we just need to estimate the local dominant texture orientations of the vanishing point candidates and their voters, after which the voting value of the vanishing point candidate can be obtained by the local dominant texture orientations.
There are some modern optimization algorithms (such as the multiple population genetic algorithm (MPGA), particle swarm algorithm optimization (PSO), the simulated annealing algorithm (SA), etc.) that are mainly employed for difficult optimization problem solving. The work in [18] performed experiments to evaluate the performance of some modern optimization algorithms. It concluded that these modern optimization algorithms are effective, but the genetic algorithm (GA) is more efficient than PSO and SA. The genetic algorithm [19] is widely used in optimization problems. In the algorithm, problem parameters are encoded to chromosomes, and the solution can be obtained when the evolution of the chromosomes is stopped. However, the traditional genetic algorithm may lead to local optimal solutions, and its convergence speed is slow. The multiple population genetic algorithm (MPGA) was proposed to overcome the shortcomings of the traditional genetic algorithm. Instead of starting from one population, MPGA starts from two or more populations, and each population evolves in parallel. For this reason, we apply MPGA to search for vanishing point candidates.
In order to obtain chromosomes, the coordinates of the pixels are transformed to a binary encoding. Having obtained chromosomes, we next generate M initial populations, and each population contains N chromosomes. The fitness function f ( x , y ) of the MPGA is defined as follows:
f ( x , y ) = i = 1 n V o t e ( P i , V j )
where V o t e ( P i , V j ) represents the voting value of the vanishing point candidate V j at ( x , y ) , P i is a voter of V j and n denotes the number of voters in the voting region of V j . The obtainment of voting values will be discussed in the next subsection.

2.2. Voting Scheme

After a vanishing point candidate is obtained, the local dominant texture orientation of the vanishing point candidate and its voters need to be estimated. Similar to the work in [16], Gabor filter banks are applied to estimate the local dominant texture orientation. For an orientation ϕ and a scale w, the Gabor kernels are defined by:
ψ w , ϕ ( x , y ) = w 2 π c e - w 2 ( 4 a 2 + b 2 ) / ( 8 c 2 ) ( e i a w - e - c 2 / 2 )
where a = x cos ϕ + y sin ϕ , b = - x sin ϕ + y cos ϕ . The local dominant texture orientation of each vanishing point candidate is obtained by Gabor filter banks of 36 orientations (180 divided by five). The estimation method is explained in detail in [9]. In our work, the local dominant texture orientation of a pixel is only computed once, and the value is saved for the subsequent computing.
After the local dominant texture orientation of the vanishing point candidate V j is obtained, its voting value V o t e ( P i , V j ) can be computed. As shown in Figure 2, V is a vanishing point candidate, P is a voter of V and P A is the local dominant texture orientation vector of P. β equals V A P . We define V p r o j as the distance of V and A.
Figure 2. Illustration of the voting scheme.
Figure 2. Illustration of the voting scheme.
Sensors 15 29594 g002
As shown in Figure 2, ( V x , V y ) and ( P x , P y ) are defined as the coordinates of V and P, respectively. V p r o j can be obtained as follows:
V p r o j = P x - V x + V y - P y tan ( 180 - α )
After getting the value of V p r o j , our voting scheme can be defined as follows:
V o t e ( P , V ) = 0 V p r o j > I m a g e W i d e 2 1 1 + V p r o j 2 o t h e r w i s e
where I m a g e W i d e represents the width of the image, V is a vanishing point candidate and P is a voter of V. The definition of the local voting region is similar to the soft-voting scheme in [9], which defines the voting regions as the half-disk below V. All of the pixels in the local voting region are used as voters.
For better comparison, like traditional texture-based vanishing point detection methods, we compute V o t e P , V at every pixel in the test image using Equation (4), where V p r o j is obtained from Equation (3). The results are shown in Figure 3b, which illustrates that the vanishing point is the maximum value in the voting space. For MPGA-based voting, we only compute the voting value at the vanishing point candidate using Equation (4) and then search the next vanishing point candidate based on MPGA according to the result of Equation (4). Each vanishing point candidate is shown in Figure 3c (marked with red color). From Figure 3, we can see that every population experiences the processes of selection, reproduction and mutation by the fitness function; the maximum value could be found at last, and the road vanishing point is estimated at the location of the maximum value.
Figure 3. Illustration of voting: (a) the original road image; (b) the greedy voting map; (c) the MPGA voting map.
Figure 3. Illustration of voting: (a) the original road image; (b) the greedy voting map; (c) the MPGA voting map.
Sensors 15 29594 g003
As we just need to estimate the local dominant texture orientations and compute voting values at the positions of the vanishing point candidate, the proposed method is more efficient than traditional texture-based methods. For a quantitative comparison, let M P and N I denote the number of initial populations and the number of chromosomes in each population, respectively. The number of vanishing point candidates is denoted by N V . For the road images of size 320 × 240 , the N V of traditional texture-based methods is about:
N V = 320 × 240 = 76 , 800
We perform an experiment to validate the efficiency of our MPGA-based voting strategy. As shown in Table 1, N V of our voting strategy is much less than that of traditional texture-based methods (76,800). This means that our voting strategy spends less time on voting. Thus, the proposed method is more efficient than the traditional one.
Table 1. The result of efficiency validation.
Table 1. The result of efficiency validation.
NI1020304050
NV
MP
104181009155321392674
207311767271637384594
3010042439376151326313
4012903098471764277797
5015373681559775719177
Figure 4 and Figure 5 are some examples of MPGA vanishing point detection in structured roads and unstructured roads, respectively. The red points in the first rows of the figures are the obtained road vanishing point. The second rows are the corresponding MPGA voting maps.
Figure 4. Examples of MPGA-based vanishing point detection in structured roads.
Figure 4. Examples of MPGA-based vanishing point detection in structured roads.
Sensors 15 29594 g004
Figure 5. Examples of MPGA-based vanishing point detection in unstructured roads.
Figure 5. Examples of MPGA-based vanishing point detection in unstructured roads.
Sensors 15 29594 g005

3. GrowCut-Based Road Segmentation

The initial road segments are obtained using GrowCut [13], which is an interactive segmentation framework based on cellular automaton (CA) theory [14]. GrowCut starts with a set of seed points, and the seed points iteratively try to occupy their neighbors according to cellular automaton, until convergence. Because of its robustness, GrowCut is widely used in image segmentation [13], object detection [20], etc. In this paper, the seed points of GrowCut are selected automatically by using the information of the road vanishing point, which makes GrowCut become an unsupervised process without an interactive property.

3.1. Seed Selection at the Superpixel Level

Seeds are the starting points of GrowCut. In our work, the seeds are selected automatically by using the K-means clustering algorithm [21]. The road and the background clustering region are defined by using the information of the road vanishing point, which can be obtained efficiently by the method introduced in Section 2. As shown in Figure 6a, V denotes the road vanishing point of the given image and A B is the horizontal line crossing the road vanishing point V (called the vanishing line). Let C and D denote the bottom left corner and the bottom right corner of the given image, respectively. The lines between V, C and D divide the area below A B into three regions: V A C , V C D and V B D .
For images captured by on-board cameras, most pixels in the region V C D belong to the road surface, and most pixels in the region V A C and V B D belong to the background. The region V C D is defined as the road clustering region, while V A C and V B D are the background clustering region. As shown in Figure 6b, the red area is the road clustering region; the green area is the background clustering region; and the blue area is the sky region (the region above vanishing line A B ).
Figure 6. Clustering region: (a) illustration of the clustering region definition; (b) example of the clustering region definition.
Figure 6. Clustering region: (a) illustration of the clustering region definition; (b) example of the clustering region definition.
Sensors 15 29594 g006
We use three channels (R, G and B) of the given color road image as the features of clustering. After the clustering region is defined, the K-means clustering algorithm [21] is applied to the road and the background clustering regions, respectively (the initial points of clustering are selected randomly). Road and background region clustering is illustrated in Figure 7, where Figure 7a is the original road image and Figure 7b,c are the results of RGB feature-based K-means clustering. For the result of road region clustering in Figure 7b, the proportion of the red category is larger than that of the green category. This means that in the result of road region clustering, the category with a larger proportion can be seen as the representative of the road surface. According to this assumption, road seeds of GrowCut are selected from the category with a larger proportion in the result of the road region clustering (the red category in Figure 7b). Similarly, background seeds are selected from the category with a larger proportion in the result of the background region clustering (the green category in Figure 7c).
Figure 7. Road and background region clustering: (a) test road image; (b) road region clustering; (c) background region clustering.
Figure 7. Road and background region clustering: (a) test road image; (b) road region clustering; (c) background region clustering.
Sensors 15 29594 g007
In order to produce spatially more appealing road segments, inspired by [22], we select seeds and apply GrowCut at the superpixel level. We perform a preliminary over-segmentation of the given road image into superpixels using the SLICalgorithm [23]. Rather than using the pixel grids and rectangular patches, superpixels are likely to be uniform in color and texture and tend to preserve boundaries, so they are more perceptually meaningful and representationally efficient [24]. Furthermore, using superpixels may dramatically reduce the computational complexity of subsequent image processing tasks (such as GrowCut) [22].
In the given road image, for the k-th superpixel S k , C r k denotes the ratio of the number of pixels belonging to road seeds and the total number of pixels in this superpixel and takes the form:
C r k = i S k l i N k
where l i { 0 ( b a c k g r o u n d ) , 1 ( r o a d ) } denotes the label of the i-th pixel and N k is the total number of pixels in S k .
Let ( x k , y k ) denote the mean coordinates of the pixels in S k and ( x m , y m ) be the coordinates of the pixel in the bottom center of the given road image. For the selection of road seeds, the normalized distance between S k and ( x m , y m ) is denoted by D r k , which can be defined as follows:
D r k = ( x m - x k ) 2 + ( y m - y k ) 2 x m 2 + y m 2
Let P r k be the probability of S k being selected as a road seed:
P r k = C r k + ( 1 - D r k ) · T r 1 + T r
where T r is the factor controlling the weight of ( 1 - D r k ) in computing P r k ( T r = 0.01 in this work). Due to the fact that superpixels closer to the bottom center of the on-board road image have a higher probability of being road seeds, D r k should be taken into consideration in computing the probability of being road seeds.
For the result of the road region clustering in Figure 8a, the probability of each superpixel being selected as a road seed can be obtained by Equation (8) (see Figure 8b, which is called the probability map). The result of superpixel-level road seed selection is illustrated in Figure 8c.
Figure 8. Illustration of superpixel-level road seed selection: (a) the result of road region clustering; (b) the probability of being road seeds (the brighter the superpixel, the higher the probability); (c) the result of superpixel-level road seed selection.
Figure 8. Illustration of superpixel-level road seed selection: (a) the result of road region clustering; (b) the probability of being road seeds (the brighter the superpixel, the higher the probability); (c) the result of superpixel-level road seed selection.
Sensors 15 29594 g008
Compared to most traditional seed selection methods, the proposed method is highly robust. With the common assumption [25], traditional methods define a “safe” window in the road image and assume that the pixels in the “safe” window belong to the road pattern (see Figure 9; the “safe” window is a semi-circular region at the center-bottom of the on-board road image). As shown in Figure 9, traditional methods may not work well when the features of the road and its surroundings are complex and diverse, where they are likely to select seeds in some incorrect regions, such as shadow and some parts of the car.
Figure 9. Comparisons with the traditional seed selection method.
Figure 9. Comparisons with the traditional seed selection method.
Sensors 15 29594 g009
Similarly, for background seeds, let C g k be the ratio of the number of pixels belonging to background seeds and the total number of pixels in the superpixel S k :
C g k = i S k | l i - 1 | N k
In order to make background seeds be equally distributed on the left and right side of the road image, the background clustering region is divided into two parts, denoted by B l and B r , which represent the parts on the left and right side of the road clustering region, respectively. Let ( x l , y l ) and ( x r , y r ) be the coordinates in the top left corner and top right corner of the background clustering region, respectively. ( x max , y max ) denote the coordinates in the bottom right corner of the given road image. For the selection of background seeds, the normalized distance D g k takes the form:
D g k = ( x l - x k ) 2 + ( y l - y k ) 2 x max 2 + y max 2 k B l ( x r - x k ) 2 + ( y r - y k ) 2 x max 2 + y max 2 k B r
The probability of S k being selected as a background seed can be defined as follows:
P g k = C g k + ( 1 - D g k ) · T g 1 + T g
where T g is the factor controlling the weight of ( 1 - D g k ) in computing P g k ( T g = 0.01 in this work).
Clustering-based background seed selection aims at selecting background seeds outside the road regions. Although clustering regions have many kinds of textures, background seeds are only selected from the category with a larger proportion in the result of the background region clustering, which is less likely to belong to the road pattern. Besides, Equations (10) and (11) penalize the superpixels close to road regions. In these ways, clustering-based background seed selection is able to work well.
For on-board road images, according to the fact that the sky is likely to appear in the region above the vanishing line (the blue area in Figure 6b) and that the features of this region are quite different from that of the road and background clustering region, we need to select two background seeds in the region above the vanishing line. Let S s k y 1 and S s k y 2 be two superpixel-level background seeds, which are selected by Equation (12).
s k y 1 = arg min k ( x k - 1 ) 2 + ( y k - 1 ) 2 s k y 2 = arg min k ( x k - x max ) 2 + ( y k - 1 ) 2
where ( 1 , 1 ) and ( x max , 1 ) are the coordinates in the top left corner and top right corner of the road images. The selection of S s k y 1 and S s k y 2 is illustrated in Figure 10, and some qualitative results of seed selection at the superpixel level are illustrated in Figure 11.
Figure 10. The selection of superpixel-level background seeds above a vanishing line: (a) test road image; (b) superpixels above the vanishing line (colored in red); (c) the result of the selection (colored in yellow).
Figure 10. The selection of superpixel-level background seeds above a vanishing line: (a) test road image; (b) superpixels above the vanishing line (colored in red); (c) the result of the selection (colored in yellow).
Sensors 15 29594 g010
Figure 11. The results of superpixel-level seed selection (road seeds are colored in red; background seeds are colored in green).
Figure 11. The results of superpixel-level seed selection (road seeds are colored in red; background seeds are colored in green).
Sensors 15 29594 g011

3.2. Segmentation Using the GrowCut Framework

After seed points are obtained, the seed superpixels iteratively try to occupy their neighbors according to GrowCut [14] at the superpixel level until convergence. For the superpixel S i , let S l i be its label (road or background), where S l i { - 1 ( b a c k g r o u n d ) , 0 ( u n d e t e r m i n e d ) , 1 ( r o a d ) } . F i denotes the feature vector of the superpixel S i and θ i denotes the strength ( θ i [ 0 , 1 ] ), which stands for the ability to attack or defend. Thus, the state of the superpixel S i can be defined by a triplet ( S l i , θ i , F i ) . Initially, the label of each superpixel is set as:
S l i = 1 S i S r - 1 S i S g 0 S i S r S g ¯
where S r and S g denote the sets of road and background seeds, respectively. the initial value of strength is set as:
θ i = 1 S i S r S g 0 S i S r S g ¯
Moreover, we need to define the distance between two feature vectors. Álvarez et al. had demonstrated that intraclass variability caused by lighting conditions is a major challenge for road detection [10]. As a field robot may work under different lighting conditions (e.g., different illuminations, weather and shadow conditions), in this work, illuminant invariance features [10] and RGB color features are used to describe each superpixel. Illuminant invariance features are able to make the road detection more robust in shadowy and varying illumination conditions. For each pixel in a color image, illuminant invariance feature I i can be obtained by:
I i = e β β = log ( R i G i + 1 ) · cos ( θ ) + log ( B i G i + 1 ) · sin ( θ )
where ( R i , G i , B i ) denotes the RGB color feature of the i-th pixel. The illuminant invariance feature of the i-th superpixel is defined as follows:
F I i = k S i n I k n i
where n i denotes the number of pixels in superpixel S i . Similarly, the RGB color feature of the i-th superpixel can be obtained by:
F R i = k S i n R k n i , F G i = k S i n G k n i , F B i = k S i n B k n i
The distance between feature vectors i and j is denoted by D m i , j and takes the form:
D m i , j = | F I i - F I j | + K m · ( F R i - F R j ) 2 + ( F G i - F G j ) 2 + ( F B i - F B j ) 2 1 + K m
where K m is the factor controlling the weight of the RGB color feature in computing D m i , j ( K m = 0.2 in this work).
According to the GrowCut [14] framework, each superpixel is regarded as a cell, and cells with labels 1 and - 1 proliferate from seeds. In the process of proliferation, they attack and occupy their differently-labeled neighbors. Let S i and S j be two neighbor cells with different labels ( ( S l i S l j ) ( S l i 0 ) ( S l j 0 ) ). Let S i be the attacking cell and S j the attacked cell; then, S i occupies S j if:
g ( D m i , j ) · θ i > θ j
where g ( x ) is a monotonically-decreasing function:
g ( x ) = 1 - x max D m i , j 2
If S i occupies S j , then the label and strength of S j will change according to the state of S i :
S l j = S l i θ j = g ( D m i , j ) · θ i
Each superpixel in the given road image tries to occupy its differently-labeled neighbors iteratively until all of the superpixels converge to a stable configuration. As shown in Figure 12, the road segment is obtained after convergence.
Figure 12. Illustration of segmentation using GrowCut: (a) the proliferation of seeds; (b) the convergence of the iteration; (c) the contour of the obtained road segments.
Figure 12. Illustration of segmentation using GrowCut: (a) the proliferation of seeds; (b) the convergence of the iteration; (c) the contour of the obtained road segments.
Sensors 15 29594 g012

4. Refinement Using High-Level Information

Due to the complexity of the road scene, there still may exist some isolated superpixels or unsmooth edges in the road segments obtained by GrowCut (see Figure 13). The initial road segments still need to be refined by some high-level information. Olga Veksler [26] used the information called the “star shape prior” for image segmentation. Similarly, He et al. [5] proposed to use the information of road shape priors for the road segmentation by encoding the information into a graph-cut framework.
Figure 13. Problems with initial road segments obtained by GrowCut: (a) the convergence of the iteration; (b) the contour of road segments.
Figure 13. Problems with initial road segments obtained by GrowCut: (a) the convergence of the iteration; (b) the contour of road segments.
Sensors 15 29594 g013
Inspired by these previous works, we implement the conditional random field (CRF) [15] at the pixel level to integrate some high-level information (e.g., shape prior, road vanishing point) to achieve a more robust detection.
In this work, the high-level information integrated in the refinement is listed as follows:
  • There exist no isolated area in the road segments nor background segments;
  • In on-board road images, road segments are shrinking from bottom to top;
  • The direction of the road is relevant to the position of the road vanishing point.
To build the CRF model at the pixel level, let l i denote the label (road or background) of the pixel i and l denote the set of all label assignments. The CRF energy to minimize can be written as:
E ( l ) = i V ϕ i ( l ^ i , l i ) + λ d i j D ψ i j ( l i , l j ) + d i j D φ ( l i , l j ) + w i V η i
where ϕ i ( l ^ i , l i ) is the unary term enforcing the label l i (road or background) to take a value close to the label l ^ i obtained by GrowCut:
ϕ i ( l ^ i , l i ) = 1 l ^ i l i 0 l ^ i = l i
In Equation (22), ψ i j is the pairwise term penalizing the different assignments for neighboring pixels i and j. Let C i be the RGB color feature vector of the i-th pixel; ψ i j takes the form:
ψ i ( l ^ i , l i ) = e - β C i - C j 2 l i l j 0 l i = l j
Inspired by [5], a second-order term φ i j is employed to incorporate the road shape prior into the CRF framework. To describe the road shape prior, let h be the middle line of the road segment obtained by GrowCut (see Figure 14a). L p and R p denote the left and right part of h, respectively. i is an arbitrary pixel in the road segment. j 1 j 8 are neighbors of i (see Figure 14b). From the high-level information, the road shape implies that:
i , ( i L p ) ( j 3 R o a d ) i R o a d i , ( j 7 L p ) ( i R o a d ) j 7 R o a d i , ( i R p ) ( j 7 R o a d ) i R o a d i , ( j 3 R p ) ( i R o a d ) j 3 R o a d
Figure 14. Illustration of the road shape prior: (a) a road segment with the middle line h; L p denotes the left part of h; R p denotes the right part of h; (b) a standard eight-neighborhood system with a center pixel i and its neighbors j 1 j 8 .
Figure 14. Illustration of the road shape prior: (a) a road segment with the middle line h; L p denotes the left part of h; R p denotes the right part of h; (b) a standard eight-neighborhood system with a center pixel i and its neighbors j 1 j 8 .
Sensors 15 29594 g014
From Equation (25), the second-order term φ i j can be defined as:
φ i j ( l i , l j ) = i f { ( l i = 0 a n d l j = 1 a n d i L p a n d j = j 3 ) o r ( l i = 1 a n d l j = 0 a n d j L p a n d j = j 7 ) o r ( l i = 0 a n d l j = 1 a n d i R p a n d j = j 7 ) o r ( l i = 1 a n d l j = 0 a n d j R p a n d j = j 3 ) } 0 otherwise
In the CRF energy Equation (22), the last term η i is used to incorporate road vanishing point information. For the calculation of η i , we first need to obtain a probability map according to the position of the road vanishing point. Let D p and M respectively denote the length and the center of the projection of the road segment onto the last line of the road image. V denotes the road vanishing point. The road image is divided into several regions illustrated in Figure 15, where the length of B M and C M is one fourth of that of D p , and the length of A M and D M is three fourths of that of D p . We define the probability of the road pattern to be presented at each pixel in the region V B C is 100 % . In V A B and V C D , pixels closer to the center line V M have a higher probability of being road pixels. Let ( x v , y v ) be the coordinates of the road vanishing point; I m H and I m W denote the height and width of the road image, respectively; ( x m , I m W ) denotes the coordinates of M. As shown in Figure 15, f L 1 ( y ) , f L 2 ( y ) , f R 1 ( y ) and f R 2 ( y ) are respectively the linear functions of V B , V A , V C and V D . The linear functions takes the form:
f L 1 ( y ) = ( y - y v ) · x v - ( x m - 0 . 5 D p ) y v - I m H + x v f L 2 ( y ) = ( y - y v ) · x v - ( x m - 0 . 75 D p ) y v - I m H + x v f R 1 ( y ) = ( y - y v ) · x v - ( x m + 0 . 5 D p ) y v - I m H + x v f R 2 ( y ) = ( y - y v ) · x v - ( x m + 0 . 75 D p ) y v - I m H + x v
Figure 15. Image division for probability map calculation.
Figure 15. Image division for probability map calculation.
Sensors 15 29594 g015
Let ( x i , y i ) be the coordinates of the i-th pixel in the image; the last term η i of the CRF energy stands for the probability obtained according to the position of the road vanishing point and can be obtained by Equation (28). The probability map is illustrated in Figure 16.
η i = 0 x i < f L 2 ( y i ) x i - f L 2 ( y i ) f L 1 ( y i ) - f L 2 ( y i ) f L 2 ( y i ) x i < f L 1 ( y i ) 1 f L 1 ( y i ) x i f R 1 ( y i ) x i - f R 2 ( y i ) f R 1 ( y i ) - f R 2 ( y i ) f R 1 ( y i ) < x i f R 2 ( y i ) 0 x i > f R 2 ( y i )
Figure 16. Probability map obtained according to the position of the road vanishing point (the brighter pixel stands for the higher probability).
Figure 16. Probability map obtained according to the position of the road vanishing point (the brighter pixel stands for the higher probability).
Sensors 15 29594 g016
The CRF energy E ( l ) in Equation (22) is minimized using Graph Cut [27]. The result of refinement is illustrated in Figure 17, which manifests that the refinement using high-level information is effective in road detection.
Figure 17. Comparison between the results of GrowCut and refinement: (a) the result of GrowCut; (b) the result of refinement.
Figure 17. Comparison between the results of GrowCut and refinement: (a) the result of GrowCut; (b) the result of refinement.
Sensors 15 29594 g017

5. Results and Discussion

5.1. Common Performance

To validate the proposed road detection model, we evaluate the performance of the proposed approach on the OffRoadScene database [28], which consists of 770 unstructured road images, which are captured by driving on several challenging unstructured roads. The database contains various types of road scenes with different texture, shadows, illuminations and weather conditions. All of the images are resized to 320 × 240 for testing. The ground truth of the database is manually labeled. As most of the unstructured roads have no clear borders, the database uses ambiguous regions to describe the road borders; as shown in Figure 18, the ambiguous regions are unconcerned with respect to the experimental results.
Figure 18. Images with ground truths in the database. The first rows are original images; the second rows are the corresponding ground truths; the road region is marked with the green color; ambiguous regions of the left and right edges are marked with red and blue colors, respectively.
Figure 18. Images with ground truths in the database. The first rows are original images; the second rows are the corresponding ground truths; the road region is marked with the green color; ambiguous regions of the left and right edges are marked with red and blue colors, respectively.
Sensors 15 29594 g018
As shown in Table 2, quantitative evaluations are provided using four types of pixel-wise measures: precision (P), accuracy (A), false positive rate (FPR) and recall (R). In Table 2, T P and T N denote the number of road pixels correctly detected and the background pixels correctly detected, respectively. F P and F N denote the number of background pixels incorrectly marked and the road pixels incorrectly identified, respectively.
Table 2. Performance metric.
Table 2. Performance metric.
Pixel-Wise MeasureDefinition
Precision P = T P T P + F P
Accuracy A = T P + T N T P + F N + F P + T N
False Positive Rate F P R = F P T N + F P
Recall R = T P T P + F N
In the experiment, we compare our proposed method to two state-of-the-art road detection algorithms: Kong et al.’s method [9] and Álvarez et al.’s method [10]. Quantitative results are shown in Table 3.
Table 3. Quantitative results on the OffRoadScene database.
Table 3. Quantitative results on the OffRoadScene database.
Method P (%) A (%) FPR (%) R (%)
Kong et al.’s method [9]98.127888.04662.171080.7174
Álvarez et al.’s method [10]96.789784.91263.735776.4284
Our proposed method98.470897.02812.124396.5481

5.2. Scale Sensitivity

In order to validate the sensitivity of algorithms to image scale, test images from the OffRoadScene database are resized to different scales. Let m × n be the size of images in the database; s denotes the scale factor, which resizes images to ( m · s ) × ( n · s ) ( s [ 0 , 1 ] ). A Gaussian filter is applied to smooth the image before resizing to a smaller scale. In the experiment, as shown in Figure 19, we resize images to 10 scales by setting s from 0.1 to 1 using a step-size of 0.1.
The results of the scale sensitivity evaluation are shown in Figure 20, which demonstrates that the precision, accuracy and recall of the proposed method are highest and and false positive rate is lowest among the three methods. Moreover, the precision, accuracy, recall and false positive rate of the proposed method are highly stable compared to the other two methods. This means that our proposed method is less sensitive to image scale.
Figure 19. Illustration of the scale sensitivity evaluation.
Figure 19. Illustration of the scale sensitivity evaluation.
Sensors 15 29594 g019
Figure 20. Results of the scale sensitivity evaluation: (a) precision; (b) accuracy; (c) false positive rate; (d) recall.
Figure 20. Results of the scale sensitivity evaluation: (a) precision; (b) accuracy; (c) false positive rate; (d) recall.
Sensors 15 29594 g020

5.3. Noise Sensitivity

There may exist noise in the images captured by the on-board camera in a real scene, which is a challenge of vision-based road detection. In this work, Gaussian noise is added to images to evaluate the noise sensitivities of the algorithms:
I ^ ( i , j , k ) = I ( i , j , k ) + n ( i , j , k )
where I ^ ( i , j , k ) denotes that the noise with value n ( i , j , k ) is added to the k-th channel of the pixel located in row i and column j of the image. n ( i , j , k ) takes the form:
p ( x ) = 1 σ 2 π e - x 2 2 σ 2
where σ denotes variance. As shown in Figure 21, we add noise with variance σ ranging from 0.05 to 0.4 to validate the algorithms.
The results of the noise sensitivity evaluation are shown in Figure 22, which shows that the precision and accuracy of the proposed method are highest and the false positive rate is lowest among the three methods in most noise conditions. Besides, the precision, accuracy, recall and false positive rate of the proposed method are highly robust compared to the other two methods, which implies that the proposed method is less sensitive to noise.
Figure 21. Illustration of the noise sensitivity evaluation.
Figure 21. Illustration of the noise sensitivity evaluation.
Sensors 15 29594 g021
Figure 22. Results of the noise sensitivity evaluation: (a) precision; (b) accuracy; (c) false positive rate; (d) recall.
Figure 22. Results of the noise sensitivity evaluation: (a) precision; (b) accuracy; (c) false positive rate; (d) recall.
Sensors 15 29594 g022

5.4. Discussion

As shown in Table 2, Figure 20 and Figure 22, our proposed method performs much better than other methods. Some qualitative results can be seen in Figure 23, where Kong et al.’s method [9] is based on the road vanishing point. From the experiments, we can see that the precision of Kong et al.’s method is relatively high, and the false positive rate is relatively low. Besides, the method is less sensitive to scale and noise. This is due to the fact that texture-based vanishing point detection mainly depends on the edges of the main lanes instead of the details in road images, and the changes of scale and noise mainly affect the details of road images, while the edges of the main lanes are kept. However, the method may not fit well when the road boundaries are curved (see Figure 23, Rows 1 and 8).
Figure 23. Qualitative comparisons between different methods. Road and background regions in Columns 3–5 are marked with white and black, respectively.
Figure 23. Qualitative comparisons between different methods. Road and background regions in Columns 3–5 are marked with white and black, respectively.
Sensors 15 29594 g023
Álvarez et al.’s method [10] is based on the illuminant invariance feature, which is robust in shadowy and varying illumination conditions. The method is able to fit the road well when the road boundaries are curved (see Figure 23, Rows 1 and 8). However, it relies on the details of road images, so it has relatively high sensitivities to scale and noise compared to Kong et al.’s method [9] and our proposed method. In addition, Álvarez et al.’s method would be suboptimal when the features of the road and background are too similar (see Figure 23, Rows 3, 4 and 7) or some parts of the road are quite different from other road regions (see Figure 23, Rows 2 and 8).
Our proposed method includes both advantages of Kong et al.’s [9] and Álvarez et al.’s method [10].The method exploits the road vanishing point for seed selection and high-level information-based refinement, which make it depend less on the details of road images; thus, the method has low sensitivities to scale and noise. Moreover, GrowCut makes it possible to detect road regions when features of the road and background are quite similar. As shown in Figure 23, Rows 4 and 7, the proliferation of seeds will stop near the road boundaries.

6. Conclusions and Future Works

This paper presents a hierarchical road detection approach using a vision sensor. The major contributions of this work include: (1) an MPGA-based method proposed for efficient road vanishing point detection; (2) a road vanishing point and clustering-based strategy presented for unsupervised seed selection; (3) a GrowCut-based approach applied at the superpixel level introduced to obtain the initial road segment; and (4) a high level information-based method proposed to refine the road segment by using the CRF framework. Experimental results of the common performance, scale sensitivity and noise sensitivity evaluation validate the effectiveness and robustness of our proposed approach.
Our future work will focus on applying the proposed method to an SoC (system-on-a-chip) for some robot navigation applications, such as map building, path planning, etc.

Acknowledgments

This work is supported by the National Natural Science Foundation of China (Grant No. 61473303).

Author Contributions

Keyu Lu conceived of the work, realized the algorithms and wrote the manuscript. Jian Li provided many suggestions for the work and made great efforts with respect to the paper revision. Xiangjing An and Hangen He provided their guidance.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Llorca, D.F.; Sánchez, S. Vision-Based Traffic Data Collection Sensor for Automotive Applications. Sensors 2010, 10, 860–875. [Google Scholar] [CrossRef] [PubMed]
  2. Tan, J.; Li, J.; An, X.; He, H. Robust Curb Detection with Fusion of 3D-Lidar and Camera Data. Sensors 2014, 14, 9046–9073. [Google Scholar] [CrossRef] [PubMed]
  3. Xu, W.; Zhuang, Y.; Hu, H.; Zhao, Y. Real-Time Road Detection and Description for Robot Navigation in an Unstructured Campus Environment. In Proceeding of the 11th World Congress on Intelligent Control and Automation, Shenyang, China, 27–30 June 2014; pp. 928–933.
  4. Rasmussen, C. RoadCompass: Following rural roads with vision + ladar using vanishing point tracking. Auton Robot 2008, 25, 205–229. [Google Scholar] [CrossRef]
  5. He, Z.; Wu, T.; Xiao, Z.; He, H. Robust road detection from a single image using road shape prior. In Proceedings of the 2013 IEEE International Conference on Image Processing (ICIP 2013), Melbourne, Australia, 15–18 September 2013; pp. 2757–2761.
  6. Rotaru, C.; Graf, T.; Zhang, J. Color image segmentation in HSI space for automotive applications. J. Real Time Image Proc. 2008, 3, 311–322. [Google Scholar] [CrossRef]
  7. Christopher, R. Combining laser range, color, and texture cues for autonomous road following. In Proceedings of the 2002 IEEE International Conference on Robotics and Automation (ICRA 2002), Washington, DC, USA, 11–15 May 2002; pp. 4320–4325.
  8. He, Y.; Wang, H.; Zhang, B. Color-based road detection in urban traffic scenes. IEEE Trans. Intell. Transp. Syst. 2004, 5, 309–318. [Google Scholar] [CrossRef]
  9. Kong, H.; Audibert, J.Y.; Ponce, J. General road detection from a single image. IEEE Trans. Image Proc. 2010, 19, 2211–2220. [Google Scholar] [CrossRef] [PubMed]
  10. Álvarez, J.M.; Ĺopez, A.M. Road detection based on illuminant invariance. IEEE Trans. Intell. Transp. Syst. 2011, 12, 184–193. [Google Scholar] [CrossRef]
  11. Álvarez, J.M.; Ĺopez, A.M.; Gevers, T.; Lumbreras, F. Combining Priors, Appearance, and Context for Road Detection. IEEE Trans. Intell. Transp. Syst. 2014, 15, 1168–1178. [Google Scholar] [CrossRef]
  12. Sotelo, M.A.; Rodriguez, F.J.; Magdalena, L. VIRTUOUS: Vision-Based Road Transportation for Unmanned Operation on Urban-Like Scenarios. IEEE Trans. Intell. Transp. Syst. 2004, 5, 69–83. [Google Scholar] [CrossRef]
  13. Vezhnevets, V.; Konouchine, V. “GrowCut”—Interactive multi-label n-d image segmentation by cellular automata. In Proceedings of the Fifteenth International Conference (GraphiCon’2005), Novosibirsk Akademgorodok, Russia, 20–24 June 2005; pp. 150–156.
  14. Neumann, J.V.; Burks, A.W. Theory of Self-Reproducing Automata; University of Illinois Press: Champaign, IL, USA, 1966. [Google Scholar]
  15. He, X.; Zemel, R.; Carreira-Perpinan, M. Multiscale conditional random fields for image labeling. In Proceedings of the 2004 IEEE International Conference on Computer Vision and Pattern Recognition (CVPR 2004), Washington, DC, USA, 27 June–2 July 2004; pp. 1953–1959.
  16. Rasmussen, C. Following rural roads with vision + ladar using vanishing point tracking. Auton Robot 2008, 25, 205–229. [Google Scholar] [CrossRef]
  17. Moghadam, P.; Starzyk, J.A.; Wijesoma, W.S. Fast vanishing-point detection in unstructured environments. IEEE Trans. Image Proc. 2012, 21, 425–430. [Google Scholar] [CrossRef] [PubMed]
  18. Si-qi, H.; Hui, C. Studies on Three Modern Optimization Algorithms. Value Eng. 2014, 27, 301–302. [Google Scholar]
  19. Holland, J.H. Adaptation in Natural and Artificial Systems; University of Michigan Press: Ann Arbor, MI, USA, 1975. [Google Scholar]
  20. Zhang, X.; Zhang, Y.; Maybank, S.J.; Liang, J. A multi-modal moving object detection method based on GrowCut segmentation. In Proceedings of the 2014 IEEE Symposium on Computational Intelligence for Multimedia, Signal and Vision Processing, Orlando, FL, USA, 9–12 December 2014; pp. 1–6.
  21. Zhang, C.; Xiao, X.; Li, X. White Blood Cell Segmentation by Color-Space-Based K-Means Clustering. Sensors 2014, 14, 16128–16147. [Google Scholar] [CrossRef] [PubMed]
  22. Veksler, O.; Boykov, Y.; Mehrani, P. Superpixels and Supervoxels in an Energy Optimization Framework. In Proceedings of the 11th European Conference on Computer Vision, Crete, Greece, 5–11 September 2010; pp. 211–224.
  23. Achanta, R.; Shaji, A.; Smith, K.; Lucchi, A.; Fua, P.; Süsstrunk, S. SLIC Superpixels Compared to State-of-the-Art Superpixel Methods. IEEE Trans. Pattern Anal. Mach. Intell. 2012, 34, 2274–2282. [Google Scholar] [CrossRef] [PubMed]
  24. Nguyen, T.V.; Tran, T.; Vo, P.; Le, B. Efficient Image Segmentation Incorporating Photometric and Geometric Information. In Proceedings of the International MultiConference of Engineers and Computer Scientists, Hong Kong, China, 6–18 March 2011; pp. 529–533.
  25. Ara., N.; Gary, B. Detection of Drivable Corridors for Off-road Autonomous Navigation. In Proceedings of the IEEE International Conference on Image Processing (ICIP 2006), Atlanta, GA, USA, 8–11 October 2006; pp. 3025–3028.
  26. Veksler, O. Star shape prior for graph-cut image segmentation. In Proceedings of the 10th European Conference on Computer Vision (ECCV 2008), Marseille, France, 12–18 October 2008; pp. 454–467.
  27. Szummer, M.; Kohli, P.; Hoiem, D. Learning CRFs Using Graph Cuts. In Proceedings of the 10th European Conference on Computer Vision (ECCV 2008), Marseille, France, 12–18 October 2008; pp. 582–595.
  28. Shang, E.; Zhao, H.; Li, J.; An, X.; Wu, T. Centre for Intelligent Machines. Available online: http://www.cim.mcgill.ca/lijian/roaddatabase.htm (accessed on 15 April 2014).

Share and Cite

MDPI and ACS Style

Lu, K.; Li, J.; An, X.; He, H. Vision Sensor-Based Road Detection for Field Robot Navigation. Sensors 2015, 15, 29594-29617. https://doi.org/10.3390/s151129594

AMA Style

Lu K, Li J, An X, He H. Vision Sensor-Based Road Detection for Field Robot Navigation. Sensors. 2015; 15(11):29594-29617. https://doi.org/10.3390/s151129594

Chicago/Turabian Style

Lu, Keyu, Jian Li, Xiangjing An, and Hangen He. 2015. "Vision Sensor-Based Road Detection for Field Robot Navigation" Sensors 15, no. 11: 29594-29617. https://doi.org/10.3390/s151129594

Article Metrics

Back to TopTop