Three-dimensional reconstruction method and device based on height prediction, equipment and medium

By using the high-frequency fringe projection of the main light engine and the auxiliary light engine in the structured light three-dimensional reconstruction, the mapping relationship between phase and height is established, and the predicted height calculation is performed, which solves the problems of low efficiency and insufficient accuracy of three-dimensional reconstruction in the existing technology. , achieving more efficient and accurate 3D reconstruction.

CN118570401AActive Publication Date: 2024-08-30SICHUAN VISENSING TECH CO LTD +1

Patent Information

Application Number
CN202411045284.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-08-30
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

Existing structured light 3D reconstruction methods are inefficient and inaccurate in industrial measurement, especially in scenes with high reflection areas, resulting in low 3D reconstruction efficiency and insufficient accuracy.

Method used

The initial three-dimensional data of the object to be measured is obtained through the measurement system, and the high-frequency fringe projection of the main optical machine and the secondary optical machine is used to establish the mapping relationship between the phase and the height, and the predicted height is calculated, and the projection data of multiple optical machines are combined. average to obtain the final three-dimensional data.

Benefits of technology

It improves the efficiency and accuracy of 3D reconstruction, reduces projection acquisition time, reduces errors due to mutual reflection effects, and enhances the measurement accuracy of the initial 3D data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570401A
    Figure CN118570401A
Patent Text Reader

Abstract

The invention provides a three-dimensional reconstruction method and device based on height prediction, equipment and a medium, relates to the technical field of optical three-dimensional measurement, and is used for solving the problems of low three-dimensional reconstruction efficiency and insufficient accuracy. The method comprises the following steps: acquiring initial three-dimensional data of an object to be measured; registering the initial three-dimensional data according to the size of the object to be measured to obtain standard three-dimensional data; according to a first height in the initial three-dimensional data, a second height in the standard three-dimensional data and a first mapping table of each auxiliary light machine, obtaining a first predicted height and a second predicted height of each position point under a high-frequency stripe projected by each auxiliary light machine; obtaining a final predicted height according to the first height and the second height of each position point and the first predicted height and the second predicted height of each position under the high-frequency fringes projected by each auxiliary light machine; and according to the final prediction height, obtaining final three-dimensional data of the to-be-measured object. The auxiliary light machine only projects high-frequency fringes, so that the efficiency and accuracy of three-dimensional reconstruction can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of optical three-dimensional measurement, and provides a three-dimensional reconstruction method, device, equipment and medium based on height prediction. Background Art

[0002] The three-dimensional reconstruction methods of structured light are mainly divided into time and space. The time domain method has the characteristics of high precision and is now widely used in the actual industrial measurement field. The existing time unwrapping method requires more projected patterns, resulting in a long measurement time. It is suitable for static or quasi-static test environments, but is not conducive to the rapid detection needs of certain industrial fields. Common phase unwrapping methods are divided into Gray code assisted phase shift stripes, multi-frequency method, and multi-frequency heterodyne method. However, in these methods, in addition to projecting high-frequency stripes, multiple groups of other stripes need to be projected, which will also lead to low measurement efficiency, and then lead to low efficiency of subsequent three-dimensional reconstruction.

[0003] In some scenarios, such as 3D automatic optical inspection equipment, there are often high-reflective areas on the circuit board, which are prone to mutual reflection. If low-frequency fringe projection is used, the reconstructed three-dimensional data will affect the determination of the true height of the component, resulting in low accuracy of the three-dimensional reconstruction. Summary of the invention

[0004] The present application provides a three-dimensional reconstruction method, device, equipment and medium based on height prediction, which are used to solve the problems of low efficiency and insufficient accuracy of three-dimensional reconstruction.

[0005] In a first aspect, a three-dimensional reconstruction method based on height prediction is provided, comprising: Acquire initial three-dimensional data of the object to be measured through a measurement system; the measurement system includes a camera and multiple optical machines, the multiple optical machines include a main optical machine and at least one auxiliary optical machine; the initial three-dimensional data includes a first height of each position point on the object to be measured; According to the size of the object to be measured, the initial three-dimensional data is registered to obtain standard three-dimensional data; the standard three-dimensional data includes the second height of each position point on the object to be measured; According to the first height of each position point and the first mapping table of each secondary optical machine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical machine is obtained; the first mapping table refers to a mapping relationship between multiple phases and multiple heights established under the high-frequency stripes projected by each secondary optical machine; According to the second height of each position point and the first mapping table of each secondary optical engine, a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained; Determine the predicted height of each position point under the projection of the primary optical machine according to the first height and the second height of each position point; Determine the predicted height of each position point under the projection of each secondary optical machine according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical machine; Averaging the predicted height of each position point under the projection of the primary optical machine and the predicted height of each position point under the projection of the at least one secondary optical machine to obtain a final predicted height of each position point; According to the final predicted height of each position point, the final three-dimensional data of the object to be measured is obtained.

[0006] Optionally, obtaining, according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine includes: If each secondary optical engine only projects high-frequency stripes, then according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained; The step of obtaining, according to the second height of each position point and the first mapping table of each secondary optical engine, a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine comprises: According to the second height of each position point and the first mapping table of each secondary optical engine, the second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained.

[0007] Optionally, obtaining, according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine includes: If each secondary optical machine projects high-frequency stripes and sub-high-frequency stripes at the same time, a first intermediate predicted height of each position point under the sub-high-frequency stripes projected by each secondary optical machine is obtained according to the first height of each position point and the second mapping table of each secondary optical machine; the second mapping table refers to a mapping relationship between multiple phases and multiple heights established under the sub-high-frequency stripes projected by each secondary optical machine; According to the first intermediate predicted height and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained; The step of obtaining, according to the second height of each position point and the first mapping table of each secondary optical engine, a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine comprises: According to the second height of each position point and the second mapping table of each secondary optical engine, a second intermediate predicted height of each position point under the sub-high frequency stripes projected by each secondary optical engine is obtained; According to the second intermediate predicted height and the first mapping table of each secondary optical engine, the second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained.

[0008] Optionally, obtaining, according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine includes: According to the first mapping table of each secondary optical engine, the phase corresponding to the first height of each position point is determined as the predicted unfolded phase of each position point; According to the high-frequency stripes projected by each secondary optical machine, the wrapped phase of each position point under the high-frequency stripes is obtained; Calculating the fringe order of the high-frequency fringe according to the predicted unwrapped phase and the wrapped phase; Calculate the real unwrapped phase of each position point under the high-frequency fringes according to the wrapped phase and the fringes order; According to the first mapping table of each secondary optical engine, the height corresponding to the real unwrapped phase is determined as the first predicted height of each position point under the high-frequency fringes projected by each secondary optical engine.

[0009] Optionally, determining the predicted height of each position point under the projection of the primary optical machine according to the first height and the second height of each position point includes: Determine the average value between the first height and the second height of each position point as the predicted height of each position point under the projection of the primary optical machine; The step of determining the predicted height of each position point under each secondary optical engine projection according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine comprises: The average value between the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine is determined as the predicted height of each position point under the projection of each secondary optical engine.

[0010] Optionally, determining the predicted height of each position point under the projection of the primary optical machine according to the first height and the second height of each position point includes: Determine the first height or the second height of each position point as the predicted height of each position point under the projection of the primary optical machine; The step of determining the predicted height of each position point under each secondary optical engine projection according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine comprises: The first predicted height or the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine is determined as the predicted height of each position point under the projection of each secondary optical engine.

[0011] Optionally, determining the first height or the second height of each position point as a predicted height of each position point under the projection of the primary optical machine includes: If the modulation degree of any position point is greater than or equal to a preset threshold, determining the first height of the any position point as the predicted height of the any position point under the projection of the main optical machine; If the modulation degree of any position point is less than the preset threshold, determining the second height of any position point as the predicted height of any position point under the projection of the main optical machine; The step of determining the first predicted height or the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine as the predicted height of each position point under the projection of each secondary optical engine comprises: If the modulation degree of any position point is greater than or equal to a preset threshold, a first difference between a first predicted height of the any position point under the high-frequency stripes projected by each secondary optical engine and a first height of the any position point, and a second difference between a second predicted height of the any position point under the high-frequency stripes projected by each secondary optical engine and a second height of the any position point are calculated; If the second difference is greater than or equal to the first difference, the first predicted height of the any position point under the high-frequency fringes projected by each secondary optical engine is determined as the predicted height of the any position point under the projection of each secondary optical engine; If the second difference is smaller than the first difference, or the modulation degree of any position point is smaller than the preset threshold, the second predicted height of any position point under the high-frequency stripes projected by each secondary optical engine is determined as the predicted height of any position point under the projection of each secondary optical engine.

[0012] In a second aspect, a three-dimensional reconstruction device based on height prediction is provided, comprising: An acquisition module, used for acquiring initial three-dimensional data of the object to be measured through a measurement system; the measurement system includes a camera and multiple optical machines, the multiple optical machines include a main optical machine and at least one auxiliary optical machine; the initial three-dimensional data includes a first height of each position point on the object to be measured; A registration module, used for registering the initial three-dimensional data according to the size of the object to be measured to obtain standard three-dimensional data; the standard three-dimensional data includes the second height of each position point on the object to be measured; A mapping module, used to obtain a first predicted height of each position point under the high-frequency stripes projected by each secondary optical machine according to the first height of each position point and the first mapping table of each secondary optical machine; the first mapping table refers to a mapping relationship between multiple phases and multiple heights established under the high-frequency stripes projected by each secondary optical machine; The mapping module is further used to obtain a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine according to the second height of each position point and the first mapping table of each secondary optical engine; A determination module, used to determine the predicted height of each position point under the projection of the main optical machine according to the first height and the second height of each position point; The determination module is further used to determine the predicted height of each position point under the projection of each secondary optical machine according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical machine; An acquisition module, used for averaging the predicted height of each position point under the projection of the primary optical machine and the predicted height of each position point under the projection of the at least one secondary optical machine, to obtain a final predicted height of each position point; The acquisition module is also used to obtain the final three-dimensional data of the object to be measured according to the final predicted height of each position point.

[0013] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the three-dimensional reconstruction method based on height prediction described in the first aspect.

[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and a processor executes the computer program to implement the three-dimensional reconstruction method based on height prediction described in the first aspect.

[0015] Compared with the prior art, the present invention has the following beneficial effects: The present application provides a three-dimensional reconstruction method based on height prediction, comprising: obtaining initial three-dimensional data of an object to be measured through a measurement system; the measurement system comprises a camera and multiple optical machines, the multiple optical machines comprise a main optical machine and at least one auxiliary optical machine; the initial three-dimensional data comprises a first height of each position point on the object to be measured; the initial three-dimensional data is aligned according to the size of the object to be measured to obtain standard three-dimensional data; the standard three-dimensional data comprises a second height of each position point on the object to be measured; according to the first height of each position point and a first mapping table of each auxiliary optical machine, a first predicted height of each position point under the high-frequency stripes projected by each auxiliary optical machine is obtained; the first mapping table refers to multiple phases and multiple heights established under the high-frequency stripes projected by each auxiliary optical machine. A mapping relationship between them; according to the second height of each position point and the first mapping table of each secondary optical machine, obtain the second predicted height of each position point under the high-frequency stripes projected by each secondary optical machine; according to the first height and the second height of each position point, determine the predicted height of each position point under the projection of the main optical machine; according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical machine, determine the predicted height of each position point under the projection of each secondary optical machine; average the predicted height of each position point under the projection of the main optical machine and the predicted height of each position point under the projection of at least one secondary optical machine to obtain the final predicted height of each position point; according to the final predicted height of each position point, obtain the final three-dimensional data of the object to be measured.

[0016] In the present application, each secondary optical machine only uses high-frequency fringe projection, which reduces the number of projected images and shortens the projection acquisition time compared to the prior art, which requires projection of multiple groups of high-frequency and sub-high-frequency fringe. This improves the efficiency of three-dimensional reconstruction. And because the secondary optical machine only uses high-frequency fringe projection, compared to the prior art, which only uses low-frequency fringe projection, it greatly reduces the error caused by the mutual reflection effect between the surfaces of complex measurement objects, improves the measurement accuracy of the initial three-dimensional data, and thus improves the accuracy of subsequent three-dimensional reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technical customer service personnel in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0018] Figure 1 A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application; Figure 2 A schematic diagram of a flow chart of a three-dimensional reconstruction method based on height prediction provided in an embodiment of the present application; Figure 3 A structural diagram of a measurement system provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of a three-dimensional reconstruction device based on height prediction provided in an embodiment of the present application.

[0019] Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technical customer service personnel in this field without making creative work are within the scope of protection of this application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

[0021] In order to solve the problems of low efficiency and insufficient accuracy of three-dimensional reconstruction, an embodiment of the present application provides a three-dimensional reconstruction method based on height prediction.

[0022] Please refer to Figure 1 , which is a schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application.

[0023] like Figure 1As shown, the computer device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 105 may also be a storage device independent of the aforementioned processor 101.

[0024] Technical customer service personnel in this field can understand that Figure 1 The structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.

[0025] like Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and a three-dimensional reconstruction device based on height prediction.

[0026] exist Figure 1 In the computer device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in the computer device of the present invention can be set in the computer device, and the computer device calls the three-dimensional reconstruction device based on height prediction stored in the memory 105 through the processor 101, and executes the three-dimensional reconstruction method based on height prediction provided in the embodiment of the present application.

[0027] Based on the computer device of the aforementioned embodiment, Figure 2 A three-dimensional reconstruction method based on height prediction provided in an embodiment of the present application is introduced.

[0028] S201 , obtaining initial three-dimensional data of the object to be measured through a measurement system.

[0029] The measurement system includes a camera and multiple optical machines, wherein the multiple optical machines include a main optical machine and at least one auxiliary optical machine. The camera is an imaging camera using a telecentric lens, and the multiple optical machines can be bidirectional optical machines, which include a main optical machine and an auxiliary optical machine, or four-directional optical machines, which include a main optical machine and three auxiliary optical machines.

[0030] Please refer to Figure 3 , is a structural diagram of a measurement system provided in an embodiment of the present application. The measurement system includes a camera and four optical machines, the four optical machines include a main optical machine and three auxiliary optical machines, the four optical machines are distributed in four directions of the camera, and when viewed from the top, the four optical machines are located at the top, bottom, left and right sides of the camera, respectively, and each optical machine is connected to the camera, and the arrows indicate the direction of data flow.

[0031] The camera and each optical machine in the measurement system can be connected to the computer device of the aforementioned embodiment for communication, and the computer device can receive and process the data sent by each optical machine and camera.

[0032] Before measuring the three-dimensional data of the object to be measured, the position calibration is required through the measurement system. The object to be measured refers to any object that needs to be reconstructed in three dimensions, such as a circuit board. During the calibration process, the main optical machine and each auxiliary optical machine use multi-frequency stripes. Multi-frequency stripes refer to stripes with more than three frequency groups, such as low-frequency stripes, sub-high-frequency stripes and high-frequency stripes with increasing frequencies. The higher the frequency, the higher the density of the stripes. In the monocular system formed by each optical machine and camera, multiple position calibrations of the plane target are performed to establish a mapping table (also called a phase-height mapping table) for each optical machine. The mapping table of each optical machine refers to the mapping relationship between the phase captured by the camera and the height of the plane target under the projection of each optical machine.

[0033] The mapping table of each secondary optical machine includes a first mapping table and a second mapping table, wherein the first mapping table refers to a mapping relationship between multiple phases and multiple heights established under the high-frequency stripes projected by each secondary optical machine. The second mapping table refers to a mapping relationship between multiple phases and multiple heights established under the sub-high-frequency stripes projected by each secondary optical machine. The specific process of position calibration is prior art and will not be repeated here.

[0034] During the measurement process, the object to be measured is placed in the measurement space of the measurement system, and the phase data of the camera is collected under the multi-frequency fringes projected by the main optical machine. The height data of the object to be measured is obtained according to the phase data of the camera and the mapping table of the main optical machine. Combined with the horizontal data calibrated by the camera, the initial three-dimensional data D1 of the object to be measured is obtained. The initial three-dimensional data D1 includes the height data of the object to be measured, that is, the first height H1 of each position point on the object to be measured.

[0035] S202: According to the size of the object to be measured, the initial three-dimensional data is registered to obtain standard three-dimensional data.

[0036] In the specific implementation process, after obtaining the initial three-dimensional data D1, the initial three-dimensional data can be aligned by feature matching according to the design size of the object to be measured to obtain standard three-dimensional data D2. The standard three-dimensional data D2 includes the second height H2 of each position point on the object to be measured. Feature matching refers to the process of finding the same features or landmarks in two sets of data in order to align or align them. In three-dimensional data, features can be specific geometric shapes (such as corners, edges) or certain significant points on the surface. The specific process of alignment is a prior art and will not be repeated here.

[0037] S203. Obtain, according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine.

[0038] In the specific implementation process, after obtaining the initial three-dimensional data D1, the initial three-dimensional data D1 can be subjected to Gaussian denoising to smooth the influence of noise, and then the first height H1 of each position point is extracted. The first height of each position point is the height under the projection of the primary optical machine, and the first height can be converted into the first predicted height Depth under the high-frequency stripes of each secondary optical machine projection according to the pre-established first mapping table. 1 The first mapping table refers to the mapping relationship between multiple phases and multiple heights established under the high-frequency stripes projected by each secondary optical machine. If there is one secondary optical machine, a set of first predicted heights can be obtained. If there are three secondary optical machines, three sets of first predicted heights can be obtained. For example, Depth 1i It is the first predicted height of a certain position point under the high-frequency fringes projected by the i-th secondary optical machine.

[0039] S204. Obtain, according to the second height of each position point and the first mapping table of each secondary optical engine, a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine.

[0040] In the specific implementation process, after obtaining the standard three-dimensional data D2, the standard three-dimensional data D2 can be subjected to Gaussian denoising to smooth the influence of noise, and then the second height H2 of each position point is extracted. The second height of each position point is also the height under the projection of the main optical machine. According to the pre-established first mapping table, the first height is converted into the second predicted height Depth2 under the high-frequency stripes projected by each secondary optical machine. If there is one secondary optical machine, a set of second predicted heights can be obtained. If there are three secondary optical machines, three sets of second predicted heights can be obtained. For example, Depth 2i It is the second predicted height of a certain position point under the high-frequency fringes projected by the i-th secondary optical machine.

[0041] S205 , determining a predicted height of each position point under the projection of the primary optical machine according to the first height and the second height of each position point.

[0042] There are many specific implementations of S205, which are introduced below respectively.

[0043] In the first method, the average value between the first height and the second height of each position point is determined as the predicted height of each position point under the projection of the main optical machine.

[0044] In an embodiment of the present application, the average value between the first height and the second height is directly used as the predicted height under the projection of the main light engine. The calculation is simple and can improve the efficiency of calculating the predicted height of each position point under the projection of the main light engine, thereby improving the efficiency of calculating the final predicted height.

[0045] The second method is to determine the first height or the second height of each position point as the predicted height of each position point under the projection of the main light machine.

[0046] In a possible embodiment, if the modulation degree of any position point is greater than or equal to a preset threshold, the first height of any position point is determined as the predicted height of any position point under the projection of the main light machine; if the modulation degree of any position point is less than the preset threshold, the second height of any position point is determined as the predicted height of any position point under the projection of the main light machine.

[0047] In the specific implementation process, the modulation degree is calculated according to the high-frequency fringe image projected by the main optical machine. The specific calculation formula is as follows:

[0048] Where M is the modulation degree, (x, y) is the image coordinate position, and N is the number of high-frequency fringes. I i For the i The intensity value of the fringe, δ i For design time i The initial phase of the high-frequency fringes.

[0049] If M(x,y) is greater than or equal to the preset threshold, it means that the (x,y) position point is not a shadow area, and the first height H1 of the position point is selected as the predicted height of the position point under the projection of the main light machine. If M(x,y) is less than the preset threshold, it means that the (x,y) position point is a shadow area, and the second height H2 of the position point is selected as the predicted height of the position point under the projection of the main light machine.

[0050] In the embodiment of the present application, taking into account the influence of triangulation, there is a shadow problem. Whether there is a shadow is determined based on the modulation degree. When the position point is determined to be a shadow area, the first height H1 in the initial three-dimensional data D1 has a large error. Selecting the second height H2 in the standard three-dimensional data D2 as the predicted height under the main light machine projection can ensure the accuracy of the final predicted height.

[0051] S206. Determine the predicted height of each position point under each secondary light engine projection according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary light engine.

[0052] Corresponding to S205, there are multiple specific implementations of S206, which are introduced below respectively.

[0053] Continuing with the first method, the average value between the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine is determined as the predicted height of each position point under each secondary optical engine projection.

[0054] In an embodiment of the present application, the average value between the first predicted height and the second predicted height is directly used as the predicted height under the projection of the secondary optical machine. The calculation is simple and can improve the efficiency of calculating the predicted height of each position point under the projection of the secondary optical machine, thereby improving the efficiency of calculating the final predicted height.

[0055] Continuing with the second method, the first predicted height or the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine is determined as the predicted height of each position point under the projection of each secondary optical engine.

[0056] In a possible embodiment, if the modulation degree of any position point is greater than or equal to a preset threshold, a first difference between a first predicted height of any position point under the high-frequency stripes projected by each secondary light engine and the first height of any position point, and a second difference between a second predicted height of any position point under the high-frequency stripes projected by each secondary light engine and the second height of any position point are calculated; if the second difference is greater than or equal to the first difference, the first predicted height of any position point under the high-frequency stripes projected by each secondary light engine is determined as the predicted height of any position point under each secondary light engine projection; if the second difference is less than the first difference, or the modulation degree of any position point is less than the preset threshold, the second predicted height of any position point under the high-frequency stripes projected by each secondary light engine is determined as the predicted height of any position point under each secondary light engine projection.

[0057] For example:

[0058] Where, ΔD 1irepresents the first difference of the ith secondary optical machine, abs represents the absolute value, Depth 1i It represents the first predicted height of any position point under the high-frequency fringes projected by the i-th secondary optical machine, and H1 represents the first height of any position point. ΔD 2i Depth represents the second difference of the i-th secondary optical machine. 2i H1 represents the second predicted height of any position point under the high-frequency stripes projected by the i-th secondary optical machine, and H2 represents the second height of any position point.

[0059] If ΔD 2i ≥ΔD 1i , then Depth 1i Determine the predicted height of the position point under the projection of the i-th secondary optical machine. If ΔD 2i <ΔD 1i , then Depth 2i Determine the predicted height of the position point under the projection of the i-th secondary optical machine.

[0060] In the embodiment of the present application, the predicted height of each position point under each secondary optical machine projection is selected by difference to ensure the minimum error. When the position point is determined to be a shadow area, the first height H1 in the initial three-dimensional data D1 has a large error, and the second predicted height Depth obtained based on the second height H2 is selected. 2i As the predicted height under the i-th secondary optical machine projection, the accuracy of the final predicted height can be guaranteed.

[0061] S207, averaging the predicted height of each position point under the projection of the primary optical machine and the predicted height of each position point under the projection of at least one secondary optical machine to obtain a final predicted height of each position point.

[0062] For example:

[0063] Among them, Depth is the predicted height of each location point, H1 is the first height of each location point, and H2 is the second height of each location point. is the first predicted height of each position point under the high-frequency fringes projected by the i-th secondary optical machine, is the second predicted height of each position point under the high-frequency fringes projected by the i-th secondary light engine, n is the total number of primary light engines and secondary light engines, n=2 or 4.

[0064] Or, for example:

[0065] Where Depth represents the final predicted height of each position point, n is the total number of primary and secondary light engines, n=2 or 4, H represents the predicted height of each position point under the projection of the primary light engine, H=H1 or H=H2, H1 is the first height of each position point, and H2 is the second height of each position point. i Depth represents the predicted height of each position point under the projection of the i-th secondary optical machine. i =Depth 1i or Depth i =Depth 2i , Depth 1i Depth is the first predicted height of the corresponding position point under the high-frequency fringes projected by the i-th secondary optical machine. 2i is the second predicted height of the corresponding position point under the high-frequency fringes projected by the i-th secondary optical machine.

[0066] S208. Obtain final three-dimensional data of the object to be measured according to the final predicted height of each position point.

[0067] In the specific implementation process, according to the final predicted height (Z) of each position point, combined with the camera calibration method in the visual field, the (X, Y) data is obtained, and then the final three-dimensional data (X, Y, Z) of the object to be measured is obtained.

[0068] The optical machine provided in the embodiment of the present application has two projection modes, which are introduced below respectively.

[0069] In the first projection mode, the main light engine projects multi-frequency stripes, which can be low, medium, and high frequency stripes, and the secondary light engine only projects high frequency stripes.

[0070] In the first projection mode, step S203 includes: if each secondary optical engine only projects high-frequency stripes, then according to the first height of each position point and the first mapping table of each secondary optical engine, obtain the first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine.

[0071] The step of S204 includes: obtaining, according to the second height of each position point and the first mapping table of each secondary optical engine, a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine.

[0072] In the embodiment of the present application, each secondary optical machine only projects high-frequency stripes, which reduces the number of projected images, shortens the projection acquisition time, and improves the efficiency of three-dimensional reconstruction.

[0073] In a possible embodiment, the process of calculating the first predicted height and the second predicted height is similar, and includes the following steps: S401. According to the first mapping table of each secondary optical engine, the phase corresponding to the first height (or the second height) of each position point is determined as the predicted unfolding phase of each position point.

[0074] In the specific implementation process, according to the mapping relationship between multiple phases and multiple heights in the first mapping table, the phase corresponding to the first height (or second height) of each position point is found and determined as the first predicted unfolding phase of each position point.

[0075] S402. Obtain the wrapped phase of each position point under the high-frequency stripes according to the high-frequency stripes projected by each secondary optical machine.

[0076] S403, calculating the fringe order of the high-frequency fringe according to the predicted unfolded phase and wrapped phase.

[0077] The calculation formula of fringe order is as follows: Φ(x,y)=ψ(x,y)+2k(x,y)π Among them, Φ(x,y) represents the predicted unfolded phase of the position point (x,y), ψ(x,y) represents the wrapped phase of the position point (x,y), and k represents the fringe order.

[0078] S404, calculating the real unwrapped phase of each position point under the high-frequency fringes according to the wrapped phase and the fringe order.

[0079] The calculation formula of the true unwrapped phase is as follows: K=round(k) Φ1(x,y)=ψ(x,y)+2K(x,y)π Among them, Φ1(x,y) represents the true unwrapped phase of the position point (x,y), ψ(x,y) represents the wrapped phase of the position point (x,y), round represents an integer, and K represents the fringe order after rounding.

[0080] S405. According to the first mapping table of each secondary optical engine, the height corresponding to the real unwrapped phase is determined as the first predicted height (or second predicted height) of each position point under the high-frequency stripes projected by each secondary optical engine.

[0081] In the specific implementation process, after determining the true unfolded phase of each position point, the height corresponding to the true unfolded phase of each position point is found according to the mapping relationship between multiple phases and multiple heights in the first mapping table, and it is determined as the first predicted height Depth1 (or the second predicted height Depth2) of each position point under the high-frequency stripes projected by each secondary optical machine.

[0082] In an embodiment of the present application, since there may be deviations in the predicted unfolded phase of the first height mapping measured by the main optical machine, the calculated fringe order k may not be an integer value, and therefore it is rounded to obtain the accurate fringe order K=round(k), thereby achieving accurate decoding and obtaining the true unfolded phase of each position point of the object to be measured, and then accurately determining the first predicted height and the second predicted height of each position point under the high-frequency stripes projected by each secondary optical machine according to the first mapping table.

[0083] In the second projection mode, the main light engine projects multi-frequency stripes, which can be low, medium and high frequency stripes, and the auxiliary light engine projects high frequency stripes and sub-high frequency stripes at the same time.

[0084] In the second projection mode, the step of S203 includes: if each secondary light machine projects high-frequency stripes and sub-high-frequency stripes at the same time, then according to the first height of each position point and the second mapping table of each secondary light machine, obtain the first intermediate predicted height of each position point under the sub-high-frequency stripes projected by each secondary light machine; according to the first intermediate predicted height and the first mapping table of each secondary light machine, obtain the first predicted height of each position point under the high-frequency stripes projected by each secondary light machine.

[0085] The step of S204 includes: obtaining the second intermediate predicted height of each position point under the sub-high frequency stripes projected by each secondary optical machine according to the second height of each position point and the second mapping table of each secondary optical machine; obtaining the second predicted height of each position point under the high frequency stripes projected by each secondary optical machine according to the second intermediate predicted height and the first mapping table of each secondary optical machine.

[0086] In a specific implementation process, according to the second mapping table of each secondary optical machine, the phase corresponding to the first height H1 (or the second height H2) of each position point is determined as the predicted unwrapped phase Φ(x, y) of each position point, and according to the sub-high frequency stripes projected by each secondary optical machine, the wrapped phase ψ(x, y) of each position point under the sub-high frequency stripes is obtained, and according to the predicted unwrapped phase Φ(x, y) and the wrapped phase ψ(x, y), the stripe order K of the sub-high frequency stripes is calculated, and according to the wrapped phase ψ(x, y) and the stripe order K, the actual unwrapped phase Φ of each position point under the sub-high frequency stripes is calculated. L1 , according to the second mapping table of each secondary optical machine, the real unfolded phase Φ L1 The corresponding height is determined as the first intermediate predicted height Depth_L1 (or the second intermediate predicted height Depth_L2) of each position point under the high-frequency stripes projected by each secondary optical engine.

[0087] Further, according to the first mapping table of each secondary optical engine, the phase corresponding to the first intermediate predicted height Depth_L1 (or the second intermediate predicted height Depth_L2) of each position point is determined as the predicted unfolding phase of each position point. , according to the high-frequency stripes projected by each secondary optical machine, the wrapped phase of each position point under the high-frequency stripes is obtained , according to the predicted phase expansion and wrap phase , calculate the fringe order of high-frequency fringes , according to the package phase and stripe level , calculate the true unfolding phase Φ of each position point under high-frequency fringes L2 , according to the first mapping table of each secondary optical machine, the real unfolded phase Φ L2 The corresponding height is determined as the first predicted height Depth1 (or the second predicted height Depth2) of each position point under the high-frequency stripes projected by each secondary optical engine.

[0088] The specific implementation process is similar to steps S401 to S405 and will not be repeated here.

[0089] Considering that only high-frequency stripes are used, the stripe phase error may exceed one stripe cycle. In the embodiment of the present application, the secondary optical machine simultaneously projects high-frequency stripes and sub-high-frequency stripes, and the frequency numbers of the two cannot differ too much. Since the stripe cycle of the sub-high-frequency stripes is larger than that of the high-frequency stripes, the sub-high frequency can tolerate a larger height measurement error, that is, the height change caused by one stripe cycle, and the judgment process of the intermediate predicted height is increased, making the final predicted height more accurate, thereby improving the accuracy of three-dimensional reconstruction.

[0090] In summary, the present application provides a three-dimensional reconstruction method based on height prediction. In the first projection mode, the main light machine projects multi-frequency stripes, and the auxiliary light machine only needs to project high-frequency stripes, which can improve the measurement efficiency and thus improve the efficiency of three-dimensional reconstruction. In the second projection mode, the main light machine projects multi-frequency stripes, and the auxiliary light machine simultaneously projects high-frequency stripes and sub-high-frequency stripes, which improves the accuracy of measurement and thus improves the accuracy of three-dimensional reconstruction. The height of the object to be measured is jointly predicted by the first height in the initial three-dimensional data and the height in the standard three-dimensional data, and the data of each light machine is selected based on the gap value. Data weighting is performed in the fusion stage to ensure that the final predicted height of the object to be measured is accurate, thereby improving the accuracy of three-dimensional reconstruction.

[0091] Based on the same invention concept, please refer to Figure 4 The present application also provides a three-dimensional reconstruction device based on height prediction, comprising: An acquisition module is used to acquire initial three-dimensional data of the object to be measured through a measurement system; the measurement system includes a camera and multiple optical machines, the multiple optical machines include a main optical machine and at least one auxiliary optical machine; the initial three-dimensional data includes a first height of each position point on the object to be measured; A registration module, used to register the initial three-dimensional data according to the size of the object to be measured to obtain standard three-dimensional data; the standard three-dimensional data includes the second height of each position point on the object to be measured; A mapping module, used to obtain a first predicted height of each position point under the high-frequency stripes projected by each secondary optical machine according to the first height of each position point and the first mapping table of each secondary optical machine; the first mapping table refers to a mapping relationship between multiple phases and multiple heights established under the high-frequency stripes projected by each secondary optical machine; The mapping module is further used to obtain a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine according to the second height of each position point and the first mapping table of each secondary optical engine; A determination module, used to determine the predicted height of each position point under the projection of the main optical machine according to the first height and the second height of each position point; The determination module is further used to determine the predicted height of each position point under the projection of each secondary optical machine according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical machine; An acquisition module, used to average the predicted height of each position point under the projection of the primary optical machine and the predicted height of each position point under the projection of at least one secondary optical machine, to obtain a final predicted height of each position point; The acquisition module is also used to obtain the final three-dimensional data of the object to be measured according to the final predicted height of each position point.

[0092] It should be noted that each module in the three-dimensional reconstruction device based on height prediction in this embodiment corresponds one-to-one to each step in the three-dimensional reconstruction method based on height prediction in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned three-dimensional reconstruction method based on height prediction, which will not be repeated here.

[0093] Based on the same inventive concept, the present application also provides a computer device, which includes a processor, a memory, and a computer program stored in the memory. When the computer program is executed by the processor, the aforementioned three-dimensional reconstruction method based on height prediction is implemented.

[0094] Based on the same inventive concept, the present application also provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, the aforementioned three-dimensional reconstruction method based on height prediction is implemented.

[0095] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0096] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0097] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0098] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0099] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0100] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0101] Through the description of the above implementation methods, technical customer service personnel in this field can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a disk, or an optical disk), and includes a number of instructions for a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0102] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A three-dimensional reconstruction method based on height prediction, characterized in that: include: Acquire initial three-dimensional data of the object to be measured through a measurement system; the measurement system includes a camera and multiple optical machines, and the multiple optical machines include a main optical machine and at least one auxiliary optical machine; The initial three-dimensional data includes a first height of each position point on the object to be measured; According to the size of the object to be measured, the initial three-dimensional data is registered to obtain standard three-dimensional data; The standard three-dimensional data includes the second height of each position point on the object to be measured; According to the first height of each position point and the first mapping table of each secondary optical machine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical machine is obtained; the first mapping table refers to a mapping relationship between multiple phases and multiple heights established under the high-frequency stripes projected by each secondary optical machine; According to the second height of each position point and the first mapping table of each secondary optical engine, a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained; Determine the predicted height of each position point under the projection of the primary optical machine according to the first height and the second height of each position point; Determine the predicted height of each position point under the projection of each secondary optical machine according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical machine; Averaging the predicted height of each position point under the projection of the primary optical machine and the predicted height of each position point under the projection of the at least one secondary optical machine to obtain a final predicted height of each position point; According to the final predicted height of each position point, the final three-dimensional data of the object to be measured is obtained.

2. The three-dimensional reconstruction method based on height prediction according to claim 1, characterized in that: The step of obtaining, according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine comprises: If each secondary optical engine only projects high-frequency stripes, then according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained; The step of obtaining, according to the second height of each position point and the first mapping table of each secondary optical engine, a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine comprises: According to the second height of each position point and the first mapping table of each secondary optical engine, the second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained.

3. The three-dimensional reconstruction method based on height prediction according to claim 1, characterized in that: The step of obtaining, according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine comprises: If each secondary optical machine projects high-frequency stripes and sub-high-frequency stripes at the same time, a first intermediate predicted height of each position point under the sub-high-frequency stripes projected by each secondary optical machine is obtained according to the first height of each position point and the second mapping table of each secondary optical machine; the second mapping table refers to a mapping relationship between multiple phases and multiple heights established under the sub-high-frequency stripes projected by each secondary optical machine; According to the first intermediate predicted height and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained; The step of obtaining, according to the second height of each position point and the first mapping table of each secondary optical engine, a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine comprises: According to the second height of each position point and the second mapping table of each secondary optical engine, a second intermediate predicted height of each position point under the sub-high frequency stripes projected by each secondary optical engine is obtained; According to the second intermediate predicted height and the first mapping table of each secondary optical engine, the second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine is obtained.

4. The three-dimensional reconstruction method based on height prediction according to claim 2, characterized in that: The step of obtaining, according to the first height of each position point and the first mapping table of each secondary optical engine, a first predicted height of each position point under the high-frequency stripes projected by each secondary optical engine comprises: According to the first mapping table of each secondary optical engine, the phase corresponding to the first height of each position point is determined as the predicted unfolded phase of each position point; According to the high-frequency stripes projected by each secondary optical machine, the wrapped phase of each position point under the high-frequency stripes is obtained; Calculating the fringe order of the high-frequency fringe according to the predicted unwrapped phase and the wrapped phase; Calculate the real unwrapped phase of each position point under the high-frequency fringes according to the wrapped phase and the fringes order; According to the first mapping table of each secondary optical engine, the height corresponding to the real unwrapped phase is determined as the first predicted height of each position point under the high-frequency fringes projected by each secondary optical engine.

5. The three-dimensional reconstruction method based on height prediction according to claim 1, characterized in that: The step of determining the predicted height of each position point under the projection of the primary optical machine according to the first height and the second height of each position point comprises: Determine the average value between the first height and the second height of each position point as the predicted height of each position point under the projection of the primary optical machine; The step of determining the predicted height of each position point under each secondary optical engine projection according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine comprises: The average value between the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine is determined as the predicted height of each position point under the projection of each secondary optical engine.

6. The three-dimensional reconstruction method based on height prediction according to claim 1, characterized in that: The step of determining the predicted height of each position point under the projection of the primary optical machine according to the first height and the second height of each position point comprises: Determine the first height or the second height of each position point as the predicted height of each position point under the projection of the primary optical machine; The step of determining the predicted height of each position point under each secondary optical engine projection according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine comprises: The first predicted height or the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine is determined as the predicted height of each position point under the projection of each secondary optical engine.

7. The three-dimensional reconstruction method based on height prediction according to claim 6, characterized in that: The step of determining the first height or the second height of each position point as the predicted height of each position point under the projection of the primary optical machine comprises: If the modulation degree of any position point is greater than or equal to a preset threshold, determining the first height of the any position point as the predicted height of the any position point under the projection of the main optical machine; If the modulation degree of any position point is less than the preset threshold, the second height of any position point is determined as the predicted height of any position point under the projection of the main optical machine; The step of determining the first predicted height or the second predicted height of each position under the high-frequency stripes projected by each secondary optical engine as the predicted height of each position point under the projection of each secondary optical engine comprises: If the modulation degree of any position point is greater than or equal to a preset threshold, a first difference between a first predicted height of the any position point under the high-frequency stripes projected by each secondary optical engine and a first height of the any position point, and a second difference between a second predicted height of the any position point under the high-frequency stripes projected by each secondary optical engine and a second height of the any position point are calculated; If the second difference is greater than or equal to the first difference, the first predicted height of the any position point under the high-frequency fringes projected by each secondary optical engine is determined as the predicted height of the any position point under the projection of each secondary optical engine; If the second difference is smaller than the first difference, or the modulation degree of any position point is smaller than the preset threshold, the second predicted height of any position point under the high-frequency stripes projected by each secondary optical engine is determined as the predicted height of any position point under the projection of each secondary optical engine.

8. A three-dimensional reconstruction device based on height prediction, characterized in that: include: An acquisition module, used for acquiring initial three-dimensional data of the object to be measured through a measurement system; the measurement system includes a camera and a plurality of optical machines, the plurality of optical machines includes a main optical machine and at least one auxiliary optical machine; The initial three-dimensional data includes a first height of each position point on the object to be measured; A registration module, used for registering the initial three-dimensional data according to the size of the object to be measured to obtain standard three-dimensional data; The standard three-dimensional data includes the second height of each position point on the object to be measured; A mapping module, used to obtain a first predicted height of each position point under the high-frequency stripes projected by each secondary optical machine according to the first height of each position point and the first mapping table of each secondary optical machine; the first mapping table refers to a mapping relationship between multiple phases and multiple heights established under the high-frequency stripes projected by each secondary optical machine; The mapping module is further used to obtain a second predicted height of each position point under the high-frequency stripes projected by each secondary optical engine according to the second height of each position point and the first mapping table of each secondary optical engine; A determination module, used to determine the predicted height of each position point under the projection of the main optical machine according to the first height and the second height of each position point; The determination module is further used to determine the predicted height of each position point under the projection of each secondary optical machine according to the first predicted height and the second predicted height of each position under the high-frequency stripes projected by each secondary optical machine; An acquisition module, used for averaging the predicted height of each position point under the projection of the primary optical machine and the predicted height of each position point under the projection of the at least one secondary optical machine, to obtain a final predicted height of each position point; The acquisition module is also used to obtain the final three-dimensional data of the object to be measured according to the final predicted height of each position point.

9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the three-dimensional reconstruction method based on height prediction as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the three-dimensional reconstruction method based on height prediction as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for reconstructing three-dimensional model, electronic equipment and storage medium

    CN117830504A

  • Pipeline three-dimensional reconstruction method and equipment based on fringe projection measurement

    CN118334239A

Cited By

  • Three-dimensional structure reconstruction method and device of viaduct, storage medium and electronic equipment

    CN121353577A

  • Three-dimensional structure reconstruction method and device of viaduct, storage medium and electronic equipment

    CN121353577B