Distance measuring device, moving body, and distance measuring method

The distance measuring device improves dense depth estimation accuracy by optimizing sampling points using a machine-learned model, facilitating real-time measurements for applications such as driving support and obstacle detection.

JP7568585B2Active Publication Date: 2024-10-16KYOCERA CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021096855
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-09
Publication Date
2024-10-16
Estimated Expiration
2041-06-09

AI Technical Summary

Technical Problem

Existing distance measuring devices face challenges in achieving real-time, high-accuracy dense depth estimation due to the need for multiple model calculations and inferior estimation accuracy in existing techniques, which hinder real-time measurement capabilities.

Method used

A distance measuring device that estimates sampling points based on a predetermined process using a machine-learned model, determining effective sampling points for depth estimation, allowing for improved estimation accuracy by aligning sparse and dense depth measurements.

Benefits of technology

The device enhances estimation accuracy by optimizing sampling points, enabling real-time dense depth estimation without requiring multiple model calculations, suitable for applications like driving support and obstacle detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568585000001
    Figure 0007568585000001
  • Figure 0007568585000002
    Figure 0007568585000002
  • Figure 0007568585000003
    Figure 0007568585000003
Patent Text Reader

Abstract

To provide a ranging device, a mobile object and a ranging method, enabling improvement of estimation accuracy.SOLUTION: A ranging device (10) comprises: an input unit (141) acquiring input information; a sampling point estimation unit (147) which, based on the input information, estimates a sampling point in the information on distance measured as a sparse depth according to a predetermined process; and a depth estimation unit (146) estimating the output information of a dense depth based on the distance information. The predetermined process is determined based on the evaluation performed using a plurality of output information estimated by the depth estimation unit.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a distance measuring device, a moving object, and a distance measuring method. [Background technology]

[0002] In recent years, devices have been developed that obtain information about the surroundings from the detection results of multiple detectors that detect electromagnetic waves. For example, in such devices, an image sensor captures an image of a subject, and the distance to the subject is detected by detecting electromagnetic waves that include waves reflected by the subject. The distance is also called depth.

[0003] In general, the time required to detect the distance for one frame is longer than the time required to obtain one frame of an image by an image sensor. Therefore, the number of measurement points (sampling points) for detecting depth may be reduced to increase the frame rate so that the deviation between the position of the subject in the captured image and the position of the subject in the distance information (depth information) does not become large. In addition, a technique is known for estimating "dense depth" from "sparse depth" so that more depth information can be obtained even when the number of sampling points is small (see, for example, Non-Patent Documents 1 to 3). [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] Eyal Gofer,et al. “Adaptive LiDAR Sampling and Depth Completion using Ensemble Variance.” arXiv:2007.13834 (2020) [Non-Patent Document 2] AW Bergman, DBLindell, and G. Wetzstein, “Deep adaptive lidar: End-to-end optimization of sampling and depth completion at low sampling rates,” IEEE International Conference on Computational Photography IEEE,2020,pp.1-11 [Non-Patent Document 3] A. Wolff, S. Praisler, I. Tcenov, and G. Gilboa, “Super-pixel sampler: a data-driven approach for depth sampling and reconstruction,” IEEE International Conference on Robotics and Automation IEEE,2020 Summary of the Invention [Problem to be solved by the invention]

[0005] Here, the accuracy of dense depth estimation changes depending on the selection of sampling points. The technology of Non-Patent Document 1 prepares multiple models that estimate dense depth from sparse depth, and determines sampling points based on the variance of the outputs of the multiple models. The technology of Non-Patent Document 2 determines sampling points by dynamically moving a predetermined initial sampling point. The technology of Non-Patent Document 3 performs superpixelization on the input image, and determines the center of each superpixel as the sampling point. Here, superpixelization is a process of grouping similar pixels into one superpixel.

[0006] The technique of Non-Patent Document 1 has high estimation accuracy, but it is necessary to perform calculations using multiple models and to go through multiple steps before determining the sampling points. Therefore, it cannot support real-time measurement. In addition, the techniques of Non-Patent Document 2 and Non-Patent Document 3 have inferior estimation accuracy compared to the technique of Non-Patent Document 1.

[0007] In view of the above circumstances, an object of the present disclosure is to provide a distance measuring device, a moving object, and a distance measuring method that can improve estimation accuracy. [Means for solving the problem]

[0008] A distance measuring device according to an embodiment of the present disclosure includes: An input unit for acquiring input information; a sampling point estimation unit that estimates sampling points in distance information measured as sparse depth based on the input information and in accordance with a predetermined process; A depth estimation unit that estimates output information having a fine depth based on the distance information, The predetermined process is determined based on an evaluation using a plurality of pieces of output information estimated by the depth estimation unit.

[0009] A moving body according to an embodiment of the present disclosure includes: The above-mentioned distance measuring device is provided.

[0010] A moving body according to an embodiment of the present disclosure includes: A mobile object including a communication unit and an external device, the communication unit transmits input information to the distance measuring device, and receives output information estimated by the distance measuring device based on the input information; The external device controls the vehicle based on the output information, or notifies a driver of the vehicle based on the output information.

[0011] A distance measuring method according to an embodiment of the present disclosure includes: Obtaining input information; estimating sampling points in distance information measured as sparse depth based on the input information and in accordance with a predetermined process; and estimating output information, the output information being fine depth, based on the distance information; The predetermined process is determined based on an evaluation using a plurality of estimated output information. Effect of the Invention

[0012] According to the present disclosure, it is possible to provide a distance measuring device, a moving object, and a distance measuring method capable of improving estimation accuracy. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a diagram showing a schematic configuration of a distance measuring device according to an embodiment. [Diagram 2] FIG. 2 is a diagram for explaining the traveling directions of electromagnetic waves in the first and second states of the distance measuring device of FIG. [Diagram 3] FIG. 3 is a diagram for explaining detection of electromagnetic waves including reflected waves. [Figure 4] FIG. 4 is a timing chart for explaining the calculation of the distance. [Diagram 5] FIG. 5 is a diagram for explaining improvement in estimation accuracy. [Figure 6] FIG. 6 is a diagram for explaining the fine depth estimation performed by the distance measuring device of FIG. [Figure 7] FIG. 7 is a diagram for explaining calculation of the sampling points. [Figure 8] FIG. 8 is a diagram for explaining generation of a sampling point estimation model. [Figure 9] FIG. 9 is a flowchart showing the process of generating a sampling point estimation model. [Figure 10] FIG. 10 is a flowchart showing a distance measuring method according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] 1 is a diagram showing a schematic configuration of a distance measuring device 10 according to an embodiment. The distance measuring device 10 includes an irradiation system 111, a light receiving system 110, a storage unit 112, and a control unit 14. In this embodiment, the distance measuring device 10 is described as having one irradiation system 111 and one light receiving system 110, but the number of irradiation systems 111 and light receiving systems 110 is not limited to one, and a configuration in which a plurality of light receiving systems 110 are associated with a plurality of irradiation systems 111 may be used.

[0015] The illumination system 111 includes an illumination unit 12 and a deflection unit 13. The light receiving system 110 includes an entrance unit 15, a separation unit 16, a first detection unit 20, a second detection unit 17, a switching unit 18, and a first rear optical system 19. The control unit 14 includes an input unit 141, an output unit 142, an illumination control unit 143, a light receiving control unit 144, a calculation unit 145, a depth estimation unit 146, a sampling point estimation unit 147, and a model generation unit 148. The functional blocks of the distance measuring device 10 according to this embodiment will be described in detail later.

[0016] In the drawings, dashed lines connecting each functional block indicate the flow of control signals or communicated information. The communication indicated by the dashed lines may be wired communication or wireless communication. Furthermore, solid arrows indicate beam-shaped electromagnetic waves. Furthermore, in the drawings, an object ob is the subject of the distance measuring device 10. The subject may include objects such as roads, median strips, sidewalks, roadside trees, vehicles, etc., and may also include people. Furthermore, the number of objects ob is not limited to one.

[0017] The distance measuring device 10 is capable of acquiring an image including a subject and identifying the subject by detecting a wave reflected by the subject. The distance measuring device 10 according to this embodiment measures the distance to an object ob by the calculation unit 145. For example, the distance measuring device 10 may be mounted on a vehicle or the like and used for driving assistance to detect an approaching object ob while driving and notify the driver. Here, distance is also referred to as depth. In the following description, the term "depth" can be replaced with "distance".

[0018] Here, the time required to detect the distance for one frame is longer than the time required to acquire the captured image for one frame. Therefore, the frame rate may be increased by reducing the number of sampling points for detecting the depth so that the deviation between the position of the subject in the captured image and the position of the subject in the distance information (depth information) does not become large. At this time, the distance (depth) measured directly is a "sparse depth". As described later, the distance measuring device 10 estimates output information that is a "dense depth" based on the distance information measured as a sparse depth. That is, in this embodiment, the distance measuring device 10 measures the distance to the object ob, estimates a dense depth based on the measured sparse depth, and outputs the estimated dense depth. The output dense depth can be used in driving assistance, such as, for example, determining the approach of the object ob and predicting its movement. Here, the dense depth includes more depth than the sparse depth measured directly. The dense depth may include, for example, a depth corresponding to each pixel of the captured image, but may not include a depth corresponding to each pixel of the captured image, so long as it includes more depths than the sparse depth.

[0019] (irradiation system) The irradiation system 111 irradiates electromagnetic waves into a space in which the object ob exists. In this embodiment, the irradiation system 111 irradiates the electromagnetic waves irradiated by the irradiation unit 12 toward the space in which the object ob exists via the deflection unit 13. As another example, the irradiation system 111 may be configured such that the irradiation unit 12 directly irradiates the electromagnetic waves toward the object ob.

[0020] The irradiation unit 12 irradiates at least one of infrared rays, visible light, ultraviolet rays, and radio waves. In this embodiment, the irradiation unit 12 irradiates infrared rays. In addition, in this embodiment, the irradiation unit 12 irradiates electromagnetic waves in the form of a narrow beam, for example, 0.5°. In addition, the irradiation unit 12 irradiates electromagnetic waves in pulses. The irradiation unit 12 may be configured to include, for example, an LED (Light Emitting Diode) as an electromagnetic wave irradiating element. In addition, the irradiation unit 12 may be configured to include, for example, an LD (Laser Diode) as an electromagnetic wave irradiating element. The irradiation unit 12 switches between irradiating and stopping the electromagnetic waves based on the control of the control unit 14. Here, the irradiation unit 12 may be configured as an LED array or an LD array in which a plurality of electromagnetic wave irradiating elements are arranged in an array, and may irradiate a plurality of beams simultaneously.

[0021] The deflection unit 13 outputs the electromagnetic waves irradiated by the irradiation unit 12 in a plurality of different directions, and changes the irradiation position of the electromagnetic waves irradiated in the space in which the object ob exists. The output in a plurality of different directions may be performed by the deflection unit 13 reflecting the electromagnetic waves from the irradiation unit 12 while changing the direction. For example, the deflection unit 13 scans the object ob in a one-dimensional direction or a two-dimensional direction. Here, when the irradiation unit 12 is configured as, for example, an LD array, the deflection unit 13 reflects all of the plurality of beams output from the LD array and outputs them in the same direction. That is, the irradiation system 111 has one deflection unit 13 for the irradiation unit 12 having one or a plurality of electromagnetic wave irradiating elements.

[0022] The deflection unit 13 is configured so that at least a part of an irradiation area, which is a space from which the electromagnetic wave is output, is included in a detection range of the electromagnetic wave in the light receiving system 110. Therefore, at least a part of the electromagnetic wave irradiated via the deflection unit 13 to the space in which the object ob exists can be reflected by at least a part of the object ob and detected in the light receiving system 110. Here, the electromagnetic wave output from the deflection unit 13 and reflected by at least a part of the object ob is referred to as a reflected wave.

[0023] The deflection unit 13 includes, for example, a Micro Electro Mechanical Systems (MEMS) mirror, a polygon mirror, a galvanometer mirror, etc. In the present embodiment, the deflection unit 13 includes a MEMS mirror.

[0024] The deflection unit 13 changes the direction in which the electromagnetic wave is reflected based on the control of the control unit 14. The deflection unit 13 may have an angle sensor such as an encoder, and may notify the control unit 14 of the angle detected by the angle sensor as directional information in which the electromagnetic wave is reflected. In such a configuration, the control unit 14 may calculate the irradiation position of the electromagnetic wave based on the directional information acquired from the deflection unit 13. The control unit 14 may also calculate the irradiation position based on a drive signal input to the deflection unit 13 to change the direction in which the electromagnetic wave is reflected.

[0025] (Light receiving system) In the following, "electromagnetic waves including reflected waves" refers to electromagnetic waves that include waves reflected by the object ob and are incident on the light receiving system 110. That is, to distinguish them from electromagnetic waves irradiated from the irradiation system 111, the electromagnetic waves that are incident on the light receiving system 110 are sometimes referred to as "electromagnetic waves including reflected waves." Electromagnetic waves including reflected waves include not only reflected waves that are electromagnetic waves irradiated from the irradiation system 111 and reflected by the object ob, but also external light such as sunlight, light that is external light reflected by the object ob, and the like.

[0026] The incident section 15 is an optical system having at least one optical member, and forms an image of an object ob, which is a subject. The optical member includes at least one of a lens, a mirror, a diaphragm, an optical filter, and the like.

[0027] The separation unit 16 is provided between the incident unit 15 and a primary imaging position, which is an imaging position by the incident unit 15 of an image of an object ob that is a predetermined distance away from the incident unit 15. The separation unit 16 separates the electromagnetic waves including the reflected waves so that they travel in a first direction d1 or a second direction d2 depending on the wavelength.

[0028] In this embodiment, the separation unit 16 reflects a part of the electromagnetic wave including the reflected wave in a first direction d1 and transmits another part in a second direction d2. In this embodiment, the separation unit 16 reflects visible light, which is environmental light such as sunlight reflected by the object ob, in the first direction d1 among the incident electromagnetic waves. In addition, the separation unit 16 transmits infrared rays, which are infrared rays irradiated by the irradiation unit 12 and reflected by the object ob, among the incident electromagnetic waves, in the second direction d2. As another example, the separation unit 16 may transmit a part of the incident electromagnetic wave in the first direction d1 and reflect another part of the electromagnetic wave in the second direction d2. In addition, the separation unit 16 may refract a part of the incident electromagnetic wave in the first direction d1 and refract another part of the electromagnetic wave in the second direction d2. The separation unit 16 is, for example, a half mirror, a beam splitter, a dichroic mirror, a cold mirror, a hot mirror, a metasurface, a deflection element, a prism, or the like.

[0029] The second detection unit 17 is provided on the path of the electromagnetic wave traveling in the first direction d1 from the separation unit 16. The second detection unit 17 is provided at or near the imaging position of the object ob in the first direction d1. The second detection unit 17 detects the electromagnetic wave traveling in the first direction d1 from the separation unit 16.

[0030] The second detection unit 17 may be disposed with respect to the separation unit 16 such that the first propagation axis of the electromagnetic wave propagating from the separation unit 16 in the first direction d1 is parallel to the first detection axis of the second detection unit 17. The first propagation axis is the central axis of the electromagnetic wave propagating from the separation unit 16 in the first direction d1 while spreading radially. In this embodiment, the first propagation axis is an axis obtained by extending the optical axis of the entrance unit 15 to the separation unit 16 and bending it in the separation unit 16 so as to be parallel to the first direction d1. The first detection axis is an axis that passes through the center of the detection surface of the second detection unit 17 and is perpendicular to the detection surface.

[0031] Furthermore, the second detector 17 may be disposed so that the distance between the first travel axis and the first detection axis is equal to or less than the first distance threshold. Also, the second detector 17 may be disposed so that the first travel axis and the first detection axis coincide with each other. In this embodiment, the second detector 17 is disposed so that the first travel axis and the first detection axis coincide with each other.

[0032] The second detector 17 may be disposed with respect to the separator 16 such that the first angle between the first axis of travel and the detection surface of the second detector 17 is equal to or smaller than a first angle threshold or a predetermined angle. In this embodiment, the second detector 17 is disposed such that the first angle is 90°.

[0033] In this embodiment, the second detection unit 17 is a passive sensor. More specifically, in this embodiment, the second detection unit 17 includes an element array. For example, the second detection unit 17 includes an imaging element such as an image sensor or an imaging array, and captures an image due to electromagnetic waves focused on a detection surface to generate image information of a space including the captured object ob.

[0034] In this embodiment, more specifically, the second detection unit 17 captures a visible light image. The second detection unit 17 transmits the generated image information as a signal to the control unit 14. The second detection unit 17 may capture images other than visible light, such as infrared, ultraviolet, and radio wave images.

[0035] The switching unit 18 is provided on the path of the electromagnetic wave traveling in the second direction d2 from the separation unit 16. The switching unit 18 is provided at or near the primary image formation position of the object ob in the second direction d2.

[0036] In this embodiment, the switching unit 18 is provided at the imaging position. The switching unit 18 has an action surface as on which the electromagnetic wave that has passed through the entrance unit 15 and the separation unit 16 is incident. The action surface as is composed of a plurality of switching elements se arranged two-dimensionally. The action surface as is a surface that causes an action, such as reflection or transmission, on the electromagnetic wave in at least one of a first state and a second state described later.

[0037] The switching unit 18 can switch between a first state in which the electromagnetic wave incident on the action surface as travels in a third direction d3 and a second state in which the electromagnetic wave travels in a fourth direction d4 for each switching element se. In this embodiment, the first state is a first reflection state in which the electromagnetic wave incident on the action surface as is reflected in the third direction d3. The second state is a second reflection state in which the electromagnetic wave incident on the action surface as is reflected in the fourth direction d4.

[0038] In the present embodiment, more specifically, the switching unit 18 includes a reflective surface that reflects electromagnetic waves for each switching element se. The switching unit 18 arbitrarily changes the orientation of the reflective surface for each switching element se, thereby switching between the first reflective state and the second reflective state for each switching element se.

[0039] In this embodiment, the switching unit 18 includes, for example, a DMD (Digital Micro Mirror Device). The DMD can switch the inclination of the reflecting surface of each switching element se to either +12° or -12° with respect to the acting surface as by driving a minute reflecting surface that constitutes the acting surface as. The acting surface as is parallel to the plate surface of the substrate on which the minute reflecting surface of the DMD is placed.

[0040] The switching unit 18 switches between the first state and the second state for each switching element se based on the control of the control unit 14. For example, as shown in FIG. 2, the switching unit 18 can simultaneously switch some switching elements se1 to the first state to cause the electromagnetic wave incident on the switching element se1 to travel in the third direction d3, and can switch another part of the switching elements se2 to the second state to cause the electromagnetic wave incident on the switching element se2 to travel in the fourth direction d4. More specifically, the control unit 14 detects the direction in which the electromagnetic wave is irradiated or the position in which the electromagnetic wave is irradiated based on the direction information from the deflection unit 13. Then, the control unit 14 sets the switching element se1 according to the irradiation direction or irradiation position of the detected electromagnetic wave to the first state, and sets the other switching elements se1 to the second state, thereby selectively causing the reflected wave from the object ob to travel in the third direction d3. Of the electromagnetic waves that have passed through the separation unit 16, electromagnetic waves other than the reflected wave from the object ob travel in the fourth direction d4 and are not incident on the first detection unit 20.

[0041] 1, the first rear optical system 19 is provided in a third direction d3 from the switching unit 18. The first rear optical system 19 includes, for example, at least one of a lens and a mirror. The first rear optical system 19 forms an image of the object ob as an electromagnetic wave whose traveling direction has been switched by the switching unit 18.

[0042] The first detection unit 20 detects the reflected wave. The first detection unit 20 is disposed at a position where it can detect the electromagnetic wave that travels in the third direction d3 by the switching unit 18 and then travels via the first post-stage optical system 19. The first detection unit 20 detects the electromagnetic wave that has traveled via the first post-stage optical system 19, i.e., the electromagnetic wave that has traveled in the third direction d3, and outputs a detection signal.

[0043] The first detection unit 20 may be disposed with respect to the separation unit 16 together with the switching unit 18 so that the second propagation axis of the electromagnetic wave, which propagates from the separation unit 16 in the second direction d2 and whose propagation direction has been switched to the third direction d3 by the switching unit 18, is parallel to the second detection axis of the first detection unit 20. The second propagation axis is the central axis of the electromagnetic wave propagating while spreading radially from the switching unit 18 in the third direction d3. In this embodiment, the second propagation axis is an axis obtained by extending the optical axis of the entrance unit 15 to the switching unit 18 and bending it at the switching unit 18 so as to be parallel to the third direction d3. The second detection axis is an axis that passes through the center of the detection surface of the first detection unit 20 and is perpendicular to the detection surface.

[0044] Furthermore, the first detection unit 20 may be arranged together with the switching unit 18 so that the distance between the second travel axis and the second detection axis is equal to or less than a second distance threshold. The second distance threshold may be the same value as the first distance threshold, or may be a different value. Furthermore, the first detection unit 20 may be arranged so that the second travel axis and the second detection axis coincide with each other. In this embodiment, the first detection unit 20 is arranged so that the second travel axis and the second detection axis coincide with each other.

[0045] Furthermore, the first detector 20, together with the switching unit 18, may be disposed with respect to the separator 16 such that the second angle between the second axis of travel and the detection surface of the first detector 20 is equal to or smaller than the second angle threshold or a predetermined angle. The second angle threshold may be the same value as the first angle threshold, or may be a different value. In this embodiment, the first detector 20 is disposed such that the second angle is 90°, as described above.

[0046] In this embodiment, the first detection unit 20 is an active sensor that detects a reflected wave of an electromagnetic wave irradiated from the irradiation unit 12 toward the object ob. The first detection unit 20 includes a single element such as an APD (Avalanche PhotoDiode), a PD (PhotoDiode), and a distance measurement image sensor. The first detection unit 20 may also include an element array such as an APD array, a PD array, a distance measurement imaging array, and a distance measurement image sensor.

[0047] In this embodiment, the first detection unit 20 transmits detection information indicating that a reflected wave from a subject has been detected as a signal to the control unit 14. More specifically, the first detection unit 20 detects electromagnetic waves in the infrared band.

[0048] In addition, in this embodiment, the first detection unit 20 is used as a detection element for measuring the distance to the object ob. In other words, the first detection unit 20 is an element constituting a distance measuring sensor, and it is sufficient that the first detection unit 20 can detect electromagnetic waves, and does not need to be imaged on the detection surface. Therefore, the first detection unit 20 does not need to be provided at the secondary imaging position, which is the imaging position by the first rear optical system 19. That is, in this configuration, the first detection unit 20 may be disposed anywhere on the path of the electromagnetic waves that travel through the first rear optical system 19 after traveling in the third direction d3 by the switching unit 18, as long as the electromagnetic waves from all angles of view can be incident on the detection surface.

[0049] With the above-described configuration, the distance measuring device 10 aligns a given position on an image with the optical axis of a reflected wave for measuring the distance to that position.

[0050] Here, FIG. 3 is a diagram for explaining detection of electromagnetic waves including reflected waves. In FIG. 3, the space in which the object ob exists is divided by the number of times per frame that the irradiation system 111 irradiates electromagnetic waves, and is divided into a lattice shape. In general, the time required to detect one frame of electromagnetic waves including reflected waves is longer than the time required to acquire one frame of captured image 50 (see FIG. 5) by an image sensor or the like. In the example of FIG. 3, a beam-shaped electromagnetic wave irradiated from the irradiation unit 12 is reflected by the deflection unit 13 and is incident on one region R in the space as an irradiated wave. The electromagnetic wave including the reflected wave reflected by the object ob present in the region R is incident on the incidence unit 15. In this embodiment, the reflected wave is an infrared ray. Moreover, the electromagnetic wave including the reflected wave includes visible light that is external light reflected by the object ob present in the region R. The separation unit 16 reflects visible light of the electromagnetic wave including the reflected wave in a first direction d1. The reflected visible light is detected by the second detection unit 17. Furthermore, the separation unit 16 transmits infrared light out of the electromagnetic waves including the reflected wave in the second direction d2. The infrared light that has transmitted through the separation unit 16 is reflected by the switching unit 18, and at least a part of the infrared light travels in the third direction d3. The infrared light that has traveled in the third direction d3 passes through the first rear optical system 19 and is detected by the first detection unit 20.

[0051] (Storage part) The storage unit 112 may function as a memory that stores various information. The storage unit 112 may store, for example, a program executed in the control unit 14 and the results of processing executed in the control unit 14. The storage unit 112 may also function as a work memory for the control unit 14. The storage unit 112 may be configured, for example, by a semiconductor memory or the like, but is not limited thereto, and may be any storage device. As another example, the storage unit 112 may be an internal memory of a processor included in the control unit 14, or may be an external storage device connected to the control unit 14.

[0052] The storage unit 112 may store the trained model generated by the model generation unit 148. In this embodiment, the trained model includes a depth estimation model and a sampling point estimation model, which will be described later.

[0053] (Control unit) The input unit 141 acquires input information. The input information is data used in the process of the distance measuring device 10 estimating fine depth. In this embodiment, the input information is image information of the space in which the object ob exists from the second detection unit 17. The input unit 141 may be configured with a buffer for temporarily storing the input information. The buffer is configured with, for example, a semiconductor memory or a magnetic memory.

[0054] The output unit 142 outputs output information that is a dense depth estimated by the distance measuring device 10. In this embodiment, the output unit 142 outputs the output information to an external device different from the distance measuring device 10. The external device may be, for example, a device that notifies the driver when a danger is detected. The external device may determine, for example, an approach to an oncoming vehicle or an obstacle based on the output information output by the output unit 142, and notify or issue a warning when evasive action is required. The external device may also be a device that controls a vehicle. Based on the output information output by the output unit 142, the external device may control, for example, a vehicle equipped with the distance measuring device 10 so that the vehicle maintains a distance from a preceding vehicle. In other words, the external device may perform adaptive cruise control or the like using the output information output by the output unit 142. Also, if the output information indicates the distance to an obstacle, the external device may control the vehicle to avoid the obstacle based on the output information. Here, the "outside" of the external device means that it is a device different from the distance measuring device 10, and does not limit the place where it is placed.

[0055] The irradiation control unit 143 controls the irradiation system 111. For example, the irradiation control unit 143 causes the irradiation unit 12 to switch between starting and stopping irradiation of electromagnetic waves. For example, the irradiation control unit 143 causes the deflection unit 13 to change the direction in which the electromagnetic waves are reflected. As will be described in detail later, the irradiation control unit 143 controls the irradiation system 111 to irradiate the electromagnetic waves to the sampling points estimated by the sampling point estimation unit 147 (i.e., measurement points effective for the depth estimation unit 146).

[0056] The light-receiving control section 144 controls the light-receiving system 110. For example, the light-receiving control section 144 causes the switching section 18 to switch between the first state and the second state for each switching element se.

[0057] The calculation unit 145 calculates the distance to the object ob based on the detection information of the first detection unit 20. The detection information of the first detection unit 20 is distance information (depth information). The calculation unit 145 can calculate the distance based on the acquired detection information, for example, by a ToF (Time-of-Flight) method.

[0058] As shown in FIG. 4, the control unit 14 inputs an electromagnetic wave radiation signal to the irradiation unit 12, thereby causing the irradiation unit 12 to irradiate a pulsed electromagnetic wave (see the "Electromagnetic Wave Radiation Signal" column). The irradiation unit 12 irradiates an electromagnetic wave based on the input electromagnetic wave radiation signal (see the "Amount of Irradiation Unit Radiation" column). The electromagnetic wave irradiated by the irradiation unit 12 and reflected by the deflection unit 13 and irradiated to the irradiation area, which is the space in which the object ob exists, is reflected in the irradiation area. The control unit 14 switches at least a part of the switching elements se in the imaging area in the switching unit 18 by the incidence unit 15 of the reflected wave from the irradiation area to the first state, and switches the other switching elements se to the second state. Then, when the first detection unit 20 detects the electromagnetic wave reflected in the irradiation area (see the "Amount of Electromagnetic Wave Detection" column), it notifies the control unit 14 of the detection information.

[0059] The calculation unit 145 acquires the above-mentioned signal information including the detection information. The calculation unit 145 includes, for example, a time measurement LSI (Large Scale Integrated circuit) and measures the time ΔT from the time T1 when the irradiating unit 12 irradiates the electromagnetic wave to the time T2 when the detection information is acquired (see the "Acquisition of Detection Information" section). The calculation unit 145 multiplies the time ΔT by the speed of light and divides by 2 to calculate the distance to the irradiation position.

[0060] The depth estimation unit 146 estimates a dense depth based on a sparse depth. The depth estimation unit 146 may be configured using a model that inputs information including a sparse depth and outputs an estimated dense depth. The model may be a numerical model or a machine learning model. In this embodiment, the depth estimation unit 146 is configured using a machine learning model (depth estimation model) generated by the model generation unit 148. When performing estimation, the depth estimation unit 146 may read out the depth estimation model from the storage unit 112. In this embodiment, the depth estimation unit 146 uses input information in addition to the sparse depth as information to be input. In other words, in this embodiment, the depth estimation model inputs sparse depth information and input information (image information) and outputs an estimated dense depth.

[0061] The sampling point estimation unit 147 estimates sampling points in distance information measured as sparse depth. In this embodiment, information on the sampling points estimated by the sampling point estimation unit 147 is transmitted to the irradiation control unit 143, and the irradiation control unit 143 controls the irradiation system 111 so as to irradiate the estimated sampling points with electromagnetic waves. The sampling point estimation unit 147 estimates effective sampling points for the depth estimation unit 146 according to a predetermined process based on the input information. The sampling point estimation unit 147 may be configured using a model that inputs the input information and outputs estimated sampling points. The model may be a numerical model or a machine learning model. In this embodiment, the sampling point estimation unit 147 is configured using a machine-learned model (sampling point estimation model) generated by the model generation unit 148. When performing estimation, the sampling point estimation unit 147 may read out the sampling point estimation model from the storage unit 112.

[0062] Here, the predetermined process executed using the sampling point estimation model is determined based on an evaluation using a plurality of pieces of output information estimated by the depth estimation unit 146. Although details will be described later, by determining the predetermined process based on the estimation result of the depth estimation unit 146, the sampling point estimation unit 147 can estimate sampling points that are effective for the depth estimation unit 146. In this embodiment, the sampling point estimation model is generated by machine learning using teacher data generated based on the above evaluation.

[0063] The model generation unit 148 generates a depth estimation model and a sampling point estimation model in the learning phase. As described above, in this embodiment, these models are generated by machine learning using teacher data. Here, the phase in which the distance measuring device 10 executes processing is divided into a "learning phase" and an "estimation phase". The estimation phase is a phase in which the distance measuring device 10 estimates fine depth using input information acquired in real time, etc. The learning phase is a phase prior to the estimation phase (before fine depth estimation is executed) in which models are generated as described above.

[0064] In this embodiment, the model generation unit 148 generates a depth estimation model and a sampling point estimation model by machine learning using teacher data. The machine learning method is not particularly limited as long as it performs regression analysis to analyze the relationship between input and output. For example, a method such as a neural network or a random forest may be used.

[0065] Here, the control unit 14 may include one or more processors. The processor may load a program from an accessible memory (for example, the storage unit 112) and operate as the input unit 141, the output unit 142, the irradiation control unit 143, the light reception control unit 144, the calculation unit 145, the depth estimation unit 146, the sampling point estimation unit 147, and the model generation unit 148. The processor may include at least one of a general-purpose processor that loads a specific program and executes a specific function, and a dedicated processor specialized for a specific process. The dedicated processor may include an application specific integrated circuit (ASIC). The processor may include a programmable logic device (PLD). The PLD may include a field-programmable gate array (FPGA). The control unit 14 may include at least one of a system-on-a-chip (SoC) and a system in a package (SiP) in which one or more processors work together.

[0066] (depth estimation) In general, in a depth estimation model that inputs information including sparse depth and outputs an estimated dense depth, the estimation accuracy of the dense depth changes depending on the position of the sampling point of the sparse depth. When the depth estimation model inputs sparse depth information and image information as in this embodiment, the estimation accuracy of the estimated dense depth is improved by the position of the sampling point of the sparse depth corresponding to the part where the distance is difficult to determine based on the image information.

[0067] FIG. 5 is a diagram for explaining the improvement of the estimation accuracy as described above. In FIG. 5, a captured image 50 corresponding to input information (image information) is shown. Also, a "sparse depth image 60" showing sparse depth corresponding to the captured image 50 is shown. Also, a "dense depth image 70" showing dense depth corresponding to the captured image 50 is shown. In the captured image 50, blown-out highlights d1 may occur due to the influence of strong light such as sunlight. Also, in the captured image 50, a blurred portion d2 may occur in a distant place where no light is irradiated. In this case, by making the position of the sampling point (S in FIG. 5) of the sparse depth correspond to the blown-out highlights d1 and the blurred portion d2, the depth estimation unit 146 can grasp the distance (depth) of the blown-out highlights d1 and the blurred portion d2. Therefore, the estimation accuracy of the dense depth estimated by the depth estimation unit 146 is improved.

[0068] Such sparse depth sampling points (S in FIG. 5) are "effective sampling points" for the depth estimation unit 146, which improve the estimation accuracy of dense depth. The effective sampling points depend on the depth estimation model used by the depth estimation unit 146. Although details will be described later, the predetermined processing executed by the sampling point estimation model is determined based on an evaluation of multiple pieces of output information (dense depths) estimated by the depth estimation unit 146.

[0069] FIG. 6 is a diagram for explaining the estimation of the dense depth performed by the distance measuring device 10 according to the present embodiment in the estimation phase. Image information is acquired by the input unit 141 as input information. The sampling point estimation unit 147 estimates the sampling point in the distance information measured as a sparse depth from the image information. The estimated sampling point is an effective sampling point for the depth estimation unit 146. The irradiation control unit 143 controls the irradiation system 111 to irradiate the sampling point estimated by the sampling point estimation unit 147 with an electromagnetic wave. The calculation unit 145 calculates the distance (depth) from the target ob at the sampling point based on the detection information of the first detection unit 20, and outputs it to the depth estimation unit 146 as a sparse depth. The depth estimation unit 146 estimates the dense depth with high accuracy from the image information and the sparse depth. Here, in the estimation of the dense depth performed by the distance measuring device 10, the measured distance (depth) is a sparse depth, and the frame rate of the distance measurement can be increased. Moreover, the depth estimation unit 146 can be configured with one model (depth estimation model) and can perform calculations at high speed. Therefore, the distance measuring device 10 according to this embodiment is suitable for real-time measurement.

[0070] (Model Generation) As described above, in the learning phase, the model generation unit 148 generates a depth estimation model and a sampling point estimation model by machine learning using teacher data. Of these models, the depth estimation model may be generated using, for example, deep learning. As another example, the depth estimation model may utilize a model that has already been generated. The sampling point estimation model is generated as follows using the output of the depth estimation model.

[0071] FIG. 7 is a diagram for explaining calculation of effective sampling points using a depth estimation model. First, image information and dense depth teacher data corresponding to the image information are prepared. In FIG. 7, a "captured image 51" corresponding to the image information is shown. Also, a "dense depth image 71" showing dense depth teacher data corresponding to the captured image 51 is shown.

[0072] The model generating unit 148 generates a plurality of sparse depth data from teacher data with dense depth. Sparse depth images 60-1 to 60-n (n is an integer of 2 or more) in FIG. 7 are depth images of a plurality of sparse depth data. The plurality of sparse depth data are generated so that sampling points are different from each other. The model generating unit 148 may generate a plurality of sparse depth data from teacher data with dense depth using, for example, a genetic algorithm.

[0073] The model generating unit 148 sequentially inputs a plurality of sparse depth data to the depth estimation model of the depth estimation unit 146, and outputs a plurality of dense depth data. The dense depth images 70-1 to 70-n in FIG. 7 are depth images of a plurality of dense depth data. The model generating unit 148 performs evaluation for each of the plurality of dense depth data. In the example of FIG. 7, the evaluation may be performed by comparing each of the plurality of dense depth data with teacher data of dense depth, and a mismatched part may be regarded as an error, and the degree of error or the magnitude of the error may be regarded as an evaluation value (Error: e1 to en in FIG. 7). The model generating unit 148 calculates effective sampling points for the depth estimation unit 146 based on the correspondence between the above evaluation and the plurality of sparse depth data. The sparse depth image 61 in FIG. 7 is an image of the sparse depth data having the calculated sampling points.

[0074] Next, the model generation unit 148 generates a sampling point estimation model by machine learning using the sparse depth data having the calculated sampling points as teacher data of sparse depth. As shown in Fig. 8, when image information (captured image 51) is input, the model generation unit 148 generates a sampling point estimation model so as to output the same sampling points as the teacher data of sparse depth. For example, the model generation unit 148 may learn the distance (degree of deviation) between the sampling points output by the sampling point estimation model and the sampling points in the teacher data of sparse depth as an error.

[0075] (Distance measurement method) In the learning phase, the control unit 14 of the distance measuring device 10 according to the present embodiment generates a sampling point estimation model according to, for example, the flowchart of Fig. 9. Then, in the estimation phase, the control unit 14 of the distance measuring device 10 according to the present embodiment executes, for example, the distance measuring method according to the flowchart of Fig. 10 to estimate output information that is a fine depth.

[0076] 9 is a flowchart showing a process of generating a sampling point estimation model. As described with reference to FIG. 7, the model generating unit 148 of the control unit 14 calculates effective sampling points for the depth estimation unit 146 (step S1).

[0077] As described with reference to FIG. 8, the model generating unit 148 of the control unit 14 generates a model for the sampling point estimating unit 147 using the calculated sampling points as teacher data (step S2).

[0078] 10 is a flowchart showing a distance measuring method according to an embodiment. The input unit 141 of the control unit 14 acquires input information (step S11).

[0079] The sampling point estimation unit 147 of the control unit 14 estimates the sampling points from the input information (step S12).

[0080] The depth estimation unit 146 of the control unit 14 obtains the sparse depth measured at the estimated sampling points (step S13).

[0081] The depth estimation unit 146 of the control unit 14 estimates the fine depth based on the sparse depth (step S14).

[0082] As described above, in the distance measuring device 10 according to the present embodiment, the sampling point estimation unit 147 estimates sampling points that are effective for the depth estimation unit 146 due to the above configuration. Therefore, the distance measuring device 10 according to the present embodiment can improve the estimation accuracy in estimating a dense depth from a sparse depth. Also, the depth estimation unit 146 can be configured with one model that estimates a dense depth from a sparse depth. Therefore, the distance measuring device 10 according to the present embodiment can improve the estimation accuracy without performing calculations using multiple models.

[0083] (Other embodiments) Although the present disclosure has been described based on the drawings and examples, it should be noted that those skilled in the art can easily make various modifications and corrections based on the present disclosure. Therefore, it should be noted that these modifications and corrections are included in the scope of the present disclosure.

[0084] In the above embodiment, the input information acquired by the input unit 141 is image information, but may be distance information (depth information) based on infrared rays detected by the first detection unit 20. The distance information used as the input information is obtained by high-density measurement to such an extent that the object ob in space can be identified.

[0085] In the above embodiment, the distance measuring device 10 is configured such that the optical axes of the image capturing mechanism and the distance measuring mechanism using reflected waves are aligned, but the optical axes may not be aligned. That is, it is sufficient that the same object is captured by the image capturing mechanism and the distance estimating mechanism using reflected waves. However, since the influence of parallax may occur when the optical axes are not aligned, if it is desired to improve the estimation accuracy, a configuration in which the optical axes are aligned as in the above embodiment may be used.

[0086] In the above embodiment, the distance measuring device 10 is mounted on a vehicle or the like, but the distance measuring device 10 may be mounted on various moving bodies. The moving body in the present disclosure may include, for example, not only a vehicle but also an aircraft. The vehicle may include, for example, an automobile, an industrial vehicle, a railroad vehicle, a vehicle for daily life, and a fixed-wing aircraft running on a runway. The automobile may include, for example, a passenger car, a truck, a bus, a motorcycle, and a trolley bus. The industrial vehicle may include, for example, an industrial vehicle for agriculture and construction. The industrial vehicle may include, for example, a forklift and a golf cart. The industrial vehicle for agriculture may include, for example, a tractor, a cultivator, a transplanter, a binder, a combine, and a lawnmower. The industrial vehicle for construction may include, for example, a bulldozer, a scraper, a shovel, a crane, a dump truck, and a road roller. The vehicle may include one that runs by human power. The classification of the vehicle is not limited to the above example. For example, the automobile may include an industrial vehicle that can run on a road. The same vehicle may be included in multiple classifications. Aircraft may include, for example, fixed wing aircraft and rotary wing aircraft.

[0087] In the above embodiment, the distance measuring device 10 is mounted on a vehicle or the like, but a part of the distance measuring device 10 may not be mounted on a vehicle or the like. For example, the distance measuring device 10 (excluding the irradiation system 111 and the light receiving system 110) may be realized by a remote server installed at a position away from the moving body and capable of communicating with the moving body. In this case, the moving body may include a communication unit and an external device. In addition, the functions of the irradiation system 111 and the light receiving system 110 of the distance measuring device 10 may be realized by another measurement device mounted on the moving body. The communication unit transmits and receives data between the control unit 14 and the irradiation system 111 and the light receiving system 110 in the above embodiment between the moving body and the remote server. The communication unit of the moving body transmits input information to the remote server in particular, and receives output information estimated based on the input information in the remote server. The external device of the moving body may control the moving body based on the output information as described above, or may notify the driver of the moving body based on the output information. By implementing the distance measuring device 10 on a remote server, the processing load on the mobile object side can be reduced, and resources can be allocated to other control processes. Also, by implementing the distance measuring device 10 on a remote server, if the learning model or algorithm is updated on the remote server side, instant updates can be performed on all mobile objects without executing update processing for each mobile object.

[0088] In another embodiment, among the functional units included in the control unit 14, the processing of the functional units related to estimating dense depth may be executed by a processor or device other than the control unit 14. For example, a configuration may be adopted in which another processor capable of inputting and outputting data to and from the control unit 14 includes an input unit 141, an output unit 142, a depth estimation unit 146, a sampling point estimation unit 147, and a model generation unit 148. In addition, a configuration may be adopted in which another information processing device (a computer, as an example) capable of transmitting and receiving data to and from the distance measuring device 10 includes the model generation unit 148, and the trained model generated by the model generation unit 148 is stored in the storage unit 112 via a network. In other words, a configuration may be adopted in which the trained model is generated by a device other than the distance measuring device 10.

[0089] In the above embodiment, the distance measuring device 10 is configured to generate distance information by Direct ToF, which irradiates a laser beam and directly measures the time it takes for the beam to return. However, the distance measuring device 10 is not limited to such a configuration. For example, the distance measuring device 10 may generate distance information by Flash ToF, which irradiates an electromagnetic wave at a constant cycle and indirectly measures the time it takes for the beam to return from the phase difference between the irradiated electromagnetic wave and the returned electromagnetic wave. The distance measuring device 10 may also generate distance information by other ToF methods, for example, Phased ToF.

[0090] In the above embodiment, the switching section 18 can switch the traveling direction of the electromagnetic wave incident on the action surface as between two directions, but it may be possible to switch between three or more directions instead of switching between two directions.

[0091] In the above embodiment, the distance measuring device 10 has a configuration in which the second detection unit 17 is a passive sensor and the first detection unit 20 is an active sensor. However, the distance measuring device 10 is not limited to this configuration. For example, in the distance measuring device 10, effects similar to those of the above embodiment can be obtained whether the second detection unit 17 and the first detection unit 20 are both active sensors or both passive sensors.

[0092] Although a representative example has been described in the above embodiment, it is clear to those skilled in the art that many modifications and substitutions are possible within the spirit and scope of the present disclosure. Therefore, the present disclosure should not be interpreted as being limited by the above embodiment, and various modifications and changes are possible without departing from the scope of the claims. For example, multiple building blocks shown in the configuration diagram of the embodiment can be combined into one, or one building block can be divided.

[0093] In addition, although the solution of the present disclosure has been described as an apparatus, the present disclosure may also be realized in aspects that include these, and may also be realized as a method, a program, or a storage medium having a program recorded thereon that is substantially equivalent to these, and it should be understood that these are also encompassed within the scope of the present disclosure. [Explanation of symbols]

[0094] 10 Ranging device 12 Irradiation unit 13 Deflection section 14 Control section 15 Input part 16 Separation part 17 Second detector 18 Switching section 19 First rear optical system 20 First detection unit 50 Captured images 51 Captured images 60 Sparse Depth Images 61 Sparse Depth Images 70 Dense Depth Images 71 Dense Depth Images 110 Light receiving system 111 Irradiation system 112 Storage section 141 Input section 142 Output section 143 Irradiation control unit 144 Light receiving control section 145 Arithmetic section 146 Depth estimation part 147 Sampling point estimation part 148 Model Generation Unit

Claims

1. An input unit that acquires an image as input information; a sampling point estimation unit that estimates sampling points in distance information measured as sparse depth based on the input information and in accordance with a predetermined process; A depth estimation unit that estimates output information having a fine depth based on the distance information, A ranging device in which the specified processing is determined based on an evaluation using a plurality of pieces of output information estimated by the depth estimation unit, and the sampling points correspond to areas on the image where whiteout occurs or areas that are unclear.

2. The distance measuring device according to claim 1 , wherein the predetermined process is determined by machine learning using training data of the sampling points generated based on the evaluation.

3. The distance measuring device according to claim 1 , wherein the depth estimation unit estimates the output information based on the distance information and the input information.

4. An irradiation system that irradiates the estimated sampling points with electromagnetic waves; A separation unit that separates the electromagnetic waves, including a reflected wave of the electromagnetic waves reflected by an object, into a first direction and a second direction and causes the electromagnetic waves to travel in the first direction and the second direction; A first detection unit that detects electromagnetic waves traveling in the first direction; A second detection unit that detects electromagnetic waves traveling in the second direction, The first detection unit is a distance measurement sensor that measures the distance information, The distance measuring device according to claim 1 , wherein the second detection unit is an image sensor that acquires the image.

5. A moving object comprising the distance measuring device according to any one of claims 1 to 4.

6. A mobile object including a communication unit and an external device, The communication unit transmits input information to the distance measuring device according to any one of claims 1 to 4, and receives output information estimated by the distance measuring device based on the input information. The external device controls the vehicle based on the output information, or notifies a driver of the vehicle based on the output information.

7. Acquiring an image as input information; estimating sampling points in distance information measured as sparse depth based on the input information and in accordance with a predetermined process; and estimating output information, the output information being fine depth, based on the distance information; A distance measurement method in which the specified processing is determined based on an evaluation using multiple estimated output information, and the sampling points correspond to areas on the image where whiteout occurs or areas that are unclear.

Citation Information

Patent Citations

  • Sparse three-dimensional point cloud densification method

    CN112102472A

  • Method and apparatus for processing three-dimensional data, device and storage medium

    JP2020042803A

  • Image-enhanced depth sensing via depth sensor control

    US20190289281A1