Method and device for determining representative data of at least one dynamic object in a scene by a monoscopic vision system.

The monoscopic vision system with depth prediction and dynamic object masking improves ADAS data quality, enhancing system reliability and safety by accurately identifying moving objects without additional sensors.

FR3147649A1Pending Publication Date: 2024-10-11STELLANTIS AUTO SAS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
FR2023003335
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-04
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing ADAS systems rely on data from vision systems, but the quality of this data can be compromised, affecting their performance and road safety.

Method used

A method and device using a monoscopic vision system with a camera to determine dynamic objects by predicting depths and applying a dynamic object mask, eliminating the need for optical flow calculation and utilizing a self-supervised convolutional neural network for improved depth prediction.

Benefits of technology

Enhances the reliability of ADAS systems by accurately identifying dynamic objects, reducing computational requirements, and improving road safety without additional sensor data.

✦ 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 a method for determining representative motion data of at least one object by a monoscopic vision system comprising at least one camera (11) mounted in a vehicle (10), the method being characterized in that it comprises the steps of receiving first, second, and third representative data from three images acquired by the camera (11) at three distinct acquisition times t1, t2, and t3; calculating first depths associated with a set of pixels from the first image and second depths associated with a set of pixels from the second image; determining a visibility mask associated with the first image; and determining a dynamic object mask associated with the first image and representative of a set of pixels from the first image associated with at least one moving object in the scene. Figure for the abstract: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Method and device for determining representative data of at least one dynamic object in a scene by a monoscopic vision system. technical field

[0001] The present invention relates to methods and devices for determining representative data of at least one dynamic object in a scene using a vision system embedded in a vehicle, for example, a motor vehicle. The present invention also relates to a method and device for determining information about the movement of such an object. The present invention further relates to a method and device for controlling one or more ADAS systems embedded in a vehicle based on determined movement information of an object. Technological background

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

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

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

[0005] The quality of the data emitted by a vision system therefore determines the proper functioning of the driving assistance devices using this data.

[0006] Summary of the present invention

[0007] One 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 improve the quality of data from a vision system.

[0009] Another object of the present invention is to improve road safety.

[0010] According to a first aspect, the present invention relates to a method for determining representative data of at least one dynamic object in a scene by means of a monoscopic vision system mounted in a vehicle, the monoscopic vision system comprising a camera arranged to acquire an image of a scene around the vehicle, the method being characterized in that it comprises the following steps: - reception of first and second data representing respectively a first and second image acquired by the camera at respectively a first and second distinct time instants of acquisition; - determination of a visibility mask associated with the first image and representative of a third set of pixels of the first image having at least one corresponding pixel in the second image, the visibility mask being determined by an optical flow calculation method applied to the first and second images; - prediction of initial depths associated with a first set of pixels of the first image from a depth prediction model learned during a learning phase applied to the first image; - prediction of second depths associated with the second set of pixels of the second image from the depth prediction model applied to the second image; - determination of a dynamic object mask associated with the first image and representative of a fourth set of pixels of the first image associated with at least one moving object in the scene, the dynamic object mask being determined by comparison of pixel positions of the fourth set of pixels and the second set of pixels after reprojection in a three-dimensional space associated with the scene, the reprojection being a function of the first and second depths.

[0011] The method thus makes it possible to define a mask of dynamic objects qualifying the reliability of the first depth predicted by the monoscopic vision system.

[0012] According to an alternative method, the dynamic object mask is defined by the following formulas: Mh[ Pt ) = ( Pt ) [ Ts^ ( P) Psm ( P. ) ) " 0 ( P^tm ( PJ ) ] Md(p^ = 1 -W^pp^p^ ) =Dtm(pf)K-]h(pt)^c: ■ Mh( p ) corresponds to a static object mask applied to a target pixel Pt of the first image; - Vm(p ) is representative of the visibility of the target pixel Pt of the first image by the monoscopic vision system; - corresponds to a camera displacement matrix (11) between the second time instant of acquisition and the first time instant of acquisition; - ÿ corresponds to a backprojection of a pixel P with its corresponding depth D( p); ■ Dmt(p ) is the second depth of a source pixel Ps of the second image calculated for the monoscopic vision system; ■ Dt,„(p is the first depth of the target pixel Pt of the first image calculated for the monoscopic vision system; ■ p ) corresponds to the dynamic object mask applied to the target pixel Pt of the first image; - K corresponds to an intrinsic matrix of the camera (11); - || || is a squared error; ■ h^p ) transforms a coordinate vector of the target pixel Pt into a homogeneous coordinate by adding a dimension to said coordinate vector of the target pixel Pt; and - a corresponds to a predefined hyperparameter based on a type of road environment in the scene.

[0013] Such a definition of a dynamic object mask makes it possible to avoid using an optical flux calculation method.

[0014] According to another variant of the method, a camera displacement matrix between the second time instant of acquisition and the first time instant of acquisition is determined by the monoscopic vision system as a function of the first and second images.

[0015] Determining this motion matrix eliminates the need for information relating to the movement of the vehicle via another sensor or computer in the vehicle.

[0016] According to yet another variant of the method, the prediction model is defined by a convolutional neural network performing the steps of: - reconstruction of a third image from the first image and the first depths; - obtaining a reconstruction error by comparing the second and third images, the convolutional neural network is learned in a self-supervised manner based on the reconstruction error.

[0017] Self-monitoring of the prediction model thus makes it possible to improve the accuracy of the prediction of the first depths by the monoscopic vision system.

[0018] According to a second aspect, the present invention relates to a device for determining representative data of at least one dynamic object in a scene by a monoscopic vision system mounted in a vehicle, the device comprising a memory associated with at least one processor configured for the implementation of the steps of the process according to the first aspect of the present invention.

[0019] According to a third aspect, the invention relates to a system for determining representative data of at least one dynamic object in a scene by a monoscopic vision system of a vehicle comprising a camera and the device according to the second aspect.

[0020] According to a fourth 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 or a system as described above according to the third aspect of the present invention.

[0021] According to a fourth aspect, the present invention relates to a computer program which includes instructions adapted for carrying out the steps of the process 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 an intermediate form 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 process according to the first aspect of the present invention.

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

[0025] On the other hand, this recording medium may also be a transmissible medium such as an electrical or optical signal, such a signal being able to be transmitted via an electrical or optical cable, by conventional or Hertzian radio, by self-directing laser beam, or by other means. The computer program according to the present The invention can, in particular, be downloaded onto 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 execute or to be used in the execution of the process in question. Brief description of the figures

[0027] Other features and advantages of the present invention will become apparent from the description of the particular and non-limiting embodiments of the present invention below, with reference to the attached Figures 1 to 3, in which:

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

[0029] [Fig.2] schematically illustrates a device configured for determining representative data of at least one dynamic object in a scene by means of a monoscopic vision system mounted in the vehicle of [Fig.1], according to a particular and non-limiting embodiment of the present invention;

[0030] [Fig.3] illustrates a flowchart of the different stages of a process for determining representative data of at least one dynamic object in a scene by a monoscopic vision system mounted in the vehicle of [Fig.1], according to a particular and non-limiting embodiment of the present invention;

[0031] Description of examples of implementation

[0032] A method and device for determining representative data of at least one dynamic object in a scene by means of a monoscopic vision system mounted in a vehicle will now be described in what follows with joint reference to Figures 1 to 3. The same elements are identified with the same reference signs throughout the description that follows.

[0033] According to a particular and non-limiting embodiment of the present invention, the monoscopic vision system comprises a camera arranged to acquire an image of a scene around the vehicle.

[0034] The method is characterized in that it comprises the steps of receiving first and second data points representing respectively a first and second image acquired by the camera at respectively distinct first and second acquisition times, and determining a visibility mask associated with the first image and representative of a third set of pixels of the first image having at least one corresponding pixel in the second image

[0035] The method also includes predicting initial depths associated with a first set of pixels from the first image using a depth prediction model learned during a training phase applied to the first image and the prediction of second depths associated with the second set of pixels of the second image from the depth prediction model applied to the second image.

[0036] The method then determines a dynamic object mask associated with the first image and representative of a fourth set of pixels of the first image associated with at least one moving object in the scene, the dynamic object mask being determined by comparing pixel positions of the fourth set of pixels and the second set of pixels after reprojection in a three-dimensional space associated with the scene, the reprojection being a function of the first and second depths.

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

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

[0039] In this example, vehicle 10 corresponds to a vehicle with an internal combustion engine, an electric motor(s), or a hybrid vehicle with an internal combustion engine and one or more electric motors. Vehicle 10 thus corresponds, for example, to a land vehicle such as a car, a truck, a bus, or a motorcycle. Finally, vehicle 10 corresponds to an autonomous or non-autonomous vehicle, that is to say, a vehicle operating according to a predetermined level of autonomy or under the total supervision of the driver.

[0040] The vehicle 10 advantageously comprises at least one on-board camera 11 configured to acquire images of a scene in the environment of the vehicle 10. This camera 11 forms the monoscopic vision system. A camera 11 is illustrated in [Fig. 1]. The present invention is not limited, however, to a monoscopic vision system comprising a single camera but extends to any vision system comprising one or more cameras, for example, 1, 2, 3, 4, or 5 cameras.

[0041] Camera 11 has known intrinsic parameters. These parameters include, in particular: - the focal length f of the camera 11; - distortions that are due to imperfections in the camera's optical system; - the direction Cl of the optical axis of camera 11; - camera resolution 11.

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

[0043] 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 can therefore induce a positioning error for the projected point relative to an ideal model. It is then possible to refine the camera model by introducing the three distortions that generate the most significant effects: radial, decentering, and prismatic distortions, induced by defects in lens curvature, parallelism, and coaxiality of the optical axes. In this example, camera 11 is assumed to be perfect, meaning that distortions are either not considered or their correction is addressed during image acquisition.

[0044] This camera 11 is arranged to acquire an image of a scene from a defined point of view, the 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.

[0045] A marker is associated with the first camera 11: - the direction of the x-axis is defined as the longitudinal axis of vehicle 10; - the direction of the y-axis is defined as the transverse axis of vehicle 10, therefore orthonormal to the x-axis; - the direction of the z-axis is defined as orthogonal to the directions of the x and y axes. The three axes x, y and z thus form an orthonormal coordinate system.

[0046] The camera 11 acquires images of a scene located in front of the vehicle 10, the camera 11 covers a first acquisition field 12.

[0047] An obstacle 13 is placed in the acquisition field 12 of the camera. The presence of the obstacle 13 defines an occlusion field for the monoscopic vision system, here composed of the field 14.

[0048] The direction Cl of the optical axis representing an orientation of the field of vision of the camera 11 is oriented so as to obtain the acquisition field 12 of the environment 1 as wide as possible.

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

[0050] An image acquired by the camera 11 at a given acquisition time is in the form of data representing pixels characterized by: - coordinates in the image; and - data relating to the colors and brightness of objects in the observed scene, for example in the form of RGB (Red Green Blue) or HSL (Hint, Saturation, Luminosity) colorimetric coordinates.

[0051] When the vehicle 10 is in motion, i.e., when the camera 11 is in motion, the images acquired by the camera 11 at different times represent views of the same scene taken from different viewpoints, the positions of the camera 11 being distinct. For example, this scene may contain: - 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.

[0052] 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.

[0053] Figure 2 schematically illustrates a device 4 configured for determining representative data of at least one dynamic object in a scene by a monoscopic vision system mounted in a vehicle 10, according to a particular and non-limiting embodiment of the present invention. The device 4 corresponds, for example, to a device mounted in the first vehicle 10, for example a computer.

[0054] Device 4 is, for example, configured to implement the steps described opposite Figures 1 and 3. Examples of such a device 4 include, but are not limited to, embedded electronic equipment such as a vehicle's on-board computer, an electronic control unit such as an ECU (Electronic Control Unit), a smartphone, a tablet, or a laptop computer. The elements of device 4, individually or in combination, may be integrated into a single integrated circuit, into several integrated circuits, and / or into discrete components. Device 4 may be implemented in the form of electronic circuits or software (or computer) modules, or a combination of electronic circuits and software modules.

[0055] The device 4 comprises one (or more) processor(s) 40 configured to execute instructions for carrying out the steps of the process and / or for executing instructions from the software 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, for example, volatile and / or non-volatile memory, and / or includes a memory storage device that may include volatile and / or non-volatile memory, such as EEPROM, ROM, PROM, RAM, DRAM, SRAM, flash, magnetic disk, or optical disk.

[0056] The computer code of the embedded software(s), including the instructions to be loaded and executed by the processor, is for example stored on memory 4L

[0057] According to various specific 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 (Telematic Control Unit). Telematics control”), for example via a communication bus or through dedicated input / output ports.

[0058] According to a particular and non-limiting embodiment, the device 4 includes a block 42 of interface elements for communicating with external devices. The interface elements of the block 42 include one or more of the following interfaces: - radio frequency RF interface, for example of the Wi-Fi® type (according to IEEE 802.11), for example in the 2.4 or 5 GHz frequency bands, or of the Bluetooth® type (according to IEEE 802.15.1), in the 2.4 GHz frequency band, or of the Sigfox type using UBN (Ultra Narrow Band) radio technology, or LoRa in the 868 MHz frequency band, LTE (Long-Term Evolution), LTE-Advanced; - USB interface (from the English "Universal Serial Bus" or "Universal Serial Bus" in French); HDMI interface (from the English "High Definition Multimedia Interface", or "High Definition Multimedia Interface" in French); - LIN interface (from the English "Local Interconnect Network", or in French "Réseau interconnecté local").

[0059] According to another particular and non-limiting embodiment, the device 4 includes a communication interface 43 which allows communication to be established with other devices (such as other computers in the embedded 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 ISO 17458) or Ethernet (standardized by ISO / IEC 802-3).

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

[0061] Figure 3 illustrates a flowchart of the different steps of a method 2 for determining representative data of at least one dynamic object in a scene by a monoscopic vision system embedded in the vehicle of [Fig.1], according to a particular and non-limiting embodiment of the present invention.

[0062] The method is implemented for example by one or more processors of one or more computers embedded in the vehicle 10, for example by a computer controlling the monoscopic vision system.

[0063] In a first step 21, the computer receives first data representative of a first image acquired by a camera 11 at a first time instant of acquisition tl.

[0064] In a second step 22, the computer receives second data representative of a second image acquired by the camera 11 at a second time instant of acquisition t2.

[0065] This time instant of acquisition t2 is prior to the first time instant of acquisition tl.

[0066] The second data has, for example, been saved in a memory associated with the computer or in a memory of a device embedded in the vehicle 10 and accessible to the computer implementing the process.

[0067] The two images received correspond to two views of the same scene taking place around the vehicle 10 at two distinct time moments of acquisition t1, t2.

[0068] Since the vehicle is in motion between these two time instants t1, t2, the position of the camera has changed. The two images therefore also correspond to two views of the same scene from two distinct points of view.

[0069] If the vehicle 10 is in motion, then the third image corresponds to a second view of the scene taken from a second point of view, that of the camera 11 at its position at the second time instant of acquisition t2.

[0070] The position of the camera 11 at the second acquisition time t2 is defined by the displacement of the vehicle 10 between times t2 and t1. This displacement is therefore linked to the speed of the vehicle 10 during the time interval between the first and second acquisition times t1 and t2.

[0071] The camera 11 in the two positions defined at the first and second acquisition times t1 and t2 forms a monoscopic vision system. The intrinsic parameters of this system are those defined previously relating to the camera 11. The extrinsic parameters of this monoscopic vision system 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'.

[0072] The extrinsic parameters of the monoscopic vision system are, for example, determined by a computer associated with this same monoscopic vision system based on the first and second images.

[0073] The determination of the extrinsic parameters of the monoscopic vision system is known to those skilled in the art and presented, for example, in the document Unsu-pervised Leaming of Depth and Ego-Motion from Video by Tinghui Zhou, Matthew Brown, Noah Snavely and David G. Lowe published on August 1, 2017.

[0074] It is possible that a pixel in the first image may not have a corresponding pixel in the second image. This phenomenon is explained by the fact that areas of the first image may be occluded in the second image. Indeed, the difference in viewpoint of camera 11 at the acquisition times t1 and t2 does not allow camera 11 to see all the elements of the scene. An object present in the scene may obscure a second object in the scene, the second object being visible from the viewpoint of camera 11 at the acquisition time t1 but being obscured by an obstacle from the viewpoint of camera 11 at the acquisition time t2.

[0075] A step 23 of determining the occluded areas of the first image consists of determining a visibility mask associated with the first image and representative of a third set of pixels of the first image having at least one corresponding pixel in the second image, the visibility mask being determined by an optical flow calculation method, the optical flow representing a displacement vector between each first pixel of the third set of pixels of the first image and a second pixel in the second image corresponding to each first pixel.

[0076] Such a method is described in particular 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 of June 2019.

[0077] The definition of a visibility mask is known to those skilled in the art. It is, for example, described in "Occlusion Aware Unsupervised Learning of Optical Flow", by Yang Wang, Yi Yang, Zhenheng Yang, Liang Zhao, Peng Wang and Wei Xu, published on April 4, 2018.

[0078] The determination of the visibility mask makes it possible to disregard possible aberrant values ​​of optical flux for pixels of the first image which have no corresponding image in the second image.

[0079] In a step 24, initial depths associated with a first set of pixels from the first image are predicted by the monocular vision system from a depth prediction model learned during a training phase applied to said first image. Such a step 24 is described in the document: HR-Depth: High Resolution Self-Supervised Monocular Depth Estimation by Xiaoyang Lyu, Liang Liu, Mengmeng Wang, Xin Kong, Lina Liu, Yong Liu, Xinxin Chen, and Yi Yuan published on December 14, 2020.

[0080] In a step 25, second depths associated with a second set of pixels of the second image are predicted from the depth prediction model applied to the second image.

[0081] Following an example embodiment, the depth prediction model is defined by a convolutional neural network. This convolutional neural network is self-supervised, that is to say, it is able to adjust its input parameters according to the relevance of the predicted depths.

[0082] The assessment of the relevance of the calculated depths allowing the self-supervised learning of the convolutional neural network associated with the monoscopic vision system is carried out in the following way.

[0083] This self-supervised learning further includes the steps of: - reconstruction of a third image from the first image and the first depths; - obtaining a reconstruction error by comparing the second and third images, the convolutional neural network is learned in a self-supervised manner based on the reconstruction error.

[0084] Such a convolutional neural network is known to those skilled in the art, for example: "monodepth2" presented in the document Digging Into Self-Supervised Monocular Depth Estimation by Clément Godard, Oisin Mac Aodha, Michael Firman and Gabriel Brostow published on August 17, 2019 or "HR-depth" presented in the document: HR-Depth: High Resolution Self-Supervised Monocular Depth Estimation by Xiaoyang Lyu, Liang Liu, Mengmeng Wang, Xin Kong, Lina Liu, Yong Liu, Xinxin Chen, and Yi Yuan published on December 14, 2020.

[0085] To find the correct values ​​for the parameters (called "weights" in English) of a chosen convolutional neural network, the third image, called the "source" image, is reconstructed from the first image, called the "target" image, pixel by pixel, using the following pixel reprojection formula:

[0086] [Math.l] p„„=«( MW)

[0087] With: - n is a function to go from homogeneous coordinates to pixel coordinates by removing one dimension of the vector; - £ is the intrinsic matrix of the camera associated with the projection of a point in space (3 dimensions) into the image (2 dimensions); - T is a displacement matrix between the positions of the first camera at first time instant of acquisition t1 and second time instant of acquisition t2; - 0 is a backprojection function of a pixel as a function of its depth; - Dfn^P ) is 'a First depth of the pixel Pt of the first image calculated for the monoscopic vision system.

[0088] The convolutional neural network is trained to minimize the various reconstruction errors calculated by loss functions, such as the following functions. The accuracy of the depths predicted by the convolutional neural network is thus evaluated and its parameters optimized.

[0089] The first loss function is based on the photometric error. Once the source image has been reconstructed from the first image and the calculated disparities, it is compared to the true source image and defined as follows:

[0090] [Math.2] Lm(O) = Vm(pf O) ■ îm(pf (?) ) )

[0091] With: - Lm is the photometric loss function of the monoscopic vision system; - the index m indicates "monoscopic"; - V„, ( p, f?) is the visibility by the monoscopic vision system of the reconstructed pixel; ■ / (p ) is the value of the pixel Pt in the target image; - îm( / 7 (?) is the value of the reconstructed pixel for the monoscopic vision system defined from the pixel Pt and O; - O is the depth Dtm of a pixel Pt calculated for the monoscopic vision system.

[0092] The function s is the photometric error defined as follows:

[0093] [Math.3] s(l( / 7),î( / ?)) = (1-a) 1 |I(p) -î( / 7)| +GU ( 1-4SSIM(i( / ?), î( / ?) ) )

[0094] With: - Kp) is the value of pixel P in the target image; ' / ( / 7) is 'a value of pixel P in the reconstructed image; - SSIM (from the English "structural similarity index measure") is a function that takes into account a local structure; and - a is a weighting factor that depends in particular on the type of environment.

[0095] The second loss function is generally used to deal with the discontinuity at The edge of objects (in English, "edge-aware smoothness") is defined as follows:

[0096] [Math.4] Ko(p,)

[0097] With: - O is the optical flux F^ of a pixel Pt calculated for the monoscopic vision system; - W is a parameter matrix; - ° is the order of a smoothing gradient; - an L1 norm of the second order depth gradients is calculated with W = 1, and ° = 2; - x and 3' are the dimensions of the first image; - P is an environment-dependent hyperparameter; and ■ p ) is the value of the pixel Pt in the target image.

[0098] Thus, using these loss functions, parameters of the convolutional neural network are defined. The computational output result is a prediction of a first depth Dtm by the monoscopic vision system associated with the first set of pixels of the first image.

[0099] In a step 26, a dynamic object mask associated with the first image and representative of a fourth set of pixels of the first image associated with at least one moving object in the scene is determined.

[0100] A method for determining such a mask of dynamic objects is known to the person skilled in the art and is presented in the paper "Every Pixel Counts ++: Joint Learning of Geometry and Motion with 3D Holistic Understanding" by Chenxu Luo, Zhenheng Yang, Peng Wang, Yang Wang, Wei Xu, Ram Nevatia and Alan Yuille of July 11, 2019.

[0101] An object of the invention is, for example, to define a dynamic object mask. This is determined by comparing the pixel positions of the fourth set of pixels and the second set of pixels after reprojection into a three-dimensional space associated with the scene, the reprojection being a function of the first and second depths. This reprojection makes it possible to define, firstly, for the pixels of the first image, a static object mask representing the stationary objects in the scene, and then, secondly, to use this static object mask to determine a dynamic object mask associated with these same pixels of the first image:

[0102] [Math.5] Mb(PT} = ) ]

[0103] [Math.6] Md(pt) = l-eallAMdll2

[0104] [Math.7] ( Pptm (pt))= Dun ( PJ ) KAh(p()

[0105] With: ■ Mb{ p ) corresponds to a static object mask applied to a target pixel Pt of the first image; 'Vm(p ) is representative of the visibility of the target pixel Pt of the first image by the monoscopic vision system; - T^f corresponds to a camera displacement matrix (11) between the second time instant of acquisition and the first time instant of acquisition; - ÿ corresponds to a backprojection of a pixel P with its corresponding depth D(p); ■ ) cst 'a second depth of a source pixel Ps of the second image calculated for the monoscopic vision system; ■ D,m ( p is the first depth of the target pixel Pt of the first image calculated for the monoscopic vision system; ■ Md[p ) corresponds to the dynamic object mask applied to the target pixel Pt of the first image; - K corresponds to an intrinsic matrix of the camera (11); - || || is a squared error; ■ h(p) transforms a coordinate vector of the target pixel Pt into a homogeneous coordinate by adding a dimension to the coordinate vector of the target pixel Pt to allow matrix multiplication; and - a corresponds to a predefined hyperparameter based on a type of road environment in the scene.

[0106] The assumption of Mh is that static points in 3D space do not change their positions during the time interval between two consecutive images. The mask Md is constructed using an exponential function with a hyperparameter G to find a good criterion for Mh. The static nature of the objects is thus considered relatively, with the weighting implemented via the exponential function.

[0107] Thus, the new definition of the dynamic object mask eliminates the need for the optical flow calculation method. The monoscopic vision system therefore requires less memory and fewer calculations to determine this dynamic object mask.

[0108] The dynamic object mask then allows its defined value for each pixel of the first image to be taken into account. In this way, even if the monoscopic vision system is able to define an initial depth for a pixel associated with a moving object in the scene thanks to its training, the application of the dynamic object mask makes it possible to determine that this depth value is not guaranteed for the corresponding pixel.

[0109] If the ADAS or another vision system such as a stereoscopic vision system supervised by the monoscopic vision system uses the first depths as input data to determine the distance between a part of the vehicle 10, for example the front bumper, and another road user, the ADAS or another vision system then has data that can be used to determine the relevance of this predicted depth, the dynamic object mask.

[0110] Of course, the present invention is not limited to the embodiments described above but extends to a method for determining representative data of at least one dynamic object in a scene by a vision system mounted in a vehicle, which would include secondary steps without falling outside the scope of the present invention. The same would apply to a device configured for implementing such a method.

[0111] The present invention also relates to a vehicle, for example an automobile or more generally an autonomous land-powered vehicle, comprising device 4 of [Fig.2].

Claims

Claims

1. Method for determining data representative of at least one dynamic object in a scene by a monoscopic vision system on board a vehicle (10), the monoscopic vision system comprising a camera (11) arranged so as to acquire an image of a scene around said vehicle (10), said method being characterized in that it comprises the following steps: - reception (21, 22) of first and second data respectively representative of a first and second image acquired by said camera (11) at respectively a first and second distinct acquisition time instants; - determination (23) of a visibility mask associated with said first image and representative of a third set of pixels of said first image having at least one corresponding pixel in said second image, said visibility mask being determined by an optical flow calculation method applied to said first and second images; - prediction (24) of first depths associated with a first set of pixels of said first image from a depth prediction model applied to said first image, said depth prediction model having been learned during a learning phase; - prediction (25) of second depths associated with a second set of pixels of said second image from said depth prediction model applied to said second image; - determination (26) of a dynamic object mask associated with said first image and representative of a fourth set of pixels of said first image associated with at least one moving object in said scene, said dynamic object mask being determined by comparison of pixel positions of the fourth set of pixels and of the second set of pixels after reprojection of said first set of pixels and of said second set of pixels in a three-dimensional space associated with said scene, said reprojection being a function of said first and second depths.

2. The method of claim 1, wherein the object mask dy namics is defined by the following formulas: Mb(pt) = ) ] Md(pt) = 1 -'UUXPptm(p^ ) = Dtm(pr}K-Hi(pt') With: ■ Mb(p ) corresponds to a static object mask applied to a target pixel Pt of the first image; ' Vm{p) is representative of a visibility of the target pixel Pt of the first image by the monoscopic vision system; - T^t corresponds to a displacement matrix of the camera (11) between the second acquisition time instant and the first acquisition time instant; - 0 corresponds to a backprojection of a pixel P with its corresponding depth D(p ) ; ■ Dsm[p} is the second depth of a source pixel Ps of the second image calculated for the monoscopic vision system; ■ Dtm[p^ is the first depth of the target pixel Pt of the first image calculated for the monoscopic vision system; ■ p) corresponds to said dynamic object mask applied to the target pixel Pi of the first image; - K corresponds to an intrinsic matrix of the camera (11); - || || is a squared error; ■ h(Pf) transforms a target pixel coordinate vector Pt into a homogeneous coordinate by adding a dimension to said target pixel coordinate vector Pt; and - a corresponds to a predefined hyperparameter based on a type of road environment of said scene.

3. Method according to claim 1, for which a displacement matrix of the camera between said second acquisition time instant and said first acquisition time instant is determined by said monoscopic vision system as a function of said first and second images.

4. Method according to one of claims 1 to 3, for which said prediction model is defined by a convolutional neural network carrying out the steps of: - reconstruction of a third image from said first image and said first depths; - obtaining a reconstruction error by comparing said second and third images, said convolutional neural network being learned in a self-supervised manner as a function of said reconstruction error.

5. Computer program comprising instructions for implementing the method according to any one of the preceding claims, when these instructions are executed by a processor.

6. A computer-readable recording medium on which is recorded a computer program comprising instructions for carrying out the steps of the method according to one of claims 1 to 4.

7. Device (4) for determining data representative of at least one dynamic object in a scene by a monoscopic 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 4.

8. System for determining data representative of at least one dynamic object in a scene by a monoscopic vision system of a vehicle comprising a camera (11) and the device according to claim 7.

9. Vehicle (10) comprising the device (4) according to claim 7 or the system according to claim 8.

Citation Information

Patent Citations

  • Joint learning of geometry and motion with three-dimensional holistic understanding

    US20200211206A1