Bridge digital twin model complex curved surface reconstruction method based on three-dimensional point cloud
By calculating the average density and average curvature of three-dimensional point clouds and subdividing the value points based on local curvature changes, the inaccuracy and calculation burden problems in the reconstruction of complex surfaces of the bridge digital twin model in the existing technology are solved, and high-precision and high-efficiency model reconstruction is achieved.
Patent Information
- Application Number
- CN202510048265.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-01-13
AI Technical Summary
In the prior art, when reconstructing complex surfaces in bridge digital twin models, the uniform sampling method ignores the fine processing of point cloud edges and curvature mutation areas, resulting in inaccurate model and high computational burden.
By calculating the average density and average curvature of the three-dimensional point cloud, the number of basic type value points is determined, and the local curvature changes are subdivided to ensure the comprehensiveness and representativeness of type value points.
The high-precision complex surface reconstruction of the bridge digital twin model is realized, ensuring the comprehensiveness and representativeness of the model value points, and improving the accuracy and computing efficiency of the model.
Smart Images

Figure CN120014158A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digitalization of the construction industry and point cloud processing, and in particular to a method for reconstructing complex surfaces of a bridge digital twin model based on three-dimensional point clouds. Background Art
[0002] The continuous development of laser scanning technology enables us to obtain more detailed and accurate three-dimensional point cloud data. These point cloud data have very wide applications in bridge engineering and computer-aided design. They can not only be used to detect the deformation and settlement of bridge buildings, but also to build geometric digital twin models of bridges. These models benefit from the large amount of data and high precision of point clouds, and can reflect the service status of bridge structural systems in real time, thereby effectively improving the accuracy of structural safety assessment and damage prediction.
[0003] In computer-aided design, spline interpolation technology is often used to create surfaces in geometric digital twin models. The points used for surface interpolation are called type value points. These type value points are carefully selected from the corresponding component outer surface point cloud and must be able to represent the shape characteristics of the entire point cloud. Therefore, the selection of type value points needs to take into account both comprehensiveness and representativeness. Comprehensiveness requires that the overall layout of the type value points evenly cover every area of the point cloud to ensure the integrity of the surface; representativeness requires that the type value points must also fully capture the edges of the point cloud and be encrypted at locations where the curvature changes significantly to ensure the continuity and smoothness of the surface.
[0004] Although the existing type value point selection methods take into account the requirement of uniform distribution, they often ignore the fine processing of the edge of the point cloud and the area of curvature mutation. For the arched components of large-span bridges in service, the complexity of the structural shape caused by stress fatigue is very common. If only the point cloud is uniformly sampled, the subtle local deformation of the component may be ignored, which will lead to inaccurate model. In order to improve the accuracy of the model, the number of type value points can only be increased globally, but this will significantly increase the computational burden. In short, the traditional uniform sampling method has limitations in flexibility and is not suitable for high-precision geometric digital twin model reconstruction of complex-shaped bridge components. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present invention provides a method for reconstructing complex surfaces of a bridge digital twin model based on three-dimensional point clouds. The method first determines the number of basic type value points according to the average density and average curvature of the point cloud, and then encrypts the number accordingly according to the change of the local curvature of the point cloud, thereby ensuring that the selected type value points are both comprehensive and representative.
[0006] The purpose of the present invention is achieved through the following technical solutions:
[0007] A complex surface reconstruction method of a bridge digital twin model based on three-dimensional point cloud includes the following steps:
[0008] Step 1: Meshing of the bridge 3D point cloud;
[0009] S101: Calculate the average density a_d and average curvature a_c of the three-dimensional point cloud of the bridge, and align the three main directions of the three-dimensional point cloud with the X, Y, and Z directions of the Cartesian coordinate system; obtain the maximum and minimum values x of the X and Y coordinates of the aligned point cloud max 、x min ,y max ,y min , and project all points of the 3D point cloud onto the XOY plane; the projected points retain their Z coordinate value and curvature value information in the 3D space;
[0010] S102: Calculate the side length l of the initial grid, generate a uniform grid G, and summarize each point of the projected point cloud into the corresponding grid;
[0011] S103: traverse each grid in the grid G and calculate the average curvature of all points in the current grid; if the obtained average curvature exceeds the set average curvature threshold, subdivide all grids in the same X direction or the same Y direction as the grid;
[0012] S104: traversing the grid G again, deleting all empty grids that do not contain projection points, and subdividing the adjacent grids of the empty grids until no empty grids appear, thereby completing the grid division of the three-dimensional point cloud;
[0013] Step 2: Extraction of type value points based on grid division;
[0014] If there are corner points of the projected point cloud in the grid, the corner points are directly selected as the shape value points;
[0015] If there are no corner points of the projected point cloud in the grid, but there are edge points, then select the distance coordinates of all edge points The nearest point is the type value point; are the average values of the x, y, and z coordinates of all points in the grid, respectively;
[0016] If there are neither corner points nor edge points in the grid, select the distance coordinate The nearest point is the type value point;
[0017] Step 3: Based on the type value points, construct the complex surface of the bridge digital twin model.
[0018] Furthermore, the three main directions of the three-dimensional point cloud of the bridge are obtained by principal component analysis, which are the first main direction, the second main direction, and the third main direction; the first main direction is aligned with the Y axis, the second main direction is aligned with the X axis, and the third main direction is aligned with the Z axis.
[0019] Furthermore, the initial grid side length l = a_d / a_c, the number of grids in the X direction of the grid G is a, the number of grids in the Y direction is b, a = ceil ((x max –x min ) / l), b = ceil((y max –y min ) / l), ceil() represents the rounding up function.
[0020] Furthermore, the corresponding grid of the point with coordinates [x, y, z] in the three-dimensional point cloud of the bridge after being projected onto the XOY plane is G{n x ,n y}, where n x =ceil((x–x min ) / l), n y =ceil((y–y min ) / l).
[0021] Furthermore, the step S103 specifically includes the following sub-steps:
[0022] S1031: Calculate the average curvature of all points in the current grid G{i,j}
[0023] S1032: Determine whether the >average curvature threshold thr; if yes, proceed to S1033, otherwise proceed to S1035;
[0024] S1033: halving the Y-direction lengths of all grids located in the same X-direction as the grid G{i,j}, and halving the X-direction lengths of all grids located in the same Y-direction as the grid G{i,j};
[0025] S1034: Update the size of the grid G, and set a=a+1, b=b+1;
[0026] S1035: Traverse the next grid.
[0027] Furthermore, in S103 and S104, the method for traversing the grid G{i,j} is as follows: starting from G{1,1}, the value of i is increased by 1 after each traversal, and j=1 remains unchanged until G{a,1}, completing the traversal of the first column of grids; then starting from G{1,2}, the value of i is continued to increase from 1 to a, and j=2 remains unchanged, completing the traversal of the second column of grids; and so on, until i=a and j=b, the traversal ends at the grid G{a,b}.
[0028] Furthermore, in S103, the average curvature threshold is 1.1 to 1.4 times the average curvature a_c.
[0029] Furthermore, in S104, all empty grids that do not contain projection points are deleted, and the adjacent grids of the empty grids are subdivided, specifically:
[0030] After deleting a single grid or n consecutive grids in the same X direction, subdivide the adjacent grids according to the following rules:
[0031] If a single grid or n consecutive grids are at the beginning or end of all grids in the direction, the X-direction length of the first or last grid after deletion is divided into n+1 equal parts; otherwise, the X-direction length of the last grid in the front segment and the first grid in the back segment after deletion is divided into p equal parts and q equal parts respectively; if n is an odd number, p=(n+3) / 2, q=(n+1) / 2; if n is an even number, p=q=(n+2) / 2.
[0032] Furthermore, the calculation formulas for the average density a_d and average curvature ac of the three-dimensional point cloud of the bridge are as follows:
[0033] a_d=sum(D) / t
[0034] a_c=sum(C) / t
[0035] Among them, D is the distance from any point in the three-dimensional point cloud of the bridge to its nearest point; C is the curvature value of any point in the three-dimensional point cloud of the bridge, and t is the total number of points in the point cloud.
[0036] A device for reconstructing complex surfaces of a bridge digital twin model based on three-dimensional point clouds, comprising one or more processors for implementing a method for reconstructing complex surfaces of a bridge digital twin model based on three-dimensional point clouds.
[0037] The beneficial effects of the present invention are as follows:
[0038] 1. In the three-dimensional point cloud mesh division step of the method of the present invention, the point cloud is first evenly divided according to the average density and average curvature of the entire point cloud, so that the overall layout of the type value points can cover every area of the point cloud, thereby ensuring the comprehensiveness of the type value point selection.
[0039] 2. The three-dimensional point cloud meshing step of the method of the present invention not only performs uniform division, but also performs appropriate subdivision according to the local curvature of the point cloud, so that the type value points can be encrypted at the local position where the shape of the point cloud changes significantly. In addition, the type value point extraction step of the method of the present invention can also fully capture the edges and corners of the point cloud, thereby ensuring the representativeness of the type value point selection.
[0040] 3. The method of the present invention ensures the requirement of a×b type value points for spline surface interpolation, and has grouped the type value points in the u direction (corresponding to the X direction of grid G) and the v direction (corresponding to the Y direction of grid G) of the spline surface through grid division, making the subsequent interpolation surface generation more convenient and improving the efficiency of the entire three-dimensional model reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a flow chart of the complex surface reconstruction method of the bridge digital twin model based on three-dimensional point cloud of the present invention.
[0042] Figure 2 is a three-dimensional point cloud of one embodiment, wherein T1 is the first main direction, T2 is the second main direction, and T3 is the third main direction.
[0043] Figure 3 It is the projection of the three-dimensional point cloud on the XOY plane, where L1, L2, L3, and L4 are the outer contours of the point cloud, and E1, E2, E3, and E4 are the corner points of the point cloud.
[0044] Figure 4 is the initial grid division result, where G is the grid, G{1,1} is the grid in the grid G, a is the number of grids in the X direction, b is the number of grids in the Y direction, and l is the side length of each grid.
[0045] Figure 5 It is the specific process of mesh subdivision in the mesh division step of three-dimensional point cloud.
[0046] Figure 6 It is the result of the subdivision of grid G. The grid shown in bold in the figure is divided into four equal parts.
[0047] Figure 7 This is the result of deleting the empty grids in grid G. The diagonal lines in the figure show the empty grids in grid G, and the bold ones show the subdivided grids.
[0048] Figure 8 This is the result of type value point selection based on grid G. The points displayed in bold in the figure are type value points.
[0049] Fig. 9 It is a three-dimensional perspective of the type value point selection results. The points displayed in bold in the figure are type value points. DETAILED DESCRIPTION
[0050] The present invention will be described in detail below based on the accompanying drawings and preferred embodiments, and the purpose and effects of the present invention will become more clear. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0051] like Figure 1 As shown, the complex surface reconstruction method of the digital twin model of a bridge based on three-dimensional point cloud in this embodiment includes three steps: meshing of the three-dimensional point cloud of the bridge, extraction of type value points based on meshing, and construction of the complex surface of the digital twin model of the bridge based on the type value points.
[0052] The meshing of the bridge 3D point cloud in step 1 specifically includes the following sub-steps:
[0053] S101: Calculate the average density a_d and average curvature a_c of the three-dimensional point cloud of the bridge, and align the three main directions of the three-dimensional point cloud with the X, Y, and Z directions of the Cartesian coordinate system; obtain the maximum and minimum values x of the X and Y coordinates of the aligned point cloud max 、x min ,y max ,y min , and project all points of the 3D point cloud onto the XOY plane; the projected points retain their Z coordinate value and curvature value information in the 3D space;
[0054] S102: Calculate the side length l of the initial grid, generate a uniform grid G, and summarize each point of the projected point cloud into the corresponding grid;
[0055] S103: traverse each grid in the grid G and calculate the average curvature of all points in the current grid; if the obtained average curvature exceeds the set average curvature threshold, subdivide all grids in the same X direction or the same Y direction as the grid;
[0056] S104: traverse the grid G again, delete all empty grids that do not contain projection points, and subdivide the adjacent grids of the empty grids until no empty grids appear, thereby completing the grid division of the three-dimensional point cloud.
[0057] like Figure 2As shown, the figure lists the preferred three-dimensional point cloud data of this implementation. In this embodiment, the average density a_d of the three-dimensional point cloud is used to characterize the density of the point cloud as a whole, in millimeters, and is calculated by the formula a_d=sum(D) / t. Where D is the distance from any point in the point cloud to its nearest point, and t is the total number of points in the point cloud. The larger the value of the average density a_d, the sparser the point cloud, and vice versa. The average curvature a_c of the three-dimensional point cloud is used to characterize the degree of curvature of the overall shape of the point cloud, dimensionless, and is calculated by the formula a_c=sum(C) / t. Where C is the curvature value of any point in the point cloud, and t is the total number of points in the point cloud. The point curvature value is used to characterize the local shape of the point cloud near one of its points, and is calculated by the principal curvature estimation class (PrincipalCurvaturesEstimation) in the point cloud library (PCL). The larger the value of the average curvature a_c, the more curved the shape of the point cloud, and vice versa.
[0058] In this embodiment, the three main directions (T1, T2, T3) of the three-dimensional point cloud are obtained by principal component analysis (PCA) to characterize the density of the point cloud distribution in a single direction. Figure 2 As shown, the point cloud distribution in the first main direction T1 is the sparsest, and the shape is the most narrow and long; the point cloud distribution in the third main direction T3 is the densest, and the shape is the narrowest. The second main direction T2 is perpendicular to the first main direction T1 and the third main direction T3, and the first main direction T1 and the third main direction T1 are also perpendicular to each other. In this embodiment, by rotating the point cloud, the first main direction T1 will be aligned with the Y axis, the second main direction T2 will be aligned with the X axis, and the third main direction T3 will be aligned with the Z axis.
[0059] See also Figure 3 , which lists the projection of the three-dimensional point cloud of this embodiment on the XOY plane. For any point in the three-dimensional point cloud, assuming that its coordinates are [x, y, z], the coordinates of the projection of the point on the XOY plane are [x, y]. It should be noted that the projected point retains its Z coordinate value and curvature value information in the three-dimensional space. As shown in the figure, curves L1, L2, L3, and L4 constitute the outer contour of the three-dimensional point cloud. The points located on the outer contour lines L1, L2, L3, and L4 are marked as edge points of the point cloud (shown in bold in the figure), and the intersection points E1, E2, E3, and E4 of the four outer contour lines are marked as corner points of the three-dimensional point cloud. In this embodiment, the edge points and corner points of the three-dimensional point cloud are identified and marked by the edge estimation class (BoundaryEstimation) in the PCL library.
[0060] In this embodiment, the total number of points in the 3D point cloud is 16705, the number of points marked as edge points is 304, and the edge points include 4 corner points of the point cloud. The calculation result of the average density a_d is 0.3621, and the calculation result of the average curvature a_c is 0.0232. The maximum and minimum values of the X coordinate x max 、x min The maximum and minimum values of the Y coordinate are 58.59 and 2.29 respectively. max ,y min They are 108.73 and 1.41 respectively, in millimeters.
[0061] See also Figure 4 , which shows the uniform grid G of this embodiment. The number of grids in the grid G is a in the X direction and b in the Y direction, and the size of each grid is l×l. Where a=ceil((x max –x min ) / l), b = ceil((y max –y min ) / l), l = a_d / a_c, ceil() represents the upward rounding function. In this embodiment, the side length of each grid is l = 15.6 mm, so the initial number of grids in the grid G is 4×7. For any point projected onto the XOY plane, assuming its coordinates are [x, y], the point will be included in the grid G{n x ,n y}, where n x =ceil((x–x min ) / l), n y =ceil((y–y min ) / l). All points on the XOY plane are summarized to complete the initial meshing of the 3D point cloud.
[0062] See also Figure 5 , S103 in the three-dimensional point cloud mesh division specifically includes the following sub-steps:
[0063] S1031: Calculate the average curvature of all points in the current grid G{i,j}
[0064] S1032: Determine whether the >average curvature threshold thr; if yes, proceed to S1033, otherwise proceed to S1035;
[0065] S1033: The Y-direction lengths of all grids in the same X-direction as the grid G{i,j} are divided into two equal parts, and the X-direction lengths of all grids in the same Y-direction as the grid G{i,j} are divided into two equal parts. The X-direction length is divided into two equal parts, which means dividing the original l×l grid into two l / 2×l grids, and the Y-direction length is divided into two equal parts, which means dividing the original l×l grid into two l×l / 2 grids; the current grid G{i,j} will be divided into four equal parts.
[0066] S1034: Update the size of the grid G, and set a=a+1, b=b+1;
[0067] S1035: Traverse the next grid.
[0068] In this embodiment, the average curvature The calculation formula is Where C{i,j} represents the curvature value of any point in the current grid G{i,j}, and t{i,j} represents the total number of points in the current grid G{i,j}. The average curvature threshold thr is 1.1 to 1.4 times the average curvature a_c. Preferably, in this embodiment, the threshold thr=1.3 and a_c=0.0302 are set. G{i,:} represents all grids in the same Y direction as G{i,j}, and G{:,j} represents all grids in the same X direction as G{i,j}.
[0069] Specifically, the method for traversing the grids G{i,j} in S103 and S104 is as follows: starting from G{1,1}, after each traversal, the value of i is increased by 1, and j=1 remains unchanged, until G{a,1}, completing the traversal of the first column of grids; then starting from G{1,2}, the value of i is continued to increase from 1 to a, and j=2 remains unchanged, completing the traversal of the second column of grids; and so on, until i=a and j=b, the traversal ends at the grid G{a,b}.
[0070] See also Figure 6 , which lists the subdivision of the uniform grid G in this embodiment. In this embodiment, when traversing to the grid G{3,4} (shown in bold in the figure), the average curvature of all points in the grid is Exceeds the threshold thr. At this time, the X-direction lengths of all grids in the same Y direction are divided into two equal parts, that is, the original l×l grid is divided into 2 l / 2×l grids. At the same time, the Y-direction lengths of the grids G{1,4}, G{2,4}, G{3,4}, and G{4,4} in the same X direction are divided into two equal parts, that is, the original l×l grid is divided into 2 l×l / 2 grids. After the division is completed, the current grid G{3,4} is divided into four equal parts, and the size of the grid G is updated at the same time. In the subsequent traversal process, the average curvature of the points in the grids G{4,5} and G{3,7} also exceeds the threshold thr, and the same subdivision operation is performed. After completing the traversal and subdivision of all grids, the number of grids in the grid G increases from the original 4×7 to 7×10.
[0071] See also Figure 7 , which lists the exclusion of empty grids that do not contain projection points in the grid G of this implementation. For the grids G{:,j} in the same X direction, after deleting a single grid or n consecutive grids, the adjacent grids are subdivided according to the following rules:
[0072] (1) If a single grid or n consecutive grids are at the beginning or end of G{:,j}, the X-direction length of the first or last grid after deletion is divided into n+1 equal parts;
[0073] (2) If a single grid or n consecutive grids are in the middle of G{:,j}, the X-direction length of the last grid in the front segment and the first grid in the back segment after deletion is divided into p and q equal parts respectively. If n is an odd number, then p = (n+3) / 2, q = (n+1) / 2; if n is an even number, then p = q = (n+2) / 2.
[0074] Repeat the above steps until there are no more empty grids in G{:,j}, and then traverse the next column of grids.
[0075] In this embodiment, the grids G{7,1}, G{1,3}, G{1,4}, G{1,5}, G{1,6}, G{1,7}, and G{7,10} do not contain any projection points and are therefore used as empty grids ( Figure 7 The grid G{1,3} is at the beginning of G{:,3} and G{7,1} is at the end of G{:,1}, so the X-direction lengths of the adjacent grids G{2,3} and G{6,1} (shown in bold in the figure) are divided into two equal parts. The remaining empty grids are processed similarly. After all empty grids are eliminated, the size of the grid G will not change.
[0076] See also Figure 8 and Fig. 9, the two figures list the type value point selection results of the three-dimensional point cloud. Step 2 of this embodiment, type value point extraction based on grid division, specifically includes:
[0077] If there are corner points of the projected point cloud in the grid, the corner points are directly selected as the shape value points;
[0078] If there are no corner points of the projected point cloud in the grid, but there are edge points, then select the distance coordinates of all edge points The nearest point is the type value point; are the average values of the x, y, and z coordinates of all points in the grid, respectively;
[0079] If there are neither corner points nor edge points in the grid, select the distance coordinate The nearest point is the type value point.
[0080] in, are the average values of the x, y, and z coordinates of all points in the grid, respectively.
[0081] In the point value extraction method, edge points refer to points on the outer contour of the point cloud, and corner points refer to the intersection of two or more outer contour lines of the point cloud, which is a special kind of edge point. Both are identified by the BoundaryEstimation class in the PCL library.
[0082] In this embodiment, the number of type value points of the three-dimensional point cloud is 70 (shown in bold in the figure), including 4 corner points and 26 edge points. The obtained type value points will be grouped by the grid G: first grouped according to the X direction, all type value points in G{:,j} are grouped into one group for interpolation in the u direction of the spline surface; then grouped according to the Y direction, all type value points in G{i,:} are grouped into one group for interpolation in the v direction of the spline surface.
[0083] Corresponding to the aforementioned embodiment of the method for reconstructing complex surfaces of a bridge digital twin model based on three-dimensional point cloud, the present invention also provides an embodiment of a device for reconstructing complex surfaces of a bridge digital twin model based on three-dimensional point cloud.
[0084] An embodiment of the present invention provides a device for reconstructing complex surfaces of a bridge digital twin model based on three-dimensional point clouds, comprising one or more processors for implementing the method for reconstructing complex surfaces of a bridge digital twin model based on three-dimensional point clouds in the above-mentioned embodiment.
[0085] The embodiment of the complex surface reconstruction device of the digital twin model of a bridge based on three-dimensional point cloud of the present invention can be applied to any device with data processing capability, and the any device with data processing capability can be a device or apparatus such as a computer. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of any device with data processing capability in which it is located to read the corresponding computer program instructions in the non-volatile memory into the memory and run it. From the hardware level, in addition to the processor, memory, network interface, and non-volatile memory, any device with data processing capability in which the device in the embodiment is located can also include other hardware according to the actual function of the device with data processing capability, which will not be described in detail.
[0086] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0087] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.
[0088] An embodiment of the present invention also provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the method for reconstructing complex surfaces of a digital twin model of a bridge based on three-dimensional point cloud in the above embodiment is implemented.
[0089] The computer-readable storage medium may be an internal storage unit of any device with data processing capability described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device, such as a plug-in hard disk, a smart media card (SMC), an SD card, a flash card, etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of any device with data processing capability and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capability, and may also be used to temporarily store data that has been output or is to be output.
[0090] Those skilled in the art can understand that the above are only preferred examples of the invention and are not intended to limit the invention. Although the invention is described in detail with reference to the above examples, those skilled in the art can still modify the technical solutions recorded in the above examples or replace some of the technical features therein with equivalents. Any modification, equivalent replacement, etc. made within the spirit and principle of the invention shall be included in the protection scope of the invention.
Claims
1. A complex surface reconstruction method for a bridge digital twin model based on three-dimensional point cloud, characterized in that: The steps include: Step 1: Meshing of the bridge 3D point cloud; S101: Calculate the average density a_d and average curvature a_c of the three-dimensional point cloud of the bridge, and align the three main directions of the three-dimensional point cloud with the X, Y, and Z directions of the Cartesian coordinate system; Get the maximum and minimum values of the X and Y coordinates of the aligned point cloud max 、x min ,y max ,y min , and project all points of the 3D point cloud onto the XOY plane; the projected points retain their Z coordinate value and curvature value information in the 3D space; S102: Calculate the side length l of the initial grid, generate a uniform grid G, and summarize each point of the projected point cloud into the corresponding grid; S103: traverse each grid in the grid G and calculate the average curvature of all points in the current grid; if the obtained average curvature exceeds the set average curvature threshold, subdivide all grids in the same X direction or the same Y direction as the grid; S104: traversing the grid G again, deleting all empty grids that do not contain projection points, and subdividing the adjacent grids of the empty grids until no empty grids appear, thereby completing the grid division of the three-dimensional point cloud; Step 2: Extraction of type value points based on grid division; If there are corner points of the projected point cloud in the grid, the corner points are directly selected as the shape value points; If there are no corner points of the projected point cloud in the grid, but there are edge points, then select the distance coordinates of all edge points The nearest point is the type value point; are the average values of the x, y, and z coordinates of all points in the grid, respectively; If there are neither corner points nor edge points in the grid, select the distance coordinate The nearest point is the type value point; Step 3: Based on the type value points, construct the complex surface of the bridge digital twin model.
2. The complex surface reconstruction method of the bridge digital twin model based on three-dimensional point cloud according to claim 1 is characterized in that: The three main directions of the three-dimensional point cloud of the bridge are obtained by principal component analysis, which are the first main direction, the second main direction, and the third main direction; the first main direction is aligned with the Y axis, the second main direction is aligned with the X axis, and the third main direction is aligned with the Z axis.
3. The complex surface reconstruction method of the bridge digital twin model based on three-dimensional point cloud according to claim 1 is characterized in that: The initial grid side length l = a_d / a_c, the grid G has a grid number in the X direction and b grid number in the Y direction, a = ceil((x max –x min ) / l), b = ceil((y max –y min ) / l), ceil() represents the rounding up function.
4. The complex surface reconstruction method of the bridge digital twin model based on three-dimensional point cloud according to claim 1 is characterized in that: The coordinates of the point in the three-dimensional point cloud of the bridge are [x, y, z], and the corresponding grid after being projected onto the XOY plane is G{n x ,n y }, where n x =ceil((x–x min ) / l), n y =ceil((y–y min ) / l).
5. The complex surface reconstruction method of the bridge digital twin model based on three-dimensional point cloud according to claim 1 is characterized in that: The step S103 specifically includes the following sub-steps: S1031: Calculate the average curvature of all points in the current grid G{i,j} S1032: Determine whether the If yes, go to S1033, otherwise go to S1035; S1033: halving the Y-direction lengths of all grids located in the same X-direction as the grid G{i,j}, and halving the X-direction lengths of all grids located in the same Y-direction as the grid G{i,j}; S1034: Update the size of the grid G, and set a=a+1, b=b+1; S1035: Traverse the next grid.
6. The complex surface reconstruction method of the bridge digital twin model based on three-dimensional point cloud according to claim 1 is characterized in that: In S103 and S104, the method for traversing the grid G{i,j} is as follows: starting from G{1,1}, after each traversal, the value of i is increased by 1, and j=1 remains unchanged, until G{a,1}, completing the traversal of the first column of grids; then starting from G{1,2}, the value of i is continued to increase from 1 to a, and j=2 remains unchanged, completing the traversal of the second column of grids; and so on, until i=a and j=b, the traversal ends at the grid G{a,b}.
7. The complex surface reconstruction method of a bridge digital twin model based on three-dimensional point cloud according to claim 1 is characterized in that: In the above S103, the average curvature threshold is 1.1 to 1.4 times the average curvature a_c.
8. The complex surface reconstruction method of a bridge digital twin model based on three-dimensional point cloud according to claim 1 is characterized in that: In the S104, all empty grids that do not contain projection points are deleted, and the adjacent grids of the empty grids are subdivided, specifically: After deleting a single grid or n consecutive grids in the same X direction, subdivide the adjacent grids according to the following rules: If a single grid or n consecutive grids are at the beginning or end of all grids in the direction, the X-direction length of the first or last grid after deletion is divided into n+1 equal parts; otherwise, the X-direction length of the last grid in the front segment and the first grid in the back segment after deletion is divided into p equal parts and q equal parts respectively; if n is an odd number, p=(n+3) / 2, q=(n+1) / 2; if n is an even number, p=q=(n+2) / 2.
9. The complex surface reconstruction method of a bridge digital twin model based on three-dimensional point cloud according to claim 1 is characterized in that: The calculation formulas for the average density a_d and average curvature ac of the three-dimensional point cloud of the bridge are as follows: a_d=sum(D) / t a_c=sum(C) / t Among them, D is the distance from any point in the three-dimensional point cloud of the bridge to its nearest point; C is the curvature value of any point in the three-dimensional point cloud of the bridge; t is the total number of points in the point cloud.
10. A complex surface reconstruction device for a bridge digital twin model based on three-dimensional point cloud, characterized in that: It comprises one or more processors for implementing the complex surface reconstruction method of the bridge digital twin model based on three-dimensional point cloud as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Method and computer system for fitting characteristic elements
CN101667290A
Method for reconstructing three-dimensional curve face through point cloud
CN104268934A
Micro-terrain surface reconstruction method
CN105761312A
Shock wave characteristic curved surface grid reconstruction method and device, electronic equipment and storage medium
CN114357906A
Point cloud data processing method and apparatus, electronic device, and storage medium
WO2024094118A1