Method for lightening three-dimensional point cloud data of city-level large-scale building

By extracting the matching of building outline data and point cloud data, determining the screening interval, and combining image semantic segmentation and point cloud filtering algorithms, the storage and quality problems of large-scale point cloud data processing are solved, and efficient lightweight processing is achieved.

CN118735953APending Publication Date: 2024-10-01SICHUAN JIANSHAN TECH CO LTD

Patent Information

Application Number
CN202310309032.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technologies face the problems of huge data volume and difficulty in processing and storage when processing 3D point cloud data of large-scale urban buildings. Moreover, common point cloud compression, filtering, segmentation and simplification methods suffer from data quality loss, noise point filtering and Problems such as loss of key information.

Method used

By extracting the building's outer contour data from the two-dimensional image, adding annotations, and using a point cloud registration algorithm to match the outer contour data and the three-dimensional point cloud data, determine the point cloud data filtering interval, and perform lightweight processing based on this, including using images Semantic segmentation model and point cloud filtering algorithm.

Benefits of technology

It reduces data storage costs, speeds up data transmission, reduces data quality loss, and improves data visualization effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735953A_ABST
    Figure CN118735953A_ABST
Patent Text Reader

Abstract

The invention provides a method for lightening three-dimensional point cloud data of a city-level large-scale building. The method comprises the following steps: extracting building outer contour data from a two-dimensional image of the building; respectively adding labels to the building outer contour data and the building three-dimensional point cloud data; matching the marked outer contour data of the building with the marked three-dimensional point cloud data of the building by using a point cloud registration algorithm; through matching of the building outer contour data and the building three-dimensional point cloud data, determining a point cloud data screening interval based on the building outer contour data; and carrying out lightweight processing on the three-dimensional point cloud data of the building based on the point cloud data screening interval. Therefore, the data storage cost can be reduced, the data transmission speed can be increased, the data quality loss can be reduced, and the data visualization effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of image processing, and more specifically, to a method and system for lightweighting three-dimensional point cloud data of large-scale urban buildings, as well as an electronic device and a computer-readable storage medium. Background Art

[0002] The processing of 3D point cloud data of large-scale urban buildings has become increasingly common in recent years. 3D point cloud data collected by technologies such as LiDAR, drones, and photogrammetry have been widely used in urban planning, geological exploration, remote sensing analysis, and intelligent transportation. However, the amount of point cloud data generated by these modeling technologies is usually very large, and processing and storing this data also faces great challenges. Therefore, how to efficiently process and store 3D point cloud data of large-scale urban buildings has become a hot topic in current research.

[0003] At present, some point cloud data processing technologies have been developed, such as point cloud compression, point cloud filtering, point cloud segmentation, point cloud simplification, etc. However, there are still some problems in the application of these methods, such as data quality loss after compression, filtering noise points and loss of key information, inaccurate segmentation results and data distortion after simplification. Summary of the invention

[0004] The present disclosure provides a method and system for lightweight processing of three-dimensional point cloud data of buildings, as well as an electronic device and a computer-readable storage medium, so as to at least solve the problems in the above-mentioned related technologies, or may not solve any of the above-mentioned problems.

[0005] According to a first aspect of an embodiment of the present disclosure, a method for lightweight processing of three-dimensional point cloud data of a building is provided, and the method may include: extracting building outer contour data from a two-dimensional image of the building; adding annotations to the building outer contour data and the building three-dimensional point cloud data, respectively; matching the annotated building outer contour data and the building three-dimensional point cloud data using a point cloud registration algorithm; determining a point cloud data filtering interval based on the building outer contour data by matching the building outer contour data and the building three-dimensional point cloud data; and lightweight processing the building three-dimensional point cloud data based on the point cloud data filtering interval.

[0006] Optionally, the use of a point cloud registration algorithm to match the labeled building outline data and the building three-dimensional point cloud data may include: selecting feature points of the building outline data as reference points for registration; and matching representative feature points of the building three-dimensional point cloud data selected from the building three-dimensional point cloud data based on the reference points.

[0007] Optionally, the matching of representative feature points of the three-dimensional point cloud data of the building selected from the three-dimensional point cloud data of the building may include: first matching the representative feature points that are a first distance away from the reference point, and then matching the representative feature points that are a second distance away from the reference point, wherein the first distance may be smaller than the second distance.

[0008] Optionally, the method may further include: optimizing an initial matching result of the point cloud registration algorithm based on a nonlinear minimization algorithm.

[0009] Optionally, the matching of the building outline data and the building three-dimensional point cloud data to determine the point cloud data filtering interval based on the building outline data may include: using the building outline data to determine the position of the observation point; projecting multiple rays starting from the observation point onto the building surface to determine the point cloud data filtering interval.

[0010] Optionally, the lightweight processing of the three-dimensional point cloud data of the building based on the point cloud data screening interval may include: using a point cloud filtering algorithm to process the three-dimensional point cloud data of the building within the point cloud data screening interval.

[0011] Optionally, extracting building contour data from a two-dimensional image of the building may include: inputting the two-dimensional image into an image semantic segmentation model to obtain contour features of the building in the two-dimensional image, wherein the encoder of the image semantic segmentation model may have at least four n×n convolutional layers, and an adaptive activation function may be used in each of the at least four convolutional layers, wherein n>1.

[0012] Optionally, the encoder of the image semantic segmentation model may include at least two encoders, and inputting the two-dimensional image into the image semantic segmentation model may include: inputting the two-dimensional image into the at least two encoders of the image semantic segmentation model respectively, obtaining at least two valid feature layers respectively, and inputting the at least two valid feature layers into the decoder of the image semantic segmentation model.

[0013] Optionally, the convolution layers of the at least two encoders may be different, and the convolution rates of the at least four convolution layers of each of the at least two encoders may be different.

[0014] According to a second aspect of an embodiment of the present disclosure, a system for lightweight processing of three-dimensional point cloud data of a building is provided, and the system may include: an outer contour data extraction module, configured to extract building outer contour data from a two-dimensional image of the building; a labeling module, configured to add labels to the building outer contour data and the building three-dimensional point cloud data, respectively; a registration module, configured to match the labeled building outer contour data and the building three-dimensional point cloud data using a point cloud registration algorithm; and a lightweight processing module, configured to determine a point cloud data screening interval based on the building outer contour data by matching the building outer contour data with the building three-dimensional point cloud data, and perform lightweight processing on the building three-dimensional point cloud data based on the point cloud data screening interval.

[0015] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, which may include: at least one processor; at least one memory storing computer-executable instructions, wherein the computer-executable instructions, when executed by at least one of the processors, prompt at least one of the processors to execute the method for lightweight processing of building three-dimensional point cloud data.

[0016] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium storing instructions is provided, characterized in that when the instructions are executed by at least one processor, at least one of the processors is prompted to execute a method for lightweight processing of three-dimensional point cloud data of a building.

[0017] According to the embodiments of the present disclosure, by adding annotations to the building outline data and the building three-dimensional point cloud data respectively, using a point cloud registration algorithm to match the annotated building outline data and the building three-dimensional point cloud data, through the matching of the building outline data and the building three-dimensional point cloud data, determining the point cloud data screening interval based on the building outline data, and performing lightweight processing on the building three-dimensional point cloud data based on the point cloud data screening interval, not only can the data storage cost be reduced and the data transmission speed be accelerated, but also the data quality loss can be reduced and the data visualization effect can be improved.

[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a flow chart showing a method for lightweight processing of three-dimensional point cloud data of a building according to an exemplary embodiment of the present disclosure;

[0020] Figure 2is a schematic diagram showing an example structure of an image semantic segmentation model according to an example embodiment of the present disclosure;

[0021] Figure 3 is an example process showing how to optimize an initial registration result obtained according to a point cloud registration algorithm using the Macquart method according to an example embodiment of the present disclosure;

[0022] Figure 4 is a schematic block diagram showing a system for lightweight processing of three-dimensional point cloud data of a building according to an exemplary embodiment of the present disclosure; and

[0023] Figure 5 is a schematic block diagram illustrating an electronic device according to an example embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation methods described in the following examples do not represent all implementation methods consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.

[0026] It should be noted that “at least one of the several items” appearing in the present disclosure refers to three types of parallel situations: “any one of the several items”, “a combination of any multiple of the several items”, and “all of the several items”. For example, “including at least one of A and B” includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is “executing at least one of step one and step two”, which means the following three parallel situations: (1) executing step one; (2) executing step two; (3) executing step one and step two. “A and / or B” and “A and / or B” appearing in the present disclosure refer to the following three parallel situations: only A; only B; both A and B.

[0027] In modern urban construction, the use of technologies such as LiDAR, drones, and photogrammetry for 3D modeling has become a common trend. However, the amount of point cloud data generated by these modeling technologies is usually very large, and processing and storing this data also faces great challenges. Therefore, it is of great practical significance to develop a method that can efficiently and lightly quantize large-scale urban-level building 3D point cloud data.

[0028] In addition, with the development of technologies such as artificial intelligence and machine learning, the processing and application of 3D data has become a hot research field. Therefore, the method of lightweighting the 3D point cloud data of large-scale urban buildings is also of great research significance.

[0029] Figure 1 is a flowchart illustrating a method for lightweight processing of three-dimensional point cloud data of a building according to an exemplary embodiment of the present disclosure.

[0030] In step 110, the building outline data may be extracted from the two-dimensional image of the building. For example, the remote sensing image data of the building may be obtained, and the resolution of the remote sensing image data may be 3000×4000 pixels. In the present disclosure, the remote sensing image data may be preprocessed to adjust the size of the remote sensing image data. For example, the remote sensing image data may be preprocessed to adjust the image size to 512×512 pixels. In this way, the calculation speed may be accelerated, and the memory and calculation burden caused by the large image size may also be reduced.

[0031] According to an example embodiment of the present disclosure, the two-dimensional image may be input into an image semantic segmentation model to obtain the outer contour features of the building in the two-dimensional image.

[0032] As an example only, the image semantic segmentation model can be a DeepLabV3+ network. Compared with DeepLabV3, the improvement of DeepLabV3+ is mainly reflected in the decoder module. By introducing feature pyramid pooling and encoder-decoder structure, the model can handle objects of different scales and sizes while maintaining high segmentation accuracy.

[0033] In an exemplary embodiment of the present disclosure, the encoder of the image semantic segmentation model may have at least four n×n convolutional layers, and an adaptive activation function may be used in each of the at least four convolutional layers, where n>1. In addition, the encoder of the image semantic segmentation model may include at least two encoders.

[0034] Figure 2 is a schematic diagram showing an example structure of an image semantic segmentation model according to an example embodiment of the present disclosure.

[0035] like Figure 2 As shown, the encoder of the image semantic segmentation model has four n×n convolutional layers and includes two left and right encoders. The convolutional layers of the two encoders are different, for example, one is 3×3 and the other is 5×5. The convolution rates of the four convolutional layers of each encoder are different, for example, in the left encoder, the convolution rates are 3, 6, 12 and 18 respectively. However, those skilled in the art should understand that Figure 2 The structure shown is only an example. For example, the encoder of the image semantic segmentation model may also include three or four encoders. The encoder of the image semantic segmentation model may have five, six or seven n×n convolutional layers. The convolutional layer can also be 7×7 or 9×9, etc. The convolution rate of each encoder can also be other values.

[0036] like Figure 2 As shown, the two-dimensional image can be input into the at least two encoders of the image semantic segmentation model respectively to obtain at least two effective feature layers respectively, and the at least two effective feature layers can be input into the decoder of the image semantic segmentation model to obtain the building outline data in the image data.

[0037] In the encoder module, for example, an image of size 512×512 can be sent to the encoders of different convolutional layers on the left and right sides for learning. An adaptive activation function can be used in the convolutional layer, and four dilated convolutions and pooling layers with different convolution rates are used in parallel to extract the preliminary effective feature layer. The extracted features are merged separately, and then 1×1 convolution compression is performed to obtain an enhanced feature layer.

[0038] In the decoder module, the feature layer compressed twice can be used to adjust the number of channels using 1×1 convolution, and then stacked with the upsampling result of the enhanced feature layer after the hole convolution and performed two depth-separable convolutions to obtain a final effective feature layer, and finally 3×3 convolution is used to adjust the channels and upsample to obtain the outer contour features of the building in the image data.

[0039] In addition, before the image data is input into the image semantic segmentation model, the image semantic segmentation model needs to be trained. As an example, the image semantic segmentation model can be trained in the following manner: inputting a two-dimensional image training set into the image semantic segmentation model to obtain a model output; using a cross entropy loss function to determine the loss between the model output and the true label; determining the gradient of the loss with respect to the model parameters of the image semantic segmentation model based on automatic differentiation technology, and updating the model parameters using a gradient descent method.

[0040] In step 120, annotations may be added to the building outline data and the building three-dimensional point cloud data, respectively. Annotations may be added to the building outline data, that is, a unique identifier may be added to each outline data point for subsequent matching. The building three-dimensional point cloud data may be annotated. Since the point cloud data has original spatial location information, the annotations may be batch annotated using a point cloud clustering algorithm (e.g., a distance-based clustering algorithm, a density-based clustering algorithm, etc.).

[0041] In step 130, the marked building outline data and the building three-dimensional point cloud data can be matched using a point cloud registration algorithm. Point cloud registration is the process of aligning two or more point cloud data sets. When matching the marked building outline data and the building three-dimensional point cloud data, data preprocessing can be performed first. The marked building outline data and the building three-dimensional point cloud data are preprocessed, such as removing noise points, filtering and downsampling operations to reduce the amount of data and noise effects. The building outline data usually has a clear geometric structure. It can be considered to select the feature points of the building outline data as reference points for registration. Based on the reference points, the representative feature points of the building three-dimensional point cloud data selected from the building three-dimensional point cloud data are matched. When matching the representative feature points of the building three-dimensional point cloud data selected from the building three-dimensional point cloud data, a local matching strategy can be adopted to first match the representative feature points at a first distance from the reference point, and then match the representative feature points at a second distance from the reference point (the first distance is less than the second distance). In other words, adjacent points can be matched first, and then the matching range can be gradually expanded to finally complete the registration of the entire point cloud, thereby improving the accuracy and stability of the matching.

[0042] As an example, the point cloud registration algorithm Kabsch can be used. The Kabsch algorithm is a commonly used point cloud registration algorithm. Its basic idea is to calculate the rotation matrix and translation vector by minimizing the average distance between two sets of points.

[0043] In addition to the classic Kabsch algorithm, there are many other point cloud registration algorithms, for example, the ICP (Iterative Closest Point) algorithm is an iterative algorithm that aligns point clouds by minimizing the distance between two point clouds. The ICP algorithm is widely used in 3D reconstruction, robotics, computer-aided design, etc. For example, the NDT (Normal Distributions Transform) algorithm is a point cloud descriptor algorithm based on Gaussian distribution. By constructing a Gaussian grid, the point cloud is converted into a continuous probability distribution, and the point cloud is registered by minimizing the KL divergence.

[0044] In addition, the initial matching result of the point cloud registration algorithm can also be optimized based on a nonlinear minimization algorithm. As an example, the initial registration result can be optimized using the Levenberg-Marquardt algorithm to improve the accuracy and stability of the matching. In addition, other information, such as the contour line and texture of the building, can be combined to further improve the accuracy of the point cloud registration. For example, the contour line of the building and the point cloud data can be aligned, and then the point cloud data can be projected onto the contour line to further optimize the result of the point cloud registration.

[0045] Figure 3 The following is an example process of optimizing an initial registration result obtained according to a point cloud registration algorithm by using the McQuarter method according to an example embodiment of the present disclosure.

[0046] The Macquart method is a commonly used nonlinear optimization algorithm that can be used to optimize the point cloud registration results. The basic idea is to adjust the parameters in an iterative way to minimize the objective function. For the point cloud registration problem, the objective function can be the sum of the squares of the distances between the two groups of points, that is:

[0047] min||Xp-Y||^2, where Xp represents the transformed point cloud and Y represents the reference point cloud.

[0048] The Macquart method requires an initial parameter vector as a starting point, and then iteratively adjusts the parameters until the objective function is minimized. The following are the basic steps for optimizing the initial registration results using the Macquart method.

[0049] In step 310 , an optimization objective function may be defined to transform the point cloud registration problem into a nonlinear optimization problem, that is, the objective function is defined as the sum of the squares of the distances between the two groups of points.

[0050] In step 320, an initial parameter vector may be defined. An initial parameter vector needs to be provided, including a rotation matrix and a translation vector.

[0051] In step 330, an implementation algorithm may be performed, that is, the iterative process of the Macquart method may be implemented according to the objective function and the initial parameter vector to continuously adjust the parameters and optimize the objective function.

[0052] In step 340, the optimization result evaluation may be performed. During the iteration process, it is necessary to monitor the change of the objective function to determine whether the algorithm has converged and to evaluate the quality of the optimization result.

[0053] When implementing the Macquart method, you can use existing optimization libraries or tools, such as Ceres Solver, Eigen, etc. These tools have already implemented the core part of the Macquart method, which can greatly reduce the amount of code and development time.

[0054] In step 140, the point cloud data screening interval can be determined based on the building outline data by matching the building outline data with the building three-dimensional point cloud data. In the present disclosure, the building outline data can be used to determine the position of the observation point, and multiple rays starting from the observation point are projected onto the building surface to determine the point cloud data screening interval.

[0055] In step 150, the three-dimensional point cloud data of the building may be lightly processed based on the point cloud data screening interval. In the present disclosure, a point cloud filtering algorithm may be used to process the three-dimensional point cloud data of the building within the point cloud data screening interval. Optionally, the screening may be performed by traversing all points and determining whether the points are within the screening interval, or by using some point cloud processing libraries or software, such as PCL (Point Cloud Library) or CloudCompare, to perform the screening.

[0056] In addition, after the point cloud data is screened, some post-processing operations can be performed, such as meshing and fitting the screened point cloud data to obtain a more compact and regular model.

[0057] Figure 4 4 is a schematic block diagram showing a system 400 for lightweight processing of three-dimensional point cloud data of a building according to an exemplary embodiment of the present disclosure.

[0058] The system 400 may include an outer contour data extraction module 410, a labeling module 420, a registration module 430, and a lightweight processing module 440. The system 400 may be installed in various electronic devices to perform lightweight processing on the three-dimensional point cloud data of the building, or various modules in the system 400 may implement corresponding functions in a separate manner, or the system 400 may be distributed online or in the cloud for users to use.

[0059] According to an exemplary embodiment of the present disclosure, the outer contour data extraction module 410 can extract the outer contour data of the building from the two-dimensional image of the building. The annotation module 420 can add annotations to the outer contour data of the building and the three-dimensional point cloud data of the building respectively. The registration module 430 can match the annotated outer contour data of the building with the three-dimensional point cloud data of the building using a point cloud registration algorithm. The lightweight processing module 440 can determine the point cloud data screening interval based on the outer contour data of the building by matching the outer contour data of the building with the three-dimensional point cloud data of the building, and perform lightweight processing on the three-dimensional point cloud data of the building based on the point cloud data screening interval.

[0060] According to an example embodiment of the present disclosure, the registration module 430 may be configured to select feature points of the building outline data as reference points for registration, and match representative feature points of the building 3D point cloud data selected from the building 3D point cloud data based on the reference points.

[0061] According to an example embodiment of the present disclosure, the registration module 430 may be configured to first match representative feature points at a first distance from the reference point, and then match representative feature points at a second distance from the reference point, wherein the first distance may be smaller than the second distance.

[0062] According to an exemplary embodiment of the present disclosure, the system 400 may further include an optimization module (not shown), which may be configured to optimize the initial matching result of the point cloud registration algorithm based on a nonlinear minimization algorithm.

[0063] According to an example embodiment of the present disclosure, the lightweight processing module 440 may be configured to determine the position of an observation point using the building outline data, and project multiple rays starting from the observation point onto the building surface to determine a point cloud data screening interval.

[0064] According to an example embodiment of the present disclosure, the lightweight processing module 440 may be configured to process the three-dimensional point cloud data of the building within the point cloud data screening interval using a point cloud filtering algorithm.

[0065] According to an example embodiment of the present disclosure, the outer contour data extraction module 410 may be configured to input the two-dimensional image into an image semantic segmentation model to obtain outer contour features of the building in the two-dimensional image, wherein the encoder of the image semantic segmentation model may have at least four n×n convolutional layers, and an adaptive activation function may be used in each of the at least four convolutional layers, wherein n>1.

[0066] According to an example embodiment of the present disclosure, the encoder of the image semantic segmentation model may include at least two encoders, and the outer contour data extraction module 410 may be configured to input the two-dimensional image into the at least two encoders of the image semantic segmentation model, respectively, obtain at least two valid feature layers, and input the at least two valid feature layers into the decoder of the image semantic segmentation model.

[0067] According to an example embodiment of the present disclosure, the convolution layers of the at least two encoders may be different, and the convolution rates of at least four convolution layers of each of the at least two encoders may be different.

[0068] Various modules according to example embodiments of the present disclosure may be integrated into a single module that performs its functions, or at least one of the various modules may be divided into a plurality of smaller modules.

[0069] Figure 5 is a schematic block diagram illustrating an electronic device 500 according to an example embodiment of the present disclosure.

[0070] According to an exemplary embodiment of the present disclosure, an electronic device 500 may also be provided, and the electronic device 500 may include a processor 510 and a memory 520 storing computer executable instructions. When the computer executable instructions are executed by the processor 510, the processor 510 is prompted to perform the above-mentioned lightweight processing of the three-dimensional point cloud data of the building according to the exemplary embodiment of the present disclosure.

[0071] According to the embodiments of the present disclosure, by adding annotations to the building outline data and the building three-dimensional point cloud data respectively, using a point cloud registration algorithm to match the annotated building outline data and the building three-dimensional point cloud data, through the matching of the building outline data and the building three-dimensional point cloud data, determining the point cloud data screening interval based on the building outline data, and performing lightweight processing on the building three-dimensional point cloud data based on the point cloud data screening interval, not only can the data storage cost be reduced and the data transmission speed be accelerated, but also the data quality loss can be reduced and the data visualization effect can be improved.

[0072] According to an embodiment of the present disclosure, a computer-readable storage medium storing instructions may also be provided, wherein when the instructions are executed by at least one processor, the at least one processor is prompted to perform a method according to an exemplary embodiment of the present disclosure. Examples of computer-readable storage media here include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, multimedia card, secure digital (SD) card or extreme digital (XD) card), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk and any other device, any other device is configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and provide the computer programs and any associated data, data files and data structures to a processor or computer so that the processor or computer can execute the computer program. The computer program in the above-mentioned computer-readable storage medium can be run in an environment deployed in a computer device such as a client, a host, an agent device, a server, etc. In addition, in one example, the computer program and any associated data, data files and data structures are distributed on a networked computer system, so that the computer program and any associated data, data files and data structures are stored, accessed and executed in a distributed manner by one or more processors or computers.

[0073] According to an embodiment of the present disclosure, a computer program product may also be provided. Instructions in the computer program product may be executed by at least one processor in an electronic device to perform the method according to the exemplary embodiment of the present disclosure.

[0074] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0075] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the claims.

Claims

1. A method for lightweight processing of three-dimensional point cloud data of a building, comprising: Extracting building outline data from a two-dimensional image of the building; adding annotations to the building outline data and the building three-dimensional point cloud data respectively; Use a point cloud registration algorithm to match the labeled building outline data with the building three-dimensional point cloud data; By matching the building outer contour data with the building three-dimensional point cloud data, determining a point cloud data screening interval based on the building outer contour data; and The three-dimensional point cloud data of the building is lightweight processed based on the point cloud data screening interval.

2. The method of claim 1, wherein: The method of using a point cloud registration algorithm to match the labeled building outline data with the building three-dimensional point cloud data includes: Selecting feature points of the building outline data as reference points for registration; Based on the reference points, representative feature points of the building three-dimensional point cloud data selected from the building three-dimensional point cloud data are matched.

3. The method of claim 2, wherein: The matching of representative feature points of the three-dimensional point cloud data of the building selected from the three-dimensional point cloud data of the building comprises: First, matching is performed on representative feature points that are at a first distance from the reference point. Then matching the representative feature points at a second distance from the reference point, The first distance is smaller than the second distance.

4. The method of claim 3, further comprising: The initial matching result of the point cloud registration algorithm is optimized based on a nonlinear minimization algorithm.

5. The method of claim 1, wherein: The step of matching the building outer contour data with the building three-dimensional point cloud data and determining the point cloud data screening interval based on the building outer contour data comprises: Determine the position of the observation point using the building outline data; A plurality of rays starting from the observation point are projected onto the building surface to determine a point cloud data screening interval.

6. The method of claim 1, wherein: The light-weight processing of the three-dimensional point cloud data of the building based on the point cloud data screening interval includes: A point cloud filtering algorithm is used to process the three-dimensional point cloud data of the building within the point cloud data screening interval.

7. The method of claim 1, wherein: The step of extracting building outline data from a two-dimensional image of a building comprises: Input the two-dimensional image into an image semantic segmentation model to obtain the outer contour features of the building in the two-dimensional image, The encoder of the image semantic segmentation model has at least four n×n convolutional layers, and an adaptive activation function is used in each of the at least four convolutional layers, where n>1.

8. The method of claim 7, wherein: The encoder of the image semantic segmentation model includes at least two encoders, and The step of inputting the two-dimensional image into an image semantic segmentation model comprises: The two-dimensional image is respectively input into the at least two encoders of the image semantic segmentation model to obtain at least two effective feature layers respectively, and the at least two effective feature layers are input into the decoder of the image semantic segmentation model.

9. The method of claim 8, wherein: The convolution layers of the at least two encoders are different, and the convolution rates of at least four convolution layers of each of the at least two encoders are different.

10. A system for lightweight processing of three-dimensional point cloud data of buildings, including: An outer contour data extraction module is configured to extract building outer contour data from a two-dimensional image of the building; A labeling module, configured to add labels to the building outline data and the building three-dimensional point cloud data respectively; A registration module is configured to match the labeled building outline data with the building three-dimensional point cloud data using a point cloud registration algorithm; as well as The lightweight processing module is configured to determine a point cloud data screening interval based on the building outer contour data by matching the building outer contour data with the building three-dimensional point cloud data, and perform lightweight processing on the building three-dimensional point cloud data based on the point cloud data screening interval.

11. Electronic equipment, including: at least one processor; at least one memory storing computer executable instructions, Wherein, when the computer executable instructions are executed by at least one of the processors, the at least one processor is prompted to perform the method as claimed in any one of claims 1 to 9.

12. A computer-readable storage medium storing instructions, characterized in that: When the instructions are executed by at least one processor, the at least one processor is prompted to perform the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Building contour precise extraction method based on point cloud and UAV image secondary registration

    CN107564046A

  • Building singulation information extraction method, computer device and storage medium

    CN114612488A

  • Automated roof surface measurement from combined aerial lidar data and imagery

    US20190279420A1

  • Systems and methods for map generation based on ray-casting and semantic class images

    US20220122324A1

  • KR20220049983A

Cited By

  • Digital building engineering simulation system based on point cloud data

    CN119006551A