Abstract:
A method of calibrating a vehicular multi-camera system includes equipping a vehicle with a plurality of cameras wherein each camera of the plurality of cameras captures image data, equipping the vehicle with an image processor, inputting image data from each of the plurality of cameras to the image processor, the image processor processing input image data in order to calibrate the vehicular multi-camera system, and wherein calibration of the vehicular multi-camera system is achieved independently of a model of the real world.

Description:
[0001]    This application is a continuation of U.S. patent application Ser. No. 12/604,432, filed Oct. 23, 2009, now U.S. Pat. No. 8,169,480, which claims the benefits of German Application No. 102008053047.6, filed Oct. 24, 2008. 
     
    
     FIELD OF THE INVENTION 
       [0002]    The present invention relates to a method for automatically calibrating a virtual camera and to a virtual camera apparatus which is set up for carrying out the method according to the invention. In particular, the present invention relates to a virtual camera for producing a view of the surroundings of a motor vehicle from a bird&#39;s eye perspective on a motor vehicle. 
       BACKGROUND OF THE INVENTION 
       [0003]    What is known as a virtual camera refers to sets comprising a real recording camera and a habitually electronic image data processing device, which produce an output signal with a coded image or a coded image sequence, wherein the perspective of the coded images does not match the perspective of the recording camera. On account of the loss of information when a real three-dimensional object is mapped into a two-dimensional image data model by a real recording camera, the virtual camera is able to reproduce non-moving objects correctly particularly when they are approximately flat. 
         [0004]    Virtual cameras have been proposed as driver assistance devices in motor vehicles. These are particularly what are known as top view systems or omnidirectional cameras. These typically comprise a plurality of real recording cameras which are arranged in or on a vehicle and which are used to produce a chronological sequence of image data records. The image data in the image data records are subjected to different transformations in a typically electronic image data processing device and are mixed to form a chronological sequence of overall image data. This makes it possible to obtain, by way of example, a view of the surroundings of the vehicle from a perspective above the vehicle roof. This chronological sequence of overall image data can be continuously displayed to the driver of the motor vehicle on a display apparatus in order to simplify shunt or parking manoeuvres. 
         [0005]    It is evident that in a virtual camera with a plurality of real recording cameras the quality of the overall image delivered is distinctly dependent on the exact knowledge of the positions and directions of the real recording cameras. The more accurately that these data are known, the easier that it is possible to determine the transformation that determines the best possible image quality in the area of adjacent recording areas. Against this background, there have been a series of proposals involving either the automatic determination of the positions and directions of the recording cameras or the correction of errors in these variables in relation to initially stored values. 
         [0006]    An omnidirectional camera with automatic calibration is revealed by the officially published document DE 10 2007 043 905 A1. Said document proposes identifying an object element in the image data for the purpose of the calibration. The recognition of mapped areas of the outer vehicle skin is recognized as particularly advantageous. The proposed approach is intended to allow compensation for, inter alia, situational changes in the real recording cameras on the vehicle on account of vibrations, ageing and thermal or mechanical stresses. 
         [0007]    However, the known method is based on the processing of information from a model of the real world and particularly on the processing of information regarding the shape of the outer vehicle skin. 
       SUMMARY OF THE INVENTION 
       [0008]    Against this background, the present invention is based on the object of providing a method for the automatic calibrating of a virtual camera which manages independently of a model of the real world. 
         [0009]    This object is achieved by the present invention by means of a method having the features specified in claim  1 . 
         [0010]    Advantageous refinements and developments of the method according to the invention are specified in the subclaims. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0011]    A preferred manner of carrying out the method according to the invention and a virtual camera apparatus which is set up to do so are described below, reference being made to the appended drawings, in which: 
           [0012]      FIG. 1  shows a schematic illustration of a typical arrangement of real recording cameras on a motor vehicle and of the situation of the virtual perspective; and 
           [0013]      FIG. 2  shows a schematic illustration of the functional units and data streams in a preferred apparatus for carrying out a method according to the invention; and 
           [0014]      FIG. 3  shows a schematic synopsis of an algorithm for implementing a method according to the invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0015]    As  FIG. 1  shows, an expedient apparatus for carrying out a preferred method according to the invention for a driver assistance system on a motor vehicle first of all comprises a plurality of real recording camera devices  1 ,  2 ,  3 . A fourth recording camera device  4  is located in the area which cannot be seen on the opposite side of the vehicle from the recording camera device  2 . In one expedient implementation, the real recording camera devices  1 ,  2 ,  3 ,  4  are in the form of a CCD or CMOS array with a wide-angle or fisheye lens in a manner which is known per se and are arranged at different points on the motor vehicle  4  behind the glazing and in suitable pockets on the exterior mirrors. In the fitting positions which are possible in practice, the real perspectives P 1 . . . 4  of the real recording camera devices  1 ,  2 ,  3 ,  4  are naturally offset and/or tilted with respect to the virtual perspective P v , that is to say the viewing point of the virtual viewer. The greater that the difference between the real perspective P 1 . . . 4  of a real recording camera device  1 ,  2 ,  3 ,  4  and the virtual perspective P v  turns out to be, the worse the quality of the image data with the transformed perspective under realistic conditions. This will be discussed later. Conversely, some fields of vision would not be visible to a viewer with a perspective corresponding to the virtual perspective P v , because they are situated behind portions of the outer vehicle skin. In this respect, the selection of the camera positions is a trade-off between these advantages and disadvantages. 
         [0016]    As further components, the apparatus described which is shown in  FIG. 2  comprises an image data processing device  5  and a display device  6 . In this case, the display device  6  is typically arranged in the area of the instrument panel or the central console. In a typical implementation, the image data processing device  5  is a digital signal processor or a powerful microprocessor for general applications with adequate equipment in terms of main memory and non-volatile program memory. 
         [0017]    In line with the schematic illustration of a preferred algorithmic implementation of the method according to the invention which is shown in  FIG. 3 , the real recording camera devices  1 ,  2 ,  3 ,  4  respectively deliver a chronological sequence of N×4 raw subimage data items DR 1 . . . N, 1 . . . 4  to the image data processing device  5  in the operating period under consideration. Said image data processing device combines the data streams to form a chronological sequence of subimage data records DR 1 . . . N . Each subimage data record DR i  in the sequence contains the subimage data DR i, 1 . . . 4  from the real recording camera devices  1 ,  2 ,  3 ,  4 . In the image data processing device  5 , a respective transformation T 1 . . . 4  is applied to the subimage data DR i, 1 . . . 4  which a subimage data record DR i  contains when it is present. These transformations T 1 . . . 4  are respectively determined such that the relevant image  7 ,  8 ,  9 ,  10  of a predetermined planar mapping area A j  of the real recording camera device j with the perspective P j  is transformed into the image from the virtual camera with the perspective P v . For the case of an ideal recording camera device, this transformation would be linear and could be compiled from a planar perspective extension of the image by means of rotation and displacement. In comparison with the aforementioned ideal recording camera device, however, the real recording camera devices  1 ,  2 ,  3 ,  4  deliver maps with nonlinear distortions. The primary cause of these nonlinear distortions is inadequacies in the real mapping lenses. This relates particularly distinctly to the proposed lenses with a strong wide-angle or fisheye characteristic. From this point of view, positions for the real recording camera devices  1 ,  2 ,  3 ,  4  which are further away from the road are naturally preferable. However, the nonlinear distortions can usually be attributed to a satisfactory measure for observation of the environment using what are known as inverse nonlinear transformations, which are known per se. Consequently, a person skilled in the art will, according to the respective situation, select a chain comprising a nonlinear transformation for the purpose of equalization and an ideal perspective extension for the described transformation T 1 . . . 4 . The application of the transformations T 1 . . . 4  to the subimage data DR i, 1 . . . 4  results in transformed subimage data DT i, 1 . . . 4 . In the present case, it is assumed that the transformations T 1 . . . 4  transform the subimage data DT i, 1 . . . 4  directly into the coordinate system of the overall image  11 . Accordingly, the overall image data DG i  can be produced by simply combining the data from the transformed subimage data DT i, 1 . . . 4 . 
         [0018]    Since, in the ideal case described, the positions and recording directions of the recording camera devices  1 ,  2 ,  3 ,  4  did not change, the information about the orientation and situation of the subimages in the overall image would need to be set only once for the relevant vehicle geometry as a parameter for the transformations T 1 . . . 4  prior to startup. In the course of such initial calibration, the parameters can be determined either by calculating or calibrating the apparatus on a test bench. Even with optimum initial calibration, ambiguities can arise in the area of the overlaps  12  in the subimages  7 ,  8 ,  9 ,  10  on account of the described nonlinear distortions in the real recording camera devices  1 ,  2 ,  3 ,  4 . Through suitable selection of the transformations and/or expedient stipulation of the subimage boundaries, however, it is possible to attain entirely satisfactory results in practice. In this regard, an appropriately adjusted image data processing device  5  produces as an output signal a sequence of overall image data DG 1 . . . N  which are displayed in their chronological order on a display device  6  and give the driver an impression of the immediate surroundings of the motor vehicle. 
         [0019]    Effects of ageing, overloads, accidents and the like may result in the position and/or orientation of the recording camera devices  1 ,  2 ,  3 ,  4  being changed. If such a change is followed by the subimages continuing to be assembled to form an overall image in the originally stipulated manner, the result is poorer quality for the overall image. To counteract this drawback, the image data processing device  5  recurrently performs calibration with the aim of optimization using a prescribed quality criterion Q for the overall image. In this case, the quality criterion Q is a scalar value which is dependent on the data from the subimages and on the stored information relating to the positions and directions of the real recording camera device  1 ,  2 ,  3 ,  4 . Expediently, the quality criterion Q is stipulated such that it reflects the quality of the overall image, as subjectively perceived by an average viewer. In one advantageous refinement, the quality criterion Q will also relate to the correlations of the subimages  7 ,  8 ,  9 ,  10  in the areas of overlap  12 . The quality criterion Q is optimized for a firmly prescribed subimage data record DR i  by varying the parameters of the transformations. The parameters varied to the optimum replace the values originally stored in the apparatus for the purpose of further operation of the apparatus. 
         [0020]    This calibration is recurrently performed over time whenever a selection criterion C flags a subimage data record DR k  for this purpose. In the present case, the selection criterion C is defined such that the flagged subimage data record DR k  means that the calibration provides the best possible result. Intuitively, a good result will be assumed if the application of the quality criterion Q to the overall images  11  which follow the calibration provides the best possible result overall. Since the quality criterion Q in the present case relates only to an individual image data record, the quality of a sequence naturally requires appropriate definition. To this end, it is possible to use the generally known statistical functions, such as the mean value. Expediently, the selection criterion C processes the subimage data DR k, 1 . . . 4  anyway in order to assess the suitability of the flagged subimage data record DR k  for the calibration. This complies with the insight that not all subimage data records DR i  are equally good for the calibration in practice. By way of example, calibration must obviously remain undone in the event of a lack of contrast, under exposure, defocusing or motion blurring. Equally disadvantageous are image data records with periodic structures, which can be recognized by means of frequency analysis of the subimage data DR k, 1 . . . 4 , for example. In addition, the subimage data DR k, 1 . . . 4  can be examined to determine whether they contain maps of three-dimensional objects above the road level. Typical objects of this kind are high kerbstones, crash barriers, marker posts, for example. A subimage data record DR i  with maps of such objects in the area of the overlaps  12  should not be used for the calibration. 
         [0021]    In addition, the selection criterion C flags a subimage data record DR k  for calibration only if there was a particular state of the motor vehicle at the time at which said subimage data record was recorded, and the driving situation was within prescribed limits at this moment. To this end, the image data processing device  5  also derives, collects and assesses vehicle state variables and driving state variables from detection devices on the motor vehicle. In this context, preferred vehicle state variables are the operating period and mileage of the vehicle, the number of vehicle starts and the operating period and also the mileage since the vehicle was last started. By including these variables in the selection criterion C, it is particularly possible to take account of thermal changes, mechanical settling or ageing effects and wear. Preferred driving state variables selected are the speed of travel, the acceleration, the steering angle, the angle of inclination and the loading of the vehicle. If available, it is also possible to include data about the tyre pressure and the setting of the suspension. When these data are included, it is possible to take account of the dynamic differences in the vehicle situation in relation to the road surface when deciding about calibration. 
         [0022]    Further preferred variables for inclusion in the selection criterion C could be the GPS position of the vehicle, the exterior light conditions and signals from proximity sensors for the near field of the vehicle. By including such variables, it is possible to base the decision about calibration on considerations concerning whether and to what extent the current vehicle surroundings favour or impede calibration. 
         [0023]    On the basis of a subimage data record DR k  flagged by the selection criterion C, the calibration can preferably be performed by calculating a correlation between the subimage data DT i, 1 . . . 4  in a manner which is known per se. In this case, the areas of overlap  12  are identified and the situation and orientation of the image sections coded in the subimage data DT i, 1 . . . 4  relative to one another are determined. The quality criterion Q is optimized for the flagged subimage data record DR k  by varying the parameters of the transformations T 1 . . . 4 . 
         [0024]    In one refinement of the method described above, it is also possible to include the history of the calibrations performed in the past in the selection criterion. For example, this history could be used to determine the time for the next calibration. It is also possible to determine the parameters of the transformations not exclusively on the basis of the result of the last calibration, but rather to perform historical averaging. Yet another option is to anticipate adaptation of the parameters without calibration by extrapolation on the basis of the already collected historical data from past calibrations.