A large-area floor leveling method, system, terminal and medium
Through point cloud processing and automated grinding technology, the problem of low efficiency in large-area floor detection is solved, efficient and accurate floor leveling is achieved, and the overall smoothness of the floor is ensured.
Patent Information
- Application Number
- CN202410969067.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-19
AI Technical Summary
The existing technology is inefficient when detecting the flatness of large-area floors. Ruler detection can only evaluate the flatness of small areas, lacking an overall connection, and is difficult to meet the needs of efficient floor leveling.
By obtaining the point cloud data after the floor is poured, use the point cloud processing algorithm to convert it into a regular triangle network, fit the point cloud trend plane, iteratively update the local low plane and high plane, guide the operation of the automated grinding equipment, and ensure the integrity of the floor. Smoothness.
It improves the efficiency and accuracy of floor leveling, reduces manual inspection and processing time, and can optimize the polishing plan from a comprehensive and local perspective, avoid frequent measurements, and ensure the smoothness of the floor surface.
Smart Images

Figure CN118518069B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of building floor analysis, and more particularly to a method, system, terminal, and medium for leveling large-area floors. Background Art
[0002] In the construction and engineering fields, large-area floor leveling is performed to ensure a smooth ground surface to meet specific requirements and standards. For example, in some industrial and commercial settings, equipment and machinery such as production lines and warehouse shelves need to be installed. To ensure the stability and proper operation of this equipment, the floor needs to be level.
[0003] Floor flatness is a crucial design and acceptance indicator. If the actual floor surface is approximated to an ideal plane, significant leveling costs will be incurred during construction. Currently, a 3-meter straightedge is commonly used to check floor flatness. While this is the most basic evaluation method, it only assesses flatness within a small area, checking a single line and lacking a connection to the overall surface. Therefore, for large-area floors, straightedge testing is inefficient and has significant limitations. Thus, a more efficient floor leveling method is needed. Summary of the Invention
[0004] This invention provides a method, system, terminal, and medium for leveling large-area floors. This solution uses the overall trend plane as a reference to seek an optimal smoothing and grinding scheme within a small area. The information from the grinding plane can guide the operation of automated grinding equipment, determining the grinding position, angle, and thickness. Therefore, this solution can not only be used for evaluation but also directly guide construction to improve smoothness, achieving more efficient determination of grinding schemes for large-area floors.
[0005] To address the aforementioned technical problems, embodiments of the present invention provide a method for leveling large-area floors, comprising:
[0006] The point cloud data of the floor surface after the floor is poured is obtained, and the point cloud data of the floor surface is converted into a regular triangular mesh of the floor surface through a point cloud processing algorithm.
[0007] Based on the regular triangular mesh of the ground surface, the elevation of each point on the ground is obtained, and the elevation of each point on the ground is fitted to obtain the point cloud trend plane;
[0008] For each sub-interval in the regular triangular mesh of the ground surface, based on the point cloud trend plane, the local low plane and local high plane corresponding to the current sub-interval are iteratively updated until the distance between the local low plane and the local low plane is less than or equal to the preset distance. The local high plane at which the update stops is taken as the target high plane, and the area in the current sub-interval whose elevation exceeds the target high plane is smoothed to be aligned with the target high plane.
[0009] Understandably, compared to existing technologies, the method provided by this invention acquires point cloud data after the floor is poured, enabling measurement of the floor over a larger area. Point cloud processing reduces the time required for manual inspection and processing. By fitting the elevation of each point on the floor using the least squares method, a point cloud trend plane is obtained. Multiple local measurements of the relationship between the local low and high planes corresponding to each sub-interval in the regular triangular mesh of the floor surface and the point cloud trend plane allow for a comprehensive evaluation of both global and local perspectives. This optimizes the floor grinding scheme, avoiding the need for frequent measurements of the overall floor elevation during grinding, thus ensuring the smoothness of the floor surface more efficiently.
[0010] Further, the step of iteratively updating the local low plane and local high plane corresponding to the current sub-interval based on the point cloud trend plane specifically includes:
[0011] Iterate through each unit region in the current sub-interval. If the elevation of the central point of each unit region is the maximum or minimum value, and the slope of the central point is in the same direction as that of the adjacent region, then the central point is taken as the peak point or valley point of each unit region.
[0012] Calculate the first distance between the peak point of each unit region in the current sub-interval and the point cloud trend plane, sort the peak points of each unit region according to the magnitude of the first distance to obtain a first sequence, and take the three points with the largest distance in the first sequence as vertices to determine the local height plane;
[0013] Calculate the second distance between the valley point of each unit region in the current sub-interval and the point cloud trend plane. Sort the valley points of each unit region according to the magnitude of the second distance as the second sequence. Take the three points with the largest distance in the second sequence as vertices to determine the local low plane.
[0014] Calculate the distance between the current local high plane and the local low plane. If the distance between the local low plane and the local high plane is greater than the preset distance, delete the point corresponding to the maximum first distance in the first sequence, and determine the local high plane according to the updated first sequence.
[0015] It is understood that the method provided by this invention traverses and processes each sub-interval in the regular triangular mesh of the floor surface. By iterating through each unit region in each sub-interval, the peak point and valley point corresponding to each unit region are obtained. Based on the distance between the peak point and valley point and the point cloud trend plane, the local high plane and local low plane are determined. This avoids the need to frequently measure the overall elevation of the floor during the grinding process and can more comprehensively determine the elevation fluctuation of the floor.
[0016] Furthermore, the process of fitting the elevations of various points on the ground to obtain the point cloud trend plane specifically includes:
[0017] Using the ground slope as an angular constraint on the point cloud trend plane, and combining the angular constraint, the objective function is to minimize the sum of the squares of the distances from the elevation of each point on the ground to the point cloud trend plane. The objective function is then solved using the least squares method to obtain the point cloud trend plane.
[0018] It is understood that the method provided by the present invention uses the slope of the ground as an angular constraint. Under the angular constraint, the point cloud trend plane is fitted according to the elevation of each point on the ground. From a global perspective, this can reduce the abnormal phenomenon of flatness deterioration caused by excessive local grinding.
[0019] Furthermore, the step of acquiring point cloud data of the floor surface after pouring the concrete, and converting the point cloud data of the floor surface into a regular triangular mesh of the floor surface using a point cloud processing algorithm, specifically includes:
[0020] The elevation of the concrete surface after pouring is collected by lidar, and point cloud data of the concrete surface is generated based on the elevation.
[0021] Interpolate the point cloud data of the ground surface to obtain a regular triangular mesh of the ground surface.
[0022] Understandably, the method provided by this invention uses lidar technology to rapidly and non-contactly acquire the elevation of the poured floor surface, and generates point cloud data of the floor surface based on the elevation. Compared with ruler inspection, lidar and point cloud processing reduce human error, improve the overall measurement accuracy, and are more suitable for leveling large-area floors. By converting the point cloud data into a regular triangular mesh, subsequent floor leveling work can be carried out more easily.
[0023] Accordingly, embodiments of the present invention also provide a large-area floor leveling system, comprising:
[0024] The data acquisition module is used to acquire point cloud data of the floor surface after the floor is poured, and convert the point cloud data of the floor surface into a regular triangular mesh of the floor surface through a point cloud processing algorithm.
[0025] The plane determination module is used to obtain the elevation of each point on the ground according to the regular triangular mesh of the ground surface, and to fit the elevation of each point on the ground to obtain the point cloud trend plane;
[0026] The leveling module is used to iteratively update the local low plane and local high plane corresponding to each sub-interval in the regular triangular mesh of the ground surface according to the point cloud trend plane, until the distance between the local low plane and the local high plane is less than or equal to the preset distance. The local high plane at which the update stops is taken as the target high plane, and the area in the current sub-interval whose elevation exceeds the target high plane is leveled to be aligned with the target high plane.
[0027] Understandably, compared to existing technologies, the system provided by this invention acquires point cloud data after the floor is poured, enabling measurement of the floor over a larger area. Point cloud processing reduces the time required for manual inspection and processing. By fitting the elevation of each point on the floor using the least squares method, a point cloud trend plane is obtained. Multiple measurements of the relationship between the local low and high planes corresponding to each sub-interval in the regular triangular mesh of the floor surface and the point cloud trend plane allow for a comprehensive evaluation of both global and local perspectives. This optimizes the floor grinding scheme, avoiding the need for frequent measurements of the overall floor elevation during grinding, thus ensuring the smoothness of the floor surface more efficiently.
[0028] Furthermore, the leveling module specifically includes:
[0029] The peak and valley point determination submodule is used to iterate through each unit region in the current sub-interval. If the elevation of the central point of each unit region is the maximum or minimum value, and the slope of the central point is in the same direction as that of the adjacent region, then the central point is taken as the peak point or valley point of each unit region.
[0030] The local elevation plane determination submodule is used to calculate the first distance between the peak point of each unit region in the current sub-interval and the point cloud trend plane, sort the peak points of each unit region according to the magnitude of the first distance to obtain a first sequence, and take the three points with the largest distance in the first sequence as vertices to determine the local elevation plane.
[0031] The local low plane determination submodule is used to calculate the second distance between the valley point of each unit region in the current sub-interval and the point cloud trend plane, sort the valley points of each unit region according to the size of the second distance, and take the three points with the largest distance in the second sequence as vertices to determine the local low plane.
[0032] The update submodule is used to calculate the distance between the current local high plane and the local low plane. If the distance between the local low plane and the local high plane is greater than the preset distance, the point corresponding to the maximum first distance in the first sequence is deleted, and the local high plane is determined according to the updated first sequence.
[0033] It is understood that the system provided by this invention traverses and processes each sub-interval in the regular triangular network of the floor surface. By iterating through each unit region in each sub-interval, it obtains the peak point and valley point corresponding to each unit region. Based on the distance between the peak point and valley point and the point cloud trend plane, it determines the local high plane and local low plane. This avoids the need to frequently measure the overall elevation of the floor during the grinding process and can more comprehensively determine the elevation fluctuation of the floor.
[0034] Furthermore, the plane determination module specifically includes: using the ground slope as an angular constraint on the point cloud trend plane; combining the angular constraint, using the sum of the squares of the distances from the elevation of each point on the ground to the point cloud trend plane as the objective function; and solving the objective function using the least squares method to obtain the point cloud trend plane.
[0035] It is understood that the system provided by the present invention uses the ground slope as an angular constraint. Under the angular constraint, the point cloud trend plane is fitted according to the elevation of each point on the ground. From a global perspective, this can reduce the abnormal phenomenon of flatness deterioration caused by excessive local grinding.
[0036] Furthermore, the data acquisition module specifically includes:
[0037] The acquisition submodule is used to acquire the elevation of the concrete surface after pouring using lidar, and generate point cloud data of the concrete surface based on the elevation.
[0038] The triangulation submodule is used to interpolate the point cloud data of the ground surface to obtain a regular triangular mesh of the ground surface.
[0039] Understandably, the system provided by this invention uses lidar technology to quickly and non-contactly acquire the elevation of the poured floor surface, and generates point cloud data of the floor surface based on the elevation. Compared with ruler inspection, lidar and point cloud processing reduce human error, improve the overall measurement accuracy, and are more suitable for leveling large-area floors. By converting the point cloud data into a regular triangular mesh, subsequent floor leveling work can be carried out more easily.
[0040] Accordingly, the present invention also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the large-area floor leveling method as described in any of the preceding claims.
[0041] Accordingly, the present invention also provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the large-area floor leveling method as described in any of the preceding claims. Attached Figure Description
[0042] Figure 1 : A flowchart illustrating the steps of a large-area floor leveling method provided in an embodiment of the present invention;
[0043] Figure 2 This is a schematic diagram illustrating the plane relationships in a large-area floor leveling method provided in an embodiment of the present invention.
[0044] Figure 3 : This is a structural schematic diagram of a large-area floor leveling system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0046] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0047] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0048] Uneven ground can damage building structures; for example, uneven foundation settlement can cause cracks and other structural problems. To ensure the stability, safety, and appearance of buildings and sites to meet diverse usage needs, an efficient method for leveling large areas of ground is required.
[0049] Example 1
[0050] Please refer to Figure 1 The flowchart of a large-area floor leveling method provided in this embodiment of the invention includes steps S101-S103, and the specific steps are as follows.
[0051] S101: Obtain the point cloud data of the floor surface after the floor is poured, and convert the point cloud data of the floor surface into a regular triangular mesh of the floor surface through a point cloud processing algorithm.
[0052] In this embodiment, the elevation of the concrete surface after pouring is collected by lidar, and point cloud data of the concrete surface is generated based on the elevation. The point cloud data of the concrete surface is then interpolated to obtain a regular triangular mesh of the concrete surface.
[0053] S102: Based on the regular triangular mesh of the ground surface, obtain the elevation of each point on the ground, and fit the elevation of each point on the ground to obtain the point cloud trend plane.
[0054] It should be noted that the floor surface usually has a relatively high slope requirement, which directly affects the site drainage, and the elevation requirement is mainly reflected in the flatness. Therefore, the overall surface of the floor needs to ensure that the slope is maintained while making it as flat as possible, and the elevation is within the allowable range.
[0055] In this embodiment, the ground slope is used as the angular constraint of the point cloud trend plane. Based on the angular constraint, the objective function is to minimize the sum of the squares of the distances from the elevation of each point on the ground to the point cloud trend plane. The objective function is solved by the least squares method to obtain the point cloud trend plane.
[0056] Specifically, finding the point cloud trend plane is abstracted as a constrained least squares problem. The plane equation of the point cloud trend plane is defined as follows: ;in, It is the normal vector of the point cloud trend plane. This is the offset of the point cloud trend plane. An angular constraint is applied to the normal vector, and a rotation matrix is defined. The rotated normal vector can be represented as... The ground slope is used as the angular constraint for the point cloud trend plane, specifically: ;in, It is the normal vector after rotation. Construct the residual function. Specifically: ;in, This represents the elevation of each point on the ground surface. Based on the residual function, a Lagrange function is constructed. Specifically: ;right To each and By taking the partial derivative and setting it to zero, we obtain a set of equations. Solving these equations allows us to determine the point cloud trend plane that satisfies the ground slope angle constraint.
[0057] S103: For each sub-interval in the regular triangular mesh of the ground surface, according to the point cloud trend plane, iteratively update the local low plane and local high plane corresponding to the current sub-interval until the distance between the local low plane and the local high plane is less than or equal to the preset distance. Take the local high plane when the update stops as the target high plane, and smooth out the area in the current sub-interval whose elevation exceeds the target high plane until it is aligned with the target high plane.
[0058] In this embodiment, each unit region in the current sub-interval is iterated. If the elevation of the central point of each unit region is the maximum value and the slope of the central point is in the same direction as that of the adjacent region, then the central point is taken as the peak point of each unit region. If the elevation of the central point of each unit region is the minimum value and the slope of the central point is in the same direction as that of the adjacent region, then the central point is taken as the peak point of each unit region. In other words, the central point is taken as the valley point of each unit region.
[0059] In this embodiment, the peak points of each unit region in the current sub-interval are calculated and compared with the point cloud trend plane. Based on the first distance, the peak points of each unit region are sorted according to the magnitude of the first distance to obtain a first sequence. And the three points corresponding to the largest distances in the first sequence. Each vertex is used to determine the local elevation plane. .
[0060] In this embodiment, the valley points of each unit region in the current sub-interval and the point cloud trend plane are calculated. The second distance is used to sort the valley points of each unit region according to the magnitude of the second distance, forming a second sequence. And the three points corresponding to the largest distances in the second sequence. Each vertex is used to determine the local low plane. .
[0061] In this embodiment, please refer to Figure 2 This is a schematic diagram illustrating the relationships between the planes. Calculate the current local elevation plane. and local low plane If the distance between the local low plane and the local high plane is greater than a preset distance, then the first sequence is deleted. The point corresponding to the maximum first distance in the first sequence The process is repeated in the middle, and the local elevation plane is determined based on the updated first sequence. If the distance between the local low plane and the local high plane is less than or equal to the preset distance, the local high plane at the time of stopping the update is taken as the target high plane, and the area in the current sub-interval whose elevation exceeds the target high plane is smoothed out to be aligned with the target high plane.
[0062] As a preferred embodiment, each sub-interval in the regular triangular mesh of the ground surface can be divided into 5*5m sub-intervals; each unit area in the current sub-interval can be a 0.1*0.1m unit area.
[0063] It should be noted that the preset spacing is determined based on the design requirements of the specific scenario.
[0064] The method provided by this invention acquires point cloud data after the floor is poured, enabling large-scale measurement of the floor and reducing the time required for manual inspection and processing through point cloud processing. By fitting the elevation of each point on the floor using the least squares method, a point cloud trend plane is obtained. Multiple local measurements of the relationship between the local low and high planes corresponding to each sub-interval in the regular triangular mesh of the floor surface and the point cloud trend plane allow for a comprehensive evaluation of both global and local perspectives, optimizing the floor grinding scheme. This avoids the need for frequent measurements of the overall floor elevation during grinding, thus ensuring the smoothness of the floor surface more efficiently.
[0065] Example 2
[0066] Please refer to Figure 3 This is a schematic diagram of a large-area floor leveling system provided in an embodiment of the present invention. The system includes a data acquisition module 201, a plane determination module 202, and a leveling module 203.
[0067] The data acquisition module 201 is used to acquire point cloud data of the floor surface after the floor is poured, and convert the point cloud data of the floor surface into a regular triangular mesh of the floor surface through a point cloud processing algorithm.
[0068] The plane determination module 202 is used to obtain the elevation of each point on the ground according to the regular triangular mesh of the ground surface, and to fit the elevation of each point on the ground to obtain the point cloud trend plane.
[0069] The leveling module 203 is used to iteratively update the local low plane and local high plane corresponding to each sub-interval in the regular triangular mesh of the ground surface according to the point cloud trend plane, until the distance between the local low plane and the local high plane is less than or equal to a preset distance, take the local high plane when the update stops as the target high plane, and level the area in the current sub-interval whose elevation exceeds the target high plane until it is aligned with the target high plane.
[0070] In this embodiment, the data acquisition module 201 specifically includes a data acquisition submodule and a triangulation submodule. The data acquisition submodule is used to acquire the elevation of the concrete surface after pouring using a lidar, and generate point cloud data of the concrete surface based on the elevation. The triangulation submodule is used to interpolate the point cloud data of the concrete surface to obtain a regular triangular mesh of the concrete surface.
[0071] In this embodiment, the plane determination module 202 specifically includes: using the ground slope as an angle constraint for the point cloud trend plane; combining the angle constraint, using the sum of the squares of the distances from the elevation of each point on the ground to the point cloud trend plane as the objective function; and solving the objective function using the least squares method to obtain the point cloud trend plane.
[0072] In this embodiment, the leveling module 203 specifically includes: a peak-valley point determination submodule, a local high plane determination submodule, a local low plane determination submodule, and an update submodule. The peak and valley point determination submodule is used to iterate through each unit region in the current sub-interval. If the elevation of the central point of each unit region is the maximum or minimum value, and the slope of the central point is in the same direction as that of the adjacent region, then the central point is taken as the peak point or valley point of each unit region. The local high plane determination submodule is used to calculate the first distance between the peak point of each unit region in the current sub-interval and the point cloud trend plane, sort the peak points of each unit region according to the magnitude of the first distance to obtain a first sequence, and take the three points corresponding to the largest distances in the first sequence as vertices to determine the local high plane. The local low plane determination submodule is used to calculate the second distance between the valley point of each unit region in the current sub-interval and the point cloud trend plane, sort the valley points of each unit region according to the magnitude of the second distance to obtain a second sequence, and take the three points corresponding to the largest distances in the second sequence as vertices to determine the local low plane. The update submodule is used to calculate the distance between the current local high plane and the local low plane. If the distance between the local low plane and the local high plane is greater than a preset distance, then the point corresponding to the largest first distance in the first sequence is deleted, and the local high plane is determined according to the updated first sequence.
[0073] For a more detailed explanation of the working principles and procedures of this system, please refer to Example 1.
[0074] The system provided by this invention acquires point cloud data after the floor is poured, enabling large-scale measurement of the floor and reducing the time required for manual inspection and processing through point cloud processing. By fitting the elevation of each point on the floor using the least squares method, a point cloud trend plane is obtained. Multiple local measurements of the relationship between the local low and high planes corresponding to each sub-interval in the regular triangular mesh of the floor surface and the point cloud trend plane allow for a comprehensive evaluation of both global and local perspectives, optimizing the floor grinding scheme. This avoids the need for frequent measurements of the overall floor elevation during grinding, thus ensuring the smoothness of the floor surface more efficiently.
[0075] Example 3
[0076] Accordingly, the present invention also provides a terminal device, comprising: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the large-area floor leveling method as described in any of the above embodiments.
[0077] The terminal device in this embodiment includes a processor, a memory, and a computer program and computer instructions stored in the memory and executable on the processor. When the processor executes the computer program, it implements the various steps described in Embodiment 1 above, for example... Figure 1 S101 to S103 are shown. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in the above system embodiment.
[0078] For example, the computer program can be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the terminal device. For example, the leveling module 203 is used to iteratively update the local low plane and local high plane corresponding to each sub-interval in the regular triangular mesh of the ground surface, based on the point cloud trend plane, until the distance between the local low plane and the local high plane is less than or equal to a preset distance. The local high plane at which the update stops is then taken as the target high plane, and the area within the current sub-interval whose elevation exceeds the target high plane is leveled to align with the target high plane.
[0079] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than illustrated, or combine certain components, or different components. For example, the terminal device may also include input / output devices, network access devices, buses, etc.
[0080] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.
[0081] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created based on the use of the mobile terminal, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital card (SD card), flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0082] Wherein, if the modules / units integrated in the terminal device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. Wherein, the computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0083] Example 4
[0084] Accordingly, the present invention also provides a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the large-area floor leveling method as described in any of the above embodiments.
[0085] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A large area floor leveling method, characterized in that: include: Obtaining point cloud data of the floor surface after the floor is poured, and converting the point cloud data of the floor surface into a regular triangulated network of the floor surface through a point cloud processing algorithm; According to the regular triangulated network of the floor surface, the elevation of each point on the floor is obtained, and the elevation of each point on the floor is fitted to obtain a point cloud trend plane; For each sub-interval in the regular triangulated network of the floor surface, iteratively update the local low plane and the local high plane corresponding to the current sub-interval according to the point cloud trend plane, until the distance between the local low plane and the local high plane is less than or equal to the preset distance, and use the local high plane when the update stops as the target high plane, and smooth the area in the current sub-interval whose elevation exceeds the target high plane until it is aligned with the target high plane; The method of iteratively updating the local low plane and the local high plane corresponding to the current sub-interval according to the point cloud trend plane specifically includes: iterating each unit area in the current sub-interval, and if the elevation of the central point of each unit area is the maximum value or the minimum value, and the central point is in the same direction as the slope of the adjacent area, then taking the central point as the peak point or the valley point of each unit area; calculating the first distance between the peak point of each unit area in the current sub-interval and the point cloud trend plane, sorting the peak points of each unit area according to the size of the first distance to obtain a first sequence, and taking the top three points corresponding to the distance size in the first sequence as vertices to determine the local high plane; calculating the second distance between the valley point of each unit area in the current sub-interval and the point cloud trend plane, sorting the valley point of each unit area according to the size of the second distance as a second sequence, and taking the top three points corresponding to the distance size in the second sequence as vertices to determine the local low plane; calculating the distance between the current local high plane and the local low plane, and if the distance between the local low plane and the local high plane is greater than the preset distance, deleting the point corresponding to the largest first distance in the first sequence, and determining the local high plane according to the updated first sequence.
2. The large-area floor leveling method according to claim 1, characterized in that: The step of fitting the elevation of each point on the floor to obtain a point cloud trend plane specifically includes: The floor slope is used as the angle constraint of the point cloud trend plane. Combined with the angle constraint, the objective function is to minimize the sum of squares of the distances from the elevation of each point on the floor to the point cloud trend plane. The objective function is solved by the least squares method to obtain the point cloud trend plane.
3. The large-area floor leveling method according to claim 1, characterized in that: The step of obtaining the floor surface point cloud data after the floor is poured and converting the floor surface point cloud data into a regular triangulated network of the floor surface through a point cloud processing algorithm specifically includes: The surface elevation of the floor after pouring is collected by laser radar, and the surface point cloud data of the floor is generated according to the surface elevation of the floor; The point cloud data of the floor surface is interpolated to obtain a regular triangulated network of the floor surface.
4. A large area floor leveling system, characterized in that: include: A data acquisition module is used to acquire the point cloud data of the floor surface after the floor is poured, and convert the point cloud data of the floor surface into a regular triangulated network of the floor surface through a point cloud processing algorithm; A plane determination module is used to obtain the elevation of each point on the floor according to the regular triangulated network of the floor surface, and to fit the elevation of each point on the floor to obtain a point cloud trend plane; A leveling module is used for iteratively updating the local low plane and the local high plane corresponding to the current sub-interval according to the point cloud trend plane for each sub-interval in the regular triangulated network of the floor surface, until the distance between the local low plane and the local high plane is less than or equal to the preset distance, taking the local high plane when the update stops as the target high plane, and smoothing the area in the current sub-interval whose elevation exceeds the target high plane until it is aligned with the target high plane; The leveling module specifically includes: a peak-valley point determination submodule, which is used to iterate each unit area in the current subinterval. If the elevation of the central point of each unit area is the maximum value or the minimum value, and the slope of the central point is in the same direction as the slope of the adjacent area, the central point is used as the peak point or the valley point of each unit area; a local high plane determination submodule, which is used to calculate the first distance between the peak point of each unit area in the current subinterval and the point cloud trend plane, sort the peak points of each unit area according to the size of the first distance, obtain a first sequence, and use the first three points corresponding to the distance size in the first sequence as vertices to determine the local high plane. plane; a local low plane determination submodule, used to calculate the second distance between the valley points of each unit area in the current subinterval and the point cloud trend plane, sort the valley points of each unit area according to the size of the second distance as a second sequence, and use the top three points corresponding to the distance size in the second sequence as vertices to determine the local low plane; an updating submodule, used to calculate the distance between the current local high plane and the local low plane, if the distance between the local low plane and the local high plane is greater than the preset distance, then delete the point corresponding to the maximum first distance in the first sequence, and determine the local high plane according to the updated first sequence.
5. The large area floor leveling system according to claim 4, characterized in that: The plane determination module specifically includes: taking the floor slope as the angle constraint of the point cloud trend plane, combining the angle constraint, minimizing the sum of the squares of the distances from the elevation of each point on the floor to the point cloud trend plane as the objective function, solving the objective function by the least squares method, and obtaining the point cloud trend plane.
6. The large area floor leveling system according to claim 4, characterized in that: The data acquisition module specifically includes: The acquisition submodule is used to acquire the surface elevation of the floor after pouring through the laser radar, and generate the surface point cloud data of the floor according to the surface elevation of the floor; The triangulation submodule is used to interpolate the floor surface point cloud data to obtain a regular triangulated network of the floor surface.
7. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the large-area floor leveling method as described in any one of claims 1 to 3 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the large-area floor leveling method according to any one of claims 1 to 3.
