Performance analysis method, device, electronic device and computer readable storage medium

By calculating the signal-to-noise ratio of the depth imaging device and adjusting the design parameters, the light leakage and glare problems in the large wide-angle depth imaging device are solved, the application performance of the device is improved, and the three-dimensional reconstruction quality and robot obstacle avoidance capabilities are enhanced.

CN115442590BActive Publication Date: 2024-11-22Hefei Xinming Intelligent Technology Co., Ltd.
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210929890.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-02
Publication Date
2024-11-22
Estimated Expiration
2042-08-02

AI Technical Summary

Technical Problem

In practical applications, large wide-angle depth imaging device has large field of view angle of speckle projection of the dot matrix projector, resulting in light leakage and glare problems in images collected by the light receiving camera, which affects the quality of three-dimensional depth reconstruction, limits its use in robotic applications. use.

Method used

By using performance analysis method, by obtaining the reflected light signal power and misty light power of the light receiving camera, the signal-to-noise ratio SNR is calculated, the performance of the deep imaging device is analyzed, and the design parameters are adjusted according to the signal-to-noise ratio to reduce the miscellaneous reflection of the protective cover. The effect of light on light receiving camera.

Benefits of technology

The quality of images collected by the light-receiving camera is improved, the yield of the depth imaging device is improved, and the application capabilities in robot obstacle avoidance and other fields are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115442590B_ABST
    Figure CN115442590B_ABST
Patent Text Reader

Abstract

The present invention discloses a performance analysis method, device, electronic device and computer-readable storage medium. The performance analysis method includes: obtaining the optical signal power S of the reflected light received by the light receiving camera, where the reflected light is the light emitted by the dot matrix projector to the object to be measured and reflected by the object to be measured to the light receiving camera; based on the light intensity I of the stray light at the position of point G G The stray light power N at the light receiving camera is calculated based on the diameter δ of the image formed by the stray light at the G point. The stray light at the G point is the light emitted by the dot matrix projector to the protective cover and totally reflected by the protective cover. The signal-to-noise ratio SNR of the depth imaging device is calculated based on the light signal power S and the stray light power N. The performance of the depth imaging device is analyzed based on the signal-to-noise ratio SNR. The performance of the structural model of the depth imaging device is analyzed by using this performance analysis method to find the most suitable design parameters to eliminate or reduce stray light.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of depth imaging technology, and specifically relates to a performance analysis method, device, electronic device, and computer-readable storage medium. Background Art

[0002] As people's living standards improve, indoor robots based on intelligent navigation solutions have gradually entered people's lives, and the 3D perception system is its core part, which is used to realize functions such as SLAM (simultaneous localization and mapping) and obstacle avoidance. The 3D perception system here mostly adopts active, wide-angle structured light solutions to achieve three-dimensional reconstruction of space.

[0003] Among them, the depth imaging device with wide-angle structured light includes a wide-angle dot matrix projector, a light receiving camera and a protective cover. However, due to the large field of view of the speckle projection of the dot matrix projector, in actual use of the product, the images collected by the light receiving camera often have stray light problems such as light leakage and glare, which affects the quality of three-dimensional depth reconstruction. These factors will greatly limit the application of wide-angle depth imaging devices on robots. Summary of the invention

[0004] The purpose of the present disclosure is to provide a performance analysis method, device, electronic device and computer-readable storage medium. When designing a depth imaging device, this performance analysis method can be used to analyze the performance of the depth imaging device in order to find the most suitable design parameters, thereby improving the product yield of the depth imaging device and improving the problems of stray light such as light leakage and glare that often occur in images captured by a light receiving camera.

[0005] In a first aspect, the present disclosure provides a performance analysis method for a depth imaging device, wherein the depth imaging device comprises a substrate, a functional element and a protective cover, wherein the functional element is disposed on the substrate, the protective cover is supported on the substrate and is located on a side of the functional element away from the substrate, and the functional element comprises a dot matrix projector and a light receiving camera arranged at intervals; wherein the performance analysis method comprises:

[0006] Acquire the optical signal power S of the reflected light received by the light receiving camera, wherein the reflected light is the light emitted by the dot matrix projector to the object to be measured and reflected by the object to be measured to the light receiving camera;

[0007] Based on the light intensity I of stray light at point G G and the diameter δ of the image formed by the stray light at the G point at the light receiving camera, and the stray light power N at the light receiving camera is calculated, wherein the stray light at the G point is the light emitted by the dot matrix projector to the protective cover and totally reflected by the protective cover;

[0008] Calculating a signal-to-noise ratio (SNR) of the depth imaging device according to the optical signal power (S) and the stray light power (N);

[0009] Based on the signal-to-noise ratio SNR, the performance of the depth imaging device is analyzed.

[0010] In an exemplary embodiment of the present disclosure, the optical signal power S, the stray light power N, and the signal-to-noise ratio SNR of the depth imaging device satisfy the following formula (1), wherein:

[0011]

[0012] The light intensity I of the stray light at the G point G , the diameter δ of the image of the stray light at the G point formed at the light receiving camera, and the stray light power N at the light receiving camera satisfy the following formula (1), where:

[0013]

[0014] In an exemplary embodiment of the present disclosure, acquiring the optical signal power S of the reflected light received by the light receiving camera specifically includes:

[0015] Obtain the focal length f of the light receiving camera, the light divergence angle α and the single-point light power Is of the dot matrix projector, the reflectivity Rs of the object to be measured, and the path D of the reflected light, and calculate the light signal power S based on the following formula (3), where:

[0016]

[0017] In an exemplary embodiment of the present disclosure, based on the light intensity I of the stray light at the position of point G G and the diameter δ of the image formed by the stray light at the G point at the light receiving camera, before calculating the stray light power N at the light receiving camera, the performance analysis method further includes:

[0018] Obtaining a vertical distance d1 between the protective cover and the optical center of the light receiving camera;

[0019] When it is determined that the vertical distance d1 between the protective cover and the optical center of the light receiving camera is less than the preset distance value, the diameter δ of the image formed by the stray light at the G point at the light receiving camera is calculated based on the lens aperture F, the focus distance FL, the focal length f and the vertical distance d1 of the light receiving camera, where:

[0020]

[0021] In an exemplary embodiment of the present disclosure, the preset distance value is 10 mm.

[0022] In an exemplary embodiment of the present disclosure, based on the light intensity I of the stray light at the position of point G G and the diameter δ of the image formed by the stray light at the G point at the light receiving camera, before calculating the stray light power N at the light receiving camera, the performance analysis method further includes:

[0023] Get the incident light intensity I of the stray light in the light emitted by the dot matrix projector i , and the attenuation coefficient u of the protective cover;

[0024] Determine the reflectivity R of the protective cover, the number of internal reflections M and the single internal reflection path L when the stray light in the protective cover is reflected to the G point, and calculate the light intensity I of the stray light at the G point based on the following formula (5): G ,in:

[0025] I G =I i *R M *exp(-uML) Formula (5).

[0026] In an exemplary embodiment of the present disclosure, determining the reflectivity R of the protective cover, and the number of internal reflections M and the single internal reflection path L when the stray light in the protective cover is reflected to the G point position specifically includes:

[0027] Based on the incident angle θi of the stray light in the light emitted by the dot matrix projector, the refractive index n1 of the medium between the functional element and the protective cover, and the refractive index n2 of the protective cover, the refractive angle θt of the stray light entering the protective cover and the reflectivity R of the protective cover are determined;

[0028] Determine a single internal reflection path L based on the thickness d2 of the protective cover and the refraction angle θt of the protective cover;

[0029] Based on the incident angle θi of the stray light, the refraction angle θt and thickness d2 of the protective cover, the horizontal distance HG between the optical center of the dot matrix projector and the G point position, and the vertical distance d1 between the protective cover and the optical center of the light receiving camera, the number of internal reflections M when the stray light in the protective cover is reflected to the G point position is determined, wherein the optical center of the dot matrix projector and the optical center of the light receiving camera are located on the same horizontal line.

[0030] In an exemplary embodiment of the present disclosure, the incident angle θi of the stray light, the refractive index n1, the refractive index n2, the refractive angle θt of the protective cover, the reflectivity R, the thickness d2, the horizontal distance HG, the vertical distance d1, and the number of internal reflections M satisfy the following formulas (6) to (10), where:

[0031] n1 sinθ i =n2 sinθ t Formula (6);

[0032] R(R0,θ t )=R0+(1-R0)(1-cosθ t ) 5 Formula (7);

[0033]

[0034]

[0035] HG=d1*tanθ i +M*d2*tanθ t Formula (10).

[0036] In an exemplary embodiment of the present disclosure, obtaining the attenuation coefficient u of the protective cover specifically includes:

[0037] The thickness d2 and transmittance T of the protective cover are obtained, and the attenuation coefficient u of the protective cover is calculated based on the following formula (11), where:

[0038]

[0039] In an exemplary embodiment of the present disclosure, analyzing the performance of the depth imaging device based on the signal-to-noise ratio SNR specifically includes:

[0040] Comparing the signal-to-noise ratio SNR with a preset ratio;

[0041] When the signal-to-noise ratio SNR is less than the preset ratio, determining that the performance of the depth imaging device is in a poor state;

[0042] When the performance of the depth imaging device is in a poor state, at least part of the parameter information used in calculating the optical signal power S and / or the stray light power N is called out to indicate adjustment of the at least part of the parameter information.

[0043] In an exemplary embodiment of the present disclosure, the preset ratio is 10 dB.

[0044] A second aspect of the present disclosure provides a performance analysis device for analyzing the performance of a depth imaging device, wherein the depth imaging device comprises a substrate, a functional element and a protective cover, wherein the functional element is disposed on the substrate, the protective cover is supported on the substrate and is located on a side of the functional element away from the substrate, and the functional element comprises a dot matrix projector and a light receiving camera arranged at intervals; wherein the performance analysis device comprises:

[0045] An acquisition module, used to acquire the optical signal power S of the reflected light received by the light receiving camera, wherein the reflected light is the light emitted by the dot matrix projector to the object to be measured and reflected by the object to be measured to the light receiving camera;

[0046] The first calculation module is used to calculate the light intensity I of the stray light at the G point. G and the diameter δ of the image formed by the stray light at the G point at the light receiving camera, and the stray light power N at the light receiving camera is calculated, wherein the stray light at the G point is the light emitted by the dot matrix projector to the protective cover and totally reflected by the protective cover;

[0047] A second calculation module, used to calculate the signal-to-noise ratio SNR of the depth imaging device according to the optical signal power S and the stray light power N;

[0048] A performance analysis module is used to analyze the performance of the depth imaging device based on the signal-to-noise ratio SNR.

[0049] A third aspect of the present disclosure provides an electronic device, comprising:

[0050] a memory storing computer-readable instructions;

[0051] The processor reads the computer-readable instructions stored in the memory to execute any one of the performance analysis methods described above.

[0052] A fourth aspect of the present disclosure provides a computer-readable storage medium, wherein computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer executes any one of the above-mentioned performance analysis methods.

[0053] The disclosed solution has the following beneficial effects:

[0054] The performance of the depth imaging device is evaluated by the signal-to-noise ratio SNR. The calculation of this signal-to-noise ratio SNR is related to the optical signal power S and the stray light power N received by the light receiving camera. The optical signal power S is the normal signal received by the light receiving camera, and the stray light power N refers to the light power that is totally reflected by the protective cover and enters the light receiving camera. The stray light power N is the noise received by the light receiving camera. When designing a depth imaging device, this performance analysis method can be used to analyze the performance of the structural model of the depth imaging device. Based on the analysis results, the most suitable design parameters can be found to avoid or improve the influence of the stray light totally reflected by the protective cover on the light receiving camera, thereby improving the stray light problems such as light leakage and glare that often occur in the images collected by the light receiving camera, and then the yield of the depth imaging device can be improved.

[0055] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0058] Figure 1 A schematic structural diagram of a depth imaging device according to an embodiment of the present disclosure is shown;

[0059] Figure 2 Shows Figure 1 A schematic diagram of the geometric relationship between various structures of the simplified depth imaging device shown;

[0060] Figure 3 A schematic diagram of a process flow of a performance analysis method according to an embodiment of the present disclosure is shown;

[0061] Figure 4 A schematic diagram showing the relationship between the signal-to-noise ratio SNR and the path D of the reflected light when the number of internal reflections M of the protective cover is 4;

[0062] Figure 5 A schematic diagram showing the relationship between the signal-to-noise ratio SNR and the path D of the reflected light when the number of internal reflections M of the protective cover is 6;

[0063] Figure 6 A structural block diagram of a performance analysis device according to an embodiment of the present disclosure is shown;

[0064] Figure 7 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0065] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present disclosure will be more comprehensive and complete and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0066] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, well-known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0067] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0068] The present disclosure provides a depth imaging device, which can be used to achieve depth perception. The main implementation mode adopted is a visual mode based on dot matrix projection. The depth imaging device of this embodiment can be an active monocular structured light or an active binocular structured light, such as Figure 1 As shown, the core structure includes: a dot matrix projector 101 with a large wide angle, a light receiving camera 102 and a protective cover 104.

[0069] It should be understood that when the depth imaging device is an active binocular structured light, compared to the solution where it is an active monocular structured light, it may include two light receiving cameras 102 that are equally spaced on opposite sides of the dot projector 101.

[0070] For example, the dot matrix projector 101 may be an infrared speckle projector, which may be composed of an infrared vcsel (vertical cavity surface) laser, a collimating lens and a diffractive optical element, and its function is to project a pattern arranged in a specific manner into space to increase the characteristic and uniqueness of the object to be measured. In terms of the product field of view design, it adopts a wide-angle design, such as 120°×100°, to ensure that the robot can achieve obstacle avoidance at close range. The light receiving camera 102 may be an infrared receiving camera, which is composed of a photosensitive chip CMOS, an imaging lens and an infrared narrow-band filter, and its resolution may be one million pixels, such as 1280×1080, and is used to collect infrared speckle patterns of the space to be measured.

[0071] The depth imaging device of this embodiment collects the infrared speckle pattern of the space to be measured by the light receiving camera 102, calculates the parallax offset of the same-name points, and finally performs depth calculation and depth compensation to generate high-resolution and high-precision image depth information.

[0072] The dot matrix projector 101 and the light receiving camera 102 can be considered as functional elements as a whole, which are installed on the same side of the same substrate 103. The dot matrix projector 101 and the light receiving camera 102 can be installed by screws or glue. The center distance between the dot matrix projector 101 and the light receiving camera 102 is called the baseline distance, and the size is determined by the application scenario. For example, when used at a close distance, a short baseline is usually used, and when used at a long distance, a long baseline is usually used.

[0073] The protective cover 104 can be supported on the substrate 103 and located on the side of the functional element away from the substrate 103, that is, located on the side of the dot projector 101 and the light receiving camera 102 away from the substrate 103. It should be understood that this protective cover 104 can be supported on the substrate 103 by a supporting shell surrounding the functional element, and the protective cover 104 is located between the functional element and the object to be measured.

[0074] In this embodiment, the protective cover 104 mainly plays the role of dustproof and waterproof to ensure the stability of the depth imaging device's measurement environment. Furthermore, the surface of the protective cover 104 can be coated with an AR anti-reflection film to ensure that most light can be projected without loss, so as to facilitate the subsequent generation of high-resolution and high-precision image depth information.

[0075] For example, the protection cover 104 of this embodiment may be a glass structure, but is not limited thereto and may depend on specific circumstances.

[0076] In this embodiment, the optical center of the dot projector 101 and the optical center of the light receiving camera 102 may be located on the same horizontal line, and this horizontal line may be parallel to the substrate 103. In particular, due to the presence of the protective cover 104, in the actual use of the product, the light with a large field of view angle in the dot projector 101 is easily totally reflected in the protective cover 104, thereby generating stray light that affects the light receiving camera 102. This stray light will affect the quality of the image captured by the light receiving camera 102, that is, the image captured by the light receiving camera 102 often has stray light problems such as light leakage and glare, which in turn seriously affects the quality of three-dimensional depth reconstruction. These factors will severely limit the application of depth imaging devices in the field of robot obstacle avoidance. Therefore, it is particularly important to establish a model for the stray light problem of wide-angle depth imaging devices in order to find the most suitable design parameters when designing products.

[0077] Based on the above problems, this embodiment provides a performance analysis method, which can be used to Figure 1 The performance analysis of the depth imaging device shown is performed. It should be noted that the structural features of the depth imaging device can be referred to the aforementioned content and will not be repeated here.

[0078] in, Figure 2 Shows Figure 1 Schematic diagram of the geometric relationship between the simplified structures of the depth imaging device shown Figure 2 In it, O1 is the optical center of the dot matrix projector 101, O2 is the optical center of the light receiving camera 102, n2 is the refractive index of the protective cover 104, d2 is the thickness of the protective cover 104, d1 is the vertical distance between the optical centers O1 and O2 and the protective cover 104, and n1 is the refractive index of the medium (such as air) on both sides of the protective cover 104. Here, n1 < n2; the horizontal distance between O1 and O2 is the baseline Figure 2 In it, a beam of stray light starting from the optical center O1 of the dot matrix projector 101 is incident on the n2 medium through the n1 medium is simulated. The incident angle of the stray light is θi, and the refraction angle is θt, where Figure 2 In it, the positions of points A, B, C, D, E, F, and G are the positions where the stray light passes through the protective cover 104 Figure 2 In it, the positions of points H and K are the positions where the optical centers O1 and O2 are orthogonally projected on the protective cover 104

[0079] Specifically, in combination with Figure 1 and Figure 2 the content of, the performance analysis method of this embodiment can be specifically as shown in Figure 3 which includes step S200, step S202, step S204, and step S206, where

[0080] In step S200, the optical signal power S of the reflected light received by the light receiving camera 102 is obtained. The reflected light mentioned here is the light ray emitted by the dot matrix projector 101 to the object to be measured and reflected by the object to be measured to the light receiving camera 102

[0081] In step S202, based on the light intensity I of the stray light at the position of point G G and the diameter δ of the image formed by the stray light at the position of point G on the light receiving camera 102, the stray light power N at the light receiving camera 102 is calculated. The stray light at the position of point G is the light ray emitted by the dot matrix projector 101 to the protective cover 104 and totally reflected by the protective cover 104

[0082] In step S204, according to the optical signal power S and the stray light power N, the signal-to-noise ratio SNR of the depth imaging device is calculated

[0083] In step S206, based on the signal-to-noise ratio SNR, the performance of the depth imaging device is analyzed

[0084] In this embodiment, the performance of the depth imaging device is evaluated by a signal-to-noise ratio SNR. The calculation of the signal-to-noise ratio SNR is related to the optical signal power S and the stray light power N received by the light receiving camera 102. The optical signal power S is the normal signal received by the light receiving camera 102. The stray light power N refers to the power of the light that is totally reflected by the protective cover 104 and enters the light receiving camera 102. The stray light power N is the noise received by the light receiving camera 102. When designing the depth imaging device, the performance analysis method can be used to analyze the performance of the structural model of the depth imaging device. Based on the analysis results, the most suitable design parameters can be found to avoid or improve the influence of the stray light totally reflected by the protective cover 104 on the light receiving camera 102, thereby improving the stray light problems such as light leakage and glare that often occur in the images captured by the light receiving camera 102, and then the yield of the depth imaging device can be improved.

[0085] In step S206, analyzing the performance of the depth imaging device based on the signal-to-noise ratio SNR may specifically include:

[0086] Step S2061, comparing the signal-to-noise ratio SNR with a preset ratio;

[0087] Step S2062: When the signal-to-noise ratio SNR is less than the preset ratio, determining that the performance of the depth imaging device is in a poor state;

[0088] Step S2063: When the performance of the depth imaging device is in a poor state, call out at least part of the parameter information used in calculating the optical signal power S and / or the stray light power N to indicate adjustment of the at least part of the parameter information.

[0089] That is to say, when the signal-to-noise ratio SNR is less than the preset ratio, it means that the stray light power N accounts for a large proportion of the image information collected by the light receiving camera 102, and the optical signal power S accounts for a small proportion. The image information collected by the light receiving camera 102 has obvious stray light problems such as light leakage and glare, that is: it is determined that the performance of the depth imaging device is in a poor state. Therefore, it is necessary to adjust the structural model of the depth imaging device. In this performance analysis method, when it is determined that the performance of the depth imaging device is in a poor state, that is: at least part of the parameter information used in calculating the optical signal power S and / or the stray light power N is called out to indicate the adjustment of the called-out parameter information, so as to quickly construct the most suitable structural model of the depth imaging device and improve the design efficiency of the depth imaging device.

[0090] Among them, the presentation form of calling out at least part of the parameter information used in calculating the optical signal power S and / or the stray light power N can be: displaying these parameters on the terminal, and the operator can manually modify these parameter values, and then perform performance analysis; or, calling out at least part of the parameter information used in calculating the optical signal power S and / or the stray light power N and then automatically adjusting and modifying the values ​​of this part of the parameter information based on a set program, and then performing performance analysis until the performance analysis result meets the requirements, that is, the signal-to-noise ratio SNR is greater than or equal to the preset ratio.

[0091] For example, the preset ratio mentioned in this embodiment may be 10 dB, but is not limited thereto, and the preset ratio may be adjusted according to actual needs.

[0092] In step S206, analyzing the performance of the depth imaging device based on the signal-to-noise ratio SNR may further include:

[0093] Step S2063: When the signal-to-noise ratio SNR is greater than or equal to the preset ratio, it is determined that the performance of the depth imaging device is in an excellent state. After determining that it is in an excellent state, the operator can use the parameter information corresponding to the depth imaging device at this time as the final design parameter.

[0094] In order to facilitate operators to obtain the final design parameters, in step S206, the performance of the depth imaging device is analyzed based on the signal-to-noise ratio SNR, which may specifically include:

[0095] Step S2064: When it is determined that the performance of the depth imaging device is in an excellent state, all parameter information used in calculating the optical signal power S and / or the stray light power N is displayed, and the operator can design a depth imaging device that meets the requirements based on this parameter information.

[0096] The following describes in detail the parameter information used to calculate the optical signal power S and the stray light power N in combination with the formula.

[0097] In this embodiment, the optical signal power S, the stray light power N, and the signal-to-noise ratio SNR of the depth imaging device satisfy the following formula (1), where:

[0098]

[0099] And the light intensity of stray light at the G point is G , the diameter δ of the image formed by the stray light at the G point at the light receiving camera 102, and the stray light power N at the light receiving camera 102 satisfy the following formula (1), where:

[0100]

[0101] In step S200, obtaining the optical signal power S of the reflected light received by the light receiving camera 102 may specifically include:

[0102] Obtain the focal length f of the light receiving camera 102, the light divergence angle α and the single-point light power Is of the dot matrix projector 101, the reflectivity Rs of the object to be measured, and the path D of the reflected light, and calculate the light signal power S based on the following formula (3), where:

[0103]

[0104] In this embodiment, the optical signal power S obtained by the light receiving camera 102 is calculated by using the focal length f of the light receiving camera 102, the light divergence angle α and the single-point light power Is of the dot matrix projector 101, the reflectivity Rs of the object to be measured, and the path D of the reflected light. Compared with the solution of directly collecting the optical signal of the depth imaging device in use, the value of the optical signal power S is more accurate, thereby making the subsequent analysis results more accurate. In addition, when the signal-to-noise ratio SNR does not meet the requirements, It is convenient to retrieve parameter information such as the focal length f of the light receiving camera 102, the light divergence angle α and single-point light power Is of the dot matrix projector 101, the reflectivity Rs of the object to be measured, and the path D of the reflected light, so as to facilitate subsequent adjustment of these parameter information, so that the final designed depth imaging device can avoid or improve the influence of stray light reflected by the protective cover 104 on the light receiving camera 102, thereby improving the stray light problems such as light leakage and glare that often appear in the images collected by the light receiving camera 102, and then the yield of the depth imaging device can be improved.

[0105] In step S202, based on the light intensity I of the stray light at the position of point G G and the diameter δ of the image formed by the stray light at the G point at the light receiving camera 102, before calculating the stray light power N at the light receiving camera 102, the performance analysis method further includes:

[0106] Step S2011, obtaining a vertical distance d1 between the protective cover 104 and the optical center of the light receiving camera 102;

[0107] Step S2012: When it is determined that the vertical distance d1 between the protective cover 104 and the optical center of the light receiving camera 102 is less than the preset distance value, based on the lens aperture F, the focus distance FL, the focal length f and the vertical distance d1 of the light receiving camera 102, the diameter δ of the image formed by the stray light at the position of point G at the light receiving camera 102 is calculated, where:

[0108]

[0109] In this embodiment, when it is determined that the vertical distance d1 between the protective cover 104 and the optical center of the light receiving camera 102 is less than the preset distance value, the position of the point G belongs to macro for the light receiving camera 102, and its image formed by the light receiving camera 102 can be approximated as a confusion circle. The calculation formula of the diameter δ of the confusion circle can refer to the above formula (4). That is, when it is determined that the vertical distance d1 between the protective cover 104 and the optical center of the light receiving camera 102 is less than the preset distance value, the diameter δ of the confusion circle is related to the vertical distance d1, the lens aperture F, the focus distance FL, and the focal length f. In order to adjust the diameter δ of the confusion circle to reduce the stray light power N and avoid or improve the influence of the stray light reflected by the protective cover 104 on the light receiving camera 102, it can be achieved by adjusting these parameters.

[0110] For example, the aforementioned preset distance may be 10 mm, but is not limited thereto and may be adjusted according to actual conditions.

[0111] In step S202, based on the light intensity I of the stray light at the position of point G G and the diameter δ of the image formed by the stray light at the G point at the light receiving camera 102, before calculating the stray light power N at the light receiving camera 102, the performance analysis method may further include:

[0112] Step S2013, obtaining the incident light intensity I of the stray light in the light emitted by the dot matrix projector 101 j , and the attenuation coefficient u of the protective cover 104;

[0113] Step S2014, determine the reflectivity R of the protective cover 104, the number of internal reflections M and the single internal reflection path L when the stray light in the protective cover 104 is reflected to the position of point G, and calculate the light intensity I of the stray light at the position of point G based on the following formula (5): G ,in:

[0114] I G =I i *R M *exp(-uML) Formula (5).

[0115] Based on the above, we can know that the light intensity of stray light at point G is I G With the incident light intensity I i , attenuation coefficient u, reflectivity R, number of internal reflections M and single internal reflection path L are related to these parameters. In order to adjust the light intensity I of the stray light at the G point G The size can be adjusted to reduce the stray light power N and avoid or improve the influence of the stray light totally reflected by the protective cover 104 on the light receiving camera 102 , which can be achieved by adjusting these parameters.

[0116] Here, a single internal reflection path L is taken as an example to illustrate the change of light intensity. For example, when the reflected light in the protective cover 104 is Figure 2 When the optical path from point B to point C is a single internal reflection path L, the optical intensity at point C is I c The optical intensity at point B can be expressed as: I c =I B exp(-uL).

[0117] Therefore, when the light is reflected from point A (i.e., the incident light position) to point G (i.e., the exit light position), the light undergoes M internal reflections in the protective cover 104. At this time, the light intensity at point A (i.e., the incident light intensity I i ) and the light intensity I at point G G The relationship between can refer to the above formula (5).

[0118] In step S2014, determining the reflectivity R of the protective cover 104, and the number of internal reflections M and the single internal reflection path L when the stray light in the protective cover 104 is reflected to the G point position may specifically include:

[0119] Step S20141, based on the incident angle θi of the stray light in the light emitted by the dot matrix projector 101, the refractive index n1 of the medium between the functional element and the protective cover 104, and the refractive index n2 of the protective cover 104, determine the refraction angle θt of the stray light entering the protective cover 104 and the reflectivity R of the protective cover 104;

[0120] Step S20142, determining a single internal reflection path L based on the thickness d2 of the protective cover 104 and the refraction angle θt of the protective cover 104;

[0121] Step S20143, based on the incident angle θi of the stray light, the refraction angle θt and thickness d2 of the protective cover 104, the horizontal distance HG between the optical center of the dot matrix projector 101 and the G point position, and the vertical distance d1 between the protective cover 104 and the optical center of the light receiving camera 102, determine the number of internal reflections M when the stray light in the protective cover 104 is reflected to the G point position.

[0122] In this embodiment, the reflectivity R, the single internal reflection path L and the number of internal reflections M of the protective cover 104 can be adjusted by using the parameters of the incident angle θi of the stray light, the refractive index n1, the refractive index n2 of the protective cover 104, the thickness d2 of the protective cover 104, the horizontal distance HG and the vertical distance d1, so as to achieve the light intensity I of the stray light at the position of point G. G The adjustment is performed to reduce the stray light power N, and to avoid or improve the influence of the stray light totally reflected by the protective cover 104 on the light receiving camera 102 .

[0123] Specifically, the incident angle θi of the stray light, the refractive index n1, the refractive index n2, the refractive angle θt of the protective cover 104, the reflectivity R, the thickness d2, the horizontal distance HG, the vertical distance d1, and the number of internal reflections M satisfy the following formulas (6) to (10), where:

[0124] n1 sinθ i =n2 sinθ t Formula (6);

[0125] R(R0,θ t )=R0+(1-R0)(1-cosθ t ) 5 Formula (7);

[0126]

[0127]

[0128] HG=d1*tanθ i +M*d2*tanθ t Formula (10).

[0129] For example, the medium between the functional element and the protective cover 104 may be air, and the refractive index n1 of air is equal to 1.

[0130] For example, in step S2013, obtaining the attenuation coefficient u of the protective cover 104 may specifically include:

[0131] The thickness d2 of the protective cover 104 and the transmittance T of the protective cover 104 are obtained, and the attenuation coefficient u of the protective cover 104 is calculated based on the following formula (11), where:

[0132]

[0133] That is, by adjusting the transmittance T and the thickness d2 of the protective cover 104, the attenuation coefficient u of the protective cover 104 can be adjusted, so that the light intensity I of the stray light at the position of point G can be reduced. G The adjustment is performed to reduce the stray light power N, and to avoid or improve the influence of the stray light totally reflected by the protective cover 104 on the light receiving camera 102 .

[0134] It should be understood that based on the content of formula (10) and the refraction theorem corresponding to formula (6), the horizontal distance HK between the optical center O1 of the dot projector 101 and the optical center O2 of the light receiving camera 102 can be derived, where:

[0135] HK=2*d1*tanθ i +M*d2*tanθ t Formula (12).

[0136] Based on the above content, it can be known that the parameters involved in the calculation of the signal-to-noise ratio SNR may include the lens aperture F, focus distance FL, focal length f, refractive index n1, refractive index n2, transmittance T, vertical distance d1, thickness d2, reflectivity Rs, light divergence angle α, single-point light power Is, path D of reflected light, incident light intensity I j , incident angle θi, horizontal distance HK, that is, in order to make the signal-to-noise ratio SNR meet the design requirements, these parameters can be adjusted and designed to avoid or improve the influence of stray light reflected by the protective cover 104 on the light receiving camera 102.

[0137] The above is a method of using the performance analysis method to complete a depth imaging device. The following is an example of how to eliminate and reduce stray light in the design.

[0138] In fact, when designing a depth imaging device product: lens aperture F, focus distance FL, focal length f, refractive index n1, refractive index n2, transmittance T, vertical distance d1, thickness d2, light divergence angle α, single-point light power Is are all known values. In addition, when the application environment of the depth imaging device product is determined, that is, the reflectivity Rs of the object to be measured is also a known value. According to the above formulas (1) to (12), under certain given parameter conditions, such as f = 1.65mm, FL = 600mm, F = 2, n1 = 1, n2 = 1.5, T = 0.9, d1 = 7mm, d2 = 1.5mm, Rs = 0.6, α = 1°, Is = 100uW, stray light incident intensity Ii = 50mW, incident angle θi = 50°, the change of SNR with the path D of the reflected light can be obtained, as follows:

[0139] like Figure 4 As shown, for the image quality collected by the light receiving camera 102, when SNR≥10dB, the performance of 3D reconstruction is more guaranteed. Therefore, from the perspective of the total reflection number M=4, it cannot meet the SNR specification of greater than 10dB within the use range, especially at long distances, that is, when the path D of the reflected light is particularly large. Obviously, the horizontal distance HK=20mm between the optical center O1 of the dot projector 101 and the optical center O2 of the light receiving camera 102 is not enough.

[0140] like Figure 5As shown, when the number of total reflections M=6, it can be seen that when the path D of the reflected light is 4m, the SNR is still much larger than 10dB. At this time, the horizontal distance HK between the optical center O1 of the dot projector 101 and the optical center O2 of the light receiving camera 102 is 22mm. That is to say, when the horizontal distance HK between the optical center O1 of the dot projector 101 and the optical center O2 of the light receiving camera 102 is 22mm, there will basically be no stray light problem.

[0141] This embodiment proposes a system modeling and stray light elimination method for a wide-angle depth imaging device, by establishing a stray light model, that is, using a performance analysis method, using a formula to establish a relationship between the requirements of the application scenario and the design parameters of each module of the depth imaging device. Designers can eliminate the stray light problem caused by the protective cover 104 of the wide-angle depth imaging device by adjusting the design parameters of different components. It can be widely used in the fields of robot navigation, obstacle avoidance, etc.

[0142] Among them, when adjusting the parameters, the horizontal distance HK between the optical center O1 of the dot matrix projector 101 and the optical center O2 of the light receiving camera 102 can be adjusted first to adjust the number of internal reflections M. If the adjustment of the horizontal distance HK cannot make the SNR meet the design requirements, the stray light incident angle θi, the thickness d2 of the protective cover 104, the transmittance T, etc. can continue to be adjusted.

[0143] The embodiment of the present disclosure also provides a performance analysis device for analyzing the performance of the aforementioned depth imaging device, and the specific structure of the depth imaging device will not be described in detail herein.

[0144] Among them, Figure 6 As shown, the performance analysis device includes: an acquisition module 400 , a first calculation module 410 , a second calculation module 420 and a performance analysis module 430 .

[0145] Combination Figure 1 , Figure 2 and Figure 6 The acquisition module 400 is used to acquire the optical signal power S of the reflected light received by the light receiving camera 102, wherein the reflected light is the light emitted by the dot matrix projector 101 to the object to be measured and reflected by the object to be measured to the light receiving camera 102;

[0146] The first calculation module 410 is used to calculate the light intensity I of the stray light at the position of point G based on the stray light intensity I G and the diameter δ of the image formed by the stray light at the G point at the light receiving camera 102, and the stray light power N at the light receiving camera 102 is calculated, wherein the stray light at the G point is the light emitted by the dot matrix projector 101 to the protective cover 104 and totally reflected by the protective cover 104;

[0147] The second calculation module 420 is used to calculate the signal-to-noise ratio SNR of the depth imaging device according to the optical signal power S and the stray light power N;

[0148] The performance analysis module 430 is used to analyze the performance of the depth imaging device based on the signal-to-noise ratio SNR. Specifically, the acquisition module 400 is used to acquire the focal length f of the light receiving camera 102, the light divergence angle α and the single-point light power Is of the dot matrix projector 101, the reflectivity Rs of the object to be measured, and the path D of the reflected light, and calculate the light signal power S based on the aforementioned formula (3).

[0149] For example, the first calculation module 410 is used to calculate the light intensity I of the stray light at the position of point G. G and the diameter δ of the image formed by the stray light at the G point position at the light receiving camera 102 to calculate the stray light power N at the light receiving camera 102, the acquisition module 400 is further used to: obtain the vertical distance d1 between the protective cover 104 and the optical center of the light receiving camera 102; when it is determined that the vertical distance d1 between the protective cover 104 and the optical center of the light receiving camera 102 is less than a preset distance value, based on the lens aperture F, the focus distance FL, the focal length f of the light receiving camera 102 and the vertical distance d1, calculate the diameter δ of the image formed by the stray light at the G point position at the light receiving camera 102, with specific reference to the aforementioned formula (4).

[0150] In addition, the acquisition module 400 is also used to acquire the incident light intensity I of the stray light in the light emitted by the dot matrix projector 101. i , and the attenuation coefficient u of the protective cover 104; determine the reflectivity R of the protective cover 104, and the number of internal reflections M and the single internal reflection path L when the stray light in the protective cover 104 is reflected to the G point, and calculate the light intensity I of the stray light at the G point based on the above formula (5) G .

[0151] It should be understood that this performance analysis device corresponds to the aforementioned performance analysis method, which will not be described in detail here.

[0152] Reference below Figure 7 An electronic device 50 according to an embodiment of the present disclosure is described. Figure 7 The electronic device 50 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0153] like Figure 7As shown, the electronic device 50 is in the form of a general computing device. The components of the electronic device 50 may include but are not limited to: at least one processing unit 510, at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).

[0154] The storage unit stores program codes, which can be executed by the processing unit 510, so that the processing unit 510 performs the steps according to various exemplary embodiments of the present invention described in the description section of the exemplary method described above in this specification. For example, the processing unit 510 can perform each step in the aforementioned performance analysis method.

[0155] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and / or a cache storage unit 5202 , and may further include a read-only storage unit (ROM) 5203 .

[0156] The storage unit 520 may also include a program / utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0157] Bus 530 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0158] The electronic device 50 may also communicate with one or more external devices 600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 50, and / or may communicate with any device that enables the electronic device 50 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 550. The input / output (I / O) interface 550 is connected to a display unit 540. Furthermore, the electronic device 50 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 560. As shown, the network adapter 560 communicates with other modules of the electronic device 50 via a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 50, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0159] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0160] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the method described in the above method embodiment.

[0161] According to one embodiment of the present disclosure, a program product for implementing the method in the above method embodiment is also provided, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0162] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0163] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0164] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0165] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as JAVA, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0166] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0167] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0168] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0169] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A performance analysis method for a depth imaging device, the depth imaging device comprising a substrate, a functional element and a protective cover, the functional element being arranged on the substrate, the protective cover being supported on the substrate and being located on a side of the functional element away from the substrate, the functional element comprising a dot matrix projector and a light receiving camera arranged at intervals; characterized in that: The performance analysis method comprises: Acquire the optical signal power S of the reflected light received by the light receiving camera, wherein the reflected light is the light emitted by the dot matrix projector to the object to be measured and reflected by the object to be measured to the light receiving camera; Obtaining a vertical distance d1 between the protective cover and the optical center of the light receiving camera; When it is determined that the vertical distance d1 between the protective cover and the optical center of the light receiving camera is less than the preset distance value, the diameter of the image formed by the stray light at the G point at the light receiving camera is calculated based on the lens aperture F, the focus distance FL, the focal length f and the vertical distance d1 of the light receiving camera. , Based on the light intensity I of stray light at point G G and the diameter of the image formed by the stray light at the G point at the light receiving camera , calculate the stray light power N at the light receiving camera, where the stray light at the G point is the light emitted by the dot matrix projector to the protective cover and totally reflected by the protective cover; Calculating a signal-to-noise ratio (SNR) of the depth imaging device according to the optical signal power (S) and the stray light power (N); Analyzing the performance of the depth imaging device based on the signal-to-noise ratio (SNR); in: Formula (4).

2. The performance analysis method according to claim 1, characterized in that: The optical signal power S, the stray light power N, and the signal-to-noise ratio SNR of the depth imaging device satisfy the following formula (1), where: Formula (1): The light intensity I of the stray light at the G point G , the diameter of the image formed by the stray light at the G point at the light receiving camera , the stray light power N at the light receiving camera satisfies the following formula (1), where: Formula (2).

3. The performance analysis method according to claim 1, characterized in that: The step of obtaining the optical signal power S of the reflected light received by the light receiving camera specifically includes: Obtain the focal length f of the light receiving camera, the light divergence angle α and the single-point light power Is of the dot matrix projector, the reflectivity Rs of the object to be measured, and the path D of the reflected light, and calculate the light signal power S based on the following formula (3), where: Formula (3).

4. The performance analysis method according to claim 1, characterized in that: The preset distance value is 10 mm.

5. The performance analysis method according to claim 1, characterized in that: The light intensity I of the stray light at the position of point G G and the diameter of the image formed by the stray light at the G point at the light receiving camera , before calculating the stray light power N at the light receiving camera, the performance analysis method further includes: Get the incident light intensity I of the stray light in the light emitted by the dot matrix projector i , and the attenuation coefficient u of the protective cover; Determine the reflectivity R of the protective cover, the number of internal reflections M and the single internal reflection path L when the stray light in the protective cover is reflected to the G point, and calculate the light intensity I of the stray light at the G point based on the following formula (5): G ,in: Formula (5).

6. The performance analysis method according to claim 5, characterized in that: The determining of the reflectivity R of the protective cover, and the number of internal reflections M and the single internal reflection path L when the stray light in the protective cover is reflected to the G point position specifically includes: Based on the incident angle θi of the stray light in the light emitted by the dot matrix projector, the refractive index n1 of the medium between the functional element and the protective cover, and the refractive index n2 of the protective cover, the refractive angle θt of the stray light entering the protective cover and the reflectivity R of the protective cover are determined; Determine a single internal reflection path L based on the thickness d2 of the protective cover and the refraction angle θt of the protective cover; Based on the incident angle θi of the stray light, the refraction angle θt and thickness d2 of the protective cover, the horizontal distance HG between the optical center of the dot matrix projector and the G point position, and the vertical distance d1 between the protective cover and the optical center of the light receiving camera, the number of internal reflections M when the stray light in the protective cover is reflected to the G point position is determined, wherein the optical center of the dot matrix projector and the optical center of the light receiving camera are located on the same horizontal line.

7. The performance analysis method according to claim 6, characterized in that: The incident angle θi of the stray light, the refractive index n1, the refractive index n2, the refractive angle θt of the protective cover, the reflectivity R, the thickness d2, the horizontal distance HG, the vertical distance d1, and the number of internal reflections M satisfy the following formulas (6) to (10), where: Formula (6): Formula (7): Formula (8): Formula (9): Official(10).

8. The performance analysis method according to claim 6, characterized in that: The obtaining of the attenuation coefficient u of the protective cover specifically includes: The thickness d2 and transmittance T of the protective cover are obtained, and the attenuation coefficient u of the protective cover is calculated based on the following formula (11), where: Official(11).

9. The performance analysis method according to any one of claims 1 to 8, characterized in that: The analyzing the performance of the depth imaging device based on the signal-to-noise ratio SNR specifically includes: Comparing the signal-to-noise ratio SNR with a preset ratio; When the signal-to-noise ratio SNR is less than the preset ratio, determining that the performance of the depth imaging device is in a poor state; When the performance of the depth imaging device is in a poor state, at least part of the parameter information used in calculating the optical signal power S and / or the stray light power N is called out to indicate adjustment of the at least part of the parameter information.

10. The performance analysis method according to claim 9, characterized in that: The preset ratio is 10dB.

11. A performance analysis device for analyzing the performance of a depth imaging device, the depth imaging device comprising a substrate, a functional element and a protective cover, the functional element being arranged on the substrate, the protective cover being supported on the substrate and being located on a side of the functional element away from the substrate, the functional element comprising a dot matrix projector and a light receiving camera arranged at intervals; characterized in that: The performance analysis device comprises: an acquisition module, for acquiring the optical signal power S of the reflected light received by the light receiving camera, wherein the reflected light is the light emitted by the dot matrix projector to the object to be measured and reflected by the object to be measured to the light receiving camera, and is also used to acquire the vertical distance d1 between the protective cover and the optical center of the light receiving camera; when it is determined that the vertical distance d1 between the protective cover and the optical center of the light receiving camera is less than a preset distance value, based on the lens aperture F, the focus distance FL, the focal length f of the light receiving camera and the vertical distance d1, the diameter of the image formed by the stray light at the G point position at the light receiving camera is calculated ; The first calculation module is used to calculate the light intensity I of the stray light at the G point. G and the diameter of the image formed by the stray light at the G point at the light receiving camera , calculate the stray light power N at the light receiving camera, where the stray light at the G point is the light emitted by the dot matrix projector to the protective cover and totally reflected by the protective cover; A second calculation module, used to calculate the signal-to-noise ratio SNR of the depth imaging device according to the optical signal power S and the stray light power N; A performance analysis module, configured to analyze the performance of the depth imaging device based on the signal-to-noise ratio (SNR); in: Formula (4).

12. An electronic device, characterized in that: include: a memory storing computer-readable instructions; The processor reads the computer-readable instructions stored in the memory to execute the performance analysis method described in any one of claims 1-10.

13. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the performance analysis method according to any one of claims 1 to 10.