Calibrating the Depth Sensing Array Using Color Image Data

By using color image sensors and deep learning networks to identify depth-less areas, signal failure and calibration problems in depth mapping systems are solved, improving measurement accuracy and resource utilization.

CN112689776BActive Publication Date: 2024-08-23APPLE INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201980060149.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-16
Filing Date
2019-09-02
Publication Date
2024-08-23
Estimated Expiration
2039-09-02

AI Technical Summary

Technical Problem

Existing depth mapping systems are difficult to accurately measure the depth of a target scene under high signal/background ratio conditions, and due to changes in the position of the laser spot, signal failure may occur, making it difficult to determine whether depth-free areas require recalibration.

Method used

By using auxiliary image data provided by the color image sensor, combined with a deep learning network, depth-free areas are identified and the sensing element array is recalibrated when necessary to ensure the accuracy and efficiency of depth measurement.

Benefits of technology

Effectively identify depthless areas, avoid unnecessary recalibration, improve the signal quality and resource utilization of the depth mapping system, and enhance the accuracy and stability of measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112689776B_ABST
    Figure CN112689776B_ABST
Patent Text Reader

Abstract

An imaging device (22) is disclosed that includes a radiation source (40) that emits a pulsed beam (42) of optical radiation toward a target scene (24). An array (52) of sensing elements (78) outputs a signal indicating corresponding incident times of photons in a first image of the target scene formed on the sensing element array. An image sensor (64) captures a second image of the target scene registered with the first image. Processing and control circuitry (56, 58) identifies regions of the array in response to the signal on which pulses of optical radiation reflected from corresponding regions of the target scene are incident, and processes signals from the sensing elements in the identified regions to measure depth coordinates of the corresponding regions of the target scene based on the incident times, while identifying one or more of the regions of the target scene as no depth regions in response to the second image.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 731,914, filed September 16, 2018, which is incorporated herein by reference. Technical Field

[0003] The present invention relates generally to systems and methods for depth mapping, and particularly to sensor arrays used in time-of-flight sensing. Background Art

[0004] Existing and emerging consumer applications have created an increasing demand for real-time three-dimensional (3D) imagers. These imaging devices, also known as depth sensors or depth mappers, enable remote measurement of the distance (and often also the intensity) to each point in a target scene by illuminating the target scene with an optical beam and analyzing the reflected optical signal - known as the target depth. Some systems also capture a color image of the target scene and register the depth map with the color image.

[0005] A common technique for determining the distance to each point on a target scene involves transmitting one or more pulsed optical beams toward the target scene and then measuring the round-trip time it takes the optical beam to travel from the source to the target scene and back to a detector array adjacent to the source, i.e., the time of flight (ToF).

[0006] Some ToF systems use single photon avalanche diodes (SPADs), also called Geiger-mode avalanche photodiodes (GAPDs), or possibly arrays of SPAD sensing elements when measuring photon arrival times. In some systems, bias control circuits set the bias voltages in different SPADs in the array to different corresponding values.

[0007] This variable bias capability can be used to selectively actuate individual sensing elements or groups of sensing elements in a SPAD array. (Each sensing element in such an array is also referred to as a "pixel.") A laser source emits at least one beam of light pulses, and a beam steering device transmits and scans the at least one beam over a target scene. The light collecting optics images the target scene scanned by the transmitted beam onto the array. Circuitry is coupled to actuate sensing elements in only selected areas of the array, and the selected area is swept over the array in synchronization with the scanning of the at least one beam. Summary of the invention

[0008] Embodiments of the present invention described below provide improved depth mapping systems and methods of operating such systems.

[0009] Therefore, according to one embodiment of the present invention, there is provided an imaging device including a radiation source, which is configured to emit a first plurality of pulsed beams of optical radiation toward a target scene. An array of a second plurality of sensing elements is configured to output a signal indicating the corresponding incident time of photons on the sensing elements, wherein the second plurality of sensing elements exceed the first plurality of pulsed beams. The objective optical device is configured to form a first image of the target scene on the sensing element array. The image sensor is configured to capture a second image of the target scene aligned with the first image. The processing and control circuit is coupled to receive the signal from the array and is configured to identify the area of ​​the array on which the optical radiation pulse reflected from the corresponding area of ​​the target scene is incident in response to the signal, and to process the signals from the sensing elements in the identified area so as to measure the depth coordinates of the corresponding area of ​​the target scene based on the incident time, and at the same time identify one or more areas of the area of ​​the target scene as a depth-free area in response to the second image.

[0010] In some embodiments, the second image is a color image. In the disclosed embodiments, the processing and control circuitry is configured to identify the no-depth region in response to the corresponding color of the corresponding portion of the color image. For example, the processing and control circuitry may be configured to identify the blue portion of the color image as the sky and mark the sky as the no-depth region.

[0011] Alternatively, the second image is a depth map.

[0012] In some embodiments, the processing and control circuitry is configured to identify portions of the second image having brightness below a predefined level as no-depth areas.

[0013] Additionally or alternatively, the processing and control circuitry is configured to identify the no-depth region by applying a deep learning network to the second image to calculate a corresponding probability that a pixel of the second image is in the no-depth region. In a disclosed embodiment, the deep learning network is configured to operate on both the second image and the depth coordinates.

[0014] In some embodiments, when the signal output from one or more of the identified regions of the array is below a minimum threshold, and the area of ​​the target scene corresponding to the one or more of the identified regions is not identified as a no-depth area, the processing and control circuitry is configured to recalibrate the array to select one or more new areas of the array to receive the signal from for processing. In the disclosed embodiments, the processing and control circuitry is configured to select the one or more new areas of the array by searching over the sensing elements to find an area onto which a light pulse reflected from the target scene is imaged by the objective optics.

[0015] In some embodiments, the sensing element comprises a single photon avalanche diode (SPAD). Additionally or alternatively, the processing and control circuitry is configured to group together the sensing elements in each of the identified regions to define a superpixel, and to process together the signals from the sensing elements in each of the superpixels in order to measure the depth coordinate.

[0016] According to one embodiment of the present invention, there is also provided a method for imaging, the method comprising directing a first plurality of pulsed beams of optical radiation toward a target scene. A first image of the target scene is formed on an array of a second plurality of sensing elements, the second plurality of sensing elements outputting signals indicating corresponding incident times of photons on the sensing elements, wherein the second plurality of sensing elements exceed the first plurality of pulsed beams. The array is calibrated to identify the area of ​​the array on which the optical radiation pulse reflected from the corresponding area of ​​the target scene is incident. The signals from the sensing elements in the identified area are processed to measure the depth coordinates of the corresponding area of ​​the target scene based on the incident time. A second image of the target scene aligned with the first image is captured. When a usable signal is not received from one or more of the identified areas of the array for the corresponding area of ​​the scene, the second image is checked to determine whether the corresponding area is identified as a no-depth area. When the area of ​​the target scene corresponding to the one or more areas in the identified area is not identified as a no-depth area, the array is recalibrated to select one or more new areas of the array to receive signals from for processing.

[0017] The present invention will be more fully understood from the following detailed description of embodiments of the present invention in conjunction with the accompanying drawings, in which: BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a schematic illustration of a depth mapping system according to an embodiment of the present invention;

[0019] Figure 2 According to an embodiment of the present invention Figure 1 A schematic side view of the depth mapping system shown;

[0020] Figure 3A is a schematic diagram of a speckle pattern projected onto a target scene according to an embodiment of the present invention;

[0021] Figure 3B is a schematic front view of a ToF sensing array according to an embodiment of the present invention;

[0022] Figure 3C According to an embodiment of the present invention Figure 3B A schematic detail diagram of a portion of a ToF sensing array, Figure 3AAn image of a spot in an area of ​​the target scene is projected onto this part;

[0023] Figure 4A and Figure 4B is a schematic diagram of an image of a target scene captured by a ToF sensing array and a color image sensor, respectively; and

[0024] Figure 5 is a flow chart schematically illustrating a method for calibrating a depth mapping system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] Overview

[0026] In some embodiments of the invention, SPADs are grouped together into "superpixels," which refer to groups of mutually adjacent pixels and data processing elements directly coupled to those pixels. At any time during system operation, only the sensing elements in one or more regions of the array that will receive reflected illumination from the beam are actuated, for example, by appropriate biasing of the SPADs in the selected superpixels, while the remaining sensing elements are inactive. Thus, a sensing element is actuated only when its signal provides useful information. This approach reduces background signals, thereby enhancing the signal-to-background ratio, and reduces both the power requirements of the detector array and the number of data processing units that must be attached to the SPAD array.

[0027] One issue to be addressed in such depth mapping systems is the size and position of the superpixels to be used. For accurate depth mapping, in situations with high signal / background ratios, it is important that the superpixel contains most of the energy of the reflected beam to be imaged onto the detector element above, while the sensing elements that do not receive the reflected beam remain inactive. However, even when using a static array of emitters, the position of the reflected beam on the detector array may change, for example due to thermal and mechanical changes over time and optical effects such as parallax.

[0028] In response to this problem, the positions of the laser spots on the SPAD array may be calibrated. To this end, the processing and control circuitry receives timing signals from the array and searches over the sensing elements in order to identify corresponding areas of the array on which the light pulses reflected from the target scene are incident. Knowledge of the depth mapping system may be used in order to pre-calculate possible areas of the reflected laser spots to be imaged onto the SPAD array, and to focus the search on these areas. Alternatively or in addition, a small subset of the positions of the laser spots may be identified in an initialization phase and then used in subsequent iteration phases to predict and verify the positions of further laser spots until a sufficient number of laser spots have been located.

[0029] However, even after careful calibration, it may happen in the operation of the depth mapping system that some of the pixels or superpixels on which the laser spot is expected to be imaged fail to output a usable timing signal. This may occur when the number of reflected photons captured by these pixels or superpixels due to the laser pulse sequence is below a certain minimum threshold. Failure in this case may be due to a change in the position of the reflected laser spot on the SPAD array due to thermal, mechanical or optical effects, as described above. In such cases, it may be necessary to recalibrate the superpixel position in order to take into account the new spot position.

[0030] On the other hand, the failure to receive a usable signal in a particular area of ​​the SPAD array may be simply because an area of ​​the target scene imaged onto that area of ​​the array strongly absorbs the laser radiation or is very far away from the depth mapping system. Such areas of the array are referred to herein as "no depth" areas because the depth mapping system cannot extract meaningful depth values ​​for the corresponding areas of the target scene. In this specification and claims, these corresponding areas of the target scene are referred to as "no depth areas", even if they are located at a finite distance from the array. In this case, recalibration will simply waste the resources of the depth mapping system without resulting in any improvement in the mapping results. However, it is difficult to determine based solely on the depth map whether the failure of a given superpixel to output a usable signal is due to its being in a no depth area or actually indicates that recalibration is needed.

[0031] Embodiments of the invention described herein address this problem by enabling the depth mapping system to identify no-depth regions using auxiliary image data before recalibration is performed. In the disclosed embodiments, the auxiliary image data is provided by a color image sensor that captures a two-dimensional (2D) image registered to the SPAD array. Alternatively or in addition, other auxiliary image data sources may be used for this purpose, such as a monochrome image sensor or a depth map provided by another depth sensor, if available.

[0032] Thus, in the disclosed embodiments, an imaging device includes both a depth sensing component for generating a depth map of a target scene and an image sensor that provides auxiliary image data. The depth sensing component includes: a radiation source that emits a plurality of pulsed beams of optical radiation toward the target scene; and an array of sensing elements (such as SPADs), for example, that output signals indicative of the incidence times of photons on the sensing elements. The objective optics forms an image of the target scene on the array of sensing elements, while the image sensor captures its own image of the target scene registered with the image formed on the array.

[0033] The processing and control circuit processes the signals output by the sensing elements so as to measure the depth coordinates of the corresponding areas of the target scene based on the time of incidence of the photons. In the disclosed embodiment, the number of sensing elements in the array is greater than the number of beams emitted by the radiation source. Therefore, the processing and control circuit searches on the sensing elements so as to identify the areas of the array on which the light pulses reflected from the corresponding areas of the target scene are incident based on the signals they output, and only uses the signals from these areas in measuring the depth coordinates. The processing and control circuit can group the sensing elements in each area of ​​the identified area together to define superpixels, and process the signals of the sensing elements in each superpixel in the superpixel together to measure the depth coordinates. The search for the area of ​​the array on which the reflected light pulses are incident can be performed, for example, using a random or focused search, or using any other suitable search algorithm.

[0034] The processing and control circuitry may use auxiliary image data in identifying certain areas of the target scene as no-depth areas and in identifying other areas of the target scene as areas where depth data is expected. Such no-depth areas typically correspond to areas of the sensing element array (in the areas identified in the above search) in which the signal output from the sensing element is found to be below a certain minimum threshold. In other words, the processing and control circuitry uses 2D images of these areas captured by the image sensor when evaluating the optical properties of these areas and therefore inferring that these areas are not expected to return a usable reflected beam. On the other hand, when areas of the target scene corresponding to one or more of these areas of the array are not identified as no-depth areas in the 2D image captured by the image sensor, the processing and control circuitry may infer that recalibration is required in order to select one or more new areas of the array to receive signals from for processing.

[0035] In some embodiments, the 2D image captured by the image sensor is a color image, and the processing and control circuitry may identify certain types of no-depth regions based on the respective colors of corresponding portions of the color image. For example, the processing and control circuitry may identify a blue portion of a color image as sky (particularly when the blue appears in an upper portion of the image), and thus mark that portion of the image as a no-depth region. Additionally or alternatively, the processing and control circuitry may use brightness information from the 2D image when identifying the no-depth region, such that portions of the image having brightness below a predefined level may be marked as no-depth regions.

[0036] Additionally or alternatively, other criteria may be applied in identifying no depth areas, and thereby determining whether recalibration is needed. For example, the location of certain areas in the image may be a consideration in identifying them as no depth areas. Such no depth areas include the dark ground at the bottom of the image, and the sky at the top of the image. Inertial sensors in the imaging device may be used in verifying which portion of the image is the top and which portion is the bottom. The time of day and geographic location may also be used as indicators of outdoor sky color.

[0037] Although the above description involves a specific decision criterion for identifying no-depth regions, the entire decision process can be implemented by training a deep neural network to predict no-depth regions. Such a network can use color images, brightness images, or a combination of these images, possibly together with other depth sensing modalities. In this case, the decision criterion is implicit in the weights of the neural network.

[0038] System Description

[0039] Figure 1 is a schematic illustration of a depth mapping system 20 according to an embodiment of the present invention. In the depicted scene, an imaging device 22 generates a depth map of a target scene 24 within a field of view 26 of the device. In this example, the target scene 24 contains foreground objects such as a human figure 28 and furniture 30, as well as background objects, including a wall 32, a picture 34, a window 36, and a carpet 38. For convenience, the front plane of the device 22 is taken to be the XY plane, and the depth coordinates of points in the target scene are measured along the Z axis. Therefore, the depth map generated by the imaging device 22 represents the target scene 24 as a grid of points in the XY plane, with a depth coordinate indicating the measured distance to each point.

[0040] However, for some points in the depth map, the imaging device 22 may not be able to resolve the depth coordinates. The imaging device measures depth values ​​by directing a beam of optical radiation toward points in the target scene 24 and measuring the arrival time of photons reflected from each point. For example, the picture 34 and the carpet 38 may contain dark areas that absorb radiation, so that the flux of reflected photons from these areas may be too weak for the imaging device 22 to reliably sense. As another example, assuming that the window 36 itself is not strongly reflective (or the window is open or does not exist), the flight time of photons to and from objects outside the window back to the imaging device 22 may be longer than the time window used by the imaging device, and the flux of reflected photons may be too weak to sense. Therefore, such areas of the target scene 24 will appear in the depth map as "no depth" areas, which means that depth coordinates cannot be found for points in these areas.

[0041] Figure 22 is a schematic side view of a system 20 according to an embodiment of the present invention, showing details of an imaging device 22. For the sake of brevity and clarity, these details are shown by way of example to facilitate understanding of the operating principles of the present invention in generating depth maps, and in particular, in processing "no depth" areas in such depth maps. Alternatively, these principles may be applied to other types of systems having suitable depth mapping and imaging capabilities.

[0042] The imaging device 22 includes a radiation source 40 that emits a plurality of pulsed beams 42 of optical radiation toward a target scene 24. The term "optical radiation" is used in this specification and claims to refer to any electromagnetic radiation in the visible, infrared, and ultraviolet ranges, and is used interchangeably with the term "light" in this context. In the present example, the radiation source 40 includes a two-dimensional array 44 of vertical cavity surface emitting lasers (VCSELs) that are driven to emit a short pulse sequence of optical radiation. Optionally, a diffractive optical element (DOE) 46 may be used to replicate the actual beams emitted by the VCSELs in the array 44 to output a greater number of beams 42 (e.g., approximately 500 beams) at different respective angles relative to the radiation source 40. The VCSELs are typically driven to emit their respective beams simultaneously, but alternatively, the VCSELs may be actuated individually or in smaller groups. Further alternatively, the radiation source 40 may include a scanning beam source. A collimating lens 48 (which may be positioned between the array 44 and the DOE 46 or after the DOE 46, such as Figure 2 ) projects beam 42 toward target scene 24.

[0043] The receiver 50 in the imaging device 22 (also referred to as a "depth camera") includes a two-dimensional array 52 of sensing elements, such as SPADs, which output signals indicative of the respective incidence times of photons on the sensing elements. Objective optics 54 form an image of the target scene 24 on the array 52. ​​A processing unit 56 is coupled to groups of mutually adjacent sensing elements (which are referred to herein as "superpixels") and processes the signals from the sensing elements in each superpixel together to generate a measure of the arrival times of photons on the sensing elements in the group after each pulse of the beam 42. For clarity of explanation, the processing unit 56 is used to process the signals from the sensing elements in each superpixel. Figure 2 The processing unit is illustrated as being separate from the array 52, but in some implementations, the processing unit and the array are integrated into a single integrated circuit device.

[0044] The processing unit 56 includes hardware amplification and logic circuits that sense and record the pulses output by the SPAD (or other sensing element) in the corresponding superpixel. Thus, the processing unit 56 measures the arrival time of the photons that produce the pulses output by the SPAD, and may measure the intensity of the reflected laser pulses incident on the array 52. ​​The processing unit 56 may include, for example, a time-to-digital converter (TDC) and a digital circuit that is used to collect a histogram of the arrival times of the photons incident on the corresponding superpixels over multiple pulses emitted by the VCSELs in the array 44. The processing unit 56 therefore outputs a value indicating the distance to the corresponding point in the scene 24, and may also output an indication of the signal strength. Alternatively or in addition, some or all components of the processing unit 56 may be separate from the array 52 and may be integrated, for example, with the control processor 58. For generality, the control processor 58 and the processing unit 56 are collectively referred to herein as "processing and control circuits."

[0045] Control processor 58 drives array 44 to transmit pulses, receives arrival time data from processing unit 56, and provides control signals to the processing unit to select sensing elements in array 52 to be assigned to the corresponding superpixel to which the processing unit is coupled. For example, each processing unit 56 may be coupled to a superpixel comprising four SPAD pixels, i.e., a group of four mutually adjacent elements of array 52. ​​Typically, the number of sensing elements in array 52 is much greater than the number of beams 42 emitted from radiation source 40, while the number of processing units 56 is approximately equal to the number of beams.

[0046] In order to make optimal use of the available sensing and processing resources, the control processor 58 identifies the corresponding areas of the array into which pulses of optical radiation reflected from corresponding areas of the target scene 24 are imaged by the objective optical device 48, and selects superpixels to correspond to these areas. Signals output by sensing elements outside of these areas are not used, so these sensing elements can be deactivated, for example by reducing or turning off the bias voltage of these sensing elements. Methods for initially selecting superpixels, for example using various search strategies, are described above. Further methods for verifying and updating the selection of superpixels are described below.

[0047] The control processor 58 calculates the flight time of the photons in each beam 42 and therefore maps the distance to the corresponding point in the target scene 24. This mapping is based on the timing of the emission of the beam 42 by the radiation source 40 and the arrival time (i.e., the incidence time of the reflected photons) measured by the processing unit 56. The control processor 58 stores the depth coordinates in the memory 60 and may output a corresponding depth map for display and / or further processing. However, when the signal output from one or more superpixels in the array is below a certain minimum threshold, the control processor 58 will not generate depth coordinates for points in these areas.

[0048] In addition to the depth sensing functionality described above, the imaging device 22 also includes a two-dimensional imaging camera 62. The camera 62 includes an image sensor 64, such as an RGB color sensor, as is known in the art. An imaging lens 66 forms an image of the target scene 24 on the image sensor 64, which thereby outputs an electronic image of the target scene. Because the camera 62 is mounted in a fixed spatial and optical relationship relative to the receiver 50, the electronic image output by the camera 62 will be aligned with the image formed by the objective optics 54 on the array 52 (however, if the baseline distance between the receiver 50 and the camera 62 is significant relative to the depth of the target scene, the alignment may need to be adjusted to compensate for parallax). The control processor 58 receives the image data output by the camera 62 and uses it to identify and process the depth-free areas in the depth map, as further described below.

[0049] The control processor 58 typically includes a programmable processor that is programmed in software and / or firmware to perform the functions described herein. Alternatively or in addition, the controller 26 includes hardwired and / or programmable hardware logic circuits that perform at least some of the functions of the control processor. Although for simplicity, the control processor 58 is described in detail in FIG. Figure 2 1 and 2 are illustrated as a single monolithic functional block, but in implementation, the control processor may include a single chip or a group of two or more chips having appropriate interfaces for receiving and outputting the signals shown in the figures and described herein.

[0050] How to operate

[0051] Figure 3A is a schematic diagram of a pattern of spots 70 of optical radiation projected onto a target scene 24 according to an embodiment of the present invention. Each spot 70 is projected by a corresponding beam 42 ( Figure 2 ).

[0052] Figure 3B is a schematic front view of an array 52 onto which a target scene 24 is imaged according to an embodiment of the present invention. The sensing elements such as SPADs in the array 52 are too small to be seen in this figure. Instead, Figure 3B 5 shows the locations of spots 72 reflected from the target scene 70 and imaged onto the array 52 by the objective optics 54. In other words, each spot 72 is an image on the array 52 of a corresponding spot 70 projected onto the scene 24 by the radiation source 40. The objective optics 54 projects an area 74 ( Figure 3A ) (including the spot 70 contained in that area) is imaged onto a corresponding area 76 on the array 52.

[0053] Figure 3CDetailed schematic view of region 76 of array 52, showing the locations of spots 72 imaged onto the array, according to an embodiment of the present invention. In this view, it can be seen that array 52 includes a matrix of sensing elements 78, such as SPADs. Control processor 58 assigns each processing unit 56 to a superpixel 80 comprising a 2×2 set of sensing elements 78. In this example, it is assumed that during an initial calibration phase, spot 72 is imaged onto array 52 at position 72a. Therefore, control processor 58 selects sensing elements 78 to assign to each superpixel 80 to maximize the overlap between the corresponding spot 72 and the superpixel, and therefore maximize the signal received from each superpixel.

[0054] However, at some later stage, spot 72 is displaced to a new position 72b on array 52. ​​This displacement may have occurred, for example, due to mechanical vibrations or thermal effects in imaging device 22, or due to other reasons. Spot 72 at position 72b no longer overlaps with superpixel 80 in region 76, or only minimally overlaps with superpixel 80. However, sensing element 78 on which the spot is now imaged is inactive and not connected to any processing unit 56. As a result, control processor 58 no longer receives a usable signal from superpixel 80 in region 76, or at best only a weak signal, resulting in a noisy and unreliable depth measurement.

[0055] In this case, control processor 58 cannot find position 72b without recalibrating the assignment of sensing elements 78 to superpixels 80. Furthermore, control processor 58 cannot determine, based solely on the output of receiver 50, whether the failure to receive a usable signal is due to the need for calibration or simply because spot 70 in region 74 is so weakly reflected that too few reflected photons are incident at position 72a. This latter situation is illustrated in Figure 4A / Figure 4B middle.

[0056] Figure 4A and Figure 4B 9 are schematic diagrams of images 90 and 96 of target scene 24 captured by array 52 and image sensor 64, respectively, according to an embodiment of the present invention. (In this example, successive rows of beams 42, and therefore successive rows of reflective spots 72 on array 52, are offset relative to one another; but otherwise, the configuration of system 20 is similar to that shown in the preceding figures.)

[0057] Dark areas 94 in target scene 24 (in this example, due to dark portions of the picture in the scene background) produce corresponding areas of no depth in image 90 where spots 72 are too weak to give a usable signal. In this case, recalibrating the assignment of sensing elements 78 to superpixels 80 is unlikely to improve the results in any way. Control processor 58 can use auxiliary image data from the image output by camera 62 in order to determine that area 94 is dark, and thus avoid such unnecessary recalibration.

[0058] Figure 5 is a flow chart schematically illustrating a method for calibrating the depth mapping system 20 according to an embodiment of the present invention. As previously described, the purpose of this calibration is to find and maintain the optimal assignment of sensing elements 78 to superpixels 80 ( Figure 3C ), which generally means that the overlap between the superpixel 80 and the corresponding spot 72 is maximized.

[0059] In an initial calibration step 100, the control processor 58 calibrates the receiver 50 (also referred to as a "depth camera," as described above). A calibration procedure that may be used in this step is described above. Typically, in this step, the control processor 58 makes an initial assignment of the processing units 56 to groupings of the sensing elements 78 and then drives the radiation source to output a sequence of pulses in the beam 42. The control processor 58 evaluates the results of the sequence of pulses, for example by checking for each processing unit 56 the number of photons received as a fraction of the number of pulses transmitted. The process is repeated while connecting the processing units 56 to a plurality of different groups of sensing elements 78 until an optimal assignment of the processing units 56 to the sensing elements is found. The optimal assignment will maximize the overlap between the spots 72 on the array 52 and the corresponding superpixels 80, as shown in FIG. Figure 3C shown.

[0060] At a map acquisition step 102, based on the calibrated allocation, the imaging device 22 acquires a depth map. To acquire such a depth map, the radiation source 40 emits a sequence of pulses in the beam 42, and the receiver 50 measures the time of incidence of a photon on the superpixel 80 after each pulse. The processing unit 56 can output a corresponding histogram of the photon arrival time relative to the pulse transmission time. The control processor 58 extracts the flight time value from the histogram of each superpixel 80 and thus constructs a depth map of the target scene 24.

[0061] At a no-depth check step 104, the control processor 58 checks the output of the processing unit 56 to determine if there are any no-depth regions in the depth map, i.e., regions where the depth coordinates are undefined. No-depth regions in the target scene 24 may be defined by corresponding regions of the array 52 where a plurality of superpixels 80 fail to output a usable histogram and therefore fail to provide meaningful depth data, e.g., because the number of photons received as a fraction of the number of pulses transmitted is below a certain minimum threshold. The parameters by which the control processor 58 identifies a region as a no-depth region (such as a minimum threshold fraction of photons received relative to the transmitted pulses used to define a "no-depth" superpixel, and the number of adjacent "no-depth" superpixels required to identify a no-depth region in the depth map) may be set by an operator of the system 20 according to application requirements. If the depth map does not contain such no-depth regions, the process terminates.

[0062] When the control processor 58 identifies a no-depth area in the depth map at step 104, it proceeds to examine the corresponding area in the two-dimensional color image of the target scene 24 output by the camera 62 at a color evaluation step 106. A number of tests may be applied at this stage in order to identify an area of ​​the target scene as a no-depth area based on the image, such as:

[0063] If the brightness of the corresponding area in the 2D image is below a predefined level. This is caused by Figure 4A / Area 94 in B, and Figure 1 34 and the dark areas of the carpet 38. The term "brightness" in the context of this specification and the claims refers to a measure of the intensity of optical radiation captured by the camera 62 from each point in the target scene 24. For example, assuming that the image sensor 64 is an RGB color sensor, the brightness can be calculated as a weighted sum of red, green and blue pixel values, as is known in the art. Alternatively, other measures of brightness can be used in this step.

[0064] If the color falls within a range associated with a depthless area. For example, a certain range of blue tones may be associated with the sky, as can be seen through window 36 ( Figure 1 ) is not visible. The sky will not give a usable depth value due to its large distance from device 22. In such cases, control processor 58 may apply other image-related factors in identifying the sky area, such as the location of the blue area within the image (usually in the upper portion) and the shape of the blue area.

[0065] A combination of color and brightness information may also be used in identifying specific kinds of depth-free areas. For example, a dark area of ​​the floor may be identified as a carpet, from which depth data cannot be retrieved. A rectangular gray area may be identified as a computer screen, which also provides no usable depth data.

[0066] In an alternative embodiment, a deep learning network may be applied to a color image to identify a depth-free area. The network is trained on an RGB image and corresponding accurate reference truth depth data, and thus learns to predict the appearance of a depth-free area within an image. After the training, for each pixel in the image, the network outputs a measure corresponding to the probability that the pixel is in a depth-free area. Based on these probability measures, the control processor 58 calculates the possibility that the entire area in the image is a depth-free area. If this probability is greater than a certain threshold, the area is classified as a depth-free area. Alternatively, the network can be trained to predict the depth-free probability using a low-resolution version of the original depth map. Further in addition or alternatively, the network can operate on the color image and the depth map and generate a measure of the probability of each pixel in the depth-free area. In addition or alternatively, machine learning techniques can be used to classify objects in the target scene 24, and this classification can be used in identifying depth-free areas.

[0067] In another embodiment, when another depth mapping modality (such as pattern-based or stereo depth mapping) is available to the imaging device 22, it can be used to predict the depth-free area. This alternative is particularly advantageous when the other modality is not affected by parallax and thus provides an independent depth estimate.

[0068] At the color check step 108, the control processor 58 checks whether all the depth-free areas found in step 104 are classified as depth-free areas of the target scene 24 in step 106. This step may be based on the above-mentioned test and / or the output of the deep learning network also described above. If all depth-free areas are indeed classified as depth-free areas, the process terminates. If not, the control processor 58 may infer that the position of the superpixel 80 within the corresponding depth-free area of ​​the array 52 should be shifted. In this case, at the recalibration step 110, the control processor 58 recalibrates the allocation of the processing unit 56 to the sensing element 78. This recalibration may extend only over the depth-free areas of the array 52, or alternatively, over a larger area of ​​the array or even over the entire array. The recalibration may use the same search strategy as the search strategy used at step 100, or any other suitable strategy for this purpose. Then, control returns to step 102 for collecting the next depth map.

[0069] In another embodiment of the present invention, identification of no-depth regions may be used in enhancing the subsequent sensitivity and accuracy of depth measurements made by the receiver 50. Specifically, the control processor 58 may process a histogram of the receiver 50 output in such no-depth regions to estimate slowly varying artifacts in the depth measurements due to factors such as nonlinearities of the sensor circuitry, reflections of the transmitted beam within the device 22, timing variations, etc. The control processor 58 may then apply these estimates in enhancing the sensitivity and performance of the device 22.

[0070] It should be understood that the embodiments described above are cited by way of example, and the present invention is not limited to what has been particularly shown and described above. On the contrary, the scope of the present invention includes the various features described above, as well as combinations and sub-combinations of variations and modifications thereof that would occur to a person skilled in the art after reading the above description and that are not disclosed in the prior art.

Claims

1. An imaging device, comprising: a radiation source configured to emit a first number of pulsed beams of optical radiation toward a target scene, the first number being greater than one; an array of a second number of sensing elements configured to output signals indicative of respective incident times of photons on the sensing elements, wherein the second number exceeds the first number; objective optics configured to form a first image of the target scene on the array of sensing elements; an image sensor configured to capture a second image of the target scene registered with the first image; as well as processing and control circuitry coupled to receive the signal from the array and configured to identify, in response to the signal, regions of the array on which pulses of optical radiation reflected from corresponding regions of the target scene are incident, and to process the signals from sensing elements in the identified regions to measure depth coordinates of the corresponding regions of the target scene based on the incidence times, while identifying one or more of the regions of the target scene as no-depth regions in response to the second image, Wherein the processing and control circuit is configured to recalibrate the array to select one or more new areas of the array to receive the signal for processing when the signal output from one or more of the identified areas of the array is below a minimum threshold and the area of ​​the target scene corresponding to the one or more of the identified areas is not identified as a no-depth area. The device according to claim 1 , wherein the second image is a color image.

3. The apparatus of claim 2, wherein the processing and control circuitry is configured to identify the no-depth region in response to a respective color of a corresponding portion of the color image.

4. The apparatus of claim 3, wherein the processing and control circuitry is configured to identify a blue portion of the color image as sky and to mark the sky as a no-depth region. The apparatus of claim 1 , wherein the second image is a depth map. 6 . The apparatus of claim 1 , wherein the processing and control circuitry is configured to identify portions of the second image having brightness below a predefined level as no-depth regions.

7. The apparatus of claim 1 , wherein the processing and control circuitry is configured to identify the no-depth region by applying a deep learning network to the second image to calculate respective probabilities that pixels of the second image are in the no-depth region.

8. The apparatus of claim 7, wherein the deep learning network is configured to operate on both the second image and the depth coordinates.

9. An apparatus according to any one of claims 1 to 8, wherein the processing and control circuitry is configured to select the one or more new regions of the array by searching over the sensing elements to find regions onto which the pulses reflected from the target scene are imaged by the objective optical device.

10. The device of any one of claims 1 to 8, wherein the sensing element comprises a single photon avalanche diode (SPAD).

11. An apparatus according to any one of claims 1 to 8, wherein the processing and control circuit is configured to group the sensing elements in each of the identified areas together to define a superpixel, and to process the signals from the sensing elements in each of the superpixels together to measure the depth coordinate.

12. A method for imaging, comprising: directing a first number of pulsed beams of optical radiation toward a target scene, the first number being greater than one; forming a first image of the target scene on an array of a second number of sensing elements that output signals indicative of respective incident times of photons on the sensing elements, wherein the second number exceeds the first number; calibrating the array to identify regions of the array upon which pulses of optical radiation reflected from corresponding regions of the target scene are incident; processing the signals from the sensing elements in the identified area to measure a depth coordinate of the corresponding area of ​​the target scene based on the incident time; capturing a second image of the target scene registered with the first image; examining the second image to determine whether to identify the corresponding area as a no-depth area when a usable signal cannot be received from one or more of the identified areas of the array relative to the corresponding area of ​​the scene; as well as When areas of the target scene corresponding to the one or more of the identified areas are not identified as no-depth areas, the array is recalibrated to select one or more new areas of the array to receive the signal from for processing. The method according to claim 12 , wherein the second image is a color image.

14. The method of claim 13, wherein examining the second image comprises identifying the no-depth regions responsive to respective colors of corresponding portions of the color image. 15 . The method of claim 12 , wherein examining the second image comprises identifying portions of the second image having brightness below a predefined level as no-depth regions.

16. The method of claim 12, wherein examining the second image comprises applying a deep learning network to the second image to calculate respective probabilities that pixels of the second image are in the no-depth region.

17. The method of claim 12, comprising recalibrating the array to select one or more new areas of the array to receive the signal for processing when the signal output from one or more of the identified areas of the array is below a minimum threshold and the area of ​​the target scene corresponding to the one or more of the identified areas is not identified as a no-depth area.

18. The method of any one of claims 12 to 17, wherein the sensing element comprises a single photon avalanche diode (SPAD).

19. A method according to any one of claims 12 to 17, wherein processing the signal includes grouping the sensing elements in each of the identified areas together to define a superpixel, and processing the signals from the sensing elements in each of the superpixels together to measure the depth coordinate.

Citation Information

Patent Citations

  • Light detection and ranging sensor

    CN108431626A

  • Time-of-flight depth mapping with flexible scan pattern

    CN108541304A

  • Light detection and ranging sensor

    US20170176579A1

  • Reducing power consumption for time-of-flight depth imaging

    US20170272651A1

  • Systems and methods for compression of three dimensional depth sensing

    US20180249143A1