The present disclosure relates to a vehicle-mounted stereo camera device.
Unexamined Japanese Patent Publication No. 2001-233139 discloses a vehicle-mounted stereo camera device having a function to adjust a positional displacement. The vehicle-mounted stereo camera device described in Unexamined Japanese Patent Publication No. 2001-233139 adjusts the positional displacement of a stereo camera based on an image obtained by capturing a fender marker.
The vehicle-mounted stereo camera device according to the present disclosure includes: a first image capturing unit and a second image capturing unit disposed to cause a visual field of the first image capturing unit and a visual field of the second image capturing unit to overlap each other; a first enclosure that encloses the first image capturing unit and has a portion that is within the visual field of the first image capturing unit; and a second enclosure that encloses the second image capturing unit and has a portion that is within the visual field of the second image capturing unit. The vehicle-mounted stereo camera device according to the present disclosure further includes a controller that calculates a distance to a body outside the vehicle based on an image captured by the first image capturing unit, on an image captured by the second image capturing unit, and on positions of the first image capturing unit and the second image capturing unit on the vehicle.
Also, the controller detects a displacement amount of the first image capturing unit based on an amount of change in a position of the first enclosure within the visual field of the first image capturing unit, and then the controller changes a cutout position in the image captured by the first image capturing unit based on the displacement amount of the first image capturing unit. In addition, the controller detects a displacement amount of the second image capturing unit based on an amount of change in a position of the second enclosure within the visual field of the second image capturing unit, and then the controller changes a cutout position in the image captured by the second image capturing unit based on the displacement amount of the second image capturing unit.
The vehicle-mounted stereo camera device according to the present disclosure can achieve high-precision distance detection.
An exemplary embodiment will be described in detail below with reference to the drawings as appropriate. However, a description more detailed than necessary may be omitted. For example, a detailed description of already well-known matters and a repeated description regarding substantially identical components may be omitted. This is intended to avoid making the following description unnecessarily redundant and to make it easier for a person skilled in the art to understand the exemplary embodiment.
It is to be noted that the accompanying drawings and the following description are provided in order for a person skilled in the art to fully understand the present disclosure, and are not intended to limit the subject described in the appended claims.
The exemplary embodiment will be described below with reference to
[Configuration of Vehicle-Mounted Stereo Camera Device]
Image signals captured by left camera 101 and right camera 102 are input into stereo processor 200 and image signal recorder 300. Stereo processor 200 determines parallax from a matching level of two images by using a technique of image matching. Stereo processor 200 calculates a distance to an object to be measured that exists outside a vehicle by a principle of triangulation based on the parallax and a distance between left camera 101 and right camera 102. The image signals captured by left camera 101 and right camera 102, and distance results calculated by stereo processor 200 are displayed on monitor 400 and are recorded in recording device 500. Power source I/F 600 supplies electricity from a cigarette lighter socket, a battery, or the like of the vehicle to each unit.
Stereo processor 200 includes positional displacement amount calculator 201 that detects physical displacement amounts of left camera 101 and right camera 102, correction value recorder 202 that records the positional displacement amount, image correction unit 203 that changes cutout positions of images captured by left camera 101 and right camera 102 based on the positional displacement amount, and distance measurement unit 204 that calculates the parallax from the cutout right and left images and converts the parallax into the distance to the object to be measured.
[Displacement Amount Detection Processing]
Left camera 101 and right camera 102 are mechanically adjusted to cause optical axes to become parallel with each other during an initial manufacturing stage. Nevertheless, however precisely initial adjustment may be performed, it is difficult to hold an initial value continuously.
For example, as illustrated in
Therefore, vehicle-mounted stereo camera device 100 according to the present disclosure detects the displacement amounts of the cameras by using first enclosure 104a and second enclosure 104b which are configured to be reflected within capturing visual fields of left camera 101 and right camera 102, respectively. Vehicle-mounted stereo camera device 100 then changes the cutout positions in the images based on the detected displacement amounts. This correction method enables achievement of high-precision distance measurement without errors during the distance measurement.
In
It is to be noted that since distance D and light-shielding section H are already known, how many degrees the camera has displaced in which direction can be detected easily from a video. Accordingly, even when the camera needs to be adjusted after installation for maintenance or the like, the adjustment can be performed easily.
[Image Cutout Position Change Processing]
As illustrated in
In contrast, as illustrated in
Among the image signals which are captured by left camera 101 and right camera 102 and recorded in image signal recorder 300, image correction unit 203 cuts out the image signal captured by displaced right camera 102 from a range in which the cutout position is displaced by X[pix] from the initial cutout position. Accordingly, distance measurement unit 204 receives the image of a range identical to a cutout range in the initial state, and performing image matching within the cutout range enables accurate distance measurement without any change from the initial state.
[Calibration Processing]
On the other hand, when none of the displacement amounts exceeds the threshold, stereo processor 200 stores the displacement amounts in correction value recorder 202 as correction values (S5). Image correction unit 203 then changes the cutout position by a number of pixels corresponding to each correction value in each image captured by each of left camera 101 and right camera 102 (S6). Distance measurement unit 204 receives the cutout right and left images to perform distance measurement. Thus, the calibration ends (S7). Performing this processing every time the user starts the engine of the vehicle always enables accurate distance measurement.
As described above, the exemplary embodiment has been described as illustration of the technology to be disclosed in this application. The technology in the present disclosure, however, is not limited to this exemplary embodiment, and may be applied to exemplary embodiments to which changes, replacements, additions, and omissions have been made. It is also possible to make a new exemplary embodiment by combining components described in the aforementioned exemplary embodiment.
In [Calibration processing] of the exemplary embodiment, every time calculating the displacement amounts in S2, stereo processor 200 determines whether the displacement amounts exceed the threshold. However, it is also possible to record the displacement amounts multiple times and to determine whether the displacement amounts exceed the threshold by using an average of the displacement amounts or the like. It is also possible to change the cutout position based on the average of the displacement amounts recorded multiple times, or the like.
It is to be noted that since the aforementioned exemplary embodiment is intended to illustrate the technology in the present disclosure, various changes, replacements, additions, omissions, and the like may be made within the scope of the appended claims or equivalents thereof.
The present disclosure can be applied to the vehicle-mounted stereo camera device.
Number | Date | Country | Kind |
---|---|---|---|
2015-175287 | Sep 2015 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20070058049 | Kawahara | Mar 2007 | A1 |
20070165910 | Nagaoka | Jul 2007 | A1 |
20080143835 | Abe | Jun 2008 | A1 |
20170263014 | Kuznetsov | Sep 2017 | A1 |
Number | Date | Country |
---|---|---|
2001-233139 | Aug 2001 | JP |
Entry |
---|
International Search Report of PCT application No. PCT/JP2016/002919 dated Aug. 30, 2016. |
Number | Date | Country | |
---|---|---|---|
20170217370 A1 | Aug 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2016/002919 | Jun 2016 | US |
Child | 15488559 | US |