DEPTH MAP GENERATOR
20200045297 · 2020-02-06
Assignee
Inventors
Cpc classification
H04N13/239
ELECTRICITY
H04N23/45
ELECTRICITY
G01S17/48
PHYSICS
G06V10/145
PHYSICS
H04N13/254
ELECTRICITY
H04N13/271
ELECTRICITY
International classification
H04N13/271
ELECTRICITY
H04N13/239
ELECTRICITY
G01S17/48
PHYSICS
Abstract
The invention describes a depth map generator comprising an array comprising a plurality of individually addressable array elements, wherein an array element comprises a semiconductor emitter or a reflector arranged to reflect light emitted by a semiconductor emitter; a driver realised to switch an array element according to a predefined illumination pattern; a number of image sensors, wherein an image sensor is arranged to detect light reflected from a scene irradiated by the irradiation pattern; and a processing unit realised to compute a depth map of the scene on the basis of a light pattern detected by an image sensor. The invention further describes an irradiation arrangement for use in such a depth map generator; a method of generating a depth map of a scene; and a device comprising such a depth map generator.
Claims
1. A depth map generator comprising: an array comprising a plurality of individually addressable array elements, wherein each of the plurality of individually addressable array elements comprises at least one of a semiconductor emitter and a reflector arranged to reflect light emitted by a semiconductor emitter; a driver realised to switch the plurality of individually addressable array elements according to a predefined illumination pattern; a number of image sensors, wherein the number of image sensors are arranged to detect light reflected from a scene illuminated by the predefined illumination pattern; and a processing unit realised to compute a depth map of the scene on the basis of a light pattern detected by the number of image sensors.
2. The depth map generator according to claim 1, wherein a semiconductor emitter is an infrared LED.
3. The depth map generator according to claim 1, wherein the predefined illumination pattern defines a number of active regions such that each of the number of active region is bounded by at least two inactive regions.
4. The depth map generator according to claim 1, wherein the array comprises a plurality of individually addressable semiconductor emitters, and further comprises an primary optical element arranged to shape the light emitted by the semiconductor emitters of the array.
5. The depth map generator according to claim 1, wherein the array comprises a plurality of individually addressable micro-mirrors.
6. The depth map generator according to claim 1, wherein the array comprises at least 100 individually addressable array elements.
7. The depth map generator according to claim 1, wherein each of the number of image sensors comprises an array of photosensors, wherein the array of photosensors are sensitive to the wavelength of light originating from the array.
8. The depth map generator according to claim 1, comprising two of the number of image sensors arranged on opposite sides of the array.
9. An illumination arrangement for use in a depth map generator, comprising: an array of individually addressable array elements, wherein each of the individually addressable array elements comprises at least one of a semiconductor emitter and a reflector arranged to reflect light emitted by a semiconductor emitter; a driver realised to switch the plurality of individually addressable array elements according to a predefined illumination pattern; a number of image sensor arrays, wherein the number of image sensor arrays are arranged to detect light reflected from a scene illuminated by the predetermined illumination pattern; a processing unit realised to compute a depth map of the scene on the basis of a light pattern detected by the number of image sensors: a first interface for connection to the driver of the depth map generator; and a second interface for connection to the processing unit of the depth map generator.
10. A method of generating a depth map of a scene, the method comprises: arranging a depth map generator in front of the scene, the depth map generating including an array comprising a plurality of individually addressable array elements, wherein each of the plurality of individually addressable array elements comprises at least one of a semiconductor emitter and a reflector arranged to reflect light emitted by a semiconductor emitter; choosing an illumination pattern to illuminate the scene; switching, via a driver, the plurality of individually addressable array elements of the array according to the illumination pattern; and computing a depth map of the scene on the basis of the reflected light detected by a plurality of image sensor arrays.
11. The method according to claim 10, wherein the scene is illuminated by a sequence of the illumination patterns.
12. The method according to claim 11, wherein the sequence of the illumination patterns are chosen to successively illuminate the scene in at least one of a vertical direction and a horizontal direction.
13. The method according to claim 11, wherein the sequence of the illumination patterns is the inverse of a preceding illumination pattern.
14. The method according to claim 10, comprising a step of adjusting the illumination pattern on the basis of a computed depth map.
15. The depth map generator according to claim 1 for use in a device, wherein the device is realised as at least one of a mobile phone, a handheld electronic device, a portable electronic device, a machine vision device, a robot, a drone, and an automotive vision device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034] In the drawings, like numbers refer to like objects throughout. Objects in the diagrams are not necessarily drawn to scale.
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0035]
[0036] The array of emitters irradiates a scene in its field of view, i.e. the emitter array casts an irradiation pattern into its field of view. The image sensor captures an image of the irradiated scene. The diagram shows the path of a light ray L from an emitter pixel EP to point P in the scene, from which it is reflected as light ray L and detected by image sensor pixel(s) SP. In simplified ray optics, rays L, L pass unchanged through the centres of the respective lenses FE, FS. Therefore, each pixel in the irradiated scene originates from a pixel of the emitter array, so that an emitter pixel EP subtends an angle 2 to its corresponding scene pixel. The scene pixels are imaged by the image sensor S, so that a scene pixel P subtends an angle 1 to its imaged pixel SP. A right angle is subtended between the illuminated pixel P in the scene and a point V in the plane of the lenses FE, FS. Recognising that
allows H to be expressed as:
The principle of similar triangles can then be applied in determining the distance to point P as follows: the position of the emitting pixel E.sub.P is known (from its position in the irradiation pattern), so that
in which H.sub.E is the distance to lens F.sub.E, and B.sub.E is the distance from the array centre to the emitting pixel E.sub.P. Similarly, the position B.sub.S of the image sensor pixel E.sub.S can be determined (by comparing the sensed image to the irradiation pattern), so that
[0037] These values can be substituted into equation (4) to solve for H. These computations are repeated for each pixel of the irradiation pattern.
[0038] As explained above, the invention is based on the insight that the distance to an illuminated point on a scene can be established by identifying the position of the corresponding detecting photosensor(s) in a sensor array. An offset between the expected position of a detected pixel to the actual position of the detected pixel is used to calculate the distance to the illuminated point. This works best with a black & white irradiation pattern, in which white represents emitters that are on.
[0039]
[0040] It shall be noted that the diagram is not to scale. Generally, the distance between emitter array E and image sensor S may be relatively small, for example from a few tens of millimetres to a few centimetres, while the distance to a scene can be in the order of 0.25 m to 3 m for consumer products such as mobile devices, and may exceed 3 m in the case of applications such as automotive imaging systems.
[0041] To correctly interpret an imaged irradiation pattern, the system carries out a calibration procedure to establish a relationship between the emitter array and any image sensor. A calibration procedure can be used to compensate for unavoidable inaccuracies in the arrangement of emitter array and image sensors.
[0042]
[0043] The distance H to the illuminated point (i.e. the depth of point P in the scene 3) can be calculated as explained above, recognising that a scene pixel P subtends an angle 1 to its imaged pixel S1P in the first image sensor S1, and the same scene pixel P subtends an angle 2 to its imaged pixel S2P in the second image sensor S2.
[0044]
[0045]
[0046] Although the present invention has been disclosed in the form of preferred embodiments and variations thereon, it will be understood that numerous additional modifications and variations could be made thereto without departing from the scope of the invention. For example, embodiments of the inventive depth map generator may comprise two emitter arrays and a single camera; an assembly in which two cameras are arranged in line and with an emitter array perpendicularly offset from that line (this arrangement permits the use of alternating irradiation patterns of vertical lines and horizontal lines); an active emitter array with an active lens to allow sub emitter-lens-pitch shifts of the irradiation pattern to increase depth map resolution; two emitters with different emission wavelengths, visible line pattern, etc.
[0047] For the sake of clarity, it is to be understood that the use of a or an throughout this application does not exclude a plurality, and comprising does not exclude other steps or elements. The mention of a unit or a module does not preclude the use of more than one unit or module.
REFERENCE SIGNS
[0048] depth map generator 1 [0049] driver 11 [0050] driver interface 110 [0051] processing unit 12 [0052] processor interface 120 [0053] scene 3 [0054] emitter array E, R [0055] imaging lens F.sub.E, F.sub.S [0056] semiconductor emitter E.sub.P [0057] semiconductor emitter E.sub.X [0058] micro-mirror R.sub.P [0059] active array region E.sub.ON [0060] inactive array region E.sub.OFF [0061] image sensor array S, S1, S2 [0062] photosensor S.sub.P [0063] point P [0064] illumination pattern X1, . . . , X4, XC [0065] emitted light L [0066] reflected light L [0067] distance to illuminated point H [0068] distance to lens H.sub.E, H.sub.S, H.sub.S1, H.sub.S2 [0069] array separation B [0070] distance to pixel B.sub.E, B.sub.S [0071] angle 1, 2 [0072] depth map DM