A bridge modeling method and system
By performing noise reduction processing and boundary optimization on the initial point cloud model, the bridge model is constructed, which solves the problem of real-scene modeling of the bridge in the absence of data and achieves rapid and accurate detection of the bridge status.
Patent Information
- Application Number
- CN202410874396.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-02
AI Technical Summary
In the absence of drawings, dimensions and construction data, it is difficult to establish a real-life model of the bridge, which affects the detection effect of the bridge status.
By obtaining the initial point cloud model, performing noise reduction processing, anomaly removal and boundary optimization to form three-dimensional coordinate data, and then constructing the bridge model, the real-life modeling and detection of the bridge can be completed without drawings, dimensions and construction data.
It realizes the rapid and accurate construction of the bridge's spatial form, improves the quality of the point cloud, and ensures the accurate reconstruction and status detection of the bridge structure.
Smart Images

Figure CN118410557B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a bridge modeling method and system. Background Art
[0002] With the rapid development of the economy, the construction of infrastructure has gradually increased. As an important part of transportation infrastructure, the number of bridges has increased accordingly. In order to ensure the safe operation of bridges, it is extremely important to quickly and accurately detect the actual status of bridges.
[0003] The basis for detecting the actual status of a bridge is to build a real-life model of the bridge. After applying external conditions to the real-life model of the bridge, the bridge status data can be obtained. However, for bridges that lack drawings, dimensions, and construction data, it is difficult to build a real-life model, which affects the detection effect of the bridge status. Summary of the invention
[0004] The embodiments of the present application provide a bridge modeling method and system to solve the technical problem in the prior art that it is difficult to establish a real-life model of a bridge in the absence of drawings, dimensions and construction data, which affects the detection effect of the bridge status.
[0005] In a first aspect, an embodiment of the present application provides a bridge modeling method, comprising the following steps:
[0006] Acquire an initial point cloud model corresponding to the bridge, the initial point cloud model including a plurality of laser scanning points, and perform noise reduction processing on the initial point cloud model to form a first point cloud model;
[0007] The first point cloud model is transferred to a spherical coordinate system and projected to a plane coordinate system to obtain a plane point cloud, the plane point cloud is triangulated in the plane coordinate system, and the plane point cloud after triangulation is projected to a three-dimensional coordinate system to form a triangular mesh point cloud model, wherein the triangular mesh point cloud model includes a plurality of triangular meshes;
[0008] Performing anomaly elimination processing on the triangular mesh point cloud model to obtain a second point cloud model, and performing boundary optimization on the second point cloud model to obtain a third point cloud model, wherein the third point cloud model includes a plurality of component point cloud models;
[0009] Real scene modeling is performed on the component point cloud model to form a component real scene model, and the component real scene models are combined into a bridge model.
[0010] Furthermore, the step of performing noise reduction processing on the initial point cloud model to form a first point cloud model includes:
[0011] The initial point cloud model is processed into blocks to obtain a plurality of point cloud blocks;
[0012] Performing plane detection on the laser scanning points in the point cloud block to obtain a block to be processed from a plurality of the point cloud blocks;
[0013] A high-frequency noise determination is performed on each of the laser scanning points in the block to be processed to remove the high-frequency noise points, and a low-frequency noise smoothing process is performed on each of the laser scanning points in the block to be processed.
[0014] Furthermore, the step of performing high-frequency noise determination on each of the laser scanning points in the block to be processed to remove high-frequency noise points includes:
[0015] Searching for a first neighboring point of each laser scanning point in the block to be processed to obtain a first neighboring point set corresponding to the laser scanning point, wherein the first neighboring point set includes a plurality of first neighboring points, and obtaining a first normal vector of the laser scanning point based on the laser scanning point and the first neighboring point set;
[0016] constructing a reference plane based on the spatial coordinates of the laser scanning point and the first normal vector, and determining whether a first Euclidean distance between the first neighboring point and the reference plane is less than a first distance threshold, so as to determine a plurality of first reference points from the plurality of first neighboring points;
[0017] Constructing a reference cylindrical surface based on the three-dimensional coordinates and the first normal vector of the laser scanning point, the three-dimensional coordinates and the second normal vector of the first neighboring point, obtaining the center of the reference cylindrical surface and the first radius of the laser scanning point, and obtaining the center of the reference cylindrical surface and the second radius of the first neighboring point, and determining whether the difference between the first radius and the second radius is less than a difference threshold, so as to determine a plurality of second reference points from the first neighboring points;
[0018] Whether the laser scanning point is a high-frequency noise point is determined by the number of the first reference point and the second reference point. If so, the high-frequency noise point is removed.
[0019] Furthermore, the step of performing low-frequency noise smoothing processing on each of the laser scanning points in the block to be processed includes:
[0020] Searching for a second neighboring point of each laser scanning point in the block to be processed to obtain a second neighboring point set corresponding to the laser scanning point, wherein the second neighboring point set includes a plurality of second neighboring points;
[0021] Obtaining a normal vector weight and a feature weight between the laser scanning point and the second neighboring point;
[0022] A bilateral filter factor corresponding to the laser scanning point is obtained based on the normal vector weight and the feature weight, and the position of the laser scanning point is adjusted by the bilateral filter factor to complete low-frequency noise smoothing processing.
[0023] Furthermore, the step of performing anomaly elimination processing on the triangular mesh point cloud model to obtain a second point cloud model includes:
[0024] Based on the three-dimensional coordinates of the laser scanning points constituting the triangular mesh, obtaining the mesh side length of the triangular mesh;
[0025] Comparing the grid side length with a side length threshold;
[0026] If the mesh side length is greater than the side length threshold, the triangular mesh corresponding to the mesh side length greater than the side length threshold is eliminated.
[0027] Furthermore, the step of performing boundary optimization on the second point cloud model includes:
[0028] Searching for a plurality of third neighboring points of each laser scanning point in the third point cloud model, obtaining a space vector between the laser scanning point and each of the third neighboring points corresponding thereto, so as to form a vector data set;
[0029] Determining whether the laser scanning point is an edge point based on the vector data group;
[0030] Constructing a boundary line based on the edge points, and determining whether there is a missing area within the boundary line based on the shape of the boundary line;
[0031] If there is a missing area, point filling is performed in the missing area using the edge points adjacent to the missing area.
[0032] Furthermore, the step of performing real-scene modeling on the component point cloud model to form a component real-scene model includes:
[0033] Performing a slicing process on the component point cloud model to obtain a plurality of first point cloud slices;
[0034] Determine a first contour corner point in the first point cloud slice, obtain a centroid of the first point cloud slice based on the first contour corner point, and obtain a growth axis through another centroid of the first point cloud slice;
[0035] Performing secondary slicing processing on the component point cloud model along a direction perpendicular to the growth axis to obtain a plurality of second point cloud slices;
[0036] Determine second contour corner points in the second point cloud slice, construct a slice contour based on the second contour corner points, and fill the slice contour along the growth axis direction to form a component real scene model.
[0037] Furthermore, after the step of performing real-scene modeling on the component point cloud model to form a component real-scene model and combining the component real-scene models into a bridge model, the method further includes:
[0038] Static analysis is performed on the bridge model to determine stress concentration locations of the bridge model, and a material model is filled in the stress concentration locations.
[0039] In a second aspect, an embodiment of the present application provides a bridge modeling system, which is applied to the bridge modeling method in the above technical solution, and the system includes:
[0040] A preprocessing module, used to obtain an initial point cloud model corresponding to the bridge, the initial point cloud model including a plurality of laser scanning points, and perform noise reduction processing on the initial point cloud model to form a first point cloud model;
[0041] A conversion module, used for transferring the first point cloud model into a spherical coordinate system and projecting it into a plane coordinate system to obtain a plane point cloud, performing triangular mesh processing on the plane point cloud in the plane coordinate system, and projecting the plane point cloud after triangular mesh processing into a three-dimensional coordinate system to form a triangular mesh point cloud model, wherein the triangular mesh point cloud model includes a plurality of triangular meshes;
[0042] An adjustment module is used to perform anomaly elimination processing on the triangular mesh point cloud model to obtain a second point cloud model, and to perform boundary optimization on the second point cloud model to obtain a third point cloud model, wherein the third point cloud model includes a plurality of component point cloud models;
[0043] The construction module is used to perform real-scene modeling on the component point cloud model to form a component real-scene model, and combine the component real-scene models into a bridge model.
[0044] In a third aspect, an embodiment of the present application provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the bridge modeling method as described in the first aspect above is implemented.
[0045] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the bridge modeling method described in the first aspect above is implemented.
[0046] Compared with the prior art, the beneficial effects of the present invention are as follows: by acquiring the initial point cloud model, which contains a large amount of three-dimensional coordinate data corresponding to the bridge, the spatial form of the bridge is constructed quickly and accurately; by sequentially performing the noise reduction processing, the abnormality elimination processing and the boundary optimization on the initial point cloud model, the point cloud quality of the initial point cloud model is improved, that is, the accuracy of the reconstruction of the spatial structure of the bridge is ensured; by respectively reconstructing the real scene of the component point cloud models, the construction of the bridge model corresponding to the bridge can be completed without using drawings, dimensions and construction materials, and different working conditions can be simulated based on the bridge model, and then the detection data of the bridge model can be collected to complete the detection of the bridge status.
[0047] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A flow chart of a bridge modeling method in a first embodiment of the present invention;
[0049] Figure 2 It is a structural block diagram of a bridge modeling system in a second embodiment of the present invention;
[0050] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0052] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0053] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0054] See also Figure 1 The bridge modeling method provided by the first embodiment of the present invention includes the following steps:
[0055] Step S10: obtaining an initial point cloud model corresponding to the bridge, the initial point cloud model including a plurality of laser scanning points, and performing noise reduction processing on the initial point cloud model to form a first point cloud model;
[0056] In this embodiment, the laser scanning points are obtained by a three-dimensional laser scanner, and the laser scanning points are combined into the initial point cloud model. It can be understood that the laser scanning points exist in three-dimensional coordinates. The outer contour of the initial point cloud model represents the spatial form of the bridge, but the influence of noise will cause a certain error between the initial point cloud model and the spatial form of the bridge. In order to improve the accuracy of the initial point cloud model, the step S10 includes:
[0057] S110: performing block processing on the initial point cloud model to obtain a plurality of point cloud blocks;
[0058] The block processing is performed on the initial point cloud model based on spatial blocks of the same size. It can be understood that the point cloud block includes a number of laser scanning points, and all the laser scanning points in the point cloud block are the laser scanning points in the initial point cloud model.
[0059] S120: performing plane detection on the laser scanning points in the point cloud block to obtain a block to be processed from a plurality of the point cloud blocks;
[0060] The laser scanning points in the point cloud block are transferred to the spherical coordinate system, and the plane detection is performed based on the distance between the center of the spherical coordinate system and the laser scanning points. When the distance between a certain laser scanning point and the center of the spherical coordinate system is greater than the distance between other laser scanning points and the center of the spherical coordinate system, the point cloud block is judged as a block to be processed. By performing the plane detection and only performing the noise reduction processing on the block to be processed, the data processing amount can be effectively reduced and the modeling efficiency can be improved.
[0061] S130: Perform high-frequency noise determination on each of the laser scanning points in the block to be processed to remove high-frequency noise points, and perform low-frequency noise smoothing on each of the laser scanning points in the block to be processed.
[0062] Specifically, searching for a first neighboring point of each laser scanning point in the block to be processed to obtain a first neighboring point set corresponding to the laser scanning point, wherein the first neighboring point set includes a plurality of first neighboring points, and obtaining a first normal vector of the laser scanning point based on the laser scanning point and the first neighboring point set;
[0063] The other laser scanning points with the closest Euclidean distance to a certain laser scanning point are determined as the first neighboring points, and the number of the first neighboring points is greater than 8. A plane can be formed by connecting the laser scanning point with two of the first neighboring points in pairs, and a first vector and a second vector exist between the laser scanning point and the two first neighboring points respectively. The normal vector of the plane can be obtained by cross-multiplying the first vector and the second vector, and the first normal vector can be obtained by weighted averaging the normal vectors of different planes.
[0064] constructing a reference plane based on the spatial coordinates of the laser scanning point and the first normal vector, and determining whether a first Euclidean distance between the first neighboring point and the reference plane is less than a first distance threshold, so as to determine a plurality of first reference points from the plurality of first neighboring points;
[0065] The coordinates of the laser scanning point in the three-dimensional coordinate system are the spatial coordinates. By constructing the reference plane and determining the first Euclidean distance between the first Linjin store and the reference plane, it is possible to determine whether the laser scanning point is a high-frequency noise point in a plane state.
[0066] Constructing a reference cylindrical surface based on the three-dimensional coordinates and the first normal vector of the laser scanning point, the three-dimensional coordinates and the second normal vector of the first neighboring point, obtaining the center of the reference cylindrical surface and the first radius of the laser scanning point, and obtaining the center of the reference cylindrical surface and the second radius of the first neighboring point, and determining whether the difference between the first radius and the second radius is less than a difference threshold, so as to determine a plurality of second reference points from the first neighboring points;
[0067] After completing the judgment of the plane state, it should also be considered whether the laser scanning point and the first adjacent point form a curved surface. By building the reference cylindrical surface, the center of the circle and the line connecting the laser scanning point and the first adjacent point are used to determine whether there is a difference between the two, thereby completing the judgment of whether the laser scanning point is a high-frequency noise point in the curved surface state.
[0068] Whether the laser scanning point is a high-frequency noise point is determined by the number of the first reference point and the second reference point. If so, the high-frequency noise point is removed.
[0069] It is determined whether the number of the first reference points and the number of the second reference points are greater than the number threshold. If the number of the first reference points and / or the number of the second reference points are greater than the number threshold, the laser scanning point is a high-frequency noise point and needs to be removed. The high-frequency noise determination described in this embodiment not only considers the Euclidean distance, but also considers the spatial mental characteristics composed of different laser scanning points, so as to provide a more accurate basis for the determination of high-frequency noise points.
[0070] Searching for a second neighboring point of each laser scanning point in the block to be processed to obtain a second neighboring point set corresponding to the laser scanning point, wherein the second neighboring point set includes a plurality of second neighboring points;
[0071] The number of the second neighboring points corresponding to a certain laser scanning point is greater than 20, and the method for obtaining the second neighboring points is consistent with the method for obtaining the first neighboring points, which will not be repeated here.
[0072] Obtaining a normal vector weight and a feature weight between the laser scanning point and the second neighboring point;
[0073] The calculation formula of the normal vector weight is:
[0074] ,
[0075] in, represents the normal vector weight, represents the normal vector of the laser scanning point, represents the normal vector of the second neighboring point corresponding to the laser scanning point, represents the influence factor of the normal vector weight, In this step, the normal vector of the laser scanning point and the normal vector of the second neighboring point are obtained in the same manner as the first normal vector.
[0076] The calculation formula of the feature weight is:
[0077] ,
[0078] in, represents the feature weight, Represents the radius of the cylindrical surface passing through the laser scanning point, represents the radius of the cylindrical surface passing through the second neighboring point corresponding to the laser scanning point, Represents the feature weight influencing factor.
[0079] Acquire a bilateral filter factor corresponding to the laser scanning point based on the normal vector weight and the feature weight, and adjust the position of the laser scanning point by using the bilateral filter factor to complete low-frequency noise smoothing processing;
[0080] The calculation formula of the bilateral filtering factor is:
[0081] ,
[0082] in, represents the bilateral filter factor, represents the laser scanning point, represents the second neighboring point corresponding to the laser scanning point, Represents the set of all laser scanning points in the block to be processed.
[0083] By adjusting the position of the laser scanning point through the bilateral filter factor, the obviously changed parts and sharp feature parts in the block to be processed can be retained to avoid them being transitioned into curved surfaces, thereby improving the restoration of the spatial form of the bridge.
[0084] S20: transferring the first point cloud model to a spherical coordinate system and projecting it to a plane coordinate system to obtain a plane point cloud, performing triangular meshing processing on the plane point cloud in the plane coordinate system, and projecting the plane point cloud after triangular meshing processing to a three-dimensional coordinate system to form a triangular mesh point cloud model, wherein the triangular mesh point cloud model includes a plurality of triangular meshes;
[0085] If a triangular mesh is constructed directly in the first point cloud model, not only will the amount of calculation be huge and the accuracy be poor, but the density of the laser scanning points in the first point cloud model is also large, further increasing the difficulty of constructing the triangular mesh. Therefore, the construction of the triangular mesh can be completed by transforming the coordinates of the laser scanning points and performing dimensionality reduction projection. It can be understood that the triangular mesh is formed by connecting three adjacent laser scanning points.
[0086] Step S30: performing anomaly elimination processing on the triangular mesh point cloud model to obtain a second point cloud model, and performing boundary optimization on the second point cloud model to obtain a third point cloud model, wherein the third point cloud model includes a plurality of component point cloud models;
[0087] The step S30 comprises:
[0088] S310: Acquire the mesh side length of the triangular mesh based on the three-dimensional coordinates of the laser scanning points constituting the triangular mesh;
[0089] It can be understood that the mesh side length of the triangular mesh can be obtained by subtracting the x-axis coordinate value, the y-axis coordinate value and the z-axis coordinate value of the laser scanning point corresponding to the triangular mesh in pairs.
[0090] S320: Compare the grid side length with a side length threshold;
[0091] S330: If the mesh side length is greater than the side length threshold, the triangular mesh corresponding to the mesh side length greater than the side length threshold is eliminated.
[0092] In this embodiment, the edge length threshold is 0.5m. When the plane point cloud after triangulation processing is projected into a three-dimensional coordinate system, part of the triangulated mesh is distorted, which makes the triangulated mesh unusable. By eliminating this part of the triangulated mesh, the amount of abnormal data can be reduced.
[0093] S340: searching for a plurality of third neighboring points of each laser scanning point in the third point cloud model, and obtaining a space vector between the laser scanning point and each of the third neighboring points corresponding thereto, so as to form a vector data set;
[0094] S350: Determine whether the laser scanning point is an edge point based on the vector data group;
[0095] It can be understood that, in the third point cloud model, if a certain laser scanning point is not an edge point, the sum of several space vectors formed between the laser scanning point and different third neighboring points approaches 0. If a certain laser scanning point is an edge point, most of the third neighboring points corresponding to it are distributed in the same direction. Therefore, the sum of their space vectors is much greater than 0. Based on this principle, the edge points of the third point cloud model are obtained.
[0096] S360: constructing a boundary line based on the edge points, and determining whether there is a missing area in the boundary line based on the shape of the boundary line;
[0097] S370: If there is a missing area, fill in the missing area with the edge points adjacent to the missing area;
[0098] For a bridge, different components, such as beams and piers, form a closed boundary line. If a boundary line is not closed, there is a missing area. The missing area refers to a part of the bridge that is blocked when the laser scanning points are acquired. At this time, the missing laser scanning points need to be filled in the missing area to facilitate the subsequent complete restoration of the spatial form of the bridge. In this embodiment, point filling is performed based on the edge points adjacent to the missing area by interpolation.
[0099] Furthermore, after completing the point filling, a number of new points are formed in the missing area, and the new points are verified to eliminate redundant new points. Specifically, the coordinate values of the new points and the edge points adjacent to the missing area are compared. If the coordinate value of the new point is greater than the coordinate value of the edge point adjacent to the missing area, the new point is eliminated.
[0100] After obtaining the third point cloud model, it points to the spatial state of the bridge. According to the results of the bridge, the third point cloud model can be split into several component point cloud models, such as beam components, pier components, etc.
[0101] Step S40: performing real-scene modeling on the component point cloud model to form a component real-scene model, and combining the component real-scene models into a bridge model;
[0102] The third point cloud model having only a spatial form cannot be directly used for state detection, and therefore needs to be reconstructed into a real scene model.
[0103] The step S40 comprises:
[0104] S410: performing a slicing process on the component point cloud model to obtain a plurality of first point cloud slices;
[0105] When performing the first slicing process, it is impossible to determine the specific shape of the component point cloud model, which may be a straight line or a curve. At this time, the first slicing process is directly performed on the component point cloud model along the straight line direction.
[0106] S420: determining a first contour corner point in the first point cloud slice, obtaining a centroid of the first point cloud slice based on the first contour corner point, and obtaining a growth axis through the centroid of another first point cloud slice;
[0107] The first contour corner point refers to the corner of the first point cloud slice. There are several first contour corner points in the first point cloud slice. Specifically, the center point of the first point cloud slice is taken as the starting point, and process points are respectively obtained in the horizontal and vertical directions until the end point is detected. It should be noted that the center point, the starting point, the process point and the end point are all the laser scanning points. When the inner product of the normal vectors between the adjacent process points is less than the inner product threshold, the latter process point is determined as the end point. The first plane is constructed based on the end points obtained in different directions. It can be understood that several first planes can be obtained in the same way. If two first planes intersect, the midpoint of the intersection line of the intersecting first planes is determined as the first contour corner point; if three first planes intersect, the intersection point between the intersection line of the two first planes and another first plane is determined as the first contour corner point. After obtaining the first contour corner point, the contour construction of the first point cloud slice can be completed. At this time, the center point of its shape, that is, the centroid, can be obtained, and the growth axis can determine the shape of the component point cloud model.
[0108] S430: performing secondary slicing processing on the component point cloud model along a direction perpendicular to the growth axis to obtain a plurality of second point cloud slices;
[0109] S440: Determine a second contour corner point in the second point cloud slice, construct a slice contour based on the second contour corner point, and fill the slice contour along the growth axis direction to form a component real scene model.
[0110] The acquisition of the second point cloud slice and the acquisition of the second contour corner point are consistent with step S410 to step S420, and will not be repeated here.
[0111] By acquiring the initial point cloud model, which includes a large amount of three-dimensional coordinate data corresponding to the bridge, the spatial form of the bridge is constructed quickly and accurately; by sequentially performing the noise reduction processing, the abnormality elimination processing and the boundary optimization on the initial point cloud model, the point cloud quality of the initial point cloud model is improved, that is, the accuracy of the reconstruction of the spatial structure of the bridge is ensured; by respectively reconstructing the real scene of the component point cloud models, the construction of the bridge model corresponding to the bridge can be completed without using drawings, dimensions and construction materials, and different working conditions can be simulated based on the bridge model, and then the detection data of the bridge model is collected to complete the detection of the bridge status.
[0112] Preferably, the method further comprises:
[0113] Step S50: performing a static analysis on the bridge model to determine stress concentration locations of the bridge model, and filling the stress concentration locations with a material model;
[0114] When testing is performed based on the bridge model, only the situation at the structural level of the bridge is considered, while the safety status of the bridge material is not considered. Structural damage of the bridge usually begins from within the material of the structure. If all materials are directly assigned to the bridge model, the amount of calculation will be greatly increased. By filling the material model at the stress concentration site, the test data of the part that has a greater impact on the stability of the bridge can be obtained, thereby more accurately grasping the status of the bridge and completing more precise testing.
[0115] In this embodiment, the stress concentration location is determined by extracting the principal stress data graph and the normal stress data graph. It should be noted that the material model can be constructed by combining appropriate units and then added to the stress concentration location, and the material model can be selected according to actual conditions. In this embodiment, the material model is formed by combining concrete units, mortar units and cohesion units. Specifically, by creating aggregate particles of a preset particle size and assigning three-dimensional coordinates thereto, the collision between different aggregate particles is simulated to determine the relative positions between different aggregate particles, the aggregate particles are mixed with mortar to form the concrete unit, and the concrete unit and the mortar unit are mixed by the cohesion unit.
[0116] See also Figure 2 The second embodiment of the present invention provides a bridge modeling system, which is applied to the bridge modeling method in the above embodiment, and will not be repeated here. As used below, the terms "module", "unit", "subunit" and the like can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0117] The system comprises:
[0118] A preprocessing module 10 is used to obtain an initial point cloud model corresponding to the bridge, wherein the initial point cloud model includes a plurality of laser scanning points, and perform noise reduction processing on the initial point cloud model to form a first point cloud model;
[0119] The pre-processing module 10 comprises:
[0120] The first unit is used to perform block processing on the initial point cloud model to obtain a plurality of point cloud blocks;
[0121] A second unit is used for performing plane detection on the laser scanning points in the point cloud block to obtain a block to be processed from a plurality of the point cloud blocks;
[0122] The third unit is used to perform high-frequency noise determination on each of the laser scanning points in the block to be processed to remove high-frequency noise points, and perform low-frequency noise smoothing on each of the laser scanning points in the block to be processed;
[0123] The third unit is specifically used to search for a first neighboring point of each laser scanning point in the block to be processed to obtain a first neighboring point set corresponding to the laser scanning point, wherein the first neighboring point set includes a plurality of first neighboring points, and obtain a first normal vector of the laser scanning point based on the laser scanning point and the first neighboring point set;
[0124] constructing a reference plane based on the spatial coordinates of the laser scanning point and the first normal vector, and determining whether a first Euclidean distance between the first neighboring point and the reference plane is less than a first distance threshold, so as to determine a plurality of first reference points from the plurality of first neighboring points;
[0125] Constructing a reference cylindrical surface based on the three-dimensional coordinates and the first normal vector of the laser scanning point, the three-dimensional coordinates and the second normal vector of the first neighboring point, obtaining the center of the reference cylindrical surface and the first radius of the laser scanning point, and obtaining the center of the reference cylindrical surface and the second radius of the first neighboring point, and determining whether the difference between the first radius and the second radius is less than a difference threshold, so as to determine a plurality of second reference points from the first neighboring points;
[0126] Determine whether the laser scanning point is a high-frequency noise point by the number of the first reference point and the second reference point, and if so, remove the high-frequency noise point;
[0127] Searching for a second neighboring point of each laser scanning point in the block to be processed to obtain a second neighboring point set corresponding to the laser scanning point, wherein the second neighboring point set includes a plurality of second neighboring points;
[0128] Obtaining a normal vector weight and a feature weight between the laser scanning point and the second neighboring point;
[0129] Acquire a bilateral filter factor corresponding to the laser scanning point based on the normal vector weight and the feature weight, and adjust the position of the laser scanning point by using the bilateral filter factor to complete low-frequency noise smoothing processing;
[0130] A conversion module 20 is used to transfer the first point cloud model into a spherical coordinate system and project it into a plane coordinate system to obtain a plane point cloud, perform triangular mesh processing on the plane point cloud in the plane coordinate system, and project the plane point cloud after triangular mesh processing into a three-dimensional coordinate system to form a triangular mesh point cloud model, wherein the triangular mesh point cloud model includes a plurality of triangular meshes;
[0131] An adjustment module 30 is used to perform anomaly elimination processing on the triangular mesh point cloud model to obtain a second point cloud model, and to perform boundary optimization on the second point cloud model to obtain a third point cloud model, wherein the third point cloud model includes a plurality of component point cloud models;
[0132] The adjustment module 30 includes:
[0133] A fourth unit is used to obtain the mesh side length of the triangular mesh based on the three-dimensional coordinates of the laser scanning points constituting the triangular mesh;
[0134] A fifth unit, used for comparing the grid side length with a side length threshold;
[0135] A sixth unit is used for removing the triangular mesh corresponding to the mesh side length greater than the side length threshold if the mesh side length is greater than the side length threshold;
[0136] A seventh unit is used to search for a plurality of third neighboring points of each laser scanning point in the third point cloud model, and obtain a space vector between the laser scanning point and each of the third neighboring points corresponding thereto, so as to form a vector data set;
[0137] An eighth unit, configured to determine whether the laser scanning point is an edge point based on the vector data group;
[0138] A ninth unit, configured to construct a boundary line based on the edge points, and determine whether there is a missing area in the boundary line based on the shape of the boundary line;
[0139] A tenth unit is used for performing point filling in the missing area by using the edge points adjacent to the missing area if there is a missing area;
[0140] A construction module 40 is used to perform real-scene modeling on the component point cloud model to form a component real-scene model, and combine the component real-scene models into a bridge model;
[0141] The building block 40 comprises:
[0142] An eleventh unit is used for performing a slicing process on the component point cloud model to obtain a plurality of first point cloud slices;
[0143] A twelfth unit is used to determine a first contour corner point in the first point cloud slice, obtain a centroid of the first point cloud slice based on the first contour corner point, and obtain a growth axis through the centroid of another first point cloud slice;
[0144] A thirteenth unit is used to perform secondary slicing processing on the component point cloud model along a direction perpendicular to the growth axis to obtain a plurality of second point cloud slices;
[0145] The fourteenth unit is used to determine the second contour corner points in the second point cloud slice, construct a slice contour based on the second contour corner points, and fill the slice contour along the growth axis direction to form a component real scene model.
[0146] Preferably, the system further comprises:
[0147] The filling module 50 is used to perform static analysis on the bridge model to determine the stress concentration locations of the bridge model and fill the material model at the stress concentration locations.
[0148] The present invention also provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the bridge modeling method as described in the above technical solution when executing the computer program.
[0149] The present invention also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the bridge modeling method described in the above technical solution is implemented.
[0150] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0151] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A bridge modeling method, It is characterized in that The following steps are involved: Acquire an initial point cloud model corresponding to the bridge, the initial point cloud model including a plurality of laser scanning points, and perform noise reduction processing on the initial point cloud model to form a first point cloud model; The step of performing noise reduction processing on the initial point cloud model to form a first point cloud model comprises: The initial point cloud model is processed into blocks to obtain a plurality of point cloud blocks; Performing plane detection on the laser scanning points in the point cloud block to obtain a block to be processed from a plurality of the point cloud blocks; Performing high-frequency noise determination on each of the laser scanning points in the block to be processed to remove high-frequency noise points, and performing low-frequency noise smoothing processing on each of the laser scanning points in the block to be processed; The step of performing high-frequency noise determination on each of the laser scanning points in the block to be processed to remove high-frequency noise points comprises: Searching for a first neighboring point of each laser scanning point in the block to be processed to obtain a first neighboring point set corresponding to the laser scanning point, wherein the first neighboring point set includes a plurality of first neighboring points, and obtaining a first normal vector of the laser scanning point based on the laser scanning point and the first neighboring point set; constructing a reference plane based on the spatial coordinates of the laser scanning point and the first normal vector, and determining whether a first Euclidean distance between the first neighboring point and the reference plane is less than a first distance threshold, so as to determine a plurality of first reference points from the plurality of first neighboring points; Constructing a reference cylindrical surface based on the three-dimensional coordinates and the first normal vector of the laser scanning point, the three-dimensional coordinates and the second normal vector of the first neighboring point, obtaining the center of the reference cylindrical surface and the first radius of the laser scanning point, and obtaining the center of the reference cylindrical surface and the second radius of the first neighboring point, and determining whether the difference between the first radius and the second radius is less than a difference threshold, so as to determine a plurality of second reference points from the first neighboring points; Determine whether the laser scanning point is a high-frequency noise point by the number of the first reference point and the second reference point, and if so, remove the high-frequency noise point; The step of performing low-frequency noise smoothing processing on each of the laser scanning points in the block to be processed comprises: Searching for a second neighboring point of each laser scanning point in the block to be processed to obtain a second neighboring point set corresponding to the laser scanning point, wherein the second neighboring point set includes a plurality of second neighboring points; Obtaining a normal vector weight and a feature weight between the laser scanning point and the second neighboring point; Acquire a bilateral filter factor corresponding to the laser scanning point based on the normal vector weight and the feature weight, and adjust the position of the laser scanning point by using the bilateral filter factor to complete low-frequency noise smoothing processing; The first point cloud model is transferred to a spherical coordinate system and projected to a plane coordinate system to obtain a plane point cloud, the plane point cloud is triangulated in the plane coordinate system, and the plane point cloud after triangulation is projected to a three-dimensional coordinate system to form a triangular mesh point cloud model, wherein the triangular mesh point cloud model includes a plurality of triangular meshes; Performing anomaly elimination processing on the triangular mesh point cloud model to obtain a second point cloud model, and performing boundary optimization on the second point cloud model to obtain a third point cloud model, wherein the third point cloud model includes a plurality of component point cloud models; Real scene modeling is performed on the component point cloud model to form a component real scene model, and the component real scene models are combined into a bridge model.
2. The bridge modeling method according to claim 1, It is characterized in that The step of performing anomaly elimination processing on the triangular mesh point cloud model to obtain a second point cloud model comprises: Based on the three-dimensional coordinates of the laser scanning points constituting the triangular mesh, obtaining the mesh side length of the triangular mesh; Comparing the grid side length with a side length threshold; If the mesh side length is greater than the side length threshold, the triangular mesh corresponding to the mesh side length greater than the side length threshold is eliminated.
3. The bridge modeling method according to claim 1, It is characterized in that The step of performing boundary optimization on the second point cloud model comprises: Searching for a plurality of third neighboring points of each laser scanning point in the third point cloud model, obtaining a space vector between the laser scanning point and each of the third neighboring points corresponding thereto, so as to form a vector data set; Determining whether the laser scanning point is an edge point based on the vector data group; Constructing a boundary line based on the edge points, and determining whether there is a missing area within the boundary line based on the shape of the boundary line; If there is a missing area, point filling is performed in the missing area using the edge points adjacent to the missing area.
4. The bridge modeling method according to claim 1, It is characterized in that The step of performing real-scene modeling on the component point cloud model to form a component real-scene model comprises: Performing a slicing process on the component point cloud model to obtain a plurality of first point cloud slices; Determine a first contour corner point in the first point cloud slice, obtain a centroid of the first point cloud slice based on the first contour corner point, and obtain a growth axis through another centroid of the first point cloud slice; Performing secondary slicing processing on the component point cloud model along a direction perpendicular to the growth axis to obtain a plurality of second point cloud slices; Determine second contour corner points in the second point cloud slice, construct a slice contour based on the second contour corner points, and fill the slice contour along the growth axis direction to form a component real scene model.
5. The bridge modeling method according to claim 1, It is characterized in that After the step of performing real-scene modeling on the component point cloud model to form a component real-scene model and combining the component real-scene models into a bridge model, the method further includes: Static analysis is performed on the bridge model to determine stress concentration locations of the bridge model, and a material model is filled in the stress concentration locations.
6. A bridge modeling system, applied to the bridge modeling method according to any one of claims 1 to 5, It is characterized in that The system comprises: A preprocessing module, used to obtain an initial point cloud model corresponding to the bridge, the initial point cloud model including a plurality of laser scanning points, and perform noise reduction processing on the initial point cloud model to form a first point cloud model; The preprocessing module comprises: The first unit is used to perform block processing on the initial point cloud model to obtain a plurality of point cloud blocks; A second unit is used for performing plane detection on the laser scanning points in the point cloud block to obtain a block to be processed from a plurality of the point cloud blocks; The third unit is used to perform high-frequency noise determination on each of the laser scanning points in the block to be processed to remove high-frequency noise points, and perform low-frequency noise smoothing on each of the laser scanning points in the block to be processed; The third unit is specifically used to search for a first neighboring point of each laser scanning point in the block to be processed to obtain a first neighboring point set corresponding to the laser scanning point, wherein the first neighboring point set includes a plurality of first neighboring points, and obtain a first normal vector of the laser scanning point based on the laser scanning point and the first neighboring point set; constructing a reference plane based on the spatial coordinates of the laser scanning point and the first normal vector, and determining whether a first Euclidean distance between the first neighboring point and the reference plane is less than a first distance threshold, so as to determine a plurality of first reference points from the plurality of first neighboring points; Constructing a reference cylindrical surface based on the three-dimensional coordinates and the first normal vector of the laser scanning point, the three-dimensional coordinates and the second normal vector of the first neighboring point, obtaining the center of the reference cylindrical surface and the first radius of the laser scanning point, and obtaining the center of the reference cylindrical surface and the second radius of the first neighboring point, and determining whether the difference between the first radius and the second radius is less than a difference threshold, so as to determine a plurality of second reference points from the first neighboring points; Determine whether the laser scanning point is a high-frequency noise point by the number of the first reference point and the second reference point, and if so, remove the high-frequency noise point; Searching for a second neighboring point of each laser scanning point in the block to be processed to obtain a second neighboring point set corresponding to the laser scanning point, wherein the second neighboring point set includes a plurality of second neighboring points; Obtaining a normal vector weight and a feature weight between the laser scanning point and the second neighboring point; Acquire a bilateral filter factor corresponding to the laser scanning point based on the normal vector weight and the feature weight, and adjust the position of the laser scanning point by using the bilateral filter factor to complete low-frequency noise smoothing processing; A conversion module, used for transferring the first point cloud model into a spherical coordinate system and projecting it into a plane coordinate system to obtain a plane point cloud, performing triangular mesh processing on the plane point cloud in the plane coordinate system, and projecting the plane point cloud after triangular mesh processing into a three-dimensional coordinate system to form a triangular mesh point cloud model, wherein the triangular mesh point cloud model includes a plurality of triangular meshes; An adjustment module is used to perform anomaly elimination processing on the triangular mesh point cloud model to obtain a second point cloud model, and to perform boundary optimization on the second point cloud model to obtain a third point cloud model, wherein the third point cloud model includes a plurality of component point cloud models; The construction module is used to perform real-scene modeling on the component point cloud model to form a component real-scene model, and combine the component real-scene models into a bridge model.
7. A computer comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the bridge modeling method according to any one of claims 1 to 5 is implemented.
