This application claims priority of Indian Provisional Application No. 5955/CHE/2013, filed Dec. 19, 2013, which is hereby incorporated by reference for all that it discloses.
Ground plane detection is an important pre-processing step in the field of embedded vision. In advanced driver assistance systems (ADAS), ground plane detection operations provide information for location of a road plane in an image. This information may be used in various ADAS applications such as obstacle and vehicle detection.
Various approaches exist for ground plane detection including use of stereo images, use of homography and texture-based segmentation. However, each of these approaches has drawbacks. There is a need for an improved method for ground plane detection, particularly one that could be used in ADAS.
This disclosure, in general describes a method of ground plane detection that involves initially selecting two images from a series of images of a road scene. In one example embodiment these images are produced by an automobile imaging device, such as a video camera mounted on the automobile. Images, which may be, for example, separate still images or frames of a video clip, are transmitted from the imaging device to an image processing assembly. The imaging processing assembly may be implemented in hardware, software or firmware, or some combination thereof. It may be provided within a single housing or region or may be spread among a number of separate interconnected devices. The imaging assembly performs processing steps on at least two images received from the imaging device that results in data representative of a ground plane of the road image. The processing steps include creating a road model of each image of the scene and performing homography computations using corresponding features of these road models.
Various embodiments of the methods and apparatus described herein may provide some or all of the below described advantages. In some embodiments, a “road model” is created, which is used to determine a “region of interest” (ROI) in analyzed images. The region of interest, thus determined, is used for obtaining a homography matrix, which, in turn, is employed for ground plane detection. This manner of ground plane detection is generally more reliable and more efficient than that of the prior art. The use of a road model to determine the ROI can result in a significant reduction in the data that needs to be processed, saving memory, bandwidth and compute cycles. Also, system accuracy may be improved. The described embodiments may be advantageously implemented in real-time systems, such as ADAS, because of the reduction in processing time and increased accuracy. Also, in some embodiments, a lane masking algorithm is used that prevents road lane lines from being detected as false obstacles. The detection of road lane lines as false obstacles has heretofore been a drawback of homography based ground plane detection.
As indicated in
There are several advantages of determining an ROI, which is used for further processing. These advantages include reduced processing and memory bandwidth, since only a part of the image, not the entire image is further processed. Another advantage is that when determining the feature points for homography computation, described below, selecting a ROI in this manner ensures that a majority of the feature points that will be obtained for this calculation belong to the ground plane, since a large percentage of the ROI, selected in the described manner, is covered by the road, as can be seen in
As shown at block 10 in
As will be obvious to those skilled in the art, each image, including the image in
1. Query each pixel starting from the left with an offset, a for every row under the horizon. Subtract twice the pixel value from the values of pixels which are situated at i-α and i+α distances.
2. Check to determine if the result is above a predetermined threshold.
3. If YES, check if there is high gradient while moving from a few pixels to the left of this pixel rightwards.
4. If YES, obtain the average of pixel values from i-β to i-μ and set this value for the pixel.
5. If No to (3.), leave the pixel as it is.
6. If No to (4.), set the pixel value to the last updated i-β to i-μ pixel range average value.
7. A similar procedure is followed for the right edge of the lane marking.
In the above example the setting are as follows: α=18, β=4 and μ=10. The values of α, β and μ depend upon parameters of the camera that is used—mainly the image resolution and the camera zoom. The image set used in the illustrated embodiment had a resolution of 320×240 without a fixed level of focus. For a zoomed image of the same resolution, the parameter values will increase. The parameter values will also increase in the case of a higher resolution image using the same zoom. The values of α, β and μ may be empirically determined for any camera by experimenting with images of different zoom and different resolution.
An example of an output image after performing lane masking is illustrated in
Next features extraction is performed on each of the two selected images and these extracted features of the different images are matched as shown at 24. Next the matching features of the two images are subtracted to provide a segmented ground plane as shown at 100.
Although simple image subtraction between the two sequential images of the road scene can be performed, the accuracy of the subtracted image will generally be poor. In the illustrated embodiment a homography matrix is computed and used is to warp the previous image as indicated in
Nomography is a property by which the coplanar points in one image are mapped to corresponding points on the other image. Nomography has 8 degrees of freedom. Hence, if correspondence for 4 points between 2 images is known, then the homography matrix can be computed.
In order to compute the homography matrix, the first procedure it to extract features on the current image and the previous image, as shown at 22 in
Using these obtained corresponding features, 4 points are randomly selected and the associated homography matrix is determined. This procedure is repeated multiple times for different set of 4 points and homography matrices are obtained for all of these sets of points. Out of all these homography matrices, the most dominant homography matrix is selected through use of the RANSAC algorithm.
Since only ROI (below the horizon) information is used, most of the feature points obtained are on the ground plane. Hence, the homography matrix obtained is for the ground plane.
The dominant homography matrix thus computed is used to warp the previous image. By warping the previous image, all the points along the ground plane are warped correctly, since it satisfies the homography matrix. The points that are not on the ground plane are not mapped correctly. The warped image is as shown in
Next the warped previous image is subtracted from the current image. The subtracted image is as shown in
The subtracted image shown in
As shown by
Although certain embodiments of a ground plane detection system and methods of operation thereof have been expressly described herein, alternative embodiment of a ground plane detection system and methods of detecting a ground plane will occur to those skilled in the art, after reading this disclosure. It is intended that the appended claims be broadly construed to cover such alternative embodiments, except to the extent limited by the prior art.
Number | Date | Country | Kind |
---|---|---|---|
5955/CHE/2013 | Dec 2013 | IN | national |