Method and apparatus for simplifying three-dimensional pavement model for highway maintenance
By simplifying the three-dimensional model of highway maintenance pavement, the geometric information in the three-dimensional model is extracted and simplified, which solves the problem of high computer hardware requirements and information redundancy. It is suitable for highway maintenance management and improves data accuracy and storage efficiency.
Patent Information
- Application Number
- PCT/CN2023/092109
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2023-05-04
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, the three-dimensional model used in highway maintenance and management has high requirements on computer hardware and has problems with information redundancy. Especially because the accuracy requirements of the three-dimensional model are higher in the highway design and construction process than in the maintenance management process, resulting in a model volume that is Is too large and contains unnecessary additional information.
By receiving the original pavement three-dimensional model input by the user, extract its geometric information, including pavement width, pavement thickness and spatial curve, divide it into continuous original line segments, and use the preset simplified threshold and recursive method to simplify each line segment, and generate the simplified The 3D road surface model removes unnecessary information and grids and reduces hardware requirements.
It simplifies the storage and calculation requirements of the 3D road model, avoids information redundancy, provides accurate data suitable for highway maintenance management, and reduces the demand for computer hardware.
Smart Images

Figure CN2023092109_06092024_PF_FP
Abstract
Description
Method and device for simplifying three-dimensional model of highway maintenance pavement
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application number 202310193775.4, filed with the Patent Office of China on February 28, 2023, entitled “Method and Device for Simplifying Three-Dimensional Model of Highway Maintenance Pavement”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of computer graphics processing technology, and in particular to a method and device for simplifying a three-dimensional model of a highway maintenance pavement. Background Art
[0004] In recent years, digital twin technology has been widely used in smart cities, digital manufacturing, intelligent construction, and smart operations and maintenance. Its key feature is the creation of three-dimensional digital models of objects, such as cities and production lines, using Building Information Modeling (BIM) software, CAD software, or laser scanning. This is followed by a mapping between the physical entity and the digital virtual object through IoT sensing and control. This enables status awareness, decision support, and intelligent control of various equipment and facilities.
[0005] Currently, building three-dimensional digital models that effectively represent physical entities such as road surfaces and bridges is a key task in digital twin systems. For example, Chinese Publication No. CN115222792A discloses a method for digital twin modeling of railway bridges. This method, based on machine vision and graphics technologies, utilizes graph convolution and Nerf deep learning techniques to build a digital twin model for railway bridges, enabling real-time information exchange and virtual monitoring between the digital twin and the physical entity. Another example is Chinese Publication No. CN111210030A, which discloses a BIM-based highway maintenance management method and system. This method includes: generating BIM component classification information for bridges in accordance with BIM specifications and storing it in a database; describing corresponding disease data for component types based on the required level of maintenance inspection; and creating component attribute menus and maintenance lists corresponding to component types to enable project maintenance management. By recording component maintenance information, this method can more accurately reflect the health status of the corresponding carrier, providing more reliable and accurate data for maintenance management.
[0006] However, because the digital three-dimensional models of highways obtained by computer systems from BIM software, CAD software, or laser scanning can only use discrete grids to represent the continuous and winding road surface in reality, each highway is composed of small road section models, which can usually be regarded as rectangular structures. In order to accurately express the pavement structure, the three-dimensional models established through BIM software or other means are usually small in the smallest unit rectangle used in the three-dimensional models used in the highway design or construction phase. That is, a large number of rectangular units are required to represent a section of road surface. This makes the related three-dimensional models generally too large in size, and in digital twin applications, high requirements are placed on computer hardware such as storage, memory, and graphics cards. However, for highway maintenance applications, the requirements for the accuracy of three-dimensional models are greatly reduced.
[0007] In addition, the demand for three-dimensional models in highway maintenance and management is different from that in highway design or construction processes. The basic unit of concern is the maintenance section. In addition to geometric information, the relevant three-dimensional model also includes a large amount of additional information irrelevant to highway maintenance and management business, such as numbering, material properties, construction date, etc. When using related BIM software or other methods to establish three-dimensional models for highway maintenance and management, there is obvious overload or information redundancy.
[0008] Summary of the Invention
[0009] The present application provides a method and device for simplifying a three-dimensional model of a highway maintenance pavement, which is used to solve the problem that when using relevant three-dimensional models for highway maintenance management, the relevant three-dimensional models have high hardware requirements for computers and have obvious overload or information redundancy.
[0010] This application provides a method for simplifying a three-dimensional model of a highway maintenance pavement, comprising:
[0011] receiving an original road surface three-dimensional model input by a user;
[0012] Extracting geometric information of the road surface from the original three-dimensional road surface model; wherein the geometric information includes road surface width, road surface thickness, and a spatial curve representing the direction of the highway;
[0013] Dividing the space curve into a plurality of continuous original line segments;
[0014] Simplifying each of the original line segments using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments;
[0015] A simplified road surface three-dimensional model is formed based on all the simplified line segments, the road surface width, and the road surface thickness.
[0016] According to a method for simplifying a three-dimensional model of a highway maintenance pavement provided in the present application, the spatial curve is formed by connecting a number of original points in the original three-dimensional pavement model along the direction of the highway.
[0017] According to a method for simplifying a three-dimensional model of a highway maintenance pavement provided by the present application, the plurality of original points are points located at the same position in each grid in the original three-dimensional pavement model;
[0018] Each grid point includes a top midpoint, a bottom midpoint, or a center point.
[0019] According to a method for simplifying a three-dimensional model of a highway maintenance pavement provided in the present application, each original line segment is simplified using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each original line segment, including:
[0020] Mark all original points in the original line segment as unsimplified, and obtain all unsimplified original points;
[0021] Connecting the first and last unsimplified original points in the original road segment to obtain a reference line segment;
[0022] Calculating the distances from all the unsimplified original points to the reference line segments to obtain the maximum distance from all the unsimplified original points to the reference line segments;
[0023] At least one simplified line segment corresponding to each of the original line segments is obtained according to the maximum distance value and the preset simplification threshold.
[0024] According to a method for simplifying a three-dimensional model of a highway maintenance pavement provided by the present application, obtaining at least one simplified line segment corresponding to each original line segment according to the maximum distance value and the preset simplification threshold value includes:
[0025] At least one simplified line segment corresponding to each of the original line segments is obtained using a simplification rule according to the maximum distance value and the preset simplification threshold; wherein the simplification rule includes:
[0026] If the maximum distance value is less than the simplification threshold, all unsimplified original points are marked as simplified original points;
[0027] If the reference line segment only has the first and last unsimplified original points, then both the first and last unsimplified original points are marked as simplified original points;
[0028] If the maximum distance value is greater than or equal to the simplification threshold, the original line segment is split into two new original line segments according to the unsimplified original point of the maximum distance value, and then the two new original line segments are simplified respectively.
[0029] According to a method for simplifying a three-dimensional model of a highway maintenance pavement provided in the present application, in the step of calculating the distance values of all the unsimplified original points to the reference line segment and obtaining the maximum distance value of all the unsimplified original points to the reference line segment, the calculation method includes an area calculation method.
[0030] According to a method for simplifying a three-dimensional model of a highway maintenance pavement provided by the present application, the preset simplification threshold is less than or equal to the pavement width.
[0031] The present application also provides a device for simplifying a three-dimensional model of a highway maintenance pavement, comprising:
[0032] A receiving module, configured to receive an original road surface three-dimensional model input by a user;
[0033] An extraction module, configured to extract geometric information of the road surface from the original three-dimensional road surface model; wherein the geometric information includes road surface width and road surface thickness, and a spatial curve representing the direction of the highway;
[0034] A division module, configured to divide the space curve into a plurality of continuous original line segments;
[0035] a simplification module, configured to simplify each of the original line segments using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments;
[0036] An integration module is used to integrate the simplified line segments, the road width and the road thickness into a simplified road surface three-dimensional model.
[0037] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, any of the above-described methods for simplifying the three-dimensional model of a highway maintenance pavement is implemented.
[0038] The present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for simplifying the three-dimensional model of a highway maintenance pavement as described above is implemented.
[0039] The present application provides a method and device for simplifying a three-dimensional model of a highway maintenance pavement. The method extracts geometric information of the pavement in the original three-dimensional model of the highway maintenance pavement, and then simplifies each of the original line segments using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments, thereby significantly reducing the number of meshes in the simplified three-dimensional model of the pavement. This not only reduces the demand for computer hardware, but also eliminates a large amount of additional information by generating a simplified three-dimensional model of the pavement using only simplified line segments, the highway direction, the pavement width, and the pavement thickness. By simplifying the three-dimensional model of the pavement, overload or information redundancy can be avoided during highway maintenance management. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in this application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0041] FIG1 is a flow chart of a method for simplifying a three-dimensional model of a highway maintenance pavement provided in this application;
[0042] FIG2 is a schematic diagram of simplifying each original line segment to obtain at least one simplified line segment corresponding to each original line segment in the method for simplifying a three-dimensional model of a highway maintenance pavement provided by the present application;
[0043] FIG3 is a schematic structural diagram of a device for simplifying a three-dimensional model of a highway maintenance pavement provided in the present application;
[0044] FIG4 is a schematic structural diagram of the electronic device provided in this application. DETAILED DESCRIPTION
[0045] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0046] The following describes a method for simplifying a three-dimensional model of a highway maintenance pavement according to the present application with reference to FIG1 , including:
[0047] S1. Receive the original road surface 3D model input by the user. Specifically, the original road surface 3D model can be optionally used as a 3D model in the highway design or construction stage, making it more convenient to obtain the 3D model for highway maintenance.
[0048] S2, extracting the geometric information of the road surface in the original road surface three-dimensional model; wherein the geometric information includes the road surface width Width, the road surface thickness Thickness and the spatial curve Trend = {T0, T1, ..., T i}.
[0049] Among them, the space curve is composed of several original points in three-dimensional space coordinates, T i =(x i ,y i ,z i ) is the three-dimensional space coordinate of the original point.
[0050] S3. Divide the space curve into a number of continuous original line segments Section, wherein each original line segment includes a corresponding segment of original points in the space curve.
[0051] In this embodiment, the spatial curve is divided into a number of continuous original line segments based on the maintenance section. For example, if a highway is 100 kilometers long and is divided into maintenance sections every 2 kilometers, 50 maintenance sections are obtained. In other words, the spatial curve is divided into 50 original line segments.
[0052] S4. Simplify each of the original line segments using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each original line segment. The simplification threshold is greater than or equal to zero and is adjustable. The adjustable simplification threshold allows for adjustable simplification: a larger simplification threshold results in a more pronounced simplification effect; a smaller simplification threshold results in a weaker simplification effect but a higher degree of approximation to the original model.
[0053] S5. Integrate all the simplified line segments, the road direction, the road width, and the road thickness into a simplified three-dimensional road model.
[0054] The simplified pavement 3D model reduces a lot of additional information such as serial number, material properties and construction date, thus avoiding information redundancy.
[0055] The method in the present application extracts the geometric information of the road surface from the original road surface three-dimensional model, and then uses a preset simplification threshold and a recursive method to simplify each of the original line segments to obtain at least one simplified line segment corresponding to each of the original line segments, thereby significantly reducing the mesh size in the simplified road surface three-dimensional model. This not only reduces the demand for computer hardware, but also removes a large amount of additional information by generating a simplified road surface three-dimensional model using only simplified line segments, the road direction, the road surface width, and the road surface thickness. By simplifying the road surface three-dimensional model, overload or information redundancy can be avoided during road maintenance and management.
[0056] Specifically, the spatial curve is constructed by connecting several original points along the direction of the highway in the original three-dimensional road model. Since the highway surface is flat and uniform in width, several points in the original three-dimensional road model located at the same position along the direction of the highway can be selected as the original points. These original points are then connected along the direction of the highway to simplify the spatial curve. By simplifying the spatial curve, the number of grid cells is reduced, thereby reducing the demand for computer hardware.
[0057] The original points are points located at the same position in each grid in the original road surface three-dimensional model. Each grid point includes a top midpoint, a bottom midpoint, a left midpoint, a right midpoint, or a center point. Points located at the same position in each grid facilitate equidistant division.
[0058] Specifically, please refer to FIG. 2 , which is a schematic diagram showing that an original line segment Sk0 consisting of five unsimplified original points is simplified into a simplified line segment S0 consisting of three simplified original points.
[0059] In this embodiment, the method of simplifying each original line segment using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each original line segment includes:
[0060] Step 1: Mark all original points in the original line segment as unsimplified, and obtain all unsimplified original points.
[0061] For example: the original line segment S k0 ={P0,P1,P2,P3,P 4, P5}, the original line segment consists of 5 original points, and the original line segment is not simplified. The total number of original points N = 5.
[0062] Step 2: Connect the unsimplified original points at the beginning and end of the original road segment to obtain a reference line segment. In this embodiment, the original point P0 and the original point P5 are connected to form the reference line segment P0P5.
[0063] Step 3: Calculate the distances from all the unsimplified original points to the reference line segment to obtain the maximum distance from all the unsimplified original points to the reference line segment. Preferably, calculate the vertical distances from all the unsimplified original points to the reference line segment.
[0064] In this embodiment, since the distance values from the original point P0 and the original point P5 to the reference line segment P0P5 are zero, the distance values from the original point P1, the original point P2, the original point P3 and the original point P4 to the reference line segment P0P5 are calculated respectively, and the vertical distance value from the original point P3 to the reference line segment P0P5 is the maximum distance value D3.
[0065] The calculation method can be triangle area calculation method, parallelogram area or perpendicular line intersection method. Take triangle area calculation method as an example:
[0066] Three original points P0, P5 and P j (j=1,2,3,4), each original point is represented by (x,y,z) coordinates, that is:
[0067] P0=(P0.x,P0.y,P0.z),P5=(P5.x,P5.y,P5.z),P j =(P j .x,P j .y,P j .z);
[0068] Calculate P0, P5 and P j The distance d between each two original points in 05 d 0j and d j5 , see formula (1) to formula (3):
[0069] Use Heron's formula to calculate the semi-perimeter and area of the triangle formed by the three original points:
[0070] The semi-perimeter p of a triangle is as follows:
[0071] The area of the triangle s is shown in formula (5):
[0072] Then the original point P j The distance value to the reference line segment P0P5 is shown in formula (6): D j =2s / d j5 , j=1,2,3,4(6);
[0073] Step 4: Obtain at least one simplified line segment corresponding to each original line segment according to the maximum distance value and the preset simplification threshold.
[0074] Specifically, using a simplification rule, according to the maximum distance value and the preset simplification threshold, at least one simplified line segment corresponding to each original line segment is obtained, wherein the simplification rule includes:
[0075] If the maximum distance value is smaller than the simplification threshold, all unsimplified original points are identified as simplified original points.
[0076] If the reference line segment only has the first and last unsimplified original points, the first and last unsimplified original points are both identified as simplified original points.
[0077] If the maximum distance value is greater than or equal to the simplification threshold, the original line segment is split into two new original line segments according to the unsimplified original point of the maximum distance value, and then the two new original line segments are simplified respectively.
[0078] If the maximum distance value is greater than or equal to the simplification threshold, the original line segment is split into two new original line segments according to the unsimplified original point of the maximum distance value, and the two new original line segments are simplified respectively. In the specific steps, the step of simplifying any one of the new original line segments includes:
[0079] The distance values from all the unsimplified original points to the new original line segments are calculated to obtain the maximum distance value from all the unsimplified original points to the new original line segments.
[0080] According to the maximum distance value and the preset simplification threshold, at least one simplified line segment corresponding to each original line segment is obtained by using a simplification rule.
[0081] For example: If the maximum distance value D3 is greater than the simplification threshold, split the original line segment S k0 , get two new original line segments S k1 ={P0,P 1, P2, P3}, S k2 ={P 3, P4, P5}; use S k1 and S k2 Replace S respectively k0 , that is, S k0 ={S k1 , S k2}, and S k1 and S k2 The unsimplified original points in are all greater than 2, and are all represented as unsimplified original points.
[0082] Entering the recursion, first simplify the new original line segment S k1 ={P0,P 1, P2, P3}.
[0083] The distances from the unsimplified original points P1 and P2 to the reference line segments P0 and P3 are calculated respectively to obtain distance values D1 and D2.
[0084] If the maximum distance value D2 is less than the simplification threshold, the unsimplified original points P1 and P2 are identified as simplified original points P1 and P2, and a simplified line segment S1 is obtained.
[0085] Continue recursively to simplify the new original line segment S k2 ={P3,P4,P5}.
[0086] The distance between the unsimplified original point P4 and the reference line segment P3P5 is calculated to obtain a distance value D4.
[0087] If the maximum distance value D4 is less than the simplification threshold, the original point P4 can be simplified, and the unsimplified original points P3 and P5 are identified as simplified original points P3 and P5, thereby obtaining a simplified line segment S2.
[0088] The original line segment S1 and the original line segment S2 are both marked as simplified original points, and the simplification process ends.
[0089] Simplified line segment S1 and simplified line segment S2 are combined to obtain simplified line segment S0 = {P0, P3, P5}. The total number of simplified original points M = 3, compared to the total number of unsimplified original points N = 5, a 40% reduction. This significantly reduces the mesh size in the simplified road surface 3D model by 40%.
[0090] In this embodiment, the preset simplification threshold is less than or equal to the road width. By setting the preset simplification threshold, not only a good simplification effect is achieved, but also a good matching degree with the original road 3D model is retained.
[0091] The following describes the highway maintenance pavement three-dimensional model simplification device provided in this application. The highway maintenance pavement three-dimensional model simplification device described below and the highway maintenance pavement three-dimensional model simplification method described above can refer to each other.
[0092] Please also refer to FIG. 3 , which shows a device for simplifying a three-dimensional model of a highway maintenance pavement, including a receiving module 310 , an extraction module 320 , a division module 330 , a simplification module 340 and an integration module 350 .
[0093] The receiving module 310 is used to receive the original road surface three-dimensional model input by the user.
[0094] The extraction module 320 is used to extract the geometric information of the road surface in the original road surface three-dimensional model; wherein the geometric information includes the road direction, spatial curve, road surface width and road surface thickness.
[0095] The division module 330 is used to divide the space curve into a number of continuous original line segments.
[0096] The simplification module 340 is configured to simplify each of the original line segments using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments.
[0097] The integration module 350 is configured to obtain a simplified road surface three-dimensional model according to the simplified line segments, the road direction, the road surface width, and the road surface thickness.
[0098] The spatial curve divides the road surface in the original road surface three-dimensional model into equal intervals along the direction of the highway to obtain a plurality of grids, and selects points at the same position in the plurality of grids as original points, and sequentially connects the plurality of original points to form a structure.
[0099] Specifically, the points at the same position in the plurality of grids are selected to include a top midpoint, a bottom midpoint, a left midpoint, a right midpoint or a center point.
[0100] In this embodiment, the simplification module 340 is configured to obtain at least one simplified line segment corresponding to each original line segment, including:
[0101] Mark all original points in the original line segment as unsimplified, and obtain all unsimplified original points;
[0102] Connecting the first and last unsimplified original points in the original road segment to obtain a reference line segment;
[0103] Calculating the distances from all the unsimplified original points to the reference line segments to obtain the maximum distance from all the unsimplified original points to the reference line segments;
[0104] According to the maximum distance value and the preset simplification threshold, at least one simplified line segment corresponding to each original line segment is obtained by using a simplification rule.
[0105] The simplified rules include:
[0106] If the maximum distance value is less than the simplification threshold, all unsimplified original points are marked as simplified original points;
[0107] If the reference line segment only has the first and last unsimplified original points, then both the first and last unsimplified original points are marked as simplified original points;
[0108] If the maximum distance value is greater than or equal to the simplification threshold, the original line segment is split into two new original line segments according to the unsimplified original point of the maximum distance value, and then the two new original line segments are simplified respectively.
[0109] In the step of calculating the distance values from all the unsimplified original points to the reference line segments to obtain the maximum distance value from all the unsimplified original points to the reference line segments, the calculation method includes an area calculation method.
[0110] The device described in this application receives an original 3D road surface model via a receiving module. An extraction module extracts geometric information from the original 3D road surface model. A partitioning module divides a spatial curve into a number of continuous original line segments. A simplification module uses a preset simplification threshold and a recursive method to simplify each original line segment, obtaining at least one simplified line segment corresponding to each original line segment. Finally, an integration module generates a simplified 3D road surface model. This significantly reduces the number of meshes in the simplified 3D road surface model, not only lowering the demand for computer hardware but also eliminating a significant amount of additional information by generating the simplified 3D road surface model solely from simplified line segments, the road direction, the road width, and the road thickness, thereby preventing overload or information redundancy.
[0111] FIG4 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG4 , the electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communication bus 440. The processor 410, the communications interface 420, and the memory 430 communicate with each other via the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the method for simplifying the three-dimensional model of a highway maintenance pavement, including:
[0112] S1, receiving the original road surface 3D model input by the user;
[0113] S2. Extracting geometric information of the road surface from the original three-dimensional road surface model; wherein the geometric information includes road direction, spatial curve, road surface width, and road surface thickness;
[0114] S3, dividing the space curve into a number of continuous original line segments;
[0115] S4. Simplifying each of the original line segments using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments;
[0116] S5. Obtain a simplified road surface three-dimensional model based on all the simplified line segments, the road direction, the road surface width, and the road surface thickness.
[0117] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the relevant technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk.
[0118] On the other hand, the present application further provides a computer program product, comprising a computer program, which may be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is capable of executing the above-mentioned methods to perform a method for simplifying a three-dimensional model of a highway maintenance pavement, including:
[0119] S1, receiving the original road surface 3D model input by the user;
[0120] S2. Extracting geometric information of the road surface from the original three-dimensional road surface model; wherein the geometric information includes road direction, spatial curve, road surface width, and road surface thickness;
[0121] S3, dividing the space curve into a number of continuous original line segments;
[0122] S4. Simplifying each of the original line segments using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments;
[0123] S5. Obtain a simplified road surface three-dimensional model based on all the simplified line segments, the road direction, the road surface width, and the road surface thickness.
[0124] In another aspect, the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for simplifying a three-dimensional model of a highway maintenance pavement provided by the above methods is implemented, including:
[0125] S1, receiving the original road surface 3D model input by the user;
[0126] S2. Extracting geometric information of the road surface from the original three-dimensional road surface model; wherein the geometric information includes road direction, spatial curve, road surface width, and road surface thickness;
[0127] S3, dividing the space curve into a number of continuous original line segments;
[0128] S4. Simplifying each of the original line segments using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments;
[0129] S5. Obtain a simplified road surface three-dimensional model based on all the simplified line segments, the road direction, the road surface width, and the road surface thickness.
[0130] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0131] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0132] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for simplifying a three-dimensional model of a highway maintenance pavement, characterized in that: include: Receiving the original road surface three-dimensional model input by the user; Extracting geometric information of the road surface in the original road surface three-dimensional model; wherein the geometric information includes road surface width, road surface thickness, and a spatial curve representing the direction of the highway; Dividing the space curve into a plurality of continuous original line segments; Using a preset simplification threshold and a recursive method, simplify each of the original line segments to obtain at least one simplified line segment corresponding to each of the original line segments; A simplified road surface three-dimensional model is integrated according to all the simplified line segments, the road surface width and the road surface thickness.
2. The method for simplifying a three-dimensional model of a highway maintenance pavement according to claim 1, characterized in that: The space curve is formed by connecting a number of original points in the original road surface three-dimensional model along the direction of the highway.
3. The method for simplifying a three-dimensional model of a highway maintenance pavement according to claim 2, characterized in that: The plurality of original points are points located at the same position in each grid in the original road surface three-dimensional model; Each grid point includes a top midpoint, a bottom midpoint or a center point.
4. The method for simplifying a three-dimensional model of a highway maintenance pavement according to any one of claims 1 to 3, characterized in that: The method of simplifying each of the original line segments by using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments includes: Mark all original points in the original line segment as unsimplified, and obtain all unsimplified original points; Connecting the unsimplified original points at the beginning and the end of the original road segment to obtain a reference line segment; Calculating the distance values from all the unsimplified original points to the reference line segment to obtain the maximum distance value from all the unsimplified original points to the reference line segment; At least one simplified line segment corresponding to each of the original line segments is obtained according to the maximum distance value and the preset simplification threshold.
5. The method for simplifying a three-dimensional model of a highway maintenance pavement according to claim 4, characterized in that: Obtaining at least one simplified line segment corresponding to each of the original line segments according to the maximum distance value and the preset simplification threshold, including: Using simplification rules, according to the maximum distance value and the preset simplification threshold, at least one simplified line segment corresponding to each of the original line segments is obtained; wherein the simplification rules include: If the maximum distance value is less than the simplification threshold, all unsimplified original points are marked as simplified original points; If there are only the first and last unsimplified original points in the reference line segment, the first and last unsimplified original points are both marked as simplified original points; If the maximum distance value is greater than or equal to the simplification threshold, then according to the unsimplified original point of the maximum distance value, The original line segment is split into two new original line segments, and the two new original line segments are simplified respectively.
6. The method for simplifying a three-dimensional model of a highway maintenance pavement according to claim 5, characterized in that: In the step of calculating the distance values from all the unsimplified original points to the reference line segments to obtain the maximum distance value from all the unsimplified original points to the reference line segments, the calculation method includes an area calculation method.
7. The method for simplifying a three-dimensional model of a highway maintenance pavement according to claim 1, characterized in that: The preset simplified threshold is less than or equal to the road width.
8. A device for simplifying a three-dimensional model of a highway maintenance pavement, characterized in that: include: A receiving module, used for receiving the original road surface three-dimensional model input by the user; An extraction module, used to extract geometric information of the road surface in the original road surface three-dimensional model; wherein the geometric information includes road surface width, road surface thickness and a spatial curve representing the direction of the highway; A division module, used for dividing the space curve into a plurality of continuous original line segments; A simplification module, used to simplify each of the original line segments by using a preset simplification threshold and a recursive method to obtain at least one simplified line segment corresponding to each of the original line segments; The integration module is used to integrate the simplified line segments, the road width and the road thickness into a simplified road surface three-dimensional model.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the highway maintenance pavement three-dimensional model simplification method as claimed in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for simplifying the three-dimensional model of a highway maintenance pavement according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Model simplification method based on three-dimensional model features
CN111047684A
Contour line extraction method and device, electronic equipment and storage medium
CN113284238A
Geometric self-adaptive simplification method for three-dimensional model in GIS
CN113470177A
Road modeling method and device and storage medium
CN114255317A
System and method for three-dimensional reconstruction and computer storage medium for said system and method
WO2013175023A1
