System and method for measuring three-dimensional object

By projecting a modulated line laser onto a three-dimensional object and matching the brightness changes collected by the event camera, the problem of laser confusion in line structured light measurement is solved and high-precision three-dimensional object measurement is achieved.

WO2024188148A1PCT designated stage expired Publication Date: 2024-09-19HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/080499
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-14
Filing Date
2024-03-07
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

In complex scenes where the measured surface of a three-dimensional object is deep and complex, when measuring based on line structured light, laser confusion may occur due to multiple, dense line structured lights, resulting in inaccurate measurement results.

Method used

By projecting at least two modulated line lasers to the three-dimensional object, the brightness changes of each line laser on the measured surface are collected, the modulated line lasers are matched according to the generated events, and the measured value of the three-dimensional object is calculated based on the matched line lasers. To obtain surface information, an event camera is used to capture events generated by brightness changes, and the matching line laser is determined by matching the modulation frequency or phase to avoid measurement errors caused by interference.

Benefits of technology

It improves the accuracy of three-dimensional object measurement results, solves the problem of multi-line laser confusion, and is suitable for high-precision three-dimensional measurement in complex scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080499_19092024_PF_FP_ABST
    Figure CN2024080499_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a system and method for measuring a three-dimensional object. The system comprises: a line laser emission module, which is used for projecting at least two line lasers to a measured surface of a three-dimensional object, wherein the line lasers are modulated line lasers; a line laser collection module, which is used for collecting a brightness change that is generated by each of the modulated line lasers on the measured surface of the three-dimensional object, and correspondingly generating an event; and a three-dimensional reconstruction module, which is used for matching a modulated line laser according to the generated event, and calculating information of the measured surface of the three-dimensional object according to the matched modulated line laser. Therefore, the accuracy for measuring three-dimensional information by means of multiple line lasers can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

System and method for measuring three-dimensional objects

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 14, 2023, with application number 202310268397.1 and application name “System and method for measuring three-dimensional objects”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of image processing technology, and in particular to a system and method for measuring three-dimensional objects. Background Art

[0003] With the development of optical technology, the measurement techniques for three-dimensional objects are becoming increasingly diverse. Structured light, an active, non-contact 3D vision measurement technology, has been widely used in 3D object measurement systems. Depending on the projector's pattern, the techniques for measuring 3D objects using structured light can be broadly categorized into point structured light, line structured light, and area structured light. Line structured light, due to its high accuracy and stability, has found widespread application in industrial measurement, defect detection, reverse engineering, logistics sorting, and workpiece loading and unloading, offering high measurement accuracy.

[0004] However, when measuring based on line structured light, when multiple, dense line structured lights are required to measure the three-dimensional object at the same time in scenes with great depth or complex scenes (such as occlusion or reflection), the problem of multi-line laser confusion will occur, resulting in inaccurate measurement results of the three-dimensional object.

[0005] Summary of the Invention

[0006] The present application provides a three-dimensional object measurement system and method, which can effectively improve the accuracy of three-dimensional object measurement results.

[0007] In a first aspect, the present application provides a three-dimensional object measurement system, comprising: a line laser emission module, for projecting at least two line lasers onto the measured surface of the three-dimensional object, wherein the line lasers are modulated line lasers; a line laser acquisition module, for acquiring brightness changes generated by each modulated line laser on the measured surface of the three-dimensional object, and correspondingly generating events; a three-dimensional reconstruction module, for matching the modulated line lasers according to the generated events, and calculating the measured surface information of the three-dimensional object based on the matched modulated line lasers.

[0008] When the line laser acquisition module generates an event, the content of each event includes the timestamp of the event, the coordinates corresponding to the location of the event, and the polarity of the event. For example, a dimming of the brightness can produce a negative event (polarity). The matching line laser is determined based on the frequency or phase changes of the modulated line laser corresponding to the polarity of these events at different timestamps. The matching can be achieved based on preset matching conditions, such as the preset matching conditions are based on the event or the parameters and images obtained from the event to determine the matching line laser. The 3D reconstruction module calculates the measured surface information of the 3D object based on the parameters corresponding to the matched modulated line laser (such as the light plane calibrated in advance by the line laser).

[0009] This method of calculating the measurement results through the matched modulated line laser avoids the problem of being unable to identify the correct line laser calculation measurement results due to various interferences during multi-line laser measurement, and can improve the accuracy of the measurement results.

[0010] In one possible implementation, each of the events includes a timestamp, coordinates, and polarity of the event, and the three-dimensional reconstruction module is used to match a modulated line laser based on the timestamps and polarities of multiple events with the same coordinates generated by the line laser acquisition module.

[0011] The determination of matching can be achieved based on preset matching conditions. The preset matching conditions can be determined based on the timestamp, coordinates and polarity of the event. For example, if the polarity of all events corresponding to a certain coordinate at each timestamp best matches the preset correspondence with the frequency of a modulated line laser, then it is determined to be a match.

[0012] By matching the modulated line laser in this way, matching can be performed based on each event, or events can be classified and matched, such as matching events corresponding to the same coordinates. The matching of the modulated line laser is more flexible.

[0013] Alternatively, the three-dimensional reconstruction module is configured to match a modulated line laser according to the timestamp and the polarity of at least one event corresponding to the coordinates within a predetermined range generated by the line laser acquisition module.

[0014] For example, among all events within a predetermined neighborhood, the line laser that matches the majority of events may be used as the line laser that matches all the events within the predetermined neighborhood.

[0015] In one possible implementation, the three-dimensional reconstruction module is further used to accumulate event sets to generate multiple light stripes, wherein each light stripe includes multiple pixels, each pixel corresponds to an event set, and an event set includes multiple events corresponding to one pixel; and according to the event set corresponding to each pixel, a modulated line laser is matched.

[0016] When matching a modulated line laser according to the event set corresponding to each pixel, the line laser with the modulated frequency can be matched according to the event set corresponding to the pixels on the light stripe to calculate the measured surface information of the three-dimensional object. This method has a faster calculation speed and can save measurement time.

[0017] The modulation frequency or modulation phase corresponding to each pixel is calculated based on the event set of each pixel on the light stripe (the event set includes multiple events corresponding to the pixel). The modulation frequency corresponding to each pixel is compared with the multiple line lasers of modulation frequencies projected on the measured surface to determine that the line lasers with the same or the most similar modulation frequencies are matched. Similarly, the modulation phase corresponding to each pixel is compared with the multiple line lasers of modulation phases projected on the measured surface to determine that the line lasers with the same or the most similar modulation phases are matched.

[0018] This method of matching the line laser with the modulation frequency or phase corresponding to each pixel on the light stripe can use the light stripes on the cumulative event image obtained by event accumulation to obtain the modulated line laser corresponding to each pixel, which has a better measurement effect.

[0019] In one possible implementation, the three-dimensional reconstruction module is specifically used to obtain the candidate line laser number of each pixel on each light stripe, and determine the modulated line laser corresponding to the largest number of candidate line laser numbers obtained on each light stripe as the modulated line laser matching the current light stripe.

[0020] Since the modulated line laser is projected onto the measured surface, the corresponding connected area of ​​the cumulative event image (such as a light stripe) includes multiple pixels. However, when matching pixels, the modulated line laser matched by the pixels in the connected area may not be the same due to interference or other factors. Therefore, the line laser with the modulation frequency matched by the majority of pixels is voted as the matching line laser of the connected area to determine the light plane corresponding to the connected area and obtain the measured surface information of the three-dimensional object. This can effectively solve the problem of some pixels being interfered with and unable to correctly match the modulated line laser, resulting in errors in the measurement results, and can optimize the measurement results.

[0021] In a possible implementation manner, the pixel is a central pixel.

[0022] Using the center pixel to perform measurements in the above implementation method can reduce computing power and improve the accuracy of the calculated measurement results.

[0023] In a possible implementation, the modulated line laser is a frequency-modulated line laser, or a phase-modulated line laser; the line laser acquisition module includes an event camera, and the line laser emission module includes a multi-line laser.

[0024] In a possible implementation, the three-dimensional object and the line laser emitting module move or swing relative to each other, and the relative positions of the line laser emitting module and the line laser collecting module remain unchanged.

[0025] The relative movement or swing between the three-dimensional object and the line laser emission module can be flexibly adjusted according to the measured part to be measured, thereby improving the measurement flexibility of the measurement system.

[0026] In a second aspect, the present application provides a method for measuring a three-dimensional object, comprising: projecting at least two line lasers onto the measured surface of the three-dimensional object, wherein the line lasers are modulated line lasers; collecting brightness changes generated by each modulated line laser on the measured surface of the three-dimensional object, and generating corresponding events; matching the modulated line lasers according to the generated events, and calculating the measured surface information of the three-dimensional object based on the matched modulated line lasers.

[0027] In one possible implementation, each of the events includes a timestamp, coordinates, and polarity of the event, and the matching of the modulated line laser according to the generated event, and the matching of the modulated line laser includes: matching a modulated line laser according to the timestamps and polarities of multiple events with the same coordinates.

[0028] In one possible implementation, the collecting of brightness changes generated by each modulated line laser on the measured surface of the three-dimensional object, after the corresponding event is generated, further includes: accumulating event sets to generate multiple light stripes, wherein each light stripe includes multiple pixels, each pixel corresponds to an event set, and one event set includes multiple events corresponding to one pixel; and matching a modulated line laser according to the event set corresponding to each pixel.

[0029] In one possible implementation, the method is applicable to a measurement system for a three-dimensional object, wherein the measurement system for the three-dimensional object includes a line laser emission module and a line laser acquisition module, wherein the modulated line laser is a frequency-modulated line laser or a phase-modulated line laser; the line laser acquisition module includes an event camera, and the line laser emission module includes a multi-line laser.

[0030] In one possible implementation, the method is applicable to a measurement system for a three-dimensional object, which includes a line laser emission module, the line laser acquisition module and the three-dimensional reconstruction module, so that the three-dimensional object and the line laser emission module produce relative movement or swing, and the relative position of the line laser emission module and the line laser acquisition module remains unchanged.

[0031] In one possible implementation, matching a modulated line laser based on the timestamp and polarity of the event corresponding to the pixel included in each light stripe includes: obtaining candidate line laser numbers for the pixels included in each light stripe, and determining the modulated line laser corresponding to the largest number of candidate line laser numbers obtained on each light stripe as the modulated line laser that matches the current light stripe.

[0032] In a possible implementation manner, the pixel is a central pixel.

[0033] In a third aspect, the present application provides a computer-readable storage medium, which stores instructions that, when executed on a processor, implement the method described in any of the foregoing aspects and part or all of the operations included in any possible implementation of any of the foregoing aspects.

[0034] In a fourth aspect, the present application provides a computer program product comprising instructions that, when executed on a processor, implement the method described in any of the foregoing aspects and part or all of the operations included in any possible implementation of any of the foregoing aspects.

[0035] In a fifth aspect, the present application provides a chip comprising: an interface circuit and a processor. The interface circuit is connected to the processor, and the processor is configured to cause the chip to perform some or all of the operations included in the method described in any of the aforementioned aspects and any possible implementation of any of the aforementioned aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0037] FIG1a is a schematic structural diagram of a three-dimensional object measurement system provided in an embodiment of the present application;

[0038] FIG1b is a schematic diagram of a three-dimensional object measurement system provided by an embodiment of the present application, wherein the measurement object is obscured;

[0039] FIG2 is a schematic structural diagram of a three-dimensional object measurement scenario provided in an embodiment of the present application;

[0040] FIG3 is a schematic structural diagram of another multi-line structured light projection scene provided by an embodiment of the present application;

[0041] FIG4 is a schematic diagram of the structure of a light stripe provided in an embodiment of the present application;

[0042] FIG5 a is a schematic diagram of line lasers of multiple modulation frequencies projected by a multi-line laser provided in an embodiment of the present application;

[0043] FIG5 b is a schematic diagram of a pixel response of an event camera provided in an embodiment of the present application;

[0044] FIG6 is a schematic structural diagram of another multi-line structured light projection scene provided by an embodiment of the present application;

[0045] FIG7 a is a schematic diagram of multiple phase-modulated line lasers projected by a multi-line laser according to an embodiment of the present application;

[0046] FIG7 b is a schematic diagram of a pixel response of an event camera provided in an embodiment of the present application;

[0047] FIG8 is a flow chart of a method for measuring a three-dimensional object provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to enable people in this technical field to better understand the solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in combination with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0049] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0050] In the description and claims of the embodiments of this application, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order of objects. For example, the terms "first target object" and "second target object" are used to distinguish different objects, rather than to describe a specific order of objects.

[0051] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0052] In the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. For example, "multiple processing units" means two or more processing units; "multiple systems" means two or more systems.

[0053] For ease of understanding, the following first explains the relevant nouns or terms used in the embodiments of this application:

[0054] 1. Structured Light

[0055] Structured light generally refers to a system structure consisting of a projector, a camera, and a computing unit. The projector projects a specific pattern onto a three-dimensional object; the camera captures the pattern projected by the projector, and the pattern captured by the camera will be deformed due to the change in the depth of the three-dimensional object; the computing unit restores the three-dimensional shape of the three-dimensional object according to the degree of pattern deformation. Structured light, also known as a structured light system, is an active, non-contact three-dimensional visual measurement technology. Line structured light can be divided into single-line structured light and multi-line structured light based on the number of laser lines projected by line structured light. Single-line structured light can only measure the three-dimensional information on one line at a time, which has low work efficiency. Multi-line structured light projects multiple lines of laser at a time, which can improve the efficiency of three-dimensional imaging.

[0056] 2. Event Camera

[0057] Also known as a dynamic vision camera, this is a new type of sensor inspired by biological vision. An event camera operates asynchronously on a per-pixel basis, outputting brightness change events. An event includes a timestamp (the moment of occurrence), coordinates, and polarity. Compared to traditional cameras, which prioritize the subjective quality of the human eye, event cameras offer significant advantages in high temporal resolution, low latency, low power consumption, and low bandwidth, making them suitable for both visual and intelligent scenarios.

[0058] In a three-dimensional object measurement system, such as in a multi-line structured light projection scene, as shown in FIG1a, a three-dimensional object measurement system (multi-line structured light) 10 and a three-dimensional object 20 are included, wherein the three-dimensional object measurement system 10 includes a projector 101, a camera 102 and a computing unit 103. The projector 101 is a multi-line laser that can project multiple lines of laser light onto the three-dimensional object 20. Referring to FIG1a, the projector 101 projects two lines of laser light as an example. The fan-shaped area projected by each line of laser light can be considered as a plane, which is called a light plane or a light plane. The camera 102 collects the reflected light projected by the multi-line laser onto the three-dimensional object 20 and forms an image, wherein the image will be deformed due to the different depths of the measured surface of the three-dimensional object 20. The calculation unit 103 calculates the three-dimensional information of the measured surface of the three-dimensional object 20 according to the parameters corresponding to the collected line laser reflected light, and obtains the measurement result, wherein the measured surface of the three-dimensional object 20 refers to the surface projected by the line laser. As shown in Figure 1a, the line lasers projected by the projector 101 to the three-dimensional object 20 are all projected onto the upper surface of the cuboid, and the upper surface is defined as the measured surface. Although measurement is performed based on projecting multiple laser lines, the measurement efficiency is high. However, when the three-dimensional object 20 is deep or the measured surface is complex, such as when the three-dimensional object 20 is blocked or there is reflection, the imaging stripes of each laser line are prone to cross or missing, resulting in the inability to accurately identify the light stripes corresponding to each laser line, and the inability to correspond the obtained light stripes to the correct light plane, resulting in inaccurate measurement of the three-dimensional object. As shown in Figure 1b, the projector 101 projects two laser lines, which are reflected on the three-dimensional object 20 to obtain reflected light, which is recorded as light 1 and light 2. Among them, light 1 is blocked and light 2 can be collected by the camera 102. When the camera only collects one reflected light, the calculation unit 103 cannot determine whether it is light 1 or light 2 that is collected. Therefore, it cannot accurately identify whether the imaging stripes obtained by the camera belong to light 1 or light 2, resulting in inaccurate results of the three-dimensional object calculated based on this. The embodiment of the present application matches the correct modulated line laser through the modulation phase or modulation frequency of light 1 and light 2, and the event generated by the brightness change captured by the camera, and then calculates the three-dimensional coordinates of the event generation position based on the parameters corresponding to the matched modulated line laser (such as the light plane of the line laser calibrated in advance), thereby obtaining accurate three-dimensional object surface information. Finally, the three-dimensional coordinates of each measured surface can be collected to obtain accurate three-dimensional object measurement results.

[0059] An embodiment of the present application provides a three-dimensional object measurement system. FIG2 is a schematic structural diagram of a three-dimensional object measurement scene provided by an embodiment of the present application. As shown in FIG2 , the scene includes a three-dimensional object measurement system (i.e., multi-line structured light) 30 and a three-dimensional object 20. The three-dimensional object measurement system 30 includes a line laser emitting module 301, a line laser acquisition module 302, and a three-dimensional reconstruction module 303. L1, L2, ..., Ln are at least two modulated line lasers projected by the laser emitting module 301. Relative movement or relative swing occurs between the three-dimensional object 20 and the line laser emitting module 301, and the relative position between the line laser emitting module 301 and the line laser acquisition module 302 remains unchanged, so that the multiple line lasers projected by the line laser emitting module 301 can perform at least one complete scan of the portion of the three-dimensional object 20 to be measured. If the portion to be measured is the entire measured surface, the multiple line lasers projected by the line laser emitting module 301 can perform at least one scan of the entire measured surface.

[0060] The line laser emitting module 301 is used to project at least two line lasers toward the measured surface of the three-dimensional object 20. The projected line lasers can be modulated differently and are referred to as modulated line lasers. For example, the line laser emitting module 301 can project multiple frequency-modulated line lasers toward the measured surface of the three-dimensional object 20, or project multiple phase-modulated line lasers toward the measured surface of the three-dimensional object 20, etc.

[0061] The line laser acquisition module 302 is used to acquire brightness changes generated by each line laser on the measured surface of the three-dimensional object and generate corresponding events.

[0062] For example, the measured surface of the three-dimensional object 20 is hit by a modulated line laser L1, forming reflected light q1; the measured surface is hit by a modulated line laser L2, forming reflected light q2; the measured surface is hit by a modulated line laser L3, but due to reflection at the hitting position, the reflected light is not collected by the line laser collection module 302; the measured surface is hit by a modulated line laser L4, forming reflected light q4, but due to being blocked, the reflected light is not collected by the line laser collection module 302. In this case, the line laser collection module 302 collects two reflected lights q1 and q2 and generates events respectively.

[0063] The 3D reconstruction module 303 includes a line laser matching submodule 3031 and a 3D calculation submodule 3032 .

[0064] The line laser matching submodule 3031 is used to match the modulated line laser according to the generated event.

[0065] In one possible implementation, the line laser acquisition module 302 sends the generated events to the line laser matching submodule 3031. The line laser matching submodule 3031 determines the modulated line laser corresponding to the collected events, such as the phase or frequency of the corresponding line laser, based on the received events, and determines the modulated line laser matching different events. For example, referring to the line laser reflection situation in the above example, it can be obtained that the line laser matching the event generated by collecting the brightness change of the reflected light q1 is L1, and the line laser matching the event generated by collecting the brightness change of the reflected light q2 is L2.

[0066] Alternatively, the 3D reconstruction module 303 can generate an event set based on the events generated by the line laser acquisition module 302, and accumulate the event sets to generate multiple light streaks. Each light streak includes multiple pixels, each pixel corresponds to an event set, and an event set includes multiple events corresponding to one pixel. The line laser matching submodule 3031 calculates a modulated line laser that matches each pixel based on the pixels on the light streak and their corresponding event sets.

[0067] Furthermore, the line laser acquisition module 302 may include an event camera and other modules for generating events. Obtaining an event set and accumulating the event set to generate multiple light streaks can be implemented in the 3D reconstruction module 303, as shown in the example above, or in other modules within the line laser acquisition module 302, not limited to the examples in this application.

[0068] The three-dimensional calculation submodule 3032 is used to calculate the measured surface information of the three-dimensional object based on the matched modulated line laser.

[0069] For example, according to the parameters corresponding to the matched line laser (such as the light plane calibrated in advance by the line laser), the information of the measured surfaces projected by L1 and L2 onto the three-dimensional object is obtained respectively. Similarly, the information of the measured surfaces of all three-dimensional objects projected by the line laser is obtained, such as the depth or three-dimensional point cloud of the measured surface of the three-dimensional object 20. This measurement result avoids the problem of being unable to identify the correct line laser calculation measurement result due to various interferences during multi-line laser measurement, and can improve the accuracy of the measurement result.

[0070] In some examples, the measured surface of the three-dimensional object 20 is hit by multiple modulated line lasers, and the measured surface produces brightness changes. Assuming that the line laser acquisition module 302 acquires all brightness changes and obtains an event set, the cumulative event set generates a cumulative event image including multiple light stripes, wherein the event generated by the line laser acquisition module 302 corresponding to each pixel is defined as an event set, that is, each event set is a collection of events generated corresponding to one pixel. The three-dimensional reconstruction module 303 matches a modulated line laser according to the event set corresponding to each pixel. Furthermore, each light stripe includes multiple pixels. If the width of a light stripe is greater than one pixel (such as when multiple rows of light stripes include a central pixel and at least one other pixel), the modulated phase line laser that matches the center pixel can be determined based on the phase of the modulated line laser corresponding to the center pixel, or the modulated frequency line laser that matches the center pixel can be determined based on the frequency of the modulated line laser corresponding to the center pixel.

[0071] Furthermore, the three-dimensional object 20 and the line laser emitting module 301 and the line laser collection module 302 move or swing relative to each other, while the relative positions of the line laser emitting module 301 and the line laser collection module 302 remain unchanged. For example, the relative movement of the three-dimensional object 20 and the line laser emitting module 301 and the line laser collection module 302 can be achieved by placing the three-dimensional object 20 on a movable device such as a conveyor belt, or the relative swing of the three-dimensional object 20 and the line laser emitting module 301 and the line laser collection module 302 can be achieved by placing the line laser emitting module 301 on a swingable or rotatable device. For ease of explanation, the following examples illustrate the measurement of the three-dimensional object by placing the three-dimensional object 20 on a conveyor belt and placing the line laser emitting module 301 on a micro-electromechanical system (MEMS) galvanometer. In the following examples, the three-dimensional object measurement system is referred to as multi-line structured light.

[0072] Figure 3 is a structural schematic diagram of a multi-line structured light projection scene provided in an embodiment of the present application. As shown in Figure 3, the scene includes a multi-line structured light 40 (not shown in Figure 3), a three-dimensional object 20 and a conveyor belt 50. The multi-line structured light 40 includes a multi-line laser 401, an event camera 402 and a three-dimensional reconstruction module 403 (not shown in Figure 3).

[0073] In one possible implementation, the multi-line structured light 40 shown in FIG3 may correspond to the multi-line structured light 30 shown in FIG2 , for example, the line laser emission module 301 may be a multi-line laser 401, the line laser acquisition module 302 may be an event camera 402, and the three-dimensional reconstruction module 403 shown in FIG3 (not shown in FIG3 ) may correspond to the three-dimensional reconstruction module 303 shown in FIG2 , including the same sub-modules (the line laser matching sub-module 4031 and the three-dimensional calculation sub-module 4032). The three-dimensional reconstruction module 403 may also be a calculator or a processor, etc.

[0074] Furthermore, the three-dimensional object 20 can be placed on a conveyor belt 50 and moved at a certain speed, so that the line laser completes the scanning of the entire measured surface of the three-dimensional object 20, and then realizes the depth of the entire measured surface of the three-dimensional object 20 or calculates the three-dimensional point cloud to obtain the three-dimensional information of the entire three-dimensional object 20, or, the line laser completes the scanning of the part of the three-dimensional object 20 that needs to be measured, etc., to obtain the three-dimensional information of the part that needs to be measured, etc.

[0075] Optionally, the line laser projected by the multi-line laser 401 may also be n line lasers with different modulation phases. The embodiment of the present application is illustrated by taking the multi-line laser 401 projecting n line lasers with different modulation frequencies as an example. The line laser with modulated phase can be implemented with reference to the method of this example and will not be described in detail.

[0076] Referring to Figure 3 , a multi-line laser 401 projects n laser lines with different modulation frequencies, designated L1, L2, through Ln. These laser lines are projected onto the measured surface of a three-dimensional object 20. An event camera 402 captures the brightness changes of the reflected light after the laser lines hit the measured surface of the three-dimensional object 20, generating an event. Each event includes a timestamp, the coordinates corresponding to the event, and the polarity corresponding to the brightness change. The three-dimensional reconstruction module 403 can match a laser line based on multiple events with identical coordinates, as well as the timestamps and polarities of these events, generated by the event camera 402. For example, events with identical coordinates can be defined as an event set. Each event set is then matched to the laser lines L1, L2, through Ln to obtain the laser line with the modulation frequency that matches each event set. The depth or three-dimensional point cloud of the measured surface of the three-dimensional object 20 can then be determined based on the laser line with this modulation frequency. Methods for matching each event set with the laser lines L1, L2, through Ln include, but are not limited to, the methods provided in the following examples. Other methods that compare the modulated laser lines based on the content of the events in the event set to obtain matching modulated laser lines are also within the scope of protection. Alternatively, the 3D reconstruction module 403 can match a modulated laser line based on the timestamp and polarity of at least one event corresponding to coordinates within a predetermined range. For example, the laser line that matches the majority of events within a predetermined neighborhood can be used as the matching laser line for all events within the predetermined neighborhood.

[0077] Optionally, the event camera 402 can capture events generated by brightness changes. For example, when a modulated line laser is projected onto a three-dimensional object 20, multiple reflected lights will be generated. The event camera 402 can generate events based on the brightness changes of the collected reflected light, which is equivalent to the three-dimensional reconstruction module 403 obtaining an event stream including multiple event sets, and the accumulated event stream generates a accumulated event image including multiple light stripes. Each event set includes all events of a pixel on the light stripe, where the width of the light stripe may be greater than or equal to one pixel. FIG4 is a schematic diagram of the structure of a light streak provided by an embodiment of the present application. As shown in FIG4 , each row of a light streak includes multiple pixels, and the x-axis represents the width of the light streak. The first row of the light streak is three pixels wide, and the center pixel A in the middle of this row can be used as the center pixel. The second row of the light streak is two pixels wide. In one possible implementation, either pixel H or pixel G can be arbitrarily selected as the center pixel. In one possible implementation, in an algorithm for extracting the center pixel at the sub-pixel level, the sub-pixel coordinates between pixels H and G can be calculated as the center pixel coordinates, and pixel H or pixel G can be determined as the center pixel by rounding or other rules. The third row of the light streak is three pixels wide, and the center pixel J in the middle is used as the center pixel. Other center pixels are calculated in this manner, and will not be further described. FIG4 is merely an example of a light streak, used to illustrate a method for calculating the center pixel, but is not intended to be limiting.

[0078] When matching a modulated laser line based on the event set corresponding to each pixel, the 3D reconstruction module 403 can match the modulated laser line based on the event set corresponding to all pixels on the light stripe to calculate the measured surface information of the 3D object. This method is faster. Alternatively, the 3D reconstruction module 403 can match the modulated laser line based on the event set corresponding to the central pixel on the light stripe. This method can reduce computing power and improve accuracy when performing calculations using the calibrated light plane after matching the modulated laser line.

[0079] The following example illustrates the three-dimensional reconstruction module 403 matching a line laser with a modulation frequency according to the center pixel of the light stripe. FIG5a is a schematic diagram of a multi-line laser provided in an embodiment of the present application projecting a plurality of line lasers with modulation frequencies. The modulation frequencies of the line lasers L1, L2 to Ln are shown in FIG5a. Starting from the multi-line laser 401 projecting n line lasers with different modulation frequencies, the event camera 402 collects events on each central pixel (such as the central pixels of a light stripe provided in reference Figure 4), and the 3D reconstruction module 403 obtains an event set based on the events generated by the event camera 402, including the event set corresponding to the central pixel A, the event set corresponding to the central pixel H, and the event set corresponding to the central pixel J. The event set corresponding to each central pixel can be referred to Figure 5b. Figure 5b is a schematic diagram of the pixel response of an event camera provided in an embodiment of the present application. As shown in Figure 5b, there are multiple event sets, such as event set 1 for central pixel A and event set 2 for central pixel H. The coordinates of each pixel are the same. In the event set corresponding to each pixel, the event polarity and timestamp are as shown in Figure 5b, where ON indicates that a positive event (polarity) is triggered, and OFF indicates that a negative event (polarity) is triggered. For example, if a central pixel captured by the event camera 402 changes from bright to dark, an event is triggered, and the polarity of the event is negative; if a central pixel captured by the event camera 402 changes from dark to bright, an event is triggered, and the polarity of the event is positive.

[0080] In one possible implementation, a multi-line laser 401 projects line lasers L1, L2, to Ln with different modulation frequencies onto a three-dimensional object 20. Event camera 402 generates events, and a three-dimensional reconstruction module 4603 obtains multiple event sets. The three-dimensional reconstruction module 403 (e.g., a line laser matching submodule 4031) determines the line laser with the modulation frequency that matches each center pixel based on the known modulation frequencies of the line lasers L1, L2, to Ln projected by the multi-line laser 401 (the modulation frequencies of the line lasers are denoted as f1, f2, ..., fn, respectively) and the generated event content (referring to the above example, including the timestamp, coordinates, and polarity of each center pixel). For example, the line laser matching submodule 4031 can calculate the modulation frequency of the line laser corresponding to the center pixel according to formula (1).

[0081] Where f represents the modulation frequency of the line laser corresponding to the pixel, Tk+1 represents the timestamp of the k+1th positive event of the pixel, and Tk represents the timestamp of the kth positive event of the pixel.

[0082] For example, the line laser matching submodule 4031 calculates the modulation frequency of the line laser corresponding to the center pixel A based on the event set generated by the center pixel A, such as the positive or negative event of event set 1 in FIG5b . Taking the timestamp of the positive event in event set 1 in FIG5b as an example, in formula (1), Tk+1 is the timestamp of the k+1th positive event in event set 1, and Tk is the timestamp of the kth positive event in event set 1. After subtracting the timestamps of two adjacent positive events, the resulting time difference is the period of the line laser corresponding to the center pixel A. The reciprocal is taken to obtain the modulation frequency f of the line laser corresponding to the center pixel A. Similarly, referring to event set 2 generated by the center pixel H of the line structured light imaging stripe in FIG5b , the modulation frequency of the line laser corresponding to the center pixel H can be calculated according to formula (1). After obtaining the modulation frequency of the line laser corresponding to center pixel A, the line laser matching submodule 4031 can select the modulation frequency f that is closest to the modulation frequency f of the line laser corresponding to center pixel A from f1, f2, ..., fn. For example, if f1 is closest to f compared to f2 ..., fn, then L1 corresponding to f1 is determined as the line laser with the modulation frequency that matches center pixel A. Similarly, the line laser with the modulation frequency that matches all center pixels on each light stripe of the cumulative event image is determined. The three-dimensional calculation submodule 4032 can calculate the information of the corresponding position of center pixel A on the measured surface of the three-dimensional object 20 using the light plane calibrated by the modulation frequency line laser L1. The same is true for other center pixels, thereby obtaining the information of the corresponding positions of all center pixels on each light stripe of the cumulative event image on the measured surface of the three-dimensional object 20, and ultimately obtaining the measured surface information of the three-dimensional object.

[0083] In one possible implementation, since the modulated frequency line laser is projected onto the measured surface, the corresponding connected area of ​​the cumulative event image (such as a light stripe) includes multiple central pixels. However, when the central pixels are matched, due to interference or other factors, the modulated line laser matched by the central pixels in the connected area may not be the same. Therefore, a method of voting for the modulated frequency line laser that matches the majority of the central pixels can be used as the matching line laser of the connected area to determine the light plane corresponding to the connected area and obtain the measured surface information of the three-dimensional object. This can effectively solve the problem that some central pixels cannot correctly match the modulated frequency line laser due to interference, resulting in errors in the measurement results, and can optimize the measurement results. For example, a line laser with a modulated frequency is projected onto a connected area on a three-dimensional object 20, and the corresponding light stripes include a central pixel A, a central pixel B, and a central pixel C. The result calculated by the line laser matching submodule 4031 according to formula (1) is that f1 is closest to the modulation frequency of the line laser corresponding to the central pixel A, f2 is closest to the modulation frequency of the line laser corresponding to the central pixel B, and f1 is closest to the modulation frequency of the line laser corresponding to the central pixel C. Based on this, the serial number of the line laser with the modulation frequency corresponding to f1 (i.e., L1) can be used as the candidate line laser serial number of the central pixel A. , the serial number of the line laser of the modulation frequency corresponding to f2 (i.e., L2) is used as the candidate line laser serial number of the center pixel B, and the serial number of the line laser of the modulation frequency corresponding to f1 (i.e., L1) is used as the candidate line laser serial number of the center pixel C. The three-dimensional calculation submodule 4032 votes for the line laser of the modulation frequency matching the majority of the center pixels as the line laser of the modulation frequency matching the light stripe, that is, the line laser of the modulation frequency with the candidate line laser serial number L1 is used as the line laser matching the connected area. The depth or three-dimensional point cloud is calculated for all the center pixels in the connected area based on the light plane calibrated by L1.

[0084] In some practical application scenarios, the three-dimensional reconstruction module 403 may not be limited to using the above formula (1) to calculate the modulation frequency of the line laser corresponding to the center pixel to match the line laser with the modulated frequency. Other methods may also be used, such as comparing the response diagram of the event set (such as the timestamps and polarities of each event in Figure 5b) with the frequency diagram of the line laser with the modulated frequency (such as Figure 5a). According to preset matching conditions, for example, if the polarity of all events corresponding to a certain center pixel at each timestamp best matches the preset correspondence with the frequency of a modulated line laser, it is determined to be a match, etc., to obtain the modulated line laser that matches the center pixel.

[0085] The above example is used to illustrate how to determine the matching modulation frequency line laser based on the event generated by the central pixel. The same can be said for how to determine the matching modulation frequency line laser based on the events generated by all pixels.

[0086] Furthermore, if the three-dimensional object 20 is completely scanned by the multi-line laser 401, the three-dimensional calculation submodule 4032 can output measurement results, such as a three-dimensional point cloud. If the three-dimensional object 20 is not completely scanned by the multi-line laser 401, the three-dimensional calculation submodule 4032 can splice and fuse the three-dimensional point clouds calculated from the scanned portion and save them for future use. For example, the three-dimensional object 20 can be placed on a conveyor belt 50, the conveyor belt 50 is activated, and the three-dimensional object 20 begins to move, so that the line laser projected onto the three-dimensional object 20 continues to scan the unscanned portion. The multi-line structured light 40 repeats the steps in the above example until the three-dimensional object 20 is completely scanned by the multi-line laser 401, and the three-dimensional calculation submodule 4032 outputs the three-dimensional point cloud of the three-dimensional object 20.

[0087] In some examples, the relative swing between the three-dimensional object 20 and the line laser emitting module can be achieved by placing a MEMS galvanometer in the optical path of the line laser projected by the line laser emitting module, and the MEMS galvanometer is used to reflect the line laser onto the three-dimensional object 20. Figure 6 is a schematic structural diagram of another multi-line structured light projection scene provided by an embodiment of the present application. As shown in Figure 6, the scene includes multi-line structured light 60, a three-dimensional object 20, and a MEMS galvanometer 70. The multi-line structured light 60 includes a multi-line laser 601, an event camera 602, and a three-dimensional reconstruction module 603.

[0088] In one possible implementation, the multi-line structured light 60 shown in FIG6 may correspond to the multi-line structured light 30 shown in FIG2 , for example, the line laser emission module 301 may be a multi-line laser 601, the line laser acquisition module 302 may be an event camera 602, and the three-dimensional reconstruction module 603 shown in FIG6 (not shown in FIG6 ) may correspond to the three-dimensional reconstruction module 303 shown in FIG2 , including the same sub-modules (the line laser matching sub-module 6031 and the three-dimensional calculation sub-module 6032). The three-dimensional reconstruction module 603 may also be a calculator or a processor, etc.

[0089] Optionally, referring to Figure 6 , a multi-line laser 601 projects n laser lines with different modulated phases, denoted as L1, L2, through Ln. These phase-modulated laser lines are projected onto the MEMS galvanometer 70 and reflected by the MEMS galvanometer 70 onto the three-dimensional object 20. The event camera 602 captures the brightness changes of the reflected light formed by the laser lines hitting the three-dimensional object 20, generating an event. Because these events are triggered by multiple phase-modulated laser lines, each event includes a timestamp, the coordinates corresponding to the event, and the polarity corresponding to the brightness change. The 3D reconstruction module 603 can match the timestamps and polarities of multiple events with the same coordinates within the events generated by the event camera 602 to generate a single laser line. For example, events with the same coordinates can be defined as an event set. Each event set is then matched to the laser lines L1, L2, through Ln to obtain the phase-modulated laser lines that match each event set. The depth of the measured surface of the three-dimensional object 20 or a three-dimensional point cloud is then determined based on these phase-modulated laser lines. Methods for matching each event set with the line lasers L1, L2 to Ln include, but are not limited to, the methods provided in the following examples. Other methods for obtaining matching line lasers with modulated phases by comparing the content of the events in the event set with the line lasers with modulated phases are also within the scope of protection. The MEMS galvanometer 70 rotates when driven, and the reflected light reflected by the MEMS galvanometer 70 onto the three-dimensional object 20 varies with the time the MEMS galvanometer 70 is driven and the position of rotation. The area reflected onto the three-dimensional object 20 for scanning also varies. The reflected light of each line laser with modulated phase scans a portion of the measured surface of the three-dimensional object 20 under the rotation of the MEMS galvanometer 70, and is ultimately aggregated into a scanning result of the complete three-dimensional object 20, that is, obtaining the depth or three-dimensional point cloud of the measured surface of the three-dimensional object 20, and obtaining three-dimensional information of the entire three-dimensional object 20, or enabling the line laser to complete the scanning of the portion of the three-dimensional object 20 that needs to be measured, etc., to obtain three-dimensional information of the portion that needs to be measured.

[0090] Optionally, the line lasers projected by the multi-line laser 601 may also be n line lasers with different modulation frequencies. Here, the multi-line laser 601 projects n line lasers with different modulation phases as an example for illustration. The line lasers with modulation frequencies can be implemented with reference to the method of this example and will not be described in detail.

[0091] FIG7a is a schematic diagram of a multi-line laser projecting multiple phase-modulated line lasers according to an embodiment of the present application. The phase-modulated line lasers L1, L2, and Ln are shown in FIG7a. Starting with multi-line laser 601 projecting n phase-modulated line lasers, an event camera 602 captures events at each central pixel (e.g., at each central pixel of a light stripe as shown in FIG4). A 3D reconstruction module 603 generates event sets based on the events generated by event camera 602, including an event set corresponding to central pixel A, an event set corresponding to central pixel H, and an event set corresponding to central pixel J. The event sets corresponding to each central pixel can be seen in FIG7b. FIG7b is a schematic diagram of a pixel response of an event camera according to an embodiment of the present application. As shown in FIG7b, multiple event sets, such as event set 1 for central pixel A and event set 2 for central pixel H, have identical coordinates for each pixel. In each pixel's corresponding event set, the event polarity and timestamp are as shown in FIG5b. "ON" indicates a positive event (polarity) is triggered, and "OFF" indicates a negative event (polarity) is triggered.

[0092] In one possible implementation, a multi-line laser 601 projects line lasers L1, L2, to Ln with different modulation phases onto a three-dimensional object 20. An event camera 602 generates an event, and a three-dimensional reconstruction module 603 obtains an event set. A line laser matching submodule 6031 determines the line laser with the modulation phase that matches each center pixel based on the known modulation phases of L1, L2, to Ln projected by the multi-line laser 601 (the modulation phases of the line lasers are denoted as p1, p2, ..., pn, respectively) and the generated event content (referring to the above example, including the timestamp, coordinates, and polarity of each center pixel). For example, the line laser matching submodule 6031 can calculate the modulation phase of the line laser corresponding to the center pixel according to formula (2):

[0093] Wherein, p represents the modulation phase of the line laser corresponding to the pixel, Tk represents the timestamp of the kth positive event of the pixel, T0 represents the starting timestamp of the line laser projected by the multi-line laser 401, modT represents the modulo operation of the period, and T represents the period of the modulated line laser.

[0094] For example, the line laser matching submodule 6031 calculates the modulation phase of the line laser corresponding to the center pixel A based on the event set generated by the center pixel A, such as the positive event or negative event of event set 1 in FIG7b . Taking the timestamp of the positive event in event set 1 in FIG7b as an example, the phase of the center pixel A is calculated using formula (2): wherein Tk is the timestamp of the kth positive event in event set 1 (representing the time from the start of event generation by the event camera 402 to the generation of the kth positive event), minus the start timestamp of the line laser projected by the multi-line laser 401. After performing a modulo operation and dividing by the period T of the modulated line laser, the time from the start of event generation by the event camera 402 to the generation of the first positive event is obtained. Since the time at which each event is generated is different, its corresponding phase is also different. Therefore, the result p calculated based on event set 1 generated by the center pixel A, that is, the modulation phase of the line laser corresponding to the center pixel A, is determined as the line laser with a modulation phase matching the center pixel A. L1 corresponding to p1 that is the same as or closest to p is determined as the line laser with a modulation phase matching the center pixel A. By analogy, the phase-modulated line laser that matches all center pixels is determined. The three-dimensional calculation submodule 4032 can calculate the information of the corresponding position of the center pixel A on the measured surface of the three-dimensional object 20 through the light plane calibrated by the phase-modulated line laser L1. The same is true for other center pixels, and the information of the corresponding position of each center pixel on the measured surface of the three-dimensional object 20 is obtained, and finally the measured surface information of the three-dimensional object is obtained.

[0095] In one possible implementation, a phase-modulated line laser is projected onto a three-dimensional object 20, and the corresponding connected area on the cumulative event image (e.g., a light stripe) includes a central pixel A, a central pixel B, and a central pixel C. The result calculated by the line laser matching submodule 4031 according to formula (2) is that p1 is closest to the modulation phase of the line laser corresponding to the central pixel A, p1 is closest to the modulation phase of the line laser corresponding to the central pixel B, and p2 is closest to the modulation phase of the line laser corresponding to the central pixel C. Based on this, the serial number of the modulated phase line laser corresponding to p1 (i.e., L1) can be used as the central pixel A. The candidate line laser serial number is used, and the serial number of the line laser with the modulation phase corresponding to p1 (i.e., L1) is used as the candidate line laser serial number of the center pixel B, and the serial number of the line laser with the modulation phase corresponding to p2 (i.e., L2) is used as the candidate line laser serial number of the center pixel C. The three-dimensional calculation submodule 4032 adopts the line laser with the modulation phase that matches the majority of the center pixels to be voted as the line laser with the modulation frequency that matches the light stripe, that is, the line laser with the modulation phase whose candidate line laser serial number is L1 is used as the line laser that matches the connected area. The depth or three-dimensional point cloud is calculated for all the center pixels in the connected area based on the light plane calibrated by L1.

[0096] Depth and three-dimensional point clouds can be calculated based on the center pixel as in the above example, or based on all pixels on each light streak, without being limited to the example.

[0097] Furthermore, if the multi-line laser 601 has completely scanned the three-dimensional object 20, the three-dimensional calculation submodule 6032 can output measurement results, such as a three-dimensional point cloud. If the multi-line laser 601 has not completely scanned the three-dimensional object 20, the three-dimensional calculation submodule 6032 can merge the calculated three-dimensional point clouds from the scanned portions and save them for future use. For example, the MEMS galvanometer mirror is driven to rotate, and the reflected line laser scans the unscanned portions of the three-dimensional object 20. After an event is generated, the above steps are repeated until the multi-line laser 601 has completely scanned the three-dimensional object 20, at which point the three-dimensional calculation submodule 6032 outputs the three-dimensional point cloud of the three-dimensional object 20.

[0098] It should be understood that the modules shown in Figures 2, 3 and 6 of the structured light are only examples, and each module can perform other operations or perform variations of its operations with reference to the method part of the embodiment of the present application.

[0099] FIG8 is a flow chart of a method for measuring a three-dimensional object according to an embodiment of the present application. As shown in FIG8 , the method includes:

[0100] S101. A three-dimensional object measurement system projects at least two line lasers onto a measured surface of the three-dimensional object, where the line lasers are modulated line lasers.

[0101] In some examples, the modulated line laser may be a frequency-modulated line laser, or a phase-modulated line laser, etc.

[0102] S102 : The three-dimensional object measurement system collects brightness changes generated by each modulated line laser on the measured surface of the three-dimensional object, and generates corresponding events.

[0103] Each event includes the timestamp, coordinates, and polarity of the event.

[0104] S103 , the three-dimensional object measurement system matches the modulated line laser according to the generated event, and calculates the measured surface information of the three-dimensional object according to the matched modulated line laser.

[0105] In one possible implementation, a system for measuring three-dimensional objects matches a modulated line laser based on the timestamps and polarity of multiple events with the same coordinates.

[0106] Furthermore, the measurement system of the three-dimensional object accumulates event sets to generate multiple light stripes, wherein each light stripe includes multiple pixels, each pixel corresponds to an event set, and an event set includes multiple events corresponding to one pixel; according to the event set corresponding to each pixel, a modulated line laser is matched.

[0107] In one possible implementation, a measurement system for a three-dimensional object obtains candidate line laser numbers for pixels included in each light stripe, and determines the modulated line laser corresponding to the largest number of candidate line laser numbers obtained on each light stripe as the modulated line laser matching the current light stripe.

[0108] Optionally, the three-dimensional object measurement system may obtain the measurement result by matching the modulated line laser according to all pixels respectively, or may obtain the measurement result by matching the modulated line laser according to the central pixel.

[0109] It should be understood that the three-dimensional object measurement system in this method can refer to the above examples and the embodiments of Figures 1 to 7 when executing the method provided in the embodiment of the present application. The three-dimensional object measurement system can refer to the device part of the embodiment of the present application to divide the execution subject, perform other operations or perform variations of its operations.

[0110] Optionally, in the scenario of Figure 3, after step S103, if the entire three-dimensional object 20 is scanned, S104 is executed; if the entire three-dimensional object is not scanned, the conveyor belt 50 is started, the three-dimensional object begins to move, and the conveyor belt 50 drives the three-dimensional object to the next position, and S101 to S103 are re-executed until the three-dimensional object is scanned.

[0111] Optionally, in the scenario of Figure 6, after step S103, if the entire three-dimensional object is scanned, S104 is executed; if the entire three-dimensional object is not scanned, the MEMS galvanometer is driven to rotate, and the line laser moves to the next position at the position where the measured surface of the three-dimensional object is scanned, and S101 to S103 are re-executed until the three-dimensional object is scanned.

[0112] Furthermore, displacement occurs between the three-dimensional object and the measurement system of the three-dimensional object, including relative movement or swing between the three-dimensional object and the line laser emitting module, and the relative position between the line laser emitting module and the line laser acquisition module remains unchanged, so that the line laser scans the complete three-dimensional object and obtains the measured surface information of the three-dimensional object.

[0113] S104: The three-dimensional object measurement system outputs the measured surface information of the three-dimensional object.

[0114] The embodiments of the present application use different modulated line lasers to generate events, and match the generated events with the modulated line lasers to obtain three-dimensional information of the measured surface of the three-dimensional object. This can effectively solve the problem of line laser confusion caused by simultaneous measurement of multiple, dense line structured lights. The embodiment of the present application can be applied to scenes with large depth and complex three-dimensional objects. It can effectively solve the problem of multi-line laser confusion when the three-dimensional object is blocked or reflective, obtain high-precision three-dimensional measurement results, and greatly accelerate the efficiency of three-dimensional object reconstruction.

[0115] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a processor, implement part or all of the operations of any of the methods described in any of the aforementioned embodiments.

[0116] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed on a processor, implements part or all of the operations in any of the methods in any of the aforementioned embodiments.

[0117] The present application also provides a chip including an interface circuit and a processor connected to each other, wherein the processor is configured to cause the chip to execute part or all of the operations in any of the methods in any of the aforementioned embodiments.

[0118] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements part or all of the operations of any one of the methods of any one of the embodiments described above.

[0119] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0120] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be provided separately from the processor, which is not limited in the embodiments of the present application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or provided on different chips. The embodiments of the present application do not specifically limit the type of memory or the configuration of the memory and the processor.

[0121] Furthermore, the chip system may include at least one module in structured light, which is used to obtain three-dimensional information of a three-dimensional object in cooperation with other modules in structured light according to the method provided in the embodiment of the present application.

[0122] Exemplarily, the chip system may be an FPGA, an ASIC, a system on chip (SoC), a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0123] The terms "first," "second," "third," "fourth," and the like (if any) in the specification and claims of this application and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequential sequence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0124] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0125] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical business division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0126] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0127] In addition, each business unit in each embodiment of the present application can be integrated into a processing unit, each unit can exist physically separately, or two or more units can be integrated into a single unit. The above-mentioned integrated units can be implemented in the form of hardware or software business units.

[0128] If the integrated unit is implemented in the form of a software business unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the technical solution of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0129] Those skilled in the art will appreciate that, in one or more of the examples above, the services described herein may be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these services may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of computer programs from one location to another. Storage media may be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0130] The above specific implementation methods further describe in detail the purpose, technical solutions and beneficial effects of this application. It should be understood that the above are only specific implementation methods of this application.

[0131] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A three-dimensional object measurement system, characterized in that: include: A line laser emission module, used for projecting at least two line lasers to the measured surface of the three-dimensional object, wherein the line lasers are modulated line lasers; A line laser acquisition module, used to acquire brightness changes generated by each modulated line laser on the measured surface of the three-dimensional object, and generate corresponding events; The three-dimensional reconstruction module is used to match the modulated line laser according to the generated event, and calculate the measured surface information of the three-dimensional object according to the matched modulated line laser.

2. The system according to claim 1, characterized in that Each said event comprises a timestamp, coordinates and polarity of said event, The three-dimensional reconstruction module is used to match a modulated line laser according to the timestamps and polarities of the multiple events with the same coordinates generated by the line laser acquisition module.

3. The system according to claim 1 or 2, characterized in that: The three-dimensional reconstruction module is also used to accumulate event sets to generate multiple light stripes, wherein each of the light stripes includes multiple pixels, each of the pixels corresponds to an event set, and one of the event sets includes multiple events corresponding to one pixel; and according to the event set corresponding to each of the pixels, a modulated line laser is matched.

4. The system according to any one of claims 1 to 3, characterized in that: The modulated line laser is a frequency-modulated line laser or a phase-modulated line laser. The line laser acquisition module includes an event camera, and the line laser emission module includes a multi-line laser.

5. The system according to any one of claims 1 to 3, characterized in that: The three-dimensional object and the line laser emitting module move or swing relative to each other, and the relative position of the line laser emitting module and the line laser collecting module remains unchanged.

6. The system according to claim 3, characterized in that The three-dimensional reconstruction module is specifically used to obtain the candidate line laser number of each pixel on each light stripe, and determine the modulated line laser corresponding to the largest candidate line laser number on each light stripe as the modulated line laser matching the current light stripe.

7. The system according to claim 3 or 6, characterized in that: The pixel is a center pixel.

8. A method for measuring a three-dimensional object, characterized in that: include: Projecting at least two laser lines onto the measured surface of the three-dimensional object, wherein the laser lines are modulated laser lines; Collecting brightness changes generated by each modulated line laser on the measured surface of the three-dimensional object, and correspondingly generating an event; The modulated line laser is matched according to the generated event, and the measured surface information of the three-dimensional object is calculated according to the matched modulated line laser.

9. The method according to claim 8, characterized in that Each said event comprises a timestamp, coordinates and polarity of said event, The matching of the modulated line laser according to the generated event, and the matching of the modulated line laser according to the matched event comprises: According to the timestamps and the polarities of the plurality of events with the same coordinates, one of the modulated line lasers is matched.

10. The method according to claim 8 or 9, characterized in that: The step of collecting the brightness change generated by each modulated line laser on the measured surface of the three-dimensional object, corresponding to the occurrence of an event, further includes: Accumulating event sets to generate a plurality of light stripes, wherein each of the light stripes includes a plurality of pixels, each of the pixels corresponds to an event set, and one of the event sets includes a plurality of events corresponding to one pixel; According to the event set corresponding to each pixel, a modulated line laser is matched.

11. The method according to any one of claims 8 to 10, wherein the method is applicable to a three-dimensional object measurement system, wherein the three-dimensional object measurement system comprises a line laser emission module and the line laser acquisition module, wherein: The modulated line laser is a frequency-modulated line laser or a phase-modulated line laser. The line laser acquisition module includes an event camera, and the line laser emission module includes a multi-line laser.

12. The method according to any one of claims 8 to 10, wherein the method is applicable to a three-dimensional object measurement system, wherein the three-dimensional object measurement system comprises a line laser emission module, the line laser acquisition module and the three-dimensional reconstruction module, wherein: The three-dimensional object and the line laser emitting module are caused to move or swing relative to each other, and the relative positions of the line laser emitting module and the line laser collecting module remain unchanged.

13. The method according to claim 10, characterized in that According to the timestamp and polarity of the event corresponding to the pixel included in each light stripe, matching a modulated line laser comprises: The candidate line laser numbers of the pixels included in each light stripe are obtained, and the modulated line laser corresponding to the largest candidate line laser number obtained on each light stripe is determined as the modulated line laser matching the current light stripe.

14. The method according to claim 10 or 13, characterized in that The pixel is a center pixel.

Citation Information

Patent Citations

  • Color multi-line laser 3D measurement method based on laser MEMS galvanometer projection

    CN106767526A

  • Dual-wavelength laser three-dimensional morphology scanning device and method

    CN111947594A

  • Multi-line laser radar based on multi-wavelength configuration

    CN113064138A

  • Divergent multi-line laser stripe numbering and identifying method

    CN113758422A

  • Light source modulation method and MEMS scanning 3D imaging system and imaging method thereof

    CN115655153A

Cited By

  • 3D imaging method and system based on hybrid event camera

    CN119935019A

  • Part warehousing size detection system and method based on three-dimensional scanning

    CN120627952A

  • Real-time detection method of echelette grating for environment perception and environment perception system

    CN120953563A