This application claims priority from Japanese Patent Application No. 2015-084914, filed on Apr. 17, 2015, the disclosure of which is incorporated herein by reference in its entirety.
1. Field
An aspect and another aspect of the present disclosure relate to a stereoscopic object detection device and a stereoscopic object detection method.
2. Description of Related Art
A technique which detects a stereoscopic object in the surroundings of a vehicle based on image data representing a plurality of images having parallax acquired by imaging the surroundings of the vehicle with an in-vehicle camera from different points of view has been suggested.
For example, US Patent Application Publication No. 2014/0071240, describes acquiring parallax image data using an in-vehicle stereo camera, and generating a parallax image based on the parallax data. The parallax image represents parallax at each parallax point as a point corresponding to each of a plurality of images. A road surface in the surroundings of the vehicle is estimated based on information relating to the parallax points of the generated parallax image. A stereoscopic object, such as a bus or a motorcycle, protruding from the road surface is detected based on the parallax points and the estimated road surface.
However, the technique described in US Patent Application Publication No. 2014/0071240, requires a large calculation load, which is a problem.
Accordingly, an object of the disclosure is to provide a stereoscopic object detection device and a stereoscopic object detection method capable of reducing a calculation load while maintaining accuracy of detecting a stereoscopic object.
According to an aspect of the disclosure, a stereoscopic object detection device includes an imaging unit configured to acquire image data representing a plurality of images having parallax by imaging the surroundings of a vehicle with an in-vehicle camera from different points of view, a parallax image generation unit configured to generate a parallax image representing the parallax at each parallax point as a point corresponding to each of the plurality of images based on the image data, a first classification unit to classify the parallax points into a plurality of sets under conditions of a parallax range where a plurality of ranges are divided according to parallax of the parallax points in the parallax image and a transverse position range where a plurality of ranges are divided according to the transverse positions of the parallax points in the parallax image, a second classification unit configured, for each of the sets into which the parallax points are classified, to classify the set into one of a plurality of categories including a stereoscopic object category, a road surface category, and an unknown category based on the distribution of the longitudinal positions of the parallax points belonging to the set in the parallax image, a road surface estimation unit which estimates a road surface in the surroundings of the vehicle based on the parallax points of the sets classified into the road surface category, and a third classification unit which classifies the set corresponding to a stereoscopic object from among the sets classified into the unknown category based on the estimated road surface.
With this configuration, the parallax points are classified into each of a plurality of sets by the first classification unit under the conditions of the parallax range of the parallax points in the parallax image and the transverse position range, and for each of the sets into which the parallax points are classified, the set is classified into any of a plurality of categories including the stereoscopic object category, the road surface category, and the unknown category based on the distribution of the longitudinal positions of the parallax points belonging to the set in the parallax image by the second classification unit. With this, it is possible to generally classify a set of parallax points of a stereoscopic object, a set of parallax points of a road surface, and a set of parallax points in which it is unknown whether the parallax points are parallax points of a stereoscopic object or parallax points of a road surface with a small calculation load. The road surface is estimated based on the parallax points of the sets classified into the road surface category by the road surface estimation unit, and the set corresponding to the stereoscopic object is classified from among the sets classified into the unknown category based on the estimated road surface by the third classification unit. With this, since the processing for detecting the stereoscopic object based on the parallax points and the estimated road surface is limited to the sets of parallax points classified into the unknown category, it is possible to reduce a calculation load while maintaining accuracy of detecting a stereoscopic object.
In this case, for each of the sets into which the parallax points are classified, the second classification unit may classify the set, in which the number of parallax points belonging to the set is less than an invalidation threshold value, into an invalidation category not belonging to any of the stereoscopic object category, the road surface category, and the unknown category.
With this configuration, since a set which can be regarded just as noise or the like due to a small number of parallax points belonging to the set is classified into the invalidation category not belonging to any of the stereoscopic object category, the road surface category, and the unknown category by the second classification unit, and is excluded from calculation for detecting a stereoscopic object, it is possible to further reduce a calculation load.
For each of the sets into which the parallax points are classified, the second classification unit may classify the set into the stereoscopic object category when the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is equal to or greater than a stereoscopic object threshold value, may classify the set into the road surface category when the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is equal to or less than a road surface threshold value less than the stereoscopic object threshold value, and may classify the set into the unknown category when the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is less than the stereoscopic object threshold value and exceeds the road surface threshold value.
With this configuration, when the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is equal to or greater than the stereoscopic object threshold value, since there is a high possibility that the set of parallax points is a stereoscopic object, the set is classified into the stereoscopic object category by the second classification unit. When the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is equal to or less than the road surface threshold value less than the stereoscopic object threshold value, since there is a high possibility that the set of parallax point is a road surface, the set is classified into the road surface category by the second classification unit. A set which has not been classified into the stereoscopic object category or the road surface category is classified into the unknown category by the second classification unit. With this, it is possible to generally classify a set of parallax points of a stereoscopic object, a set of parallax points of a road surface, and a set of parallax points in which it is unknown whether the parallax points are parallax points of a stereoscopic object or parallax points of a road surface with a small calculation load.
According to another aspect of the disclosure, a stereoscopic object detection method includes an imaging step of acquiring image data representing a plurality of images having parallax by imaging the surroundings of a vehicle with an in-vehicle camera from different points of view by an imaging unit of a stereoscopic object detection device, a parallax image generation step of generating a parallax image representing the parallax at each parallax point as a point corresponding to each of the plurality of images based on the image data by a parallax image generation unit of the stereoscopic object detection device, a first classification step of classifying the parallax points into a plurality of sets under conditions of a parallax range where a plurality of ranges are divided according to parallax of the parallax points in the parallax image and a transverse position range where a plurality of ranges are divided according to the transverse positions of the parallax points in the parallax image by a first classification unit of the stereoscopic object detection device, a second classification step of, for each of the sets into which the parallax points are classified, classifying the set into one of a plurality of categories including a stereoscopic object category, a road surface category, and an unknown category based on the distribution of the longitudinal positions of the parallax points belonging to the set in the parallax image by a second classification unit of the stereoscopic object detection device, a road surface estimation step of estimating a road surface in the surroundings of the vehicle based on the parallax points of the sets classified into the road surface category by a road surface estimation unit of the stereoscopic object detection device, and a third classification unit which classifies the set corresponding to a stereoscopic object from among the sets classified into the unknown category based on the estimated road surface by a third classification unit of the stereoscopic object detection device.
In this case, in the second classification step, for each of the sets into which the parallax points are classified, the set, in which the number of parallax points belonging to the set is less than an invalidation threshold value, may be classified into an invalidation category not belonging to any of the stereoscopic object category, the road surface category, and the unknown category.
In the second classification step, for each of the sets into which the parallax points are classified, the set may be classified into the stereoscopic object category when the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is equal to or greater than a stereoscopic object threshold value, the set may be classified into the road surface category when the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is equal to or less than a road surface threshold value less than the stereoscopic object threshold value, and the set may be classified into the unknown category when the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is less than the stereoscopic object threshold value and exceeds the road surface threshold value.
According to an aspect and another aspect of the disclosure, it is possible to reduce a calculation load while maintaining accuracy of detecting a stereoscopic object.
Hereinafter, a stereoscopic object detection device and a stereoscopic object detection method according to an embodiment of the disclosure will be described.
As shown in
The stereoscopic object detection device 1 includes an electronic control unit (ECU) 2 for detecting a stereoscopic object, and a stereo camera (in-vehicle camera) 3. The ECU 2 is an electronic control unit having a central processing unit (CPU), a read only memory (ROM), a random access memory (RAM), and the like. The ECU 2 loads a program stored in the ROM into the RAM and execute the program on the CPU, thereby executing various kinds of processing. The ECU 2 may be constituted of a plurality of electronic control units.
The stereo camera 3 is an image acquisition apparatus which acquires a plurality of images having parallax acquired by imaging the surroundings of the vehicle with an in-vehicle camera from different points of view. The stereo camera 3 has a first camera 4 and a second camera 5 arranged so as to reproduce binocular parallax. The first camera 4 and the second camera 5 are provided on, for example, the rear side of a windshield of the vehicle, and image in front of the vehicle. The first and second cameras may image other sides of the vehicle depending on where they are provided.
The first camera 4 and the second camera 5 are attached, for example, at a predetermined interval in a horizontal direction; thus, if an object is imaged, a left image and a right image as a plurality of images having parallax are obtained. The obtained two images have parallax. For this reason, it is possible to acquire a parallax image including information relating to parallax at each of the parallax points as corresponding points between the two images from the two images. It is possible to determine the distance a road surface and a stereoscopic object at each parallax point based on the parallax image according to the principle of triangulation.
The first camera 4 and the second camera 5 may be provided in the side portions or in the rear portion of the vehicle (for example, the rear side of rear glass), and may image sideways or at the rear of the vehicle. The stereo camera 3 may acquire three or more images having parallax by imaging the surroundings of the vehicle with three or more cameras from three or more different points of view. The stereo camera 3 transmits image data representing a plurality of captured images having parallax to the ECU 2.
The stereoscopic object detection device 1 may include a monocular camera, instead of the stereo camera 3. In the monocular camera, it is also possible to obtain a parallax image using a known method (for example, a method using a time difference at the time of imaging).
Next, the functional configuration of the ECU 2 will be described. As shown in
The parallax image generation unit 12 generates a parallax image representing parallax at each of the parallax points as the corresponding points between the two images based on image data acquired by the imaging unit 11. The first classification unit 13 classifies the parallax points into each of a plurality of sets under conditions of a parallax range where a plurality of ranges are divided according to parallax of the parallax points in the parallax image generated by the parallax image generation unit 12 and a transverse position range where a plurality of ranges are divided according to the transverse positions of the parallax points in the parallax image.
For each of the sets into which the parallax points are classified by the first classification unit 13, the second classification unit 14 classifies the set into any of a stereoscopic object category, a road surface category, an unknown category, and an invalidation category based on the distribution of the longitudinal positions of the parallax points belonging to the set in the parallax image. The road surface estimation unit 15 estimates a road surface in the surroundings of the vehicle based on the parallax points of the sets classified into the road surface category by the second classification unit 14. The third classification unit 16 classifies a set corresponding to a stereoscopic object from among the sets classified into the unknown category based on the road surface estimated by the road surface estimation unit 15.
Hereinafter, the operation of the stereoscopic object detection device 1 of this embodiment will be described. As shown in
As a parallax image generation step, the parallax image representing parallax (distance) at each of the parallax points as the corresponding points between the two images is generated based on image data acquired in the imaging step by the parallax image generation unit 12 of the ECU 2 of the stereoscopic object detection device 1 (S2). In the calculation of parallax at the parallax points of the two images, for example, the parallax points are set in the area of a predetermined size with a plurality of pixels corresponding to each of the two images, and parallax can be calculated using a sum of absolute difference (SAD). Parallax at the parallax points may be calculated using the square sum of the difference or a normalization function.
As a first classification step, for the parallax image generated in the parallax image generation step, the parallax points are classified into each of a plurality of sets under conditions of a parallax range where a plurality of ranges are divided according to parallax at the parallax points in the parallax image and a transverse position range where a plurality of ranges are divided according to the transverse positions of the parallax points in the parallax image by the first classification unit 13 of the ECU 2 of the stereoscopic object detection device 1 (S3).
The first classification unit 13 sets a parallax vote map shown in
The first classification unit 13 classifies (votes) the corresponding parallax points into each of the parallax vote map shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
In the third classification step, when the height from the average value of the longitudinal positions in the in the parallax image among the parallax points P101 indicating the road surface to the average value of the longitudinal positions in the parallax image among the parallax points P102 indicating the road wall 102 is equal to or greater than the reclassification threshold value Rth set in advance, the third classification unit 16 may reclassify a set previously classified into the unknown category into a set corresponding to a stereoscopic object. In the third classification step, when the height from the parallax point P101 at the highest longitudinal position in the parallax image among the parallax points P101 indicating the road surface to the parallax point P102 at the lowest longitudinal position in the parallax image among the parallax points P102 indicating the road wall 102 is equal to or greater than the reclassification threshold value Rth set in advance, third classification unit 16 may reclassify a set previously classified into the unknown category into a set corresponding to a stereoscopic object.
For example, as shown in
In this embodiment, the parallax points are classified into each of a plurality of sets by the first classification unit 13 under the conditions of the parallax range d of the parallax points in the parallax image and the transverse position range h, and for each of the sets into which the parallax points are classified, the set is classified into any of a plurality of categories including the stereoscopic object category, the road surface category, and the unknown category based on the distribution of the longitudinal positions of the parallax points belonging to the set in the parallax image by the second classification unit 14. With this, it is possible to generally classify a set of parallax points of a stereoscopic object, a set of parallax points of a road surface, and a set of parallax points in which it is unknown whether the parallax points are parallax points of a stereoscopic object or parallax points of a road surface with a small calculation load. The road surface is estimated based on the parallax points of the sets classified into the road surface category by the road surface estimation unit 15, and the set corresponding to the stereoscopic object is classified from among the sets classified into the unknown category based on the estimated road surface by the third classification unit 16. With this, since the processing for detecting the stereoscopic object based on the parallax points and the estimated road surface is limited to the sets of parallax points classified into the unknown category, it is possible to reduce a calculation load while maintaining accuracy of detecting a stereoscopic object.
In this embodiment, since a set which can be regarded just as noise or the like due to a small number of parallax points belonging to the set is classified into the invalidation category not belonging to any of the stereoscopic object category, the road surface category, and the unknown category by the second classification unit 14, and is excluded from calculation for detecting a stereoscopic object, it is possible to further reduce a calculation load.
In this embodiment, when the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is equal to or greater than the stereoscopic object threshold value Oth, since there is a high possibility that the set of parallax points is a stereoscopic object, the set is classified into the stereoscopic object category by the second classification unit 14. When the range where the parallax points belonging to the set are distributed at the longitudinal positions in the parallax image is equal to or less than the road surface threshold value Sth less than the stereoscopic object threshold value Oth, since there is a high possibility that the set of parallax point is a road surface, the set is classified into the road surface category by the second classification unit 14. A set which has not been classified into the stereoscopic object category or the road surface category is classified into the unknown category by the second classification unit 14. With this, it is possible to generally classify a set of parallax points of a stereoscopic object, a set of parallax points of a road surface, and a set of parallax points in which it is unknown whether the parallax points are parallax points of a stereoscopic object or parallax points of a road surface with a small calculation load.
The stereoscopic object detection device and the stereoscopic object detection method according to the embodiment of the disclosure is not limited to the above-described embodiment, and various alterations can of course be made without departing from the gist of the embodiment of the disclosure.
For example, in the foregoing embodiment, a set of parallax points may not necessarily be classified into the invalidation category, and a set of parallax points may be classified into any of the stereoscopic object category, the road surface category, and the unknown category by the second classification unit 14. With this, even when the number of parallax points belonging to a set, the estimation regarding whether or not the set of parallax points is a stereoscopic object or a road surface is performed; thus, it is possible to improve accuracy of detecting a stereoscopic object. The stereoscopic object detection device 1 may include a display unit which displays the detected stereoscopic object to the driver of the vehicle. The stereoscopic object detection device 1 may include a traveling control unit which executes vehicle control, such as braking, acceleration, steering of the vehicle, based on the detected stereoscopic object.
Number | Date | Country | Kind |
---|---|---|---|
2015-084914 | Apr 2015 | JP | national |