Method and device for generating representative image data to improve the reliability of depth determination by a vehicle-mounted vision system

The process and device for generating image representative data for stereoscopic vision systems in vehicles address the issue of image contamination by learning a robust depth prediction model using 'contaminated' images, thereby enhancing the reliability of ADAS systems.

FR3153678A1Active Publication Date: 2025-04-04STELLANTIS AUTO SAS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
FR2023010392
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-09-29
Publication Date
2025-04-04
Estimated Expiration
2043-09-29

AI Technical Summary

Technical Problem

Existing stereoscopic vision systems in vehicles are susceptible to image contamination due to factors like a dirty camera lens or dazzling, which can lead to defective data and compromise the safety and reliability of Advanced Driver-Assistance Systems (ADAS).

Method used

A process and device for generating image representative data that involves receiving image data from a stereoscopic vision system, predicting depths using a prediction model based on optical flow values, and learning the model using 'contaminated' images to improve its robustness against defects.

Benefits of technology

The proposed solution enhances the robustness of the depth prediction model, enabling it to provide reliable depth information even when the input images are defective, thereby improving the safety and reliability of ADAS systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A method or device implementing an image generation process for a stereoscopic vision system embedded in a vehicle (10), comprising a first camera (11) and a second camera (12) arranged to acquire an image of a scene from two different viewpoints. Specifically, the method includes receiving a first pair of images and predicting, using a prediction model, the depths associated with pixels in these two images. One of the images from the first pair is then modified, and depths are again predicted for a received image and a modified image. The prediction model is then learned based on the result of comparing the predicted depths for the actual images with the predicted depths for the modified image. Figure 1 (for the abstract)
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Method and device for generating data representative of images to make the determination of depth reliable by a vision system on board a vehicle Technical field

[0001] The present invention relates to methods and devices for generating data representative of images for a stereoscopic vision system on board a vehicle, for example in a motor vehicle. The present invention also relates to a method and a device for generating training data for a depth prediction model by a stereoscopic vision system on board a vehicle. The present invention also relates to a method and a device for controlling one or more AD AS systems on board a vehicle from a distance separating an object from the vehicle determined by a stereoscopic vision system. Technological background

[0002] Many modern vehicles are equipped with so-called AD AS (Advanced Driver-Assistance System). Such AD AS systems are passive and active safety systems designed to eliminate the element of human error in the driving of vehicles of all types. AD AS use advanced technologies to assist the driver while driving and thus improve their performance. AD AS use a combination of sensor technologies to perceive the environment around a vehicle, then provide information to the driver or act on certain vehicle systems.

[0003] There are several levels of ADAS, such as rearview cameras and blind spot sensors, lane departure warning systems, adaptive cruise control and automatic parking systems.

[0004] The AD AS embedded in a vehicle are supplied with data obtained one or more on-board sensors such as, for example, cameras. These cameras make it possible, in particular, to detect and locate other road users or possible obstacles present around a vehicle in order, for example: - to adapt the vehicle's lighting according to the presence of other users; - to automatically regulate the vehicle speed; - to act on the braking system in the event of a risk of impact with an object.

[0005] It happens that the data obtained from these sensors are defective, for example because of electronic problems disrupting their transmission, or because of sensor problems, for example when a camera lens is dirty or the camera is dazzled, for example when it is pointed at the sun or a car headlight shines directly on it.

[0006] The proper functioning of the driving assistance peripherals using this data therefore depends on the quality of the data emitted by a vision system. Summary of the present invention

[0007] An object of the present invention is to solve at least one of the problems of the technological background described above.

[0008] Another object of the present invention is to propose a solution for improving the insensitivity of a stereoscopic vision system to contamination of an image acquired by this system, for example due to a dirty lens or glare.

[0009] Another object of the present invention is to improve road safety, in particular by improving the operational safety of AD AS systems supplied with data obtained from such a stereoscopic vision system.

[0010] According to a first aspect, the present invention relates to a method for generating data representative of images for a stereoscopic vision system on board a vehicle, the stereoscopic vision system comprising a first camera and a second camera arranged so as to acquire an image of a three-dimensional scene from two different points of view, the method being characterized in that it comprises the following steps: - receiving data representative of a first pair of images, the pair of images comprising a first image acquired by a first camera at a time instant and a second image acquired by a second camera at the same time instant; - prediction by a prediction model of first depths associated with a first set of pixels of the first image as a function of optical flow values ​​determined from the first set of pixels and a second set of pixels of the second image corresponding to the first set of pixels and prediction of second depths associated with the second set of pixels as a function of optical flow values ​​determined from the second set of pixels and the first set of pixels; - generating a second pair of images from the first pair of images, the second pair of images comprising the first image and a third image, the third image being generated from the second image for which a colorimetric value of each pixel of a third set of pixels is modified; - prediction by the prediction model of third depths associated with a fourth set of pixels of the first image as a function of optical flow values ​​determined from the fourth set of pixels and a fifth set of pixels of the third image corresponding to the fourth set of pixels and prediction of fourth depths associated with the fifth set of pixels based on optical flow values ​​determined from the fifth set of pixels and the fourth set of pixels; - learning the prediction model based on a result of a comparison of the third and fourth depths to the first and second depths.

[0011] Such a method thus makes it possible to generate “contaminated” images, i.e. images deliberately presenting defects, from images acquired by the stereoscopic vision system. The first and second predicted depths are then training data and the depth prediction model is learned via the use of these “contaminated” images. The prediction model then gains in robustness and makes it possible to predict reliable depths for images presenting defects.

[0012] According to a variant of the method, the third set of pixels comprises at least one group of adjacent pixels.

[0013] According to another variant of the method, the at least one group of adjacent pixels forms a rectangle.

[0014] According to an additional variant of the method, the pixels of the third set of pixels are modified into black pixels, a black pixel being a pixel of which a set of colorimetric values ​​is zero.

[0015] According to another variant of the method, the pixels of the third set of pixels are modified into white pixels, a white pixel being a pixel of which a set of colorimetric values ​​is maximum.

[0016] According to another variant of the method, the third set of pixels comprises a number of pixels less than a threshold, the threshold being defined relative to the number of pixels of said second image.

[0017] According to an additional variant of the method, the threshold is equal to 5% of the number of pixels of the second image.

[0018] According to one variant, the method comprises the following steps: - generating a third pair of images from the first pair of images, the third pair of images comprising a fourth image and the second image, the fourth image being generated from the first image for which a colorimetric value of pixels of a sixth set of pixels is modified; - prediction of fifth depths associated with a seventh set of pixels of the fourth image as a function of optical flow values ​​determined from the seventh set of pixels and an eighth set of pixels of the second image corresponding to the seventh set of pixels and prediction of sixth depths associated with the eighth set of pixels as a function of flow values optics determined from the eighth set of pixels and the seventh set of pixels, the prediction model being further learned based on the fifth and sixth depths compared to the first and second depths.

[0019] According to a second aspect, the present invention relates to a device for generating data representative of images for a stereoscopic vision system on board a vehicle, the device comprising a memory associated with at least one processor configured for implementing the steps of the method according to the first aspect of the present invention.

[0020] According to a third aspect, the present invention relates to a vehicle, for example of the automobile type, comprising a device as described above according to the second aspect of the present invention.

[0021] According to a fourth aspect, the present invention relates to a computer program which comprises instructions adapted for executing the steps of the method according to the first aspect of the present invention, in particular when the computer program is executed by at least one processor.

[0022] Such a computer program may use any programming language and be in the form of source code, object code, or intermediate code between source code and object code, such as in a partially compiled form, or in any other desirable form.

[0023] According to a fifth aspect, the present invention relates to a computer-readable recording medium on which is recorded a computer program comprising instructions for carrying out the steps of the method according to the first aspect of the present invention.

[0024] On the one hand, the recording medium may be any entity or device capable of storing the program. For example, the medium may comprise a storage means, such as a ROM memory, a CD-ROM or a microelectronic circuit type ROM memory, or a magnetic recording means or a hard disk.

[0025] Furthermore, this recording medium may also be a transmissible medium such as an electrical or optical signal, such a signal being able to be conveyed via an electrical or optical cable, by conventional or hertzian radio or by self-directed laser beam or by other means. The computer program according to the present invention may in particular be downloaded from an Internet-type network.

[0026] Alternatively, the recording medium may be an integrated circuit in which the computer program is incorporated, the integrated circuit being adapted to perform or to be used in performing the method in question. Brief description of the figures

[0027] Other characteristics and advantages of the present invention will emerge from the description of the particular and non-limiting exemplary embodiments of the present invention below, with reference to the appended figures 1 to 3, in which:

[0028] [Fig-1] schematically illustrates a stereoscopic vision system equipping a vehicle, according to a particular and non-limiting exemplary embodiment of the present invention;

[0029] [Fig.2] illustrates a flowchart of the different steps of a method for generating data representative of images for a stereoscopic vision system on board the vehicle of [Fig.l], according to a particular and non-limiting exemplary embodiment of the present invention;

[0030] [Fig.3] schematically illustrates a device configured for the generation of data representative of images for a stereoscopic vision system on board the vehicle of [Fig.l], according to a particular and non-limiting exemplary embodiment of the present invention. Description of examples of implementation

[0031] A method and a device for generating data representative of images for a stereoscopic vision system on board a vehicle will now be described in the following with joint reference to FIGS. 1 to 3. The same elements are identified with the same reference signs throughout the description which follows.

[0032] The terms "first(s)", "second(s)" (or "first(s)", "second(s)"), etc. are used in this document by arbitrary convention to enable different elements (such as operations, means, etc.) implemented in the embodiments described below to be identified and distinguished. Such elements may be distinct or correspond to a single element, depending on the embodiment.

[0033] According to a particular and non-limiting example of embodiment of the present invention, a method for generating data representative of images for a stereoscopic vision system on board a vehicle is for example implemented by a computer of the on-board system of the vehicle controlling this stereoscopic vision system.

[0034] The vision system comprises a first camera and a second camera, arranged so as to each acquire an image of a three-dimensional scene from different points of view.

[0035] For this purpose, the method for generating data representative of images for a stereoscopic vision system on board a vehicle comprises receiving data representative of a first pair of images comprising a first image acquired by the first camera at a time instant and a second image acquired by the second camera at the same time instant.

[0036] First depths associated with a first set of pixels of the first image are predicted by a prediction model and second depths associated with a second set of pixels of the second image are also predicted by this same prediction model. These depths are further predicted as a function of optical flow values ​​determined from the first and second sets of pixels.

[0037] A second pair of images is generated from the first pair of images, the second pair of images comprising the first image and a third image, the third image being generated from the second image for which a colorimetric value of each pixel of a third set of pixels is modified.

[0038] Third depths associated with a fourth set of pixels of the first image are then predicted by the prediction model as well as fourth depths associated with a fifth set of pixels of the third image. These depths are further predicted as a function of optical flow values ​​determined from the fourth and fifth sets of pixels.

[0039] The prediction model is then learned based on a result of a comparison of the third and fourth depths to the first and second depths.

[0040] [Fig. 1] schematically illustrates a stereoscopic vision system equipping a vehicle, according to a particular and non-limiting exemplary embodiment of the present invention.

[0041] Such an environment 1 corresponds, for example, to a road environment formed of a network of roads accessible to the vehicle 10.

[0042] In this example, the vehicle 10 corresponds to a vehicle with a thermal engine, with an electric motor(s) or even a hybrid vehicle with a thermal engine and one or more electric motors. The vehicle 10 thus corresponds, for example, to a land vehicle such as an automobile, a truck, a bus, a motorcycle. Finally, the vehicle 10 corresponds to an autonomous vehicle or not, that is to say a vehicle traveling according to a determined level of autonomy or under the total supervision of the driver.

[0043] The vehicle 10 advantageously comprises several on-board cameras 11, 12, each configured to acquire images of a scene in the environment of the vehicle 10. This set of cameras 11, 12 forms the stereoscopic vision system. Two cameras 11 and 12 are illustrated in [Fig.l]. The present invention is however not limited to a stereoscopic vision system comprising two cameras but extends to any vision system comprising 2 or more cameras, for example 2, 3, 4 or 5 cameras.

[0044] The two cameras 11,12 have known intrinsic parameters. These pa- The meters consist in particular of: - the focal length fl of the first camera 11; - the focal length f2 of the second camera 12; - distortions which are due to imperfections in the optical system of each camera; - the direction Cl of the optical axis of the first camera 11; - the direction C2 of the optical axis of the second camera 12; and - the respective resolutions of cameras 11, 12.

[0045] The intrinsic parameters characterize the transformation which associates, for an image point, the camera coordinates with the pixel coordinates, in each camera. These parameters do not change if the camera is moved.

[0046] The distortions, which are due to imperfections in the optical system such as defects in the shape and positioning of the camera lenses, will deflect the light beams and therefore induce a positioning deviation for the projected point compared to an ideal model. It is then possible to complete the camera model by introducing the three distortions which generate the most effects, namely radial, decentering and prismatic distortions, induced by defects in curvature, parallelism of the lenses and coaxiality of the optical axes. In this example, the cameras are assumed to be perfect, that is to say that the distortions are not taken into account or that their correction is processed at the time of image acquisition.

[0047] These two cameras 11, 12 are arranged so as to each acquire an image of a scene from a different point of view, the first point of view is for example located on or in the left rearview mirror of the vehicle 10 or at the top of the windshield of the vehicle 10, the second point of view is for example located on or in the right rearview mirror of the vehicle 10 or at the top of the windshield of the vehicle 10. In the case where the two cameras are located at the top of the windshield of the vehicle, they are then placed at a certain distance. In this example, the first camera 11 is located at the top of the windshield of the vehicle 10, the second camera 12 is located in the right rearview mirror of the vehicle 10.

[0048] A first marker is associated with the first camera 11: - the direction of the y axis is defined by the position of the second camera 12, so as to place the second camera 12 on the y axis of the first camera 11. The distance B separating the two cameras 11, 12 is called the reference base (in English “baseline”) and the direction separating the two cameras 11, 12 is that of the y axis; - the direction of the x axis is defined orthogonal to that of the y axis and orthogonal to that of the optical axis Cl of the first camera 11; - the direction of the z axis is defined orthogonal to the directions of the x and y axes. The three axes x, y and z thus form an orthonormal reference frame.

[0049] The extrinsic parameters linked to the position of the cameras 11, 12 are the following parameters: - 3 translations in the x, y and z directions: Tx, Ty and Tz constituting the translation vector T; and - 3 rotations around the x, y and z axes: Rx, Ry and Rz, constituting the rotation matrix R.

[0050] Determining the extrinsic parameters constitutes the problem of calibrating a stereoscopic vision system.

[0051] A main constraint of the stereoscopic vision system used in automobiles is, for example, the large distance between the two cameras. Indeed, to be able to cover a measurement range of 200 meters, the reference base must reach 60cm for the cameras commonly used in this field.

[0052] The two cameras 11, 12 acquire images of a scene located in front of the vehicle 10, the first camera 11 covering only a first acquisition field 13, the second camera 12 covering only a second acquisition field 14 and the two cameras 11, 12 both covering a third acquisition field 15. The first and third acquisition fields 13, 15 thus allow a monoscopic vision of the scene by the first camera 11, the second and third acquisition fields 14, 15 allow a monoscopic vision of the scene by the second camera 12 and the third acquisition field 15 allows a stereoscopic vision of the scene by the stereoscopic vision system composed of the two cameras 11, 12.

[0053] An obstacle 18 is placed in the acquisition field of the cameras, for example in the third acquisition field 15. The presence of the obstacle 18 defines an occlusion field for the stereoscopic vision system composed here of the three fields 16, 17 and 19.

[0054] Among these three fields, field 16 is visible from the second camera 12. The part of the scene present in this field 16 is therefore observable using the monoscopic vision system composed of the second camera 12.

[0055] The field 17 is visible from the first camera 11. The part of the scene present in this field 17 is therefore observable using the monoscopic vision system composed of the first camera 11.

[0056] Finally, field 19 is not visible from any of the cameras. The part of the scene present in this field 19 is therefore not observable.

[0057] According to an exemplary embodiment, the directions C1, C2 of the optical axes representative of an orientation of the field of vision of each camera are oriented non-parallel so as to obtain the third acquisition field 15 of the environment 1 as wide as possible.

[0058] According to another exemplary embodiment, the directions C1, C2 of the optical axes represent indicators of the orientation of the field of view of each camera are oriented parallel.

[0059] It is obvious that it is possible to use such a stereoscopic vision system to take images of scenes located on the sides or behind the vehicle 10 by equipping it with differently placed and oriented cameras.

[0060] The images acquired by the cameras 11, 12 at a given acquisition time instant tl are presented in the form of data representing pixels characterized by: - coordinates in each image; and - data relating to the colors and brightness of the objects in the observed scene in the form, for example, of RGB (from the English “Red Green Blue”) or TSL (Tone, Saturation, Brightness) colorimetric coordinates.

[0061] The images acquired by the cameras 11, 12 represent views of the same scene taken from different viewpoints, the positions of the cameras being distinct. On this scene are found, for example: - buildings; - road infrastructure; - other stationary users, for example a parked vehicle; and / or - other mobile users, for example another vehicle, a cyclist or a moving pedestrian.

[0062] These images are sent to a computer of a device equipping the vehicle 10 or stored in a memory of a device accessible to a computer of a device equipping the vehicle 10.

[0063] A process for generating data representative of images for a stereoscopic vision system on board the vehicle 10 is advantageously implemented by the vehicle 10, that is to say by a computer or a combination of computers of the on-board system of the vehicle 10, for example by the computer(s) in charge of the stereoscopic vision system of the vehicle 10.

[0064] In a first operation, the computer receives data representative of a first pair of images, the pair of images comprising a first image acquired by the first camera 11 at a time instant and a second image acquired by the second camera 12 at the same time instant.

[0065] The two images received thus correspond to the same three-dimensional scene taking place around the vehicle 10 seen from two different points of view.

[0066] In a second operation, in order to facilitate the analysis of the two received images, the first and second images are for example rectified according to a method known to those skilled in the art. Such a method is described, for example, in “Projective Rectification of Non-Calibrated Infrared Stereo Images with Global Consideration of Distortion Minimization” by Benoit Ducarouge, Thierry Sentenac, Florian Bugarin and Michel Devy of July 16, 2009.

[0067] The rectification method consists of reorienting the epipolar lines so that they are parallel with the horizontal axis of the image. This method is described by a transformation which projects the epipoles to infinity and whose corresponding points are necessarily on the same ordinate.

[0068] A rectification algorithm consists, for example, of 4 steps: - Rotate (virtually) the first camera 11 so that the epipole goes to infinity along the horizontal axis of the reference frame associated with it; - Apply the same rotation to the second camera to end up in the initial geometric configuration; - Rotate the second camera by the rotation associated with the rotation matrix 'R', corresponding to the extrinsic parameter of the starting stereoscopic vision system; - Adjust the scale in both camera markers.

[0069] It should be noted that rectification simplifies the matching of pixels in images obtained by a stereoscopic vision system. The corresponding pixel in the second image to a pixel in the first image (and vice versa) is positioned on the same line. From the knowledge of the epipolar geometry and therefore of a fundamental matrix of the stereoscopic vision system, the objective is then to determine a pair of projective transformations, called homographies, which reorient the epipolar projections parallel to the lines of the images, therefore to the horizontal axis of the rectified cameras.

[0070] It is also possible not to rectify the received images, disparities induced by the relative position of the optical axes of the first 11 and second 12 cameras are then to be taken into account when predicting depths from optical flow values.

[0071] In a third operation, a second set of pixels of the second image corresponding to a first set of pixels of the first image is determined. This operation is commonly called “feature matching”.

[0072] Stereo matching consists of finding pixels in stereoscopic views that correspond to the same 3D point in the three-dimensional scene. Rectified epipolar geometry simplifies this process of finding correspondences on the same epipolar line. There is no need to calculate the coordinates of the 3D point to find the corresponding pixel on the same line in the other image.

[0073] In a fourth operation, first depths associated with the first set of pixels are predicted by a prediction model based on optical flow values ​​determined from the first set of pixels and the second set of pixels from the second image.

[0074] The prediction model uses a method called optical flow calculation. Such a method is notably described in “UnOS: Unified Unsupervised Optical-flow and Stereo-depth Estimation by Watching Videos” by Yang Wang, Peng Wang, Zhenheng Yang, Chenxu Luo, Yi Yang and Wei Xu from June 2019.

[0075] The optical flow calculation method is for example implemented by a convolutional neural network (CNN). This type of tool is commonly used in the context of image processing.

[0076] An optical flow is notably representative of a displacement between each pixel of the first set of pixels of the first image and a pixel of the second set of pixels corresponding to each first pixel in the second image.

[0077] Similar to the fourth operation, in a fifth operation, second depths associated with the second set of pixels are predicted based on optical flow values ​​determined from the second set of pixels and the first set of pixels.

[0078] The prediction model has, furthermore, been previously learned by any learning method known to those skilled in the art, whether carried out using learning data provided to the stereoscopic vision system or using data generated by the stereoscopic vision system itself, the prediction model being for example learned by minimizing a loss function comparing the predicted depths to actual depths. The predictions of the first and second depths are thus reliable.

[0079] In a sixth operation, a second pair of images is generated from the first pair of images. The second pair of images comprises the first image and a third image generated from the second image for which a colorimetric value of each pixel of a third set of pixels is modified.

[0080] Such a third image corresponds to a so-called “contaminated” image, that is to say that the pixels of the third set represent defects, due for example to problems in acquiring the second image or errors in transmitting the data representative of the second image.

[0081] According to a particular exemplary embodiment, the third set of pixels comprises isolated pixels. The number of pixels in the third set is in particular less than a threshold defined relative to the number of pixels in the second image. This threshold represents, for example, 5%, 10% or 15% of the total number of pixels in the second image.

[0082] According to another particular exemplary embodiment, the third set of pixels comprises at least one group of adjacent pixels, then forming a “zone contaminated”. A group of adjacent “contaminated” pixels represents, for example, an image acquired by the second camera 12 through a dirty lens.

[0083] According to a particular exemplary embodiment, at least one group of adjacent pixels forms a rectangle or a square. The width of the rectangle or square is for example less than a threshold defined relative to the width of the second image. For example, the width of the rectangle or square is less than 5% of the width of the second image, and is 1%, 3% or 5% of the width of the second image.

[0084] In the case of “contaminated areas”, the total surface area of ​​these areas is for example limited in relation to the total surface area of ​​the second image, for example 3%, 7% or 10%.

[0085] The sixth operation consists of modifying the colorimetric value of each pixel of the third set of pixels.

[0086] According to a particular exemplary embodiment, the pixels of the third set of pixels are modified into black pixels, a black pixel being a pixel of which a set of colorimetric values ​​is zero.

[0087] Such a defect corresponds for example to an opaque object or to mud present on the lens of the second camera 12 at the time instant of acquisition of the second image.

[0088] According to another particular exemplary embodiment, the pixels of the third set of pixels are modified into white pixels, a white pixel being a pixel of which a set of colorimetric values ​​is maximum.

[0089] This type of “contamination” corresponds for example to dazzling, occurring for example when the vehicle 10 crosses a second vehicle and a headlight of the second vehicle illuminates the lens of the second camera 12 at the time instant of acquisition of the second image.

[0090] In a seventh operation similar to the third operation, a fifth set of pixels of the third image corresponding to a fourth set of pixels of the first image is determined.

[0091] In an eighth operation, third depths associated with the fourth set of pixels of the first image are predicted by the prediction model based on optical flow values ​​determined from the fourth set of pixels and the fifth set of pixels of the third image.

[0092] Similarly, in a ninth operation, fourth depths associated with the fifth set of pixels are predicted by the prediction model based on optical flow values ​​determined from the fifth set of pixels and the fourth set of pixels.

[0093] The prediction model is then learned in a tenth operation following any method known to those skilled in the art. The prediction model is for example learned based on a result of a comparison of the third and fourth depths to the first and second depths.

[0094] A first error is for example determined for the pixels of the first image by comparing the first and third depths. The first error is for example defined by the following function: [Math.l] 1^)= Il dAp)-d'sSp) Il 2

[0095] With: • L^p) the first error for a pixel of the first image, • D^p) the first depth of a pixel of the first image, and • D'^p} the third depth of a pixel of the first image.

[0096] A second error is for example determined for the pixels of the second image by comparing the second and fourth depths. The second error is for example defined by the following function: [Math.2] = Il Mp) -D'JP) Il 2

[0097] With: • lAp) the second error for a pixel of the second image, • Dst{ p) the second depth of a pixel of the second image, and • D\tÇp) the fourth depth of a pixel of the second image.

[0098] According to a particular exemplary embodiment, the learning is obtained by minimizing the following loss function: [Math.3] Ls = p), L2(p)^

[0099] With: * Lk loss due to contamination, • L](p) the first error for a pixel of the first image, and • L^p) the second error for a pixel of the second image.

[0100] According to a particular exemplary embodiment, in an eleventh operation, a third pair of images is generated from the first pair of images, the third pair of images comprising a fourth image and the second image.

[0101] Similar to the sixth operation, the fourth image is generated from the first image for which a colorimetric value of pixels of a sixth set of pixels is modified. The modifications are for example those presented previously.

[0102] In a twelfth operation similar to the third operation, an eighth set of pixels of the second image corresponding to a seventh set of pixels of the fourth image is determined.

[0103] In a thirteenth operation similar to the fourth operation, fifth depths associated with the seventh set of pixels are predicted by a prediction model based on optical flow values ​​determined from the seventh set of pixels and the eighth set of pixels.

[0104] In a fourteenth operation, sixth depths associated with the eighth set of pixels are predicted by a prediction model based on optical flow values ​​determined from the eighth set of pixels and the seventh set of pixels.

[0105] Similar to the previous learning, the prediction model is further learned based on the fifth and sixth depths compared to the first and second depths.

[0106] According to a particular exemplary embodiment, several successive learning operations are carried out, the first and second images being “contaminated” in turn. A complete learning sequence is for example obtained after the following successive “contaminations”: - the first image is contaminated by individual black pixels, - the second image is contaminated by individual black pixels, - the first image is contaminated by individual white pixels, - the second image is contaminated by individual white pixels, - the first image is contaminated by squares of black pixels, - the second image is contaminated by squares of black pixels, - the first image is contaminated by squares of white pixels, - the second image is contaminated by squares of white pixels.

[0107] Thus, the “contamination” of an image allows the prediction model to learn to predict depths for pixels that would be “contaminated” or would have distorted colorimetric values. The training data are obtained from data acquired by the stereoscopic vision system, so they are easy to obtain and representative of real situations.

[0108] The prediction model is thus more robust and will be able to predict depths even if the input images have slight defects.

[0109] If the ADAS uses input data such as the depths determined by the prediction model learned using the method previously described to determine the distance between a part of the vehicle 10, for example the front bumper, and another user present on the road, the ADAS is then able to precisely determine this distance even when one of the cameras has a defect such as a lens dirty or localized glare.

[0110] [Fig. 2] illustrates a flowchart of the different steps of a method 2 for generating data representative of images for a stereoscopic vision system on board the vehicle of [Fig. 1].

[0111] The method is for example implemented by one or more processors of one or more computers on board the vehicle 10, for example by a computer controlling a stereoscopic vision system comprising a first 11 and a second 12 cameras.

[0112] In a step 21, the computer receives data representative of a first pair of images, the pair of images comprising a first image acquired by the first camera 11 at a time instant and a second image acquired by the second camera 12 at the same time instant.

[0113] In a step 22, first depths associated with a first set of pixels of the first image are predicted by a prediction model as a function of optical flow values ​​determined from the first set of pixels and a second set of pixels of the second image corresponding to the first set of pixels.

[0114] Second depths associated with the second set of pixels are also predicted by the prediction model based on optical flow values ​​determined from the second set of pixels and the first set of pixels.

[0115] In a step 23, a second pair of images is generated from the first pair of images, the second pair of images comprising the first image and a third image. The third image is generated from the second image for which a colorimetric value of each pixel of a third set of pixels is modified.

[0116] In a step 24, third depths associated with a fourth set of pixels of the first image are predicted by the prediction model as a function of optical flow values ​​determined from the fourth set of pixels and a fifth set of pixels of the third image corresponding to the fourth set of pixels and fourth depths associated with the fifth set of pixels are predicted as a function of optical flow values ​​determined from the fifth set of pixels and the fourth set of pixels.

[0117] In a step 25, the prediction model is learned based on a result of a comparison of the third and fourth depths to the first and second depths.

[0118] [Fig. 3] schematically illustrates a device 4 configured to generate data representative of images for a stereoscopic vision system on board a vehicle 10, according to a particular and non-limiting exemplary embodiment of the present invention. The device 4 corresponds for example to a device on board the first vehicle 10, for example a computer.

[0119] The device 4 is for example configured for the implementation of the operations described with regard to [Fig.l] and / or the steps described with regard to [Fig.2]. Examples of such a device 4 include, but are not limited to, on-board electronic equipment such as an on-board computer of a vehicle, an electronic calculator such as an ECU (“Electronic Control Unit”), a smartphone, a tablet, a laptop. The elements of the device 4, individually or in combination, can be integrated in a single integrated circuit, in several integrated circuits, and / or in discrete components. The device 4 can be produced in the form of electronic circuits or software (or computer) modules or even a combination of electronic circuits and software modules.

[0120] The device 4 comprises one (or more) processor(s) 40 configured to execute instructions for carrying out the steps of the method and / or for executing the instructions of the software(s) embedded in the device 4. The processor 40 may include integrated memory, an input / output interface, and various circuits known to those skilled in the art. The device 4 further comprises at least one memory 41 corresponding for example to a volatile and / or non-volatile memory and / or comprises a memory storage device which may comprise volatile and / or non-volatile memory, such as EEPROM, ROM, PROM, RAM, DRAM, SRAM, flash, magnetic or optical disk.

[0121] The computer code of the embedded software(s) comprising the instructions to be loaded and executed by the processor is for example stored in the 4L memory.

[0122] According to various particular and non-limiting embodiments, the device 4 is coupled in communication with other similar devices or systems (for example other computers) and / or with communication devices, for example a TCU (from the English “Telematic Control Unit” or in French “Telematic Control Unit”), for example via a communication bus or through dedicated input / output ports.

[0123] According to a particular and non-limiting exemplary embodiment, the device 4 comprises a block 42 of interface elements for communicating with external devices. The interface elements of the block 42 comprise one or more of the following interfaces: - RF radio frequency interface, for example Wi-Fi® type (according to IEEE 802.11), for example in the 2.4 or 5 GHz frequency bands, or Bluetooth® type (according to IEEE 802.15.1), in the 2.4 GHz frequency band, or Sigfox type using UBN radio technology (from the English Ultra Narrow Band, in French ultra narrow band) narrow), or LoRa in the 868 MHz frequency band, LTE (from the English “Long-Term Evolution” or in French “Evolution à long terme”), LTE-Advanced (or in French LTE-advanced); - USB interface (from the English “Universal Serial Bus” or “Universal Serial Bus” in French); HD MI interface (from the English “High Definition Multimedia Interface” or “High Definition Multimedia Interface” in French); - LIN interface (from the English “Local Interconnect Network”).

[0124] According to another particular and non-limiting exemplary embodiment, the device 4 comprises a communication interface 43 which makes it possible to establish communication with other devices (such as other computers of the on-board system) via a communication channel 430. The communication interface 43 corresponds for example to a transmitter configured to transmit and receive information and / or data via the communication channel 430. The communication interface 43 corresponds for example to a wired network of the CAN (Controller Area Network) type, CAN FD (Controller Area Network Flexible Data-Rate), FlexRay (standardized by the ISO 17458 standard) or Ethernet (standardized by the ISO / IEC 802-3 standard).

[0125] According to a particular and non-limiting exemplary embodiment, the device 4 can provide output signals to one or more external devices, such as a display screen 440, touch-sensitive or not, one or more speakers 450 and / or other peripherals 460 (projection system) via the output interfaces 44, 45, 46 respectively. According to a variant, one or other of the external devices is integrated into the device 4.

[0126] Of course, the present invention is not limited to the exemplary embodiments described above but extends to a method for generating data representative of images for a stereoscopic vision system on board a vehicle and for learning a depth prediction model for a stereoscopic vision system using images generated from images acquired by this system, which would include secondary steps without thereby departing from the scope of the present invention. The same would apply to a device configured for implementing such a method.

[0127] The present invention also relates to a vehicle, for example an automobile or more generally an autonomous land-based motor vehicle, comprising the device 4 of [Fig.3].

Claims

1. Claims Method for generating data representative of images for a stereoscopic vision system on board a vehicle (10), the stereoscopic vision system comprising a first camera (11) and a second camera (12) arranged so as to acquire an image of a three-dimensional scene from two different points of view, said method being characterized in that it comprises the following steps: - reception (21) of data representative of a first pair of images, said pair of images comprising a first image acquired by a first camera (11) at a time instant and a second image acquired by a second camera (12) at the same time instant; - prediction (22) by a prediction model of first depths associated with a first set of pixels of the first image as a function of optical flow values ​​determined from said first set of pixels and a second set of pixels of the second image corresponding to said first set of pixels and prediction of second depths associated with said second set of pixels as a function of optical flow values ​​determined from said second set of pixels and said first set of pixels; - generation (23) of a second pair of images from said first pair of images, said second pair of images comprising said first image and a third image, said third image being generated from said second image for which a colorimetric value of each pixel of a third set of pixels is modified; - prediction (24) by said prediction model of third depths associated with a fourth set of pixels of the first image as a function of optical flow values ​​determined from said fourth set of pixels and a fifth set of pixels of the third image corresponding to said fourth set of pixels and prediction of fourth depths associated with said fifth set of pixels as a function of optical flow values ​​determined from said fifth set of pixels and said fourth set of pixels; - learning (25) said prediction model based on a result from a comparison of the third and fourth depths to the first and second depths.

2. The method of claim 1, wherein said third set of pixels comprises at least one group of adjacent pixels.

3. The method of claim 2, wherein said at least one group of adjacent pixels forms a rectangle.

4. The method of claim 1 to 3, wherein the pixels of said third set of pixels are changed to black pixels, a black pixel being a pixel having a set of colorimetric values ​​that is zero.

5. The method of claim 1 to 3, wherein the pixels of said third set of pixels are changed to white pixels, a white pixel being a pixel whose set of colorimetric values ​​is maximum.

6. Method according to one of claims 1 to 5, for which said third set of pixels comprises a number of pixels less than a threshold, said threshold being defined relative to the number of pixels of said second image.

7. The method of claim 6, wherein said threshold is equal to 5% of the number of pixels of said second image.

8. Method according to one of claims 1 to 6, comprising the following steps: - generation of a third pair of images from said first pair of images, said third pair of images comprising a fourth image and said second image, said fourth image being generated from said first image for which a colorimetric value of pixels of a sixth set of pixels is modified; - prediction by said prediction model of fifth depths associated with a seventh set of pixels of the fourth image as a function of optical flow values ​​determined from said seventh set of pixels and an eighth set of pixels of the second image corresponding to said seventh set of pixels and prediction of sixth depths associated with said eighth set of pixels as a function of optical flow values ​​determined from said eighth set of pixels and said seventh set of pixels;said prediction model being learned (25), further, as a function of the fifth and sixth depths compared to the first and second depths.;

9. Device (4) for generating data representative of images for a stereoscopic vision system on board a vehicle (10), said device (4) comprising a memory (41) associated with at least one processor (40) configured for implementing the steps of the method according to any one of claims 1 to 8.

10. Vehicle (10) comprising the device (4) according to claim 9.

Citation Information

Patent Citations

  • Stereo matching system using dynamic programming and method thereof

    US20120163703A1

  • Predicting image warping for structure from motion using neural networks

    US20230281847A1