Structured light scanning system with thermal compensation

By using thermal sensors and digital processing units in the structured light scanning system, a compensation projection pattern is generated according to temperature changes, which solves the problem of light pattern distortion caused by temperature changes and improves the stability and detection accuracy of the system.

CN115460394BActive Publication Date: 2024-10-29HIMAX TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210625239.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-02
Publication Date
2024-10-29
Estimated Expiration
2042-06-02

AI Technical Summary

Technical Problem

The components of the structured light scanning system are susceptible to drift and deformation caused by temperature changes, which affects detection accuracy.

Method used

A structured light scanning system with thermal compensation is designed, including a structured light projector, an image sensor, and a digital processing unit. The thermal sensor measures the temperature and generates a depth map based on the stored compensation projection pattern and displacement map. to correct light pattern distortion.

Benefits of technology

It effectively compensates for the impact of temperature changes on the structured light scanning system and improves detection accuracy and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115460394B_ABST
    Figure CN115460394B_ABST
Patent Text Reader

Abstract

A structured light scanning system with thermal compensation includes a structured light projector for generating a preset projection light pattern, which is projected onto an object and reflected to form a reflected light pattern; an image sensor for capturing the reflected light pattern; and a digital processing unit for generating a depth map based on the reflected light pattern and a compensated projection pattern related to the current temperature.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a structured-light scanning system, and more particularly to a structured-light scanning system with thermal compensation. Background Art

[0002] Structured light scanning is a process of projecting a pattern of light onto a scene. The reflected pattern is captured by a camera and processed (e.g. using triangulation) to reconstruct a three-dimensional or depth map of objects in the scene. Structured light scanning can be used for object detection to detect specific classes of objects in digital images or videos. In particular, structured light scanning can be used for face detection in security mechanisms of mobile devices (e.g. mobile phones), which is a type of object detection used to detect frontal faces.

[0003] However, the components of structured light scanning systems are susceptible to temperature changes, which can cause them to shift, drift, or deform. These changes can distort the projected light pattern, thereby reducing detection accuracy. For example, temperature changes can cause changes in the wavelength of the light source, drift in the effective focal length of the lens, and deformation of the printed circuit board.

[0004] Therefore, it is urgent to propose a novel mechanism to compensate for the thermal effects of structured light scanning systems. Summary of the invention

[0005] In view of the above, one of the objectives of the embodiments of the present invention is to provide a structured light scanning system that can compensate for thermal effects.

[0006] According to an embodiment of the present invention, a structured light scanning system with thermal compensation includes a structured light projector, an image sensor, and a digital processing unit. The structured light projector is used to generate a preset projection light pattern, which is projected onto an object and reflected, thereby forming a reflected light pattern. The image sensor is used to capture the reflected light pattern. The digital processing unit generates a depth map based on the reflected light pattern and a compensated projection pattern related to a current temperature. According to another embodiment, the digital processing unit generates a depth map based on the reflected light pattern, a reference projection pattern, and a displacement map related to the current temperature.

[0007] Preferably, it further comprises a bracket for supporting the structured light projector and the image sensor.

[0008] Preferably, the device further comprises a memory device for storing a plurality of compensation projection patterns associated with different temperatures, from which the digital processing unit obtains the compensation projection pattern associated with the current temperature.

[0009] Preferably, the digital processing unit comprises a buffer for temporarily storing a compensation projection pattern related to the current temperature.

[0010] Preferably, the digital processing unit comprises a controller for controlling the buffer to obtain a compensation projection pattern related to the current temperature.

[0011] Preferably, the digital processing unit comprises a depth decoder for generating the depth map according to a compensated projection pattern related to the current temperature and the reflected light pattern.

[0012] Preferably, a thermal sensor is further included to measure the current temperature.

[0013] Preferably, the thermal sensor is disposed in or adjacent to the structured light projector.

[0014] The present invention is a structured light scanning system with thermal compensation, comprising: a structured light projector for generating a preset projection light pattern, which is projected onto an object and reflected, thereby forming a reflected light pattern; an image sensor for capturing the reflected light pattern; and a digital processing unit for generating a depth map based on the reflected light pattern, a reference projection pattern and a displacement map related to a current temperature; wherein the reference projection pattern is related to a reference temperature, and the displacement map related to the current temperature represents the point displacement between a compensation projection pattern related to the current temperature and the reference projection pattern.

[0015] Preferably, it further comprises a bracket for supporting the structured light projector and the image sensor.

[0016] Preferably, a memory device is further included for storing the reference projection pattern and a plurality of displacement maps associated with different temperatures.

[0017] Preferably, the digital processing unit comprises a buffer for temporarily storing the reference projection pattern and the displacement map related to the current temperature.

[0018] Preferably, the digital processing unit comprises a controller for controlling the buffer to obtain the reference projection pattern and the displacement map related to the current temperature.

[0019] Preferably, if there is no displacement map matching the current temperature, two displacement maps are interpolated to obtain a displacement map related to the current temperature.

[0020] Preferably, the digital processing unit comprises a depth decoder for generating the depth map according to the reflected light pattern, the reference projected pattern and a displacement map related to the current temperature.

[0021] Preferably, a thermal sensor is further included to measure the current temperature.

[0022] Preferably, the thermal sensor is disposed in or adjacent to the structured light projector.

[0023] Preferably, the digital processing unit comprises an interpolator for performing an image distortion operation on the reference projection pattern using a displacement map related to the current temperature, so as to generate a compensation projection pattern related to the current temperature.

[0024] By means of the above technical solution, the present invention has at least the following advantages and effects: the present invention can compensate for thermal effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A block diagram showing a structured light scanning system with thermal compensation according to an embodiment of the present invention.

[0026] Figure 2A A flow chart showing the calibration phase of the first embodiment of the present invention is shown to generate and store compensation projection patterns associated with different temperatures.

[0027] Figure 2B The invention exemplifies the generation and storage of compensation projection patterns associated with different temperatures in a memory device.

[0028] Figure 2C A flow chart showing the depth decoding stage of the first embodiment of the present invention is shown to obtain a compensated projection pattern related to the current (ambient) temperature and generate a depth map accordingly.

[0029] Figure 3A A flow chart showing the calibration phase of the second embodiment of the present invention is shown to generate and store a reference projection pattern associated with a reference temperature and displacement maps associated with different temperatures.

[0030] Figure 3B A reference projection pattern associated with a reference temperature and displacement maps associated with different temperatures are generated and stored.

[0031] Figure 3C A flow chart showing the depth decoding stage of the second embodiment of the present invention is shown to obtain a reference projection pattern related to a reference temperature and a displacement map related to a current (ambient) temperature and generate a depth map accordingly.

[0032] Figure 3D Shows the hardware architecture for generating the compensated projection pattern.

[0033]

Main component symbol description

[0034] 100: Structured light scanning system with thermal compensation 11: Structured light projector

[0035] 12: Image sensor 13: Bracket

[0036] 14: Thermal sensor 15: Memory device

[0037] 16: Digital processing unit 161: Buffer

[0038] 162: Depth Decoder 163: Controller

[0039] 164: Interposer 21: At ambient temperature

[0040] 22: Obtain corresponding compensation projection pattern 23: Store in memory device

[0041] 24: Change the ambient temperature 25: Is the temperature within the preset range?

[0042] 26: Read the current temperature 27: Get the corresponding compensation projection pattern

[0043] 28: Generate depth map 31: At reference temperature

[0044] 32: Get reference projection pattern 33: At ambient temperature

[0045] 34: Obtain the corresponding displacement map 35: Store in the memory device

[0046] 36: Change the ambient temperature 37: Is the temperature within the preset range

[0047] 38: Read the current temperature 39: Get the reference projection pattern and the corresponding displacement map

[0048] 40: Generate Depth Map GT: Compensate for Projection Pattern

[0049] DM: Displacement Map DETAILED DESCRIPTION

[0050] Figure 1 A block diagram of a structured light scanning system 100 with thermal compensation according to an embodiment of the present invention is shown.

[0051] In this embodiment, a structured light scanning system with thermal compensation (hereinafter referred to as system) 100 may include a structured light projector 11 for generating a predetermined projection light pattern. The projection light pattern is projected onto an object (not shown) and reflected, thereby forming a reflected light pattern.

[0052] The system 100 of this embodiment may include an image sensor 12, such as a camera, for capturing reflected light patterns.

[0053] In one embodiment, the system 100 may include a bracket 13 (also called an immobilizer), such as a printed circuit board, for supporting the structured light projector 11 and the image sensor 12 to maintain the relative positions of the structured light projector 11 and the image sensor 12 .

[0054] According to one of the features of this embodiment, the system 100 may include a thermal sensor 14 (also called a temperature sensor) for measuring the current (ambient) temperature to perform thermal compensation. In one embodiment, since the structured light projector 11 is susceptible to temperature rise or drop, the thermal sensor 14 may be disposed in or adjacent to the structured light projector 11. Generally speaking, the thermal sensor 14 may be disposed at any position of the system 100 to measure the ambient temperature.

[0055] According to another feature of this embodiment, the system 100 may include a memory device 15, such as a flash memory or a read-only memory, for providing (preset) compensation projection patterns, which are related to the current temperature. In one embodiment, a plurality of compensation projection patterns related to different temperatures are stored in the memory device 15. In another embodiment, a reference projection pattern related to a reference temperature (such as room temperature) and a plurality of displacement maps (DM) related to different temperatures are stored in the memory device 15, wherein the displacement map (DM) represents the point displacement between the corresponding compensation projection pattern and the reference projection pattern.

[0056] The system 100 of this embodiment may include a digital processing unit 16 for generating a (compensated) depth map based on the reflected light pattern (from the image sensor 12) and the compensation projection pattern related to the current temperature. The digital processing unit 16 may include a buffer 161, such as a random access memory (RAM), for temporarily storing the compensation projection pattern related to the current temperature.

[0057] The digital processing unit 16 may include a depth decoder 162, which generates a (compensated) depth map based on the compensated projection pattern (related to the current temperature) and the reflected light pattern (from the image sensor 12). The depth map may be obtained using conventional depth decoding techniques, the details of which are omitted.

[0058] The digital processing unit 16 may include a controller 163 for controlling the operation of the buffer 161 and the depth decoder 162 (as shown by the dotted line), coordinating the structured light projector 11 and the image sensor 12 (as shown by the dotted line), and obtaining a compensated projection pattern (related to the current temperature) from the memory device 15 based on the current temperature (received from the thermal sensor 14).

[0059] Figure 2A A flow chart showing the calibration phase of the first embodiment of the present invention is shown to generate and store compensated projection patterns associated with different temperatures.

[0060] In step 21, the system 100 is at an ambient temperature, and in step 22, a corresponding compensation projection pattern is obtained so that the depth decoder 162 can generate a (preset) target depth map. In step 23, the compensation projection pattern is stored in the memory device 15. In step 24, the ambient temperature is changed (e.g., increased). When the changed temperature is still within the preset range (step 25), the process returns to step 21. In this way, the compensation projection patterns associated with different temperatures can be stored in the memory device 15. If the compensation projection pattern is device-independent, the calibration phase only needs to be performed once, otherwise the calibration phase needs to be performed separately for each device.

[0061] Figure 2B The compensation projection patterns associated with different temperatures are generated and stored in the memory device 15. In this example, during the calibration phase, the compensation projection patterns GT associated with ambient temperatures of 20, 25 and 60 degrees (Celsius) are generated and stored in the memory device 15.

[0062] Figure 2C A flow chart showing the depth decoding stage of the first embodiment of the present invention is shown to obtain a compensated projection pattern related to the current (ambient) temperature and generate a depth map accordingly.

[0063] In step 26, the controller 163 reads the current temperature (provided by the thermal sensor 14). Next, in step 27, the corresponding compensation projection pattern related to the current temperature is obtained from the memory device 15 and temporarily stored in the buffer 161. Figure 2B As shown, the corresponding compensation projection pattern related to the current temperature of 60 degrees (Celsius) is obtained and temporarily stored in the buffer 161. Then, in step 28, the depth decoder 162 generates a (compensated) depth map according to the compensation projection pattern (related to the current temperature) and the reflected light pattern (from the image sensor 12).

[0064] Figure 3A A flow chart showing the calibration phase of the second embodiment of the present invention is shown to generate and store a reference projection pattern associated with a reference temperature and a displacement map (DM) associated with different temperatures.

[0065] In step 31, the system 100 is at a reference temperature, and in step 32, a corresponding reference projection pattern is obtained so that the depth decoder 162 can generate a (preset) target depth map. The reference projection pattern is stored in the memory device 15. In step 33, the system 100 is at an ambient temperature, and in step 34, a corresponding displacement map between a corresponding compensation projection pattern and a reference projection pattern is obtained. In step 35, the displacement map is stored in the memory device 15. In step 36, the ambient temperature is changed (e.g., increased). When the changed temperature is still within the preset range (step 37), the process returns to step 33. Thereby, the reference projection pattern and the displacement maps associated with different temperatures can be stored in the memory device 15.

[0066] Figure 3B The generation and storage of a reference projection pattern associated with a reference temperature and displacement maps associated with different temperatures are illustrated. In this example, during the calibration phase, a reference projection pattern associated with a reference temperature (e.g., 25 degrees (Celsius)) is generated and stored in the memory device 15, and displacement maps DM associated with ambient temperatures of 20 and 60 degrees (Celsius) are generated and stored in the memory device 15.

[0067] Figure 3C A flow chart showing the depth decoding stage of the second embodiment of the present invention is shown to obtain a reference projection pattern related to a reference temperature and a displacement map related to a current (ambient) temperature and generate a depth map accordingly.

[0068] In step 38, the controller 163 reads the current temperature (provided by the thermal sensor 14). Then, in step 39, a reference projection pattern related to the reference temperature and a displacement map related to the current temperature are obtained from the memory device 15. Then, in step 40, the depth decoder 162 generates a (compensated) depth map based on the reference projection pattern, the displacement map (related to the current temperature) and the reflected light pattern (from the image sensor 12). Figure 3D The hardware architecture for generating the compensation projection pattern may use an interpolator 164 (which may be disposed in the digital processing unit 16 ) to perform an image warping operation on the reference projection pattern using a displacement map to generate the compensation projection pattern.

[0069] Next, the depth decoder 162 generates a depth map based on the compensated projection pattern and the reflected light pattern (from the image sensor 12). It is worth noting that if there is no displacement map matching the current temperature, an interpolation operation can be performed on a displacement map slightly greater than the current temperature and a displacement map slightly less than the current temperature to obtain a displacement map related to the current temperature. Figure 3BAs illustrated, by interpolating the displacement map at a temperature of 20 degrees (Celsius) and the displacement map at a temperature of 60 degrees (Celsius), a displacement map related to the current temperature of 40 degrees (Celsius) can be obtained.

[0070] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with the profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. A structured light scanning system with thermal compensation, characterized in that: Include: A structured light projector for generating a preset projection light pattern, which is projected onto an object and reflected, thereby forming a reflected light pattern; An image sensor for capturing the reflected light pattern; A memory device that pre-stores a reference projection pattern and a plurality of displacement maps associated with different temperatures before the depth map is generated; and A digital processing unit obtains a reference projection pattern and a displacement map related to a current temperature from the memory device, and generates a depth map according to the reflected light pattern, the reference projection pattern and the displacement map related to the current temperature; The reference projection pattern is related to a reference temperature, and the displacement map related to the current temperature represents a point displacement between a compensation projection pattern related to the current temperature and the reference projection pattern.

2. The structured light scanning system with thermal compensation according to claim 1, characterized in that: The device further comprises a bracket for supporting the structured light projector and the image sensor.

3. The structured light scanning system with thermal compensation according to claim 1, characterized in that: The digital processing unit includes a buffer for temporarily storing the reference projection pattern and a displacement map related to the current temperature.

4. The structured light scanning system with thermal compensation according to claim 3, characterized in that: The digital processing unit includes a controller for controlling the buffer to obtain the reference projection pattern and a displacement map related to the current temperature.

5. The structured light scanning system with thermal compensation according to claim 1, characterized in that: If there is no displacement map matching the current temperature, the two displacement maps are interpolated to obtain a displacement map related to the current temperature.

6. The structured light scanning system with thermal compensation according to claim 1, characterized in that: The digital processing unit includes a depth decoder, which generates the depth map according to the reflected light pattern, the reference projected pattern and a displacement map related to the current temperature.

7. The structured light scanning system with thermal compensation according to claim 1, characterized in that: HTP220347CNPage 2 / 2 It also includes a thermal sensor to measure the current temperature.

8. The structured light scanning system with thermal compensation according to claim 7, characterized in that: The thermal sensor is disposed in the structured light projector or adjacent to the structured light projector.

9. The structured light scanning system with thermal compensation according to claim 1, characterized in that: The digital processing unit includes an interpolator for performing image twisting operation on the reference projection pattern using a displacement map related to the current temperature, so as to generate a compensation projection pattern related to the current temperature.

Citation Information

Patent Citations

  • Depth imaging system and temperature error correction method thereof

    CN108711167A

  • Structured light projector and method for structured light projection using the same

    US10996483B1