1. Field of the Invention
The present application generally relates to a dynamic stereo camera calibration system and method used in driver assistance systems for a vehicle. More specifically, the present application relates to calibration methods for a stereo vision system of a vehicle.
2. Background of the Invention
Driver assistance systems for vehicles are gaining in popularity, as they result in lesser number of vehicular accidents and resulting injuries to vehicular passengers. One such driver assistance system is a vehicular stereo vision system, which provides for enhanced field of vision for a driver of a vehicle.
During operation of a vehicle over time, the vehicular stereo vision system may deteriorate due to several factors, such as having vehicle cameras and sensors not pointing in proper directions, which can lead to sparseness and inaccuracy in vehicle stereo image data provided to a vision processing device. As such, there is a need to calibrate the vehicular stereo vision system from time to time, to increase the density and accuracy and to provide better stereo image data for analysis by a vision processing system.
According to one exemplary embodiment, a dynamic calibration system includes a rectification module that receives raw stereo image data from a vehicle stereo image system, rectifies the raw stereo image data, and outputs rectified stereo image data as a result thereof. A stereo matching module performs stereo matching processing on the rectified stereo image data, to thereby obtain a range map. A unit object generator receives the range map, detects at least one object in the range map, and provides information to the rectification module for use in determining whether a row shift operation should be performed in rectifying the raw stereo image data by the rectification module. A tracker receives information regarding the at least one object detected by the unit object generator, and provides information to the rectification module for use in determining whether a column shift operation should be performed in rectifying the raw stereo image data by the rectification module.
According to another exemplary embodiment, a dynamic calibration method includes receiving raw stereo image data from a vehicle stereo vision system, rectifying the raw stereo image data, and outputting rectified stereo image data; performing stereo matching processing on the rectified stereo image data, to thereby obtain a range map; detecting at least one object in the range map, and providing information for use in determining whether a row shift operation should be performed in rectifying the raw stereo image data by the rectification step; and receiving information regarding the at least one object detected, and providing information for use in determining whether a column shift operation should be performed in rectifying the raw stereo image data by the rectification step, wherein the dynamic calibration method performs calibration on image data while the vehicle stereo vision system is operational and outputting image data to a vehicle safety system.
According to another exemplary embodiment, a non-transitory computer readable medium stores computer program product, which, when executed by a computer, causes the computer to perform the functions of: receiving raw stereo image data from a vehicle stereo vision system, rectifying the raw stereo image data, and outputting rectified stereo image data; performing stereo matching processing on the rectified stereo image data, to thereby obtain a range map; detecting at least one object in the range map, and providing information for use in determining whether a row shift operation should be performed in rectifying the raw stereo image data by the rectification step; and receiving information regarding the at least one object detected, and providing information for use in determining whether a column shift operation should be performed in rectifying the raw stereo image data by the rectification step, wherein the dynamic calibration method performs calibration on image data while the vehicle stereo vision system is operational and outputting image data to a vehicle safety system.
These and other features, aspects, and advantages of the present invention will become apparent from the following description and accompanying exemplary embodiments shown in the drawings, which are briefly described below.
According to various exemplary embodiments, a driver assistance system includes a digital map system, an on-board stereo vision system, and a global positioning system (GPS). Data from each system may be used to provide cost effective or “eco-friendly” path planning for automotive vehicles. A stereo vision system for a vehicle includes multiple image sensors or cameras. Some calibration methods for the image sensors used for stereo vision are mostly offline, e.g., calibration methods are used before the stereo vision system is operational. Some calibration methods may include defects. For example, the methods may result in measurement errors. As another example, the lens distortion of the image sensors may not be well modeled. As yet another example, due to vibration and thermal effects, camera installation parameters may change as a result of driving. The lens position may change and thus the relative position between the two lenses of the system may change as well. These changes may degrade the performance of the stereo vision system.
Referring generally to the figures, an online calibration system and method for a stereo vision system is described. The stereo vision system includes image sensors (e.g., a left image and a right image). After offline (static) calibration of the image sensors is done, drifting in the calibration may occur during vehicle operation, which results in row shifts and/or column shifts between the left and right images in the stereo vision system. Both row shifts and column shifts degrade the stereo matching algorithm performance. Row shifts between the left and right images result in lesser fill in the calculated stereo range map. Column shifts between the left and right images result in range measurement errors.
By using the online calibration method of the present disclosure, the information from the stereo vision systems is more accurate and improves system performance. It also decreases the frequency of doing offline calibration at, for example, a dealership and in the development phase. Further, the calibration may be used as a standalone online calibration.
Referring to
Referring to
The method further includes a step 320 of requesting a row shift Δr0 in image rectification. The method includes a step 330 of executing the row shift operation and performing stereo matching of the row shifted image data, thereby obtaining a range map. The method further includes a step 340 of evaluating a new range fill.
In a step 350, a determination is made as to whether or not the range fill results in improvement of the image data. If the range fill did not result in improvement as determined in step 350, the method includes requesting a new row shift Δr1=−Δr0 in step 341. The row shift is executed and stereo matching is performed in step 342, and a new range fill is evaluated in step 343. In step 344, a determination is made as to whether or not the range fill results in improvement of the image data. If the determination in step 344 is Yes (there is improvement), then in step 345, a new row shift is requested in image rectification: Δr1=−Δr0−δ in step 346, and the row shift operation is executed in rectifying the image data, and stereo matching is performed in step 347. In step 348, a new range fill is evaluated. In step 361, a determination is made as to whether or not the range fill results in improvement of the image data. If No, then Δr=Δr0 is set in step 362, and the process stops in step 363. If the determination in step 361 is Yes (there is improvement), then a determination is made in step 364 as to whether |r1|<max_row_shift. If Yes, then Δr0=Δr1 is set in step 365, and the process returns to step 344. If the determination in step 364 is No (there is no improvement), then offline calibration is requested in step 380.
If the range fill did result in improvement as determined in step 350, a new row shift is requested in image rectification: Δr1=Δr0+δ in step 355. In step 372, the row shift is executed for the image data, and stereo matching is performed on the row-shifted image data. In step 374, a new range fill is evaluated. In step 376, a determination is made as to whether the range fill results in improvement. If No, then Δr=Δr0 is set in step 381, and the process stops in step 382. If Yes, then a determination is made in step 383 as to whether |Δr1|<max_row_shift. If Yes, Δr0=Δr1 is set in step 384, and the process returns to step 355. If No, offline calibration is requested in step 380.
Referring now to
The first method then includes one of two sub-methods. One such method (method A) includes checking Rd
Referring to
Comparing Rk with the measured Rk provides the error in the measured Rk: ER
A second method of fixing column shift problems includes calculating the histogram of the target's speed in areas where the location of the stationary target is highly possible. Referring to
{dot over (R)}
n
={dot over (R)}
T
+K{dot over (R)}
T
R
T
+B, where B is equal to the difference between HPF input and HPF output.
The present disclosure has been described with reference to example embodiments, however persons skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the disclosed subject matter. For example, although different example embodiments may have been described as including one or more features providing one or more benefits, it is contemplated that the described features may be interchanged with one another or alternatively be combined with one another in the described example embodiments or in other alternative embodiments. Because the technology of the present disclosure is relatively complex, not all changes in the technology are foreseeable. The present disclosure described with reference to the exemplary embodiments is manifestly intended to be as broad as possible. For example, unless specifically otherwise noted, the exemplary embodiments reciting a single particular element also encompass a plurality of such particular elements.
Exemplary embodiments may include program products comprising computer or machine-readable media for carrying or having machine-executable instructions or data structures stored thereon. For example, the driver monitoring system may be computer driven. Exemplary embodiments illustrated in the methods of the figures may be controlled by program products comprising computer or machine-readable media for carrying or having machine-executable instructions or data structures stored thereon. Such computer or machine-readable media can be any available media which can be accessed by a general purpose or special purpose computer or other machine with a processor. By way of example, such computer or machine-readable media can comprise RAM, ROM, EPROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store desired program code in the form of machine-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer or other machine with a processor. Combinations of the above are also included within the scope of computer or machine-readable media. Computer or machine-executable instructions comprise, for example, instructions and data which cause a general purpose computer, special purpose computer, or special purpose processing machines to perform a certain function or group of functions. Software implementations of the present invention could be accomplished with standard programming techniques with rule based logic and other logic to accomplish the various connection steps, processing steps, comparison steps and decision steps.
It is also important to note that the construction and arrangement of the elements of the system as shown in the preferred and other exemplary embodiments is illustrative only. Although only a certain number of embodiments have been described in detail in this disclosure, those skilled in the art who review this disclosure will readily appreciate that many modifications are possible (e.g., variations in sizes, dimensions, structures, shapes and proportions of the various elements, values of parameters, mounting arrangements, use of materials, colors, orientations, etc.) without materially departing from the novel teachings and advantages of the subject matter recited. For example, elements shown as integrally formed may be constructed of multiple parts or elements shown as multiple parts may be integrally formed, the operation of the assemblies may be reversed or otherwise varied, the length or width of the structures and/or members or connectors or other elements of the system may be varied, the nature or number of adjustment or attachment positions provided between the elements may be varied. It should be noted that the elements and/or assemblies of the system may be constructed from any of a wide variety of materials that provide sufficient strength or durability. Accordingly, all such modifications are intended to be included within the scope of the present disclosure. The order or sequence of any process or method steps may be varied or re-sequenced according to alternative embodiments. Other substitutions, modifications, changes and omissions may be made in the design, operating conditions and arrangement of the preferred and other exemplary embodiments without departing from the spirit of the present subject matter.
Number | Date | Country | |
---|---|---|---|
61466864 | Mar 2011 | US |