Method and device for learning a depth prediction model from feature maps of different resolutions
A convolutional neural network-based method for depth prediction using stereoscopic vision systems with resized images from two cameras addresses the challenges of occluded or textureless areas, enhancing precision and reliability in ADAS systems.
Patent Information
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- STELLANTIS AUTO SAS
- Filing Date
- 2024-06-07
- Publication Date
- 2026-04-24
AI Technical Summary
Learning a depth prediction model from images acquired by vehicle-mounted cameras is tedious and requires significant time and high-quality data, especially when dealing with occluded or textureless areas, affecting the reliability of Advanced Driver-Assistance Systems (ADAS).
A method and device for determining depth using a convolutional neural network with a stereoscopic vision system comprising two cameras, where images are resized and processed within a common field of view to predict pixel depths, utilizing transformation functions and feature maps to minimize errors and improve accuracy in areas without texture.
The method enhances the precision of depth prediction in occluded or textureless areas, reducing processing time and improving the reliability of ADAS systems by optimizing the learning phase.
Smart Images

Figure 00000035_0000 
Figure 00000036_0000 
Figure 00000036_0001
Abstract
Description
Title of the invention: Method and device for learning a depth prediction model from feature maps of different resolutions. Technical field
[0001] The present invention relates to methods and devices for determining depth using a vision system mounted in a vehicle, for example, in a motor vehicle. The present invention also relates to a method and device for measuring the distance between an object and a vehicle equipped with a vision system. 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] Vehicle-mounted ADAS systems are powered by data obtained from one or more on-board sensors, such as cameras. These cameras make it possible, in particular, to detect and locate other road users or any obstacles present 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] Learning a depth prediction model associated with these cameras is tedious and requires both a large amount of high-quality training data and time. In order to learn the depth prediction model from data acquired by the vision system itself, the training phase should be optimized to reduce its duration while improving its reliability.
[0006] Moreover, such a depth prediction model learned from images acquired by the cameras of the vision system generates certain difficulties, for example when these images used to train the depth prediction model include occluded areas or areas without texture. 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 the processing of an image acquired by a vision system, in particular by a depth prediction model implemented by a neural network associated with a stereoscopic vision system, which is learned so as to be accurate including for the prediction of depth associated with a pixel of an occluded area or an area without texture.
[0009] Another object of the present invention is to improve road safety, in particular by improving the reliability of AD AS systems powered by data obtained from a vision system.
[0010] According to a first aspect, the present invention relates to a method for determining the depth of a pixel of an image by a depth prediction model implemented by a convolutional neural network associated with a vision system embedded in a vehicle, the vision system comprising a first and a second camera so as to each acquire an image of a three-dimensional scene from a different point of view, said method being implemented by at least one processor, and being characterized in that the depth prediction model is learned in a learning phase comprising the following steps: - reception of representative data of a first image and a second image acquired by respectively the first camera and the second camera at the same time instant of acquisition; - determining an image set of pixels in the second image by applying a transformation function to a source pixel of the first image for a set of depths associated with the source pixel, the depths of the depth set being between a minimum depth and a maximum depth, - determining the width and height of a pixel search window as a function of the coordinates in the second image of the pixels in the pixel image set and the coordinates in the first image of the source pixel; - generation of a first image resized by cropping the first image and a second image resized by cropping the second image, the cropping being a function of coordinates of at least one image pixel determined by the transformation function applied to a pixel of the first image or by an inverse transformation function applied to a pixel of the second image, the first resized image and the second resized image being of the same definition; - for each pair of images in the set of pairs of images: • prediction of depths associated with each pixel of the primary image, referred to as the first pixel, by the depth prediction model from a first feature map determined from the first resized image and a second feature map determined from the second resized image and associated with a target set of pixels of the secondary image, said target set of pixels being included in said pixel search window (F) positioned according to the coordinates of said each first pixel, and prediction of depths associated with each pixel of the secondary image, referred to as the second pixel, by the depth prediction model from the second feature map and the first feature map associated with a target set of pixels of the primary image,said target set of pixels being contained within said pixel search window positioned according to the coordinates of said every second pixel, the first and second feature maps having the same definition as the primary and secondary images and being intermediate results obtained from a feature extractor; • generation of a third image from the main image by applying the transformation function to the pixels of the main image, called first pixels, according to the depths associated with said first pixels, and generation of a fourth image from the secondary image by applying the inverse transformation function to the pixels of the secondary image, called second pixels, according to the depths associated with said second pixels; • determination of an intermediate error from a first error associated with each first pixel by comparing pixels of the main image and the fourth image and a second error associated with each second pixel by comparing pixels of the secondary image and the third image; - learning the depth prediction model by minimizing a loss error determined from intermediate errors.
[0011] Such a learning process gains efficiency by processing only pixels located in a field of view common to both cameras and by searching for corresponding pixels in target sets of pixels of limited size. Furthermore, the use of feature maps associated with images of resolution different methods allow for improved accuracy of the depth prediction model in areas without texture.
[0012] The depth prediction model thus learned makes it possible to predict with precision the depth of a pixel of an image acquired by one of the cameras of the stereoscopic vision system, that is to say the distance separating the vehicle carrying the camera from a physical object of the three-dimensional scene associated with that pixel.
[0013] According to a variant of the method, the first and second feature maps are generated by a feature extractor successively generating feature maps according to a set of definitions from a first definition to a last definition, the definitions of the main and secondary images belonging to this set of definitions.
[0014] Using the intermediate results of the feature extractor also makes it possible to obtain a gradient of features, thus reducing the processing time of this data and therefore the time of the learning process.
[0015] According to a variant of the method, the transformation function determines, for a pixel of a main image, called the input pixel: • spatial coordinates of an intermediate point using a reprojection model based on the coordinates of the input pixel in the main image and a depth associated with the input pixel, and • the coordinates of an output pixel in the secondary image by a projection model as a function of the spatial coordinates of the intermediate point; the projection and reprojection models are implemented by a neural network learned during a calibration phase of the vision system.
[0016] According to another variant of the process, the transformation function and the inverse transformation function are defined by mathematical equations.
[0017] According to yet another variant of the process, the transformation function is defined by: With : • Ps the coordinates of a pixel in a secondary image, • 77 a function to convert from homogeneous coordinates to pixel coordinates by removing one dimension from a vector, • IC' the first reprojection model associated with the camera, • K' the first projection model associated with the second camera, matrix including extrinsic parameters, and • 0 a projection function in the three-dimensional scene of a pixel Pt in function of its coordinates in a main image, and of the depth j Who is associated with it, and for which the inverse transformation function is defined by: With : • Ps the coordinates of a pixel in a main image, •71 a function to convert from homogeneous coordinates to pixel coordinates in removing one dimension from a vector, • K, the second projection model associated with the camera, • the second reprojection model associated with the second camera, • Let T be a matrix comprising extrinsic parameters, and • 0 a projection function in the three-dimensional scene of a pixel Pt in function of its coordinates in a secondary image, and of the depth j Who is associated with it.
[0018] According to a further variant of the method, the determined depth corresponds to an average depth of a depth prediction range.
[0019] According to yet another variant of the method, the intermediate error is determined by the following function: L„ = Epmin(L^p), L2(p) ) With : • Pu the intermediate error associated with a pair of images n, • L^ p) the first reconstruction error for a pixelp of the main image, and • L2(p) the second reconstruction error for a pixelp of the secondary image corresponding to pixel p of the main image.
[0020] According to yet another variant of the method, the loss error is determined by the following function: Ea A- N With : • The loss error, • n an index associated with a pair of images from the set of pairs of images, • Pn the intermediate error associated with a pair of images n, and • At is the number of pairs of images in the set of pairs of images.
[0021] According to a second aspect, the present invention relates to a device for learning a depth prediction model associated with a vision system embedded in a vehicle, the device comprising a memory associated with the less a processor configured for the implementation of the steps of the process according to the first aspect of the present invention.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] 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.
[0026] 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.
[0027] On the other hand, this recording medium can 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 radio frequency, by self-directing laser beam, or by other means. The computer program according to the present invention can, in particular, be downloaded from an Internet-type network.
[0028] 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
[0029] 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 6, in which:
[0030] [Fig-1] schematically illustrates a vision system equipping a vehicle, according to a a particular and non-limiting example of a realization of the present invention;
[0031] [Fig.2] illustrates a flowchart of the different steps of a process for determining the depth of a pixel of an image by a depth prediction model associated with a vision system embedded in the vehicle of [Fig.1], according to a particular and non-limiting embodiment of the present invention;
[0032] [Fig.3] illustrates a flowchart of the different stages of a method for learning the depth prediction model used in the method of [Fig.2], according to a particular and non-limiting example of the present invention;
[0033] [Fig.4] schematically illustrates images received and / or generated during the learning process of [Fig.3], according to a particular and non-limiting example of the present invention;
[0034] [Fig. 5] schematically illustrates a device configured to determine the depth of a pixel of an image acquired by a vision system embedded in the vehicle of [Fig. 1], according to a particular and non-limiting embodiment of the present invention; and
[0035] [Fig. 6] schematically illustrates a pixel search window in an image acquired by the vision system embedded in the vehicle of [Fig. 1], according to a particular and non-limiting embodiment of the present invention. Description of embodiment examples
[0036] A method and device for determining the depth of a pixel of an image by a neural network associated with a vision system embedded in a vehicle will now be described in what follows with joint reference to Figures 1 to 6. The same elements are identified with the same reference signs throughout the description that follows.
[0037] The terms "first," "second" (or "firsts," "seconds"), etc., are used in this document by arbitrary convention to allow for the identification and distinction of different elements (such as operations, means, etc.) implemented in the embodiments described below. Such elements may be distinct or correspond to a single element, depending on the embodiment.
[0038] According to a particular and non-limiting example of an embodiment of the present invention, a method for determining the depth of a pixel of an image by a depth prediction model implemented by a convolutional neural network associated with a vision system comprising several cameras.
[0039] Indeed, the depth prediction model is learned in a learning phase comprising resizing images acquired by the vision system in order to process only image portions corresponding to parts of the three-dimensional scene observed by two cameras of the vision system, and searching for corresponding pixels between the images by limiting the search area to sets of target pixels of limited size. Pairs of images of different Definitions are generated from the received images, the two images of a pair of images having the same definition and a feature map being determined for each image of said pairs of images.
[0040] Depths associated with the pixels of the images are then predicted from the feature maps associated with the images and other images are generated from the images of the pairs of images and from the predicted depths, thus allowing to determine for each level of definition a first and a second error by comparison of pixels of the images of the pair of images and the generated images.
[0041] The depth prediction model is learned by minimizing a loss error determined from the first and second errors determined for the different feature map definitions.
[0042] Fig. 1 schematically illustrates a vision system equipping a vehicle, according to a particular and non-limiting embodiment of the present invention.
[0043] Such an environment 1 corresponds, for example, to a road environment consisting of a network of roads accessible to the vehicle 10.
[0044] 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.
[0045] The vehicle 10 advantageously comprises at least two on-board cameras, a first camera 11 and a second camera 12, configured to acquire images of a three-dimensional scene unfolding in the environment of the vehicle 10 from distinct observation positions. The first camera 11 and the second camera 12 form a stereoscopic vision system when used together, as illustrated in [Fig. 1]. The first camera 11 forms a monoscopic vision system when used alone, and similarly, the second camera 12 forms another monoscopic vision system when used alone. The present invention, however, extends to any vision system comprising at least two cameras, for example, 2, 3, or 5 cameras.
[0046] The intrinsic parameters of the first camera 11 characterize the transformation that associates, for an image point, hereafter called a "point," its three-dimensional coordinates in the frame of reference of the first camera 11 with the pixel coordinates in an image acquired by the first camera 11. These parameters do not change if the first camera 11 is moved. The intrinsic parameters of the first camera 11 include in particular a first focal length fl associated with the first camera 11.
[0047] The intrinsic parameters of the second camera 12 characterize, for their part, the transformation which associates, for an image point, its three-dimensional coordinates in the reference frame of the second camera 12 with the pixel coordinates in an image acquired by the second camera 12. These parameters do not change if the second camera 12 is moved. The intrinsic parameters of the second camera 12 include in particular a second focal length f2 associated with the second camera 12.
[0048] 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 thus induce a positioning error for the projected point relative to an ideal model. It is then possible to complete the camera model by introducing the three distortions that generate the most significant effects, namely radial, decentering, and prismatic distortions, induced by defects in the curvature and parallelism of the lenses and the coaxiality of the optical axes.
[0049] According to a particular embodiment, the first camera 11 and / or the second camera 12 is of the "wide-angle" type, a wide-angle camera being, for example, equipped with a lens designed to acquire a representative image of a three-dimensional scene seen over a wider field of view than a standard camera, also sometimes called a panoramic lens. In other words, a wide-angle lens makes it possible to capture a larger portion of the three-dimensional scene unfolding in front of or around the camera, which is particularly useful in situations where it is necessary to include more elements in the frame of the image acquired by that camera. The angle α of the field of view of the first camera 11 is, for example, equal to 120°, 145°, 180°, or 360°, whereas a standard camera offers, for example, a field of view open at an angle of 45° or less.Such a first camera 11 corresponds, for example, to a camera equipped with mirrors or a "fisheye" camera. Wide-angle lenses have a shorter focal length compared to standard lenses, making them suitable for capturing images of landscapes, architecture, road intersections, or any other subject requiring a wide perspective. Wide-angle cameras are, for example, used to capture immersive and dynamic images with an extended depth of field.
[0050] 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 being for example located on or in the left rearview mirror of the vehicle 10 or at the top of the windshield For vehicle 10, the second viewpoint is located, for example, on or in the right-hand side mirror of vehicle 10, or at the top of the windshield of vehicle 10. If both cameras are located at the top of the windshield, they are positioned at a certain distance. In this example, the first camera 11 is located at the top of the windshield of vehicle 10, and the second camera 12 is located in the right-hand side mirror of vehicle 10.
[0051] A first marker is associated with the first camera 11: - the direction of the x-axis is defined as horizontal and normal to the optical axis of the first camera 11. The distance B separating the optical center of the first camera 11 from the projection of the optical center of the second camera 12 onto the horizontal plane passing through the optical center of the first camera 11 is called the reference basis (in English "baseline"); - the direction of the y-axis is defined as vertical and normal to the optical axis of the first camera 11; - 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.
[0052] The extrinsic parameters related to the position of cameras 11, 12 are the following parameters: - three translations in the x, y, and z directions: Tx, Ty, and Tz, constituting the translation vector T; and - three rotations in the x, y and z directions: 0x, 0y and 0z.
[0053] An extrinsic matrix of the vision system then includes the extrinsic parameters previously defined.
[0054] Note that the first and second cameras 11,12 are arranged so that the optical axis Cl of the first camera 11 is in a first plane parallel to a second plane comprising the optical axis C2, these two planes being separated by a distance H along the vertical direction z. Thus, the angle 0 of rotation is defined between the two optical axes and includes only the 0z component.
[0055] The extrinsic parameters are determined, for example, during a calibration phase of the stereoscopic vision system comprising the first camera 11 and the second camera 12.
[0056] A key constraint of stereoscopic vision systems used in automobiles is, for example, the large distance between the two cameras. Indeed, to cover a measurement range of 200 meters, the reference base must be 60 cm for cameras commonly used in this field.
[0057] The two cameras 11, 12 acquire images of a scene located in front of the vehicle 10, the first camera 11 alone covering a first acquisition field 13, the second camera 12 alone covering 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 view of the scene by the first camera 11, the second and third acquisition fields 14, 15 allow a monoscopic view of the scene by the second camera 12 and the third acquisition field 15 allows a stereoscopic view of the scene by the stereoscopic vision system composed of the two cameras 11, 12.
[0058] 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.
[0059] 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 comprising the second camera 12.
[0060] 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 comprising the first camera 11.
[0061] Finally, field 19 is not visible to any of the cameras. The part of the scene present in this field 19 is therefore not observable.
[0062] According to one particular embodiment, the field of view of the second camera 12 covers at least half of the field of view of the first camera 11.
[0063] It is evident 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 cameras placed and oriented differently.
[0064] The images acquired by the cameras 11, 12 at a given acquisition time are in the form of data representing pixels characterized by: - coordinates in each image; and - data relating to the colours and brightness of objects in the observed scene in the form of, for example, RGB colourimetric coordinates (from the English "Red Green Blue", in French "Rouge Vert Bleu") or HSL (Tone, Saturation, Luminosity).
[0065] According to a particular embodiment, an image acquired by the first camera 11 and / or by the second camera 12 includes a distortion equal to 0.5%, 0.8% or greater than 1%. The measurement of such distortion corresponds to the determination of a ratio between: - the maximum spacing of a pixel in the image of a straight line in the first three-dimensional scene whose image is a line touching the longest edge of the first image, either at the center of the image edge or at the corners of the image edge, and - the length of this edge.
[0066] In the world of photography, distortion is commonly considered to be: • negligible if it is less than 0.3%, • not very sensitive if it is between 0.3% or 0.4%, • sensitive if it is between 0.5% and 0.6%, • very sensitive if it is between 0.7% and 0.9%, and • bothersome if it is greater than or equal to 1% or more.
[0067] Barrel distortion is characterized by a positive percentage, while crescent distortion is characterized by a negative percentage.
[0068] Each pixel of the acquired image represents an object in the three-dimensional scene present in the camera's field of view. Indeed, a pixel of the acquired image is the smallest visible unit and corresponds to a point of light resulting from the emission or reflection of light by a physical object present in the three-dimensional scene. When light strikes this object, photons are emitted or reflected, which are captured by a photosensitive sensor in the camera after passing through its lens. This sensor divides the three-dimensional scene into a grid of pixels. Each pixel records the light intensity at a specific location, thus capturing visual details. The combination of millions of pixels creates an image that faithfully represents the physical object observed by the camera. An image point described above is therefore a point on the surface of an object in the three-dimensional scene.
[0069] The images acquired by cameras 11, 12 represent views of the same scene taken from different viewpoints, the camera positions being distinct. This scene includes, 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.
[0070] According to a particular embodiment, a field of view of the first camera 11 covers at least half of a field of view of the second camera 12, and a field of view of the second camera 12 covers at least half of a field of view of the first camera 11. In other words, more than half of the pixels of an image acquired by the first camera 11 correspond to an object of the three-dimensional scene seen by the second camera 12, and pixels of an image acquired by the second camera 12 also correspond to this object of the three-dimensional scene. Similarly, more than half of the pixels of an image acquired by the second camera 12 correspond to an object of the three-dimensional scene seen by the first camera 11, pixels of an image acquired by the first camera 11 also corresponding to this object of the three-dimensional scene.
[0071] The images acquired by the first camera 11 and by the second camera 12 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.
[0072] A method for determining depth by a vision system on board the vehicle 10 is advantageously implemented by the vehicle 10, i.e. by a processor, a computer or a combination of computers of the on-board system of the vehicle 10, for example by the computer or computers in charge of the vision system of the vehicle 10.
[0073] Figure 2 illustrates a flowchart of the different steps of a method 2 for determining the depth of a pixel in an image by means of a depth prediction model implemented by a convolutional neural network associated with a vision system embedded in a vehicle, for example in vehicle 10 of Figure 1, according to a particular and non-limiting embodiment of the present invention. Method 2 is, for example, implemented by a device of the vision system embedded in vehicle 10 or by device 5 of Figure 5.
[0074] In a step 21, representative data of an image acquired by the first camera 11 and of an image acquired by the second camera 12 are received.
[0075] In a step 22, depths associated with a set of pixels of one of the received images are predicted by the depth prediction model from the two received images.
[0076] Each determined depth then corresponds to a distance separating the vehicle 10 or a part of the vehicle 10 from an object in the three-dimensional scene to which a pixel is associated, the determination of a depth of a pixel then corresponding to a measurement of a distance separating an object from the vehicle carrying the vision system.
[0077] If the ADAS uses these depths or distances 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 is then able to determine this distance precisely. For example, if the ADAS's function is to activate the braking system of the vehicle 10 in the event of a risk of collision with another road user, and the distance between the vehicle 10 and that same road user decreases sharply, then the ADAS is able to detect this sudden closeness and activate the braking system of the vehicle 10 to avoid a possible accident.
[0078] Figure 3 illustrates a flowchart of the different stages of a method for learning the depth prediction model used in a method for determining the depth of a pixel of an image, for example in method 2 of Figure 2, according to a particular and non-limiting embodiment of the present invention.
[0079] The learning process 3 is for example implemented by the device on board the vehicle 10 implementing the process of determining a depth by vision system on board a vehicle or by the device 5 of the [Fig.5].
[0080] In a step 31, representative data of a first image 41 and a second image 42 are received, the first image 41 being acquired by the first camera 11 at an acquisition time instant and the second image 42 being acquired by the second camera 12 at the same acquisition time instant.
[0081] According to a particular embodiment, the first image and second image are of the same definition, that is to say they have the same number of pixels, have the same number of pixels according to their height and the same number of pixels according to their width.
[0082] According to another particular embodiment, the first and second images are not of the same resolution. An additional step then consists of resizing or cropping them to obtain a first and second image of the same resolution.
[0083] In a step 32, as illustrated in [Fig. 6], an image set of pixels I in the second image 42 is determined by applying a transformation function to a source pixel 41 of the first image 41 for a set of depths associated with the source pixel 410r, the depths of the depth set being between a minimum depth and a maximum depth. Thus, for each depth in the depth set, a pixel of the image set of pixels is determined.
[0084] The objective of this step 32 is to determine which candidate pixels in the second image 42 correspond to pixel 41 of the first image 41, based on the possible depths, i.e., the depths between a minimum and a maximum depth. The candidate pixels then form a set of candidate pixels I in the second image 42. The minimum and maximum depths are, for example, equal to the limits of the measurement range of the vision system; for example, the minimum depth is equal to two meters (2m), while the maximum depth is equal to one hundred meters (100m). It should be noted that the minimum depth is of great importance; indeed, a disparity or optical flux determined for a pixel is maximal when a depth The predicted depth for this pixel is minimal; a minimum depth of 0 would then result in target sets of pixels of infinite size and would be pointless because it would not reduce the search time for a pixel matching that pixel. The depths of the depth set are defined, for example, with regular intervals, such as intervals of one-tenth of a meter (0.1m).
[0085] According to a particular embodiment, the transformation function determines, for an input pixel: • spatial coordinates of an intermediate point in the three-dimensional scene by a first reprojection model based on the coordinates of the input pixel in the first image 41 and a depth associated with the input pixel, the input pixel here being the source pixel 410r and the depth a depth from the set of depths, and • coordinates of an output pixel in the second image 42 by a first projection model as a function of the spatial coordinates of the intermediate point.
[0086] Note that an inverse transformation function is also used in subsequent steps of the learning process 3, the inverse transformation function determining, for an input pixel: • spatial coordinates of an intermediate point in the three-dimensional scene by a second reprojection model based on the coordinates of the input pixel in the second image 42 and a depth associated with the input pixel, and • coordinates of an output pixel in the first image 41 by a second projection model as a function of the spatial coordinates of the intermediate point.
[0087] The transformation function and an inverse transformation function are, for example, defined by the following equations:
[0088] [Math.l] p^K^T^p^DÇp^]) and p^
[0089] With: • P] the coordinates of a pixel in the first image 41, • P2 the coordinates of a pixel in the second image 42, • A function to convert from homogeneous coordinates to pixel coordinates by removing one dimension from a vector, • K, the second projection model associated with camera 11, • the first reprojection model associated with camera 11, • K' the first projection model associated with the second camera 12, • the second reprojection model associated with the second camera 12, • T and F1 of matrices including extrinsic parameters, • 0 a projection function in the three-dimensional scene of a pixel Pi as a function of its coordinates in the first image 41, and of the depth ) which associated with it is, here, the determined depth, and • 0' a projection function in the three-dimensional scene of a pixel ^2 in function of its coordinates in the second image 42, and of the depth j Who associated with it is, here, the determined depth.
[0090] A calibration method is known to those skilled in the art and is, for example, presented in the document "Single View Point Omnidirectional Camera Calibration from Planar Grids," written by Christopher Mei and Patrick Rives and published in April 2007. Thus, the intrinsic parameters of the first and second cameras 11, 12 are determined and can be used to determine the coordinates of a pixel in an image acquired by the first camera 11 and / or the second camera 12 from the relative position of a point in the three-dimensional scene with respect to the observation position of the first camera 11 and / or the second camera 12, the pixel being associated with this point. The calibration method thus makes it possible to define: • K the second projection model associated with camera 11, • K'1 the first reprojection model associated with camera 11, • K! the first projection model associated with the second camera 12, and • Krl the second reprojection model associated with the second camera 12.
[0091] According to another particular embodiment, the first and second projection models and the first and second reprojection models are defined by a neural network such as that described in the paper "Neural Ray Surfaces for Self-Supervised Learning of Depth and Ego-motion" written by Igor Vasiljevic, Vitor Guizilini, Rares Ambrus, Sudeep Pillai, Wolfram Burgard, Greg Shakhnarovich and Adrien Gaidon published in August 2020. This type of particular embodiment is then well suited to images acquired by the cameras of the vision system and exhibiting strong distortions.
[0092] According to a particular embodiment, the first and second projection models and the first and second reprojection models are defined by mathematical functions. Thus, an analytical correspondence between a pixel of the first image 41 and a pixel of the second image 42 is determined by the following function: [Math.2] .......35.....L___L„+rr
[0093] With: • xr an abscissa of the pixel of the second image 42, • the ordinate of the pixel in the second image 42, • xi an abscissa of the pixel of the first image 41, • yt an ordinate of the pixel of the first image 41, • 0 an angle between an optical axis of the first camera 11 and an optical axis of the second camera 12, • H is a height separating the optical axis of the first camera 11 and the optical axis of the second camera 12, • fj a focal length associated with the first camera 11, • fr a focal length associated with the second camera 12, and * Z^y a depth associated with the pixel of the first image 41.
[0094] In a step 33 and as illustrated in [Fig.6], a width LF and a height HF of a pixel search window F are determined as a function of the coordinates in the second image 42 of the pixels of the pixel image set I and the coordinates in the first image 41 of the source pixel 41 Or.
[0095] The width LF of the pixel search window F is, for example, equal to the maximum absolute value of the difference between an abscissa in the second image 42 of a pixel in the pixel set I and the abscissa in the first image 41 of pixel 410r. Similarly, the height HF of the pixel search window F is, according to this same example, equal to the difference between an ordinate in the second image 42 of a pixel in the pixel set I and the ordinate in the first image 41 of pixel 410r.
[0096] This yields:
[0097] [Math 3] • LF = max(lx1-x4i0rl), and • Hf = max(lyry410rl),
[0098] With: • Lf the width of the pixel search window F, • HF the height of the pixel search window F, • X! the x-coordinate of a pixel from the set of candidate pixels I, • y! the ordinate of a pixel from the set of candidate pixels I, • X410T the abscissa in the first image 41 of pixel 410r, and • y4ior the ordinate in the first image 41 of pixel 410r.
[0099] According to this particular embodiment, an abscissa in the first image 41 of a first target pixel 410a corresponding to a first reference pixel 420a belonging to a lateral edge 421v of the second image 42 is determined analytically, the first target pixel 410a being included in a target set of pixels associated with the first reference pixel 420a. Similarly, an ordinate in the second image 42 of a second target pixel 420b corresponding to a second reference pixel 410b belonging to a horizontal edge 41Ih of the first image 41 is also determined analytically, the second target pixel 420b being included in a target set of pixels associated with the second reference pixel 410b.These analytical determinations are a function of a determined depth and geometric parameters, the geometric parameters including intrinsic parameters of the first and second cameras 11, 12 and extrinsic parameters of the vision system, these extrinsic parameters being representative of the relative positions of the first and second cameras 11, 12.
[0100] The particular embodiment illustrated in [Fig. 4] corresponds to a specific relative position of the first and second cameras 11, 12, the first camera 11 being positioned to the left and below the second camera 12. The lateral edge 421v of the second image 42 then corresponds to the left edge of the second image 42 and the horizontal edge 41Ih of the first image 41 then corresponds to the upper edge, or top edge, of the first image 4L. Coordinates of the first and second target pixels 410a, 420b are, for example, determined analytically by the following functions when the frames associated with the images are defined so as to place the origin of each frame in the upper left of each image: [Math.4] "Z'v(LsilieL^ and y^b~ To +Cy
[0101] With: • x4ioa is the x-coordinate of the first target pixel 410a, • 420b the ordinate of the second target pixel 420b, • Zn1 the abscissa of the horizontal edge 41 Ih of the first image 41, • 4 an abscissa of an optical center of the first image 41, • 4 an ordinate of an optical center of the first image 41, • 4 an abscissa of an optical center of the second image 42, • cy is the ordinate of an optical center of the second image 42, • xt is the abscissa of a pixel of the first image 41, • H is the height separating the optical axis of the first camera 11 and the optical axis of the second camera 12, • a focal length associated with the first camera 11, • fr a focal length associated with the second camera 12, and * Z^y 'a determined depth.
[0102] According to another particular embodiment, when the first camera 11 is to the left above the second camera 12, the lateral edge 421v of the second image 42 corresponds to the left edge of the second image, and the horizontal edge 41Ih of the first image 41 corresponds to the bottom edge of the first image. The coordinates of the first and second target pixels 410a, 420b are, for example, determined analytically by the following functions when the frames associated with the images are defined so as to place the origin of each frame in the upper left corner of each image: [Math.5] —+H] xm.i~ . f, \ \ +cy Z^j^sm^cos^ r- / '---+Z'WCOS0)
[0103] With: • x4i0a is the x-coordinate of the first target pixel 410a, • ^411 the abscissa of the horizontal edge 41 Ih of the first image 41, • an abscissa of an optical center of the first image 41, • A- an ordinate of an optical center of the first image 41, • c* an abscissa of an optical center of the second image 42, • cy an ordinate of an optical center of the second image 42, • x < the x-coordinate of a pixel in the first image 41, • H is the height separating the optical axis of the first camera 11 and the optical axis of the second camera 12, • fl a focal length associated with the first camera 11, • fr a focal length associated with the second camera 12, and * Z^y 'a determined depth.
[0104] According to a particular embodiment, the determined depth corresponds to an average depth within a depth prediction range. For example, if the depth of the observed three-dimensional scene objects is between 2 and 100 m, then the determined depth has a value of 51 m.
[0105] According to other particular embodiments, the determined depth corresponds to a median value of predicted depths for different three-dimensional scenes observed or to an average value of predicted depths for the reference pixel during subsequent observations.
[0106] In a step 34, a first resized image 41' is generated by cropping the first image 41 and a second resized image 42' is generated by cropping the second image 42. The cropping is in particular a function of coordinates of at least one image pixel determined by the transformation function applied to a pixel of the first image 41 or by an inverse transformation function applied to a pixel of the second image 42.
[0107] According to the particular embodiment illustrated in [Fig.4], the cropping is a function of the abscissa of the first target pixel 410a and the ordinate of the second target pixel 420b, the first resized image 41' and the second resized image 42' being of the same definition.
[0108] The first and second resized images 41', 42' thus have a width determined from the abscissa x4i0a of the first target pixel 410a. Therefore, the width L4n of the first resized image 41' is equal to the width L42i of the second resized image 42' and is equal to the difference between the width L4i of the first image 41, the latter being equal to the width L42 of the second image 42, and the abscissa x4i0a of the first target pixel 410a. We thus obtain: L4i = L42 and L4n = L421 = L4rx4i0a.
[0109] Similarly, the first and second resized images 41', 42' have a height determined from the y420b coordinate of the second target pixel 420b. Thus, the height H4n of the first resized image 41' is equal to the height H42 of the second resized image 42' and is equal to the difference between the height H4 of the first image 41, the latter being equal to the height H42 of the second image 42, and the y420b coordinate of the second target pixel 420b. We thus obtain: H4i = H42 and H42i = H4h = H42-y42ob-
[0110] The first resized image 41' is generated from the first image 41, with pixels of the first resized image 41' corresponding to pixels of the first image 41, of which: • an abscissa is located between the abscissa x4i0a of the first target pixel 410a and an abscissa of the right edge 41 Iv of the first image 41, and • an ordinate is located between the ordinate y4n equal to the height H4n and an ordinate of the upper edge 41 Ih of the first image 4L
[0111] The pixels of the first image 41 retained to generate the first resized image 41' then correspond to objects of the three-dimensional scene observable by both the first camera 11 and the second camera 12, that is to say, objects of the three-dimensional scene located in the common field of view of the first and second cameras 11, 12, the third acquisition field 15. Indeed, some areas of the first image 41 include pixels corresponding to objects located outside the field of view of the second camera 12 and therefore do not have a corresponding pixel in the second image 42. Thus, the first resized image 41' includes only pixels each having a corresponding pixel in the second image 42 in the absence of occlusion.
[0112] Similarly, the second resized image 42' is generated from the second image 42, with pixels in the second resized image 42' corresponding to pixels in the second image 42, of which: • an abscissa is located between an abscissa x42i equal to the width L42i and the abscissa of the left edge 421v of the second image 42, and • an ordinate is between the ordinate y420b of the second target pixel 420b and the ordinate of the lower edge 42Ih of the second image 42.
[0113] The pixels of the second image 42 retained to generate the second resized image 42' then correspond to objects of the three-dimensional scene observable by both the first camera 11 and the second camera 12, that is to say, objects of the three-dimensional scene located in the common field of view of the first and second cameras 11, 12, the third acquisition field 15. Indeed, some areas of the second image 42 include pixels corresponding to objects located outside the field of view of the first camera 11 and therefore do not have a corresponding pixel in the first image 41. Thus, the second resized image 42' includes only pixels each having a corresponding pixel in the first image 41 in the absence of occlusion.
[0114] The use of a predetermined depth and cropping the first and second images 41, 42 horizontally and vertically is not intended to remove every pixel from one image that does not have a corresponding pixel in the other image, but rather to retain a large proportion of pixels corresponding to objects in the three-dimensional scene observed by the two cameras 11, 12. For example, the pixels in one image that have a corresponding pixel in the other image represent more than 90 or 95% of the pixels in a resized image. Any error induced by the presence of pixels in one image without a corresponding pixel in the other image is then rendered negligible in the subsequent steps.
[0115] It should be noted that, according to other particular embodiments, the abscissas and ordinates of the cropping limits are determined from a single pixel, for example by determining the position of an image pixel of a pixel located in a corner of the first image 41 via the transformation function, or by determining the position of a pixel image of a pixel located in a corner of the second image 42 via the inverse transformation function.
[0116] In a step 35, a set of image pairs comprising the first image pair and at least one second image pair is generated, each second image pair comprising a first reduced image and a second reduced image generated respectively by reducing the definition of the first resized image 41' and the second resized image 42'.
[0117] Subsequently, the first resized image 41' and first reduced images are called main images and the second resized image 42' and second reduced images are called secondary images.
[0118] The reduction of the definition of an image is carried out in particular by any method known to a person skilled in the art, for example by subsampling with or without a low-pass filter, or by means of an intelligent cropping method.
[0119] Each definition of an image is reduced by a factor k when reducing the definition of the first resized image 41' or the second resized image 42', k being a power of 2.
[0120] Thus, a pair of images in the set of pairs of images comprises a main image and a secondary image, the main image being generated from the first resized image 41' whose definition is divided by the factor k, and the secondary image being generated from the second resized image 42' whose definition is divided by the same factor k, k being for example equal to 2, 4 or 8. Thus, each pair of images in the set of pairs of images comprises two images of the same definition.
[0121] In the case where the set of image pairs comprises four image pairs, it then comprises, for example: • the first pair of images comprising a main image corresponding to the first resized image 41' and a secondary image corresponding to the second resized image 42', • a pair of images comprising a main image corresponding to the first resized image (41') whose resolution is divided by 2 and a secondary image corresponding to the second resized image (42') whose resolution is divided by 2, • a pair of images comprising a main image corresponding to the first resized image (41') whose resolution is divided by 4 and a secondary image corresponding to the second resized image (42') whose resolution is divided by 4, and • a pair of images comprising a main image corresponding to the first image resized 41' whose resolution is divided by 8 and a secondary image corresponding to the second resized image 42' whose definition is divided by 8.
[0122] In a step 36, for each pair of images in the set of pairs of images, depths associated with each pixel of the main image, called the first pixel, and depths associated with each pixel of the secondary image, called the second pixel, are predicted.
[0123] The depths associated with the first pixels are predicted by the depth prediction model from a first feature map determined from the first resized image 41' and a second feature map determined from the second resized image 42' and associated with a target set of pixels from the secondary image, the target set of pixels being included in the pixel search window F positioned in the second feature map according to the coordinates of each first pixel.
[0124] Similarly, the depths associated with the second pixels are predicted by the depth prediction model from the second feature map and the first feature map associated with a target set of pixels from the main image, the target set of pixels being contained within the pixel search window F positioned in the first feature map according to the coordinates of said every second pixel.
[0125] It should be noted that the first and second feature maps have the same resolution as the primary and secondary images. These resolutions are obtained, in particular, from the feature extractor used on the first and second cropped images 41', 42'. The first and second feature maps are, for example, generated by the feature extractor, which successively generates feature maps according to a set of resolutions, from a first resolution to a final resolution, corresponding respectively, for example, to 1 / 8 of the resolution of the first and second resized images 41', 42' and to the resolution of the first and second resized images 41', 42'. The feature maps are, in particular, intermediate results obtained from the feature extractor.Furthermore, using these intermediate results allows us to obtain a gradient of features, which in turn reduces the processing time of this data and therefore the time of the learning process 3.
[0126] Each first target set of pixels then corresponds to a rectangular area whose dimensions are equal to those of the previously defined pixel search window F, whose dimensions are adapted to the definition of the feature maps, and whose position in the secondary image is defined by the coordinates in the primary image of a first pixel. Part of the second A feature map is then associated with this first target set of pixels. Similarly, each second target set of pixels corresponds to a rectangular area whose dimensions are equal to those of the previously defined pixel search window F, whose dimensions are adapted to the definition of the feature maps, and whose position in the primary image is defined by the coordinates in the secondary image of a second pixel. A portion of the first feature map is then associated with this second target set of pixels.
[0127] These target sets allow for a faster search for pixels corresponding to a first or second pixel by restricting the search area, that is, by restricting the number of pixels that could correspond to the first or second pixel. The search for a corresponding pixel in each of the primary and secondary images via the feature maps associated with these images is thus faster.
[0128] A depth associated with each first pixel is then predicted by the depth prediction model from the feature map of the main image and a part of the feature map associated with the first target set and a depth associated with each second pixel is predicted by the depth prediction model from the second feature map and a part of the first feature map associated with the second target set.
[0129] Such a depth prediction model implemented by a convolutional neural network is known to those skilled in the art and is presented for example in the paper "Unifying Flow, Stereo and Depth Estimation" written by Haofei Xu, Jing Zhang, Jianfei Cai, Hamid Rezatofighi, Fisher Yu, Dacheng Tao and Andreas Geiger, published in July 2023.
[0130] Thus, the depths are predicted for each pixel of a main image and a secondary image, the definition of a depth map is then equal to the definition of each image of the pair of images of the set of pairs of images.
[0131] In a step 37, for each pair of images in the set of pairs of images, a third image is generated from the main image by applying the transformation function to the pixels of the main image, called first pixels, according to the depths associated with the first pixels, and a fourth image is generated from the secondary image by applying the inverse transformation function to the pixels of the secondary image, called second pixels, according to the depths associated with the second pixels.
[0132] Generating an image from an image acquired by a camera of the vision system and resized consists of reprojecting a pixel of the resized image into the three-dimensional scene as a point, and then projecting this point into the image plane of another camera of the vision system, so as to The goal is to obtain an image corresponding to a three-dimensional view of the scene from the perspective of the other camera. The image plane of a camera corresponds to a plane defined in the camera's frame of reference, normal to the camera's optical axis and located at the camera's first focal length. Thus, the third image generated from the primary image is comparable to the secondary image. Similarly, the fourth image generated from the secondary image is comparable to the primary image. Because objects can obscure other objects in the scene, the generated images are not identical to acquired images. Furthermore, depth prediction, like the models used to generate the images, is not error-free. Therefore, comparing a generated image to an acquired and resized image allows for the evaluation of the accuracy of the different models employed.
[0133] In a step 38, for each pair of images in the set of pairs of images, an intermediate error is determined from a first error associated with each first pixel by comparing pixels of the main image and the fourth image and a second error associated with each second pixel by comparing pixels of the secondary image and the third image.
[0134] According to a first particular embodiment, the first and second errors are photometric errors as presented in the document “Digging Into Self-Supervised Monocular Depth Estimation” by Clément Godard, Oisin Mac Aodha, Michael Firman and Gabriel Brostow published in August 2019 and are determined by the following function: [Math.6] LAp) = EJ ( lo) • Ukp}-HP) I ( 1 -jSSIM (l(p), î(p) ) ) ]
[0135] With: • L*(p) the first reconstruction error denoted L^p}, respectively the second reconstruction error denoted L2{ p), P being a pixel defined by its coordinates in an image, • l(p) a value of pixel p in the main image, respectively secondary image, * l(p) a value of pixel p in the fourth image, respectively third image, • SSIM a function that takes into account a local structure, and • has a weighting factor depending in particular on the type of road environment in which the vehicle travels 10.
[0136] According to a second particular embodiment, the first and second errors include a determination of a reconstruction error of a generated image determined, furthermore, by the following function: [Math.7] W,o)
[0137] With: • ^smootk(^( Pf)' °) a first error for a pixel p of the third image, respectively a second error for a pixel p of the fourth image, • D(p) is a depth associated with a pixel Pt, • VF is a parameter matrix, • 0 is the order of a smoothing gradient, • an L1 norm of the second-order depth gradients is calculated with W = 1, et0 = 2, • x and are the dimensions of the third image, respectively fourth image, • P is a hyperparameter dependent on the road environment in which vehicle 10 is traveling, and • It(p} is a value of the pixel Pt in the third image, respectively fourth image.
[0138] This second function is generally used to deal with discontinuity at the boundary of objects.
[0139] The intermediate error is thus defined, for example, from the photometric errors and reconstruction errors previously defined.
[0140] According to a particular embodiment, the intermediate error is determined by the following function: [Math.8] ^E / nintLj(p),L2(p) )
[0141] With: • the intermediate error associated with a pair of images n, • L^p) the first reconstruction error for a pixelp of the main image, and • L2(p) the second reconstruction error for a pixelp of the secondary image corresponding to pixel p of the main image.
[0142] In a step 39, the depth prediction model is learned by minimizing a loss error determined from the intermediate errors.
[0143] According to a particular embodiment, the loss error is the average of the intermediate losses determined for the different feature chart definitions, and is determined by the following function: [Math.9] SUCH"
[0144] With: • The loss error, • n an index associated with a pair of feature cards from the set of pairs of feature cards, • l^n the intermediate error associated with a pair of feature maps n, and • N the number of pairs of feature maps in the set of pairs of feature maps.
[0145] According to another particular embodiment, the loss error is the sum of the intermediate losses determined for the different image definitions, and is determined by the following function: [Math. 10]
[0146] With: • The loss error, • n an index associated with a pair of feature maps from the set of pairs of feature maps, and • the intermediate error associated with a pair of feature maps n.
[0147] The training of the depth prediction model consists of adjusting the input parameters of the convolutional neural network in order to minimize the previously calculated loss error.
[0148] Thus, the depth prediction model used for predicting the depth of a pixel in an image acquired by the first camera 11 or the second camera 12 is made more reliable through this learning process. Furthermore, the data used for this learning are obtained from the stereoscopic vision system itself; they therefore correspond to data that are perfectly representative of the use of the vision system mounted on the vehicle 10.
[0149] The steps of resizing the received images and determining the target sets of pixels make it possible in particular to optimize computation times, the learning process is thus faster to implement than other known learning processes, reducing in particular the time to search for corresponding pixels and not requiring depth interpolation steps, the depths being predicted for each pixel of each of the feature maps associated with the resized images.
[0150] Figure 5 schematically illustrates a device 5 configured for learning a depth prediction model associated with a vehicle-mounted vision system 10 and / or for predicting a depth associated with a pixel of an image acquired by the vehicle-mounted vision system 10, according to an example of a particular and non-limiting embodiment of the present invention. Device 5 corresponds, for example, to a device embedded in the first vehicle 10, for example a computer associated with the stereoscopic vision system.
[0151] Device 5 is, for example, configured to carry out the operations described opposite Figures 1 and 4 and / or the steps described opposite Figures 2 and 3. Examples of such a device 5 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 5, individually or in combination, may be integrated into a single integrated circuit, into several integrated circuits, and / or into discrete components. Device 5 may be implemented in the form of electronic circuits or software (or computer) modules, or a combination of electronic circuits and software modules.
[0152] The device 5 comprises one (or more) processor(s) 50 configured to execute instructions for carrying out the steps of the process and / or for executing instructions from the software embedded in the device 5. The processor 50 may include integrated memory, an input / output interface, and various circuits known to those skilled in the art. The device 5 further comprises at least one memory 51, 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.
[0153] 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 51.
[0154] According to various particular and non-limiting embodiments, the device 5 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), for example via a communication bus or through dedicated input / output ports.
[0155] According to a particular and non-limiting embodiment, the device 5 includes a block 52 of interface elements for communicating with external devices. The interface elements of the block 52 include one or more of the following interfaces: - Radio frequency (RF) 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 (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); 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", or in French "Réseau interconnecté local").
[0156] According to another particular and non-limiting embodiment, the device 5 includes a communication interface 53 which enables communication with other devices (such as other computers in the embedded system) via a communication channel 530. The communication interface 53 corresponds, for example, to a transmitter configured to transmit and receive information and / or data via the communication channel 530. The communication interface 53 corresponds, for example, to a wired network of the CAN (Controller Area Network), CAN FD (Controller Area Network Flexible Data-Rate), FlexRay (standardized by ISO 17458) or Ethernet (standardized by ISO / IEC 802-3) type.
[0157] According to a particular and non-limiting embodiment, the device 5 can provide output signals to one or more external devices, such as a display screen 540, touch or not, one or more speakers 550 and / or other peripherals 560 via the output interfaces 54, 55, 56 respectively. According to a variant, one or more of the external devices is integrated into the device 5.
[0158] Of course, the present invention is not limited to the embodiments described above but extends to a method for measuring the distance between an object and a vehicle equipped with a vision system, 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.
[0159] The present invention also relates to a vehicle, for example an automobile or more generally an autonomous land-powered vehicle, comprising the device 5 of [Fig.5].