Building recognition determination method and system based on three-dimensional point cloud

By combining spatial registration and graph attention clustering updates with Bayesian fusion and cluster-level composite syntax tree matching, the problems of redundant computation and difficulty in detecting minute changes in multi-temporal 3D point cloud data processing are solved, achieving efficient identification and accurate differentiation of building types.

CN123182011APending Publication Date: 2026-11-27HENAN YIFANG XINGSHU TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611171708.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-04
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing methods cannot effectively handle multi-temporal 3D point cloud data in urban building management and renovation monitoring, resulting in redundant calculations in unchanged areas and difficulty in detecting minute local changes. Furthermore, they cannot distinguish between buildings with similar size and form but different functions through community context.

Method used

By spatially registering and marking changes in building instances, incremental patch segmentation and graph attention clustering updates are performed to extract community spatial relationship features, generate cluster-level composite syntax trees, and calculate building type labels through Bayesian fusion. Combined with individual syntax tree template matching and cluster-level composite syntax tree isomorphic matching, building type identification is achieved.

Benefits of technology

It effectively reduces the computational overhead of multi-temporal processing, can identify local minor structural changes, and distinguishes buildings with different functions through community spatial context, thereby improving the accuracy of building type identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182011A_ABST
    Figure CN123182011A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of three-dimensional point cloud processing, and discloses a building identification and determination method and system based on a three-dimensional point cloud, wherein the method comprises the following steps: performing spatial registration on multi-phase point clouds and generating a building-level change state marking set; performing incremental face segmentation on a changed building instance and updating a component primitive set; performing graph attention clustering update on a local subgraph of a changed area; extracting colony space relationship features between buildings; performing community detection update on a local subgraph related to a changed building; generating a group-level composite syntax tree and performing subgraph isomorphism matching; and outputting final type labels of each building based on Bayesian fusion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of three-dimensional point cloud processing technology, and specifically to a method and system for building recognition and determination based on three-dimensional point clouds. Background Technology

[0002] In urban building management and renovation monitoring, it is necessary to identify building types from 3D point clouds collected at different times in the same area to monitor additions, renovations, or changes in use of buildings. Existing methods independently perform planar detection, component primitive fitting, and syntax tree template matching on the 3D point clouds of buildings for each time phase, identifying the functional type of each building on a building-by-building basis.

[0003] The existing methods described above have the following shortcomings: When some buildings in a cluster undergo local structural changes due to additions, enclosed balconies, or facade modifications, the changes only affect a small number of component elements of individual buildings, resulting in minimal changes to the overall geometric shape. Performing full point cloud segmentation and recognition independently for each time phase leads to redundant computation in unchanged areas, and minor local changes are overwhelmed by global features, making it difficult to effectively detect type changes. Furthermore, independent recognition of individual buildings ignores spatial layout constraints between buildings, making it impossible to distinguish buildings with similar size and form but different functions based on the cluster context. Summary of the Invention

[0004] This invention provides a method and system for building identification and determination based on three-dimensional point clouds, which solves the technical problems in related technologies such as the inability to perform incremental processing on multi-temporal point cloud data and the difficulty in integrating individual semantics and community spatial relationships to achieve building type identification.

[0005] This invention discloses a building identification and determination method based on three-dimensional point clouds, including: performing spatial registration between the current time phase point cloud and the historical time phase patch set, and marking the building as a changing building instance or a stable building instance based on the surface element distance residual;

[0006] Perform incremental patch segmentation on changing building instances and update the component primitive set and the single-unit syntax tree; inherit the historical segmentation results for stable building instances.

[0007] Perform graph attention clustering update on the local subgraph of the neighborhood of the changed region, and output the global semantic component clustering result;

[0008] Extract the spatial relationship features between buildings, perform community detection and update on the local subgraph involving changing building instances, and generate cluster division results;

[0009] Generate a cluster-level composite syntax tree for the affected clusters and perform subgraph isomorphic matching with the settlement type layout rule base;

[0010] Calculate the component-level feature difference vector of the changed building instance, and use the difference vector as a prior adjustment factor to perform Bayesian fusion with the role expectation type label of the subgraph isomorphic matching and the template matching score of the single-unit syntax tree to output the final type label of each building.

[0011] Furthermore, the step of marking a building as a changing building instance or a stable building instance based on the surface element distance residual includes: aligning the coordinate systems of two time phases based on the iterative nearest point algorithm, and calculating the point-to-point distance residual between each surface element of each building in the current time phase and the historical time phase;

[0012] A building is marked as a stable building instance when the distance residuals of all its facets are below the change threshold; a building is marked as a changing building instance when the distance residuals of at least one set of consecutive facets exceed the change threshold.

[0013] Furthermore, the incremental patch segmentation of the changing building instance also includes: before performing normal vector estimation, performing statistical outlier filtering on the point cloud of the changing building instance, using the neighborhood mean distance of each point as a reference, marking points that deviate from the mean distance by more than a preset standard deviation multiple as noise points and removing them;

[0014] The geometric constraint rules determine the component type of a surface based on the angle between the main normal direction of the surface and the horizontal plane, its area range, and its relative positional relationship.

[0015] Furthermore, the graph attention clustering update of the local subgraph of the neighborhood of the changed region includes: taking the newly added topological node of the changed building instance as the center, expanding the neighborhood range outward by a preset number of hops to determine the local subgraph;

[0016] Calculate the edge attributes between nodes in the local subgraph. The edge attributes include the Euclidean distance between nodes, the included angle between the normals of the corresponding patches, and the area ratio.

[0017] After performing Z-score normalization on each edge attribute component, the input graph attention network is used; the updated clustering labels of nodes within the local subgraph are merged with the historical clustering labels retained outside the local subgraph to generate the global semantic component clustering result.

[0018] Furthermore, the graph attention network comprises several graph attention layers. In each graph attention layer, the hidden state vectors of the target node and its neighboring nodes are concatenated and then subjected to linear transformation and a linear rectified activation function with a negative slope to obtain scalar attention coefficients. The attention coefficients of all neighboring nodes of the target node are normalized by softmax to obtain normalized attention weights. The updated hidden state of the target node is obtained by weighted summation of the hidden states of all its neighboring nodes according to the normalized attention weights and then subjected to an activation function.

[0019] The output layer maps the hidden state of each node to the probability distribution of cluster labels.

[0020] Furthermore, the spatial relationship features of the community include the distance between adjacent buildings, the angle between the main facades of buildings, the ratio of building volumes, and the arrangement sequence relationship; the generated spatial relationship feature matrix between buildings is a symmetric matrix, and Z-score normalization is performed on the distance between adjacent buildings and the angle between the main facades of buildings, and sequence number encoding is performed on the arrangement sequence relationship.

[0021] The spatial relationships between stable building instances are directly inherited from historical calculations, while only the rows and columns of building instances involving changes are recalculated.

[0022] Furthermore, the community detection update includes: taking the changed building instance as the starting node, obtaining all member nodes of its original functional group and the boundary nodes of adjacent groups to form a local range for community detection;

[0023] Modularity-optimized clustering is performed on the node and edge attributes within a local area; when the spatial relationship characteristics of the changed building instance deviate from those of other buildings in the original cluster beyond the cluster cohesion threshold, the changed building instance is assigned to an adjacent cluster with a higher matching degree or forms a new cluster on its own.

[0024] After the update, spatial connectivity is checked for each cluster. If the buildings in a cluster are not spatially connected, the cluster is then divided into sub-clusters.

[0025] Furthermore, the subgraph isomorphic matching includes: attaching the individual syntax trees of each building in the affected cluster as leaf nodes to the cluster root node to generate a cluster-level composite syntax tree, and the connection edge attributes include building spacing, orientation angle, volume ratio and arrangement sequence position.

[0026] A constrained subgraph isomorphic search algorithm is used to compare the cluster-level composite syntax tree with each standard composite syntax tree template in the settlement type layout rule base, while verifying the consistency of the topology and whether the attribute values ​​of each edge fall within the constraint range defined by the standard composite syntax tree template.

[0027] When the matching scores of multiple standard compound syntax tree templates all exceed the preset matching threshold, the standard compound syntax tree template with the highest score is retained as the optimal matching result.

[0028] Furthermore, the Bayesian fusion includes: performing Z-score standardization on each feature component, and then generating a difference vector by subtracting the component-level feature sets of the current time phase from those of the historical time phases;

[0029] The cosine similarity between the difference vector and the reference evolution direction vector corresponding to each candidate type is calculated to obtain the direction matching degree. When the norm of the difference vector is lower than the preset amplitude threshold, the prior probability is uniformly distributed to all candidate types. When the norm of the difference vector exceeds the preset amplitude threshold, the prior probability is assigned after softmax normalization according to the direction matching degree.

[0030] The posterior probability is obtained by multiplying the likelihood term, the community constraint term, and the prior adjustment factor. The candidate type label with the highest posterior probability is taken as the final type label.

[0031] When the difference between the highest and second-highest scores in the likelihood term is lower than the preset discrimination threshold, the confidence weight of the likelihood term is reduced and the weight of the community constraint term is increased.

[0032] This invention provides a building identification and determination system based on three-dimensional point clouds, including: a spatial registration and change marking module, used to perform spatial registration on the current temporal point cloud and the historical temporal patch set, and mark the building as a changing building instance or a stable building instance based on the surface element distance residual;

[0033] The incremental patch segmentation module is used to perform incremental patch segmentation on changing building instances and update the component primitive set and single-unit syntax tree, while inheriting the historical segmentation results for stable building instances; the graph attention clustering update module is used to perform graph attention clustering update on the local subgraph of the neighborhood of the changing region and output the global semantic component clustering results.

[0034] The community relationship extraction and community detection module is used to extract the community spatial relationship features between buildings, and to perform community detection and update the local subgraph involving changing building instances to generate cluster division results;

[0035] The subgraph isomorphic matching module is used to generate a cluster-level composite syntax tree for the affected clusters and perform subgraph isomorphic matching with the settlement type layout rule base.

[0036] The Bayesian fusion output module is used to calculate the component-level feature difference vector of the variable building instance. The difference vector is used as a prior adjustment factor to perform Bayesian fusion with the role expectation type label of the subgraph isomorphic matching and the single-unit syntax tree template matching score, and outputs the final type label of each building.

[0037] This invention limits the point cloud processing scope to actual structurally changed building instances by using building-level change state markers. For stable building instances, it directly inherits historical segmentation results and individual syntax trees, thus avoiding redundant patch segmentation and feature extraction calculations for unchanged buildings. Graph attention clustering updates and local community detection updates of local subgraphs limit the computational scope to the neighborhood of the changed region, reducing the computational overhead of multi-temporal processing while maintaining global consistency. Subgraph isomorphic matching between cluster-level composite syntax trees and the settlement type layout rule base introduces community spatial context information into individual building type determination, enabling buildings with similar size and form but different functions to be distinguished by their role and position within the cluster, overcoming the deficiency of ignoring spatial layout constraints in independent single-building identification. (Difference vector) As a prior adjustment factor for Bayesian fusion, it endows local micro-structural changes with directional characterization, enabling local micro-structural changes to obtain effective weight allocation in type probability calculation, thereby overcoming the problem that micro-changes are submerged by global features in independent identification and are difficult to detect type changes. Attached Figure Description

[0038] Figure 1 This is a flowchart of a building recognition and determination method based on three-dimensional point clouds provided in an embodiment of the present invention;

[0039] Figure 2 This is a schematic diagram of the distance residuals and changes of each building surface element provided in the embodiments of the present invention;

[0040] Figure 3 This is a schematic diagram comparing the number of each building surface element with the number of consecutive surface element groups exceeding the threshold provided in the embodiments of the present invention;

[0041] Figure 4 This is a schematic diagram of the included angle of the main normal and the area distribution of the newly added facade of the building according to an embodiment of the present invention;

[0042] Figure 5 This is a schematic diagram of the attention weight distribution of local subgraph nodes provided in an embodiment of the present invention;

[0043] Figure 6 This is a schematic diagram showing the average deviation between the spatial layout of each building and the original cluster provided in the embodiments of the present invention;

[0044] Figure 7 This is a schematic diagram of the isomorphic matching degree score of the subgraph of the group-level compound syntax tree provided in the embodiment of the present invention;

[0045] Figure 8 This is a schematic diagram of the magnitude and cosine similarity of the evolution difference vectors of B03 and B05 provided in an embodiment of the present invention;

[0046] Figure 9This is a schematic diagram of the posterior probability of identifying various building types after Bayesian fusion, provided in an embodiment of the present invention. Detailed Implementation

[0047] Example 1

[0048] In urban building management and renovation monitoring, it is necessary to identify building types from 3D point clouds collected at different times in the same area to monitor additions, renovations, or changes in use. Existing methods independently perform planar detection, component primitive fitting, and syntax tree template matching on the 3D point clouds of buildings for each time phase, identifying the functional type of each building individually. When some buildings in a cluster undergo local structural changes due to additions, enclosed balconies, or facade modifications, the changes only affect a small number of component primitives in individual buildings, resulting in minimal changes to the overall geometric shape. Performing full point cloud segmentation and identification independently for each time phase leads to redundant calculations in unchanged areas, and minor local changes are overwhelmed by global features, making it difficult to effectively detect type changes. Furthermore, independent identification of individual buildings ignores spatial layout constraints between buildings, making it impossible to distinguish buildings with similar size and form but different functions through the context of the cluster.

[0049] The execution environment of this embodiment is a computing device with 3D point cloud processing capabilities. The input data includes the 3D point cloud of the region acquired in the current time phase and the set of building facets that have been segmented in the historical time phase, as well as their associated component type labels and individual syntax trees.

[0050] A building recognition and determination method based on three-dimensional point clouds according to an embodiment of the present invention, such as... Figure 1 As shown, it includes the following steps:

[0051] Step 1: Perform spatial registration on the multi-temporal point cloud and generate a set of building-level change state markers;

[0052] Spatial registration is performed on the 3D point cloud of the region acquired in the current time phase and the set of segmented building faces from the historical time phases. The coordinate systems of the two time phases are aligned using the Iterative Closest Point (ILP) algorithm. The ILP algorithm takes the coordinate data of the current time phase point cloud and the set of facets from the historical time phases as input and outputs the registered point cloud in a unified coordinate system. After registration, the point-to-point distance residuals of each facet element of each building between the current and historical time phases are calculated. Buildings with distance residuals exceeding a change threshold are marked as changed building instances, and the rest are marked as stable building instances, generating a set of building-level change state markers.

[0053] It should be noted that the aforementioned change thresholds are preset distance values ​​used to distinguish between minor deviations caused by acquisition noise and actual structural changes. When the distance residuals of all surface elements of a building are lower than the change threshold, the building is considered to have undergone no structural changes between two time phases; when the distance residuals of at least one set of continuous surface elements exceed the change threshold, the building is considered to have undergone local or overall structural changes.

[0054] Step 2: Perform incremental patch segmentation on the changed building instance and update the component primitive set;

[0055] Normal vector estimation and curvature segmentation are performed on the point cloud of the changed building instance to generate a new set of faces. The centroid coordinates, principal normal direction, area, and elevation distribution attributes of each new face are calculated. Based on geometric constraint rules, the new faces are assigned to existing component primitives, and the component primitive set and individual unit syntax tree of the changed building instance are updated. For stable building instances, the face segmentation results, component type label sequences, and individual unit syntax trees already completed in the historical phase are directly inherited, without performing redundant segmentation calculations.

[0056] It should be noted that the aforementioned geometric constraint rules refer to a set of rules for determining the component type of a surface based on its normal direction, area ratio, and relative position. For example, when the angle between the main normal direction of a newly added surface and the horizontal plane is less than a preset angle and its area is within a specified range, the newly added surface is classified as a balcony enclosure panel component; when the newly added surface is located in the roof area and extends upwards, the newly added surface is classified as an addition layer component.

[0057] In this embodiment, to avoid the impact of noise points on the segmentation accuracy of the facets during normal vector estimation, statistical outlier filtering is performed on the point cloud of the variable building instance before performing normal vector estimation. Using the neighborhood mean distance of each point as a reference, points that deviate from the mean distance by more than a preset standard deviation multiple are marked as noise points and removed, obtaining the filtered point cloud data. Then, normal vector estimation and curvature segmentation are performed on the filtered point cloud data.

[0058] Step 3: Perform graph attention clustering update on the local subgraphs of the changed region;

[0059] Merge newly added topological nodes of the changed building instance with inherited stable topological nodes. Recalculate edge connections and edge attributes between the newly added topological nodes and surrounding nodes based on spatial adjacency. Perform graph attention clustering update on the local subgraph involving only the neighborhood of the changed region, retaining historical cluster labels far from the changed region, and output the updated global semantic component clustering results.

[0060] Step 3 may specifically include:

[0061] Step 301: Determine the local subgraph range. Taking the newly added topological node of the changed building instance as the center, expand the neighborhood range outward by a preset number of hops, and include all nodes and their edge connections within this range into the local subgraph.

[0062] Step 302: Calculate the edge attributes of the local subgraph. For the edges between newly added topological nodes and surrounding nodes, calculate the edge attributes, including the Euclidean distance between nodes, the included angle of the normal to the corresponding facet, and the area ratio. Note that the Euclidean distance and area ratio have different dimensions. Before inputting the graph attention network, Z-score normalization is performed on each edge attribute component to eliminate the impact of the dimension difference on the aggregation operation.

[0063] Step 303: Perform graph attention clustering update. Input the local subgraph into the graph attention network. The graph attention network contains several graph attention layers. The input layer receives the attribute vectors and edge attributes of each node in the local subgraph. Each graph attention layer calculates the aggregation degree of each node with its neighboring node information through attention weights, enabling nodes in changing regions to perceive the semantic information of surrounding stable nodes. The output layer is a linear mapping layer that maps the hidden state of each node to the probability distribution of cluster labels, outputting the updated cluster labels of each node. The graph attention network uses the cross-entropy loss function as its objective and employs the Adam optimization algorithm for supervised training on labeled building node samples.

[0064] It should be noted that the attention weights in the above graph attention layer are calculated as follows: Let the node... Its neighboring nodes The concatenated feature vectors are linearly transformed to obtain scalar attention coefficients. ,

[0065]

[0066] in, For nodes The current hidden state vector, For nodes The current hidden state vector, The index of the target node. For the index of the neighboring nodes, The weight matrix is ​​a learnable linear transformation. This is a learnable attention weight vector. Indicates transpose. This represents a vector concatenation operation. LeakyReLU is a linear rectified activation function with a negative slope. For nodes With nodes The scalar attention coefficients between nodes. The attention coefficients of all neighboring nodes are normalized using softmax to obtain the normalized attention weights. ,in For nodes For nodes Normalized attention weights. Nodes The hidden state of a node is updated by the hidden states of all its neighboring nodes. The weighted sum is then activated by an activation function.

[0067] Step 304: Merge clustering results. Replace the historical labels at the corresponding positions with the updated clustering labels of nodes within the local subgraph, and merge them with the historical clustering labels retained outside the local subgraph to generate the updated global semantic component clustering results.

[0068] It should be noted that the graph attention clustering update described above only performs forward reasoning within the local subgraph and does not recalculate the global graph structure. The range of hop counts in the local subgraph determines the spatial breadth of the update propagation; a larger hop count involves more nodes in the update, but the computational cost increases accordingly.

[0069] Step 4: Extract the spatial relationship features between buildings;

[0070] Based on the updated modified building unit syntax tree and the inherited stable building unit syntax tree, the spatial relationship features between buildings are extracted. These features include the distance between adjacent buildings, the angle between the main facades, the building volume ratio, and the arrangement sequence. A locally updated inter-building spatial relationship feature matrix is ​​then generated.

[0071] In this dataset, the unit for the distance between adjacent buildings is distance, the unit for the angle between the main facades of buildings is angle, the building volume ratio is dimensionless, and the arrangement sequence relationship is categorical data. Before generating the feature matrix of spatial relationships between buildings, Z-score standardization is performed on the distance between adjacent buildings and the angle between the main facades of buildings, and ordinal encoding is performed on the arrangement sequence relationship to eliminate the influence of dimensional differences and non-numerical data on subsequent calculations.

[0072] It should be noted that the spatial relationship feature matrix between buildings mentioned above is a symmetric matrix, and each element in the spatial relationship feature matrix corresponds to a pair of multidimensional spatial relationship vectors between buildings. For the spatial relationships between stable building instances, the historical calculation results are directly inherited, and only the rows and columns of building instances involving changes are recalculated.

[0073] Step 5: Perform community detection updates on the local submaps involving changed buildings;

[0074] The locally updated spatial relationship feature matrix between buildings is embedded into the global community spatial layout map. The global community spatial layout map uses buildings as nodes and spatial relationships as edge attributes. Community detection updates are performed only on local subgraphs involving changed building instances to determine whether the changed building instances still belong to the original functional cluster or need to be assigned to a new cluster, generating updated cluster division results.

[0075] Step 5 may specifically include:

[0076] Step 501: Determine the affected community detection range. Starting with the changed building instance, obtain all member nodes of the original functional group where the changed building instance is located, as well as the boundary nodes of adjacent groups that are connected to the original functional group, to form the local detection range of the community.

[0077] Step 502: Perform local community detection. Modularity-optimized clustering is performed on the nodes and their edge attributes within the local community detection area. The input to modularity-optimized clustering is the set of nodes and edge attributes within the local area, and the output is the cluster affiliation label for each node. When the spatial relationship characteristics of a changed building instance deviate from those of other buildings within the original cluster beyond the cluster cohesion threshold, the changed building instance is either assigned to an adjacent cluster with a higher matching degree or forms a new cluster independently.

[0078] It should be noted that the aforementioned cluster cohesion threshold is a preset value used to measure the degree of deviation between the changed building instance and the overall spatial relationship characteristics of the original cluster. When the average deviation between the spatial relationship feature vector of the changed building instance and the spatial relationship feature vector of other members in the original cluster exceeds the cluster cohesion threshold, it is determined that the spatial layout consistency between the changed building instance and the original cluster is insufficient, triggering a re-division of the cluster.

[0079] Step 503: Merge the cluster division results. Replace the historical labels with the updated cluster labels of nodes within the local area to maintain consistency with the cluster division of areas not involved, and generate the updated global cluster division results.

[0080] In this embodiment of the application, to avoid topological inconsistencies between the community detection update results and the global cluster division, a consistency check is performed after step 503. The check verifies the spatial connectivity of each cluster after the update. If a building within a cluster is spatially divided into two disconnected subsets, the cluster is then re-divided to ensure that the buildings within each cluster remain spatially connected.

[0081] Step 6: Generate a group-level compound syntax tree and perform subgraph isomorphic matching;

[0082] Within the affected clusters, the individual syntax trees of each building within the cluster are used as leaf nodes, and the spatial relationships between buildings are used as connection edge attributes to generate a cluster-level composite syntax tree. The cluster-level composite syntax tree is then subjected to subgraph isomorphic matching with the settlement type layout rule base to calculate the matching score and the expected type label corresponding to the role position of each building.

[0083] Step 6 may specifically include:

[0084] Step 601: Generate a cluster-level composite syntax tree. The individual syntax trees of each building within the affected cluster are attached as leaf nodes to the cluster root node. The connection edge attributes include building spacing, orientation angle, volume ratio, and arrangement sequence position.

[0085] Step 602: Load the settlement type layout rule library. The settlement type layout rule library stores standard compound syntax tree templates for various known settlement functional layout patterns. Each standard compound syntax tree template defines the topological structure and spatial relationship constraints of each role position within the cluster.

[0086] Step 603: Perform subgraph isomorphic matching. Compare the cluster-level composite syntax tree with each standard composite syntax tree template in the settlement type layout rule base using subgraph isomorphic matching. Calculate topological consistency and edge attribute deviation, and output the standard composite syntax tree template with the highest matching score and the expected type labels for each corresponding building role position. Subgraph isomorphic matching employs a constrained subgraph isomorphic search algorithm. The input is the cluster-level composite syntax tree and the standard composite syntax tree templates in the settlement type layout rule base; the output is the matching score and role mapping relationship. During the matching process, not only is the topological isomorphism compared, but also whether the edge attribute values ​​fall within the constraint range defined by the standard composite syntax tree template. When the matching scores of multiple standard composite syntax tree templates all exceed the preset matching threshold, the standard composite syntax tree template with the highest score is retained as the optimal matching result.

[0087] Step 7: Output the final type labels for each building based on Bayesian fusion;

[0088] Calculate the difference vector between the current time phase and the historical time phase of the building instance component-level feature set. Use the difference vector as an evolution prior adjustment factor, and perform Bayesian fusion with the role expectation type label generated by the cluster layout matching and the matching score of the syntax tree template of each building. Output the final type label, functional role annotation and type change flag of each building.

[0089] Step 7 may specifically include:

[0090] Step 701: Calculate the evolution difference vector. For each instance of a changing building, the difference vector is generated by subtracting the component-level feature set of the current time phase from the component-level feature set of the historical time phases. ,in This characterizes the direction and magnitude of structural evolution of the changed building instance between two time phases. It should be noted that the dimensions of each feature component in the component-level feature set are different. Before performing the difference operation, Z-score standardization is performed on each feature component to eliminate the influence of dimensional differences on the calculation of the difference vector.

[0091] Step 702: Obtain multi-source type evidence for each building. The multi-source type evidence for each building includes three parts: individual syntax tree template matching scores as likelihood terms, role expectation type labels generated by cluster layout matching as community constraints, and difference vectors. After mapping, it is used as a priori adjustment factor. .

[0092] It should be noted that the prior adjustment factor The calculation method is as follows: Let the first in the candidate type label set be the th . Candidate types Corresponding to a predefined reference evolution direction vector ,in Indexes for candidate types, For the first One candidate type label, For the first The reference evolution direction vector corresponding to each candidate type is calculated. and The cosine similarity between them yields the directional alignment. ,in for With the Reference evolution direction vector The cosine similarity value between them. Simultaneously, with... of norm Characterizing the magnitude of evolution, among which Difference vector of Norm. When When the amplitude is below a preset threshold, the prior probability is evenly distributed across all candidate types, tending to maintain historical type labels; when When the amplitude exceeds a preset threshold, the prior probabilities of each candidate type are calculated according to... After softmax normalization, the assigned value gives higher prior probabilities to candidate types that are highly consistent with the direction of evolution.

[0093] Step 703, perform Bayesian fusion. Let... Candidate type labels, For multi-source evidence, the Bayesian posterior probability is calculated as follows:

[0094]

[0095] in, Candidate type labels, As evidence from multiple sources, Candidate type labels Given multi-source type evidence The posterior probability is given below. The likelihood term is composed of the matching scores of the single syntax tree template. The cluster constraint terms, which consist of the expected type tags of the roles generated for group layout matching, Difference vector The prior adjustment factor obtained after mapping. Taking the posterior probability. The largest candidate type label is used as the final type label for the building.

[0096] Step 704: Generate a type change flag. Compare the final type label of the current phase with the type labels of the historical phases. If they match, the type change flag is unchanged; if they do not match, the type change flag is changed, and the type label pair before and after the change is recorded.

[0097] In this embodiment of the application, in order to improve the robustness of Bayesian fusion, confidence weights are set for the likelihood term and the community constraint term in step 703. When the difference between the highest and second-highest scores of the single syntax tree template matching score is lower than a preset discrimination threshold, the confidence weight of the likelihood term is reduced and the weight of the community constraint term is increased, so that the fusion result relies more on the community layout information for type determination.

[0098] This implementation limits the point cloud processing scope to actual structurally changed building instances by using building-level change state markers. For stable building instances, it directly inherits historical segmentation results and individual syntax trees, avoiding redundant patch segmentation and feature extraction calculations for unchanged buildings. Graph attention clustering updates and local community detection updates of local subgraphs limit the computational scope to the neighborhood of the changed region, reducing the computational overhead of multi-temporal processing while maintaining global consistency. Subgraph isomorphic matching between the cluster-level composite syntax tree and the settlement type layout rule base introduces community spatial context information into individual type determination, enabling buildings with similar size and form but different functions to be distinguished by their role and position within the cluster. (Difference vector) As a prior adjustment factor for Bayesian fusion, it endows local micro-structural changes with directional characterization, enabling local micro-structural changes to obtain effective weight allocation in type probability calculation, thus overcoming the problem that micro-changes are submerged by global features in independent identification.

[0099] The following is an example of an application of the present invention, such as... Figure 2-9 As shown, the implementation process is as follows:

[0100] A city management department conducted multi-temporal point cloud data collection and type monitoring on a residential building complex in Zone C of the city. The complex comprises six buildings (numbered B01 to B06). Historical timeframes (Year A) have already been fully segmented and type identified. The latest round of regional 3D point cloud data collected in the current timeframe (Year B) shows signs of balcony enclosure renovation in building B03, and a suspected roof addition in building B05. The system performs incremental type identification on this complex to determine whether the functional types of B03 and B05 have changed.

[0101] Spatial registration was performed between the 3D point cloud of the region collected in year B and the set of 6 building facets segmented in year A. After aligning the two temporal coordinate systems using the iterative nearest-point algorithm, the mean point-to-point distance residual for each building facet was calculated for each building. The variation threshold was preset to 0.08 meters. Buildings B01, B02, B04, and B06, whose maximum facet distance residuals were all below this threshold, were marked as stable building instances; buildings B03 and B05, whose continuous facet distance residuals exceeded the threshold, were marked as changing building instances.

[0102] Table 1 Results of Building-Level Distance Residuals and Change Status Marking

[0103]

[0104] Statistical outlier filtering is performed on the point clouds of B03 and B05. Noisy points deviating from the mean distance by more than 2 standard deviations are removed, using the mean distance of each point as a reference. Then, normal vector estimation and curvature segmentation are performed to generate a new set of facets. B01, B02, B04, and B06 directly inherit the facet segmentation results and component type label sequence from year A, without performing duplicate segmentation.

[0105] For the three newly added facets in B03, the angle between the principal normal direction of each facet and the horizontal plane was calculated. Since the angles were all less than 12° and the area was between 4 and 18 square meters, they were classified as balcony enclosure slab components according to geometric constraint rules. For the five newly added facets in B05, two were located in the roof area with their normal vectors extending upwards, and were classified as addition floor components. The other one was an addition floor side facade component. The table shows three representative facets.

[0106] Table 2 Results of Attributes and Component Attribution of Newly Added Facades in the Changed Building

[0107]

[0108] Centered on the newly added topological nodes B03 and B05, a 2-hop neighborhood is expanded outward, incorporating all nodes and edge connections within this range into the local subgraph. The local subgraph encompasses B03, B05, and their adjacent nodes B02, B04, and B06, forming a total of 5 nodes.

[0109] For newly added topological nodes and their surrounding nodes, calculate three edge attributes: Euclidean distance, the angle between the normals of the corresponding patches, and the area ratio. Perform Z-score normalization on each component. Input the local subgraph into the graph attention network to calculate the attention weights of each node to its neighboring nodes. This enables the newly added nodes B03 and B05 to aggregate semantic information from surrounding stable nodes.

[0110] With node B03 (node) ) for node B02 (node Taking the calculation of attention weights as an example, the standardized concatenated feature vector is transformed linearly and activated by LeakyReLU to obtain scalar attention coefficients. Then, softmax normalization is performed on the attention coefficients of all neighboring nodes of B03 to obtain the normalized attention weights. This indicates that the semantic aggregation contribution of node B02 to node B03 is 0.38.

[0111] The graph attention network outputs the updated cluster labels for each node. B03 is updated to the semantic component label "enclosed balcony residential node", B05 is updated to "additional floor residential node", and the historical cluster labels of the remaining nodes remain unchanged.

[0112] Table 3 Results of Local Subgraph Node Clustering Label Update

[0113]

[0114] Based on the updated individual syntax trees of B03 and B05 and the historical individual syntax trees inherited by the other four buildings, spatial relationship features between buildings in the cluster are extracted. Spatial relationships between stable building instances are directly inherited from historical calculations; only row and column elements involving B03 and B05 are recalculated.

[0115] Z-score standardization is applied to the spacing between adjacent buildings and the angle between the main facades of buildings, and sequence coding is applied to the arrangement sequence relationship (north-south arrangement is coded as 1, east-west arrangement is coded as 2, and diagonal arrangement is coded as 3).

[0116] Table 4 shows the spatial relationship characteristics of the changed buildings (partial update column).

[0117]

[0118] Starting with nodes B03 and B05, all member nodes of their original functional cluster (residential cluster G1, including all 6 buildings from B01 to B06) are obtained to form a local detection range for the community. Modularity-optimized clustering is then performed on the nodes and edge attributes within this local range.

[0119] Calculate the average deviation of the spatial relationship feature vectors of B03 and B05 from other members in the original cluster G1. The average deviation of B03 is 0.14, which is below the cluster cohesion threshold of 0.25, thus remaining within cluster G1. The average deviation of B05 is 0.31, which exceeds the cluster cohesion threshold of 0.25, triggering a cluster re-division. Modularity-optimized clustering assigns B05 to a new cluster G2.

[0120] After performing the consistency check in step 503, both G1 cluster (B01 to B04, B06) and G2 cluster (B05) satisfy the spatial connectivity requirement, the check passes, and the updated global cluster partitioning result is generated.

[0121] Table 5 Comparison of Community Group Affiliation Before and After Community Monitoring Update

[0122]

[0123] Generate cluster-level composite syntax trees for the affected G1 and G2 clusters respectively. Cluster G1 contains five buildings (B01 to B04 and B06). Each building's individual syntax tree is used as a leaf node, with building spacing, orientation angle, volume ratio, and arrangement sequence position as connection edge attributes, all attached to the root node of cluster G1. Cluster G2 contains only one building, B05, and generates a single-node composite syntax tree.

[0124] The G1 cluster-level composite syntax tree was matched with the standard composite syntax tree template in the settlement type layout rule base using subgraph isomorphic matching. During the matching process, topological consistency and whether the attribute values ​​of each edge fell within the template constraints were simultaneously verified. The G1 cluster had the highest matching score of 0.87 with the "multi-story residential row-column layout" template, exceeding the preset matching threshold of 0.75. The expected type label for role B03 in this template is "enclosed balcony multi-story residential building". B05 of the G2 cluster had a matching score of 0.81 with the "detached extended residential building" template, and its expected type label is "extended residential building".

[0125] Table 6. Isomorphic matching results of subgraphs of compound syntax trees at the group level.

[0126]

[0127] Calculate the evolution difference vectors for B03 and B05 respectively. The difference vector of B03 is mainly reflected in the area feature component of the enclosed slab in the balcony area. The value is 1.34, exceeding the preset amplitude threshold of 0.50, triggering a priori directional adjustment. Calculation Reference evolution direction vector of "multi-story residential buildings with enclosed balconies" cosine similarity After softmax normalization, this candidate type obtains a higher prior probability. (B05) The value is 1.76, exceeding the amplitude threshold, and its cosine similarity to the evolution direction of the "added-story residential building" reference is... .

[0128] Perform Bayesian fusion, using the single-syntax tree template matching score as the likelihood term. Using the expected type label of the group layout role as the community constraint term The difference vector mapping result is used as the prior adjustment factor. Calculate the posterior probability .

[0129] The candidate type with the highest posterior probability for B03 is "multi-story residential building with enclosed balconies," with a posterior probability of 0.76; the candidate type with the highest posterior probability for B05 is "residential building with added floors," with a posterior probability of 0.81. Comparing the final type labels with the historical labels, the historical type labels for both B03 and B05 are "standard multi-story residential building," which is inconsistent with the current final type labels. The type change flag for both is set to "changed."

[0130] It should be noted that the difference between the highest and second-highest scores of the single-unit syntax tree template matching in B03 is 0.09, which is lower than the preset discrimination threshold of 0.15. Therefore, the confidence weight of the likelihood term is reduced and the weight of the community constraint term is increased, so that the fusion result depends more on the cluster layout information to determine the final type.

[0131] Table 7. Identification Results of Bayesian Fusion Types for Each Building

[0132]

[0133] In the entire processing flow, the data starts from the 3D point cloud of the B year region. Step 1 involves spatial registration and distance residual calculation, dividing the 6 buildings into 4 stable building instances and 2 changing building instances, forming a set of change state labels. Step 2 performs incremental patch segmentation only on B03 and B05, assigning the newly added patches to balcony enclosure slabs and added floor components, updating the individual syntax trees, while stable buildings directly inherit historical results. Step 3 performs graph attention clustering update based on 2-hop local subgraphs, updating the topological node semantic labels of B03 and B05, while absorbing the semantic constraints of surrounding stable nodes. Step 4 locally updates the spatial relationship feature matrix between buildings, recalculating only the row and column elements involving changing buildings. Step 5 optimizes clustering through modularity, finding insufficient consistency in the spatial layout of B05 with the original cluster, and assigns it to the new cluster G2, while B03 remains in cluster G1. Step 6 generates cluster-level composite syntax trees for G1 and G2 respectively, performing subgraph isomorphic matching with the rule base template, outputting the expected type labels for each building role. Step 7 converts the difference vectors... As a priori adjustment factor, it is fused with the likelihood term and community constraint term using Bayesian method. Finally, it is identified that type B03 has changed to "multi-story residential building with enclosed balcony" and type B05 has changed to "residential building with added floors". Type change flags are generated to complete this round of incremental type identification.

[0134] The embodiments of the present invention have been described above. However, the embodiments are not limited to the specific implementation methods described above. The specific implementation methods described above are merely illustrative and not restrictive. Those skilled in the art can make more equivalent embodiments under the guidance of the present embodiments, and all of them are within the protection scope of the present embodiments.

Claims

1. A method for building recognition and determination based on 3D point clouds, characterized in that, include: Spatial registration is performed on the current phase point cloud and the historical phase patch set, and the building is marked as a changing building instance or a stable building instance based on the surface cell distance residual; Perform incremental patch segmentation on changing building instances and update the component primitive set and the single-unit syntax tree; inherit the historical segmentation results for stable building instances. Perform graph attention clustering update on the local subgraph of the neighborhood of the changed region, and output the global semantic component clustering result; Extract the spatial relationship features between buildings, perform community detection and update on the local subgraph involving changing building instances, and generate cluster division results; Generate a cluster-level composite syntax tree for the affected clusters and perform subgraph isomorphic matching with the settlement type layout rule base; Calculate the component-level feature difference vector of the changed building instance, and use the difference vector as a prior adjustment factor to perform Bayesian fusion with the role expectation type label of the subgraph isomorphic matching and the template matching score of the single-unit syntax tree to output the final type label of each building.

2. The building recognition and determination method based on three-dimensional point clouds according to claim 1, characterized in that, The step of marking a building as a changing building instance or a stable building instance based on the surface element distance residual includes: aligning the coordinate systems of two time phases based on the iterative nearest point algorithm, and calculating the point-to-point distance residual between each surface element of each building in the current time phase and the historical time phase; A building is marked as a stable building instance when the distance residuals of all its facets are below the change threshold; a building is marked as a changing building instance when the distance residuals of at least one set of consecutive facets exceed the change threshold.

3. The building recognition and determination method based on three-dimensional point clouds according to claim 1, characterized in that, The incremental patch segmentation of the changed building instance further includes: before performing normal vector estimation, performing statistical outlier filtering on the point cloud of the changed building instance, using the neighborhood mean distance of each point as a reference, marking points that deviate from the mean distance by more than a preset standard deviation multiple as noise points and removing them; The geometric constraint rules determine the component type of a surface based on the angle between the main normal direction of the surface and the horizontal plane, its area range, and its relative positional relationship.

4. The building recognition and determination method based on three-dimensional point clouds according to claim 1, characterized in that, The graph attention clustering update of the local subgraph of the neighborhood of the changed region includes: taking the newly added topological node of the changed building instance as the center, expanding the neighborhood range outward by a preset number of hops to determine the local subgraph; Calculate the edge attributes between nodes in the local subgraph. The edge attributes include the Euclidean distance between nodes, the included angle between the normals of the corresponding patches, and the area ratio. After performing Z-score normalization on each edge attribute component, the input graph attention network is used; the updated clustering labels of nodes within the local subgraph are merged with the historical clustering labels retained outside the local subgraph to generate the global semantic component clustering result.

5. The building recognition and determination method based on three-dimensional point clouds according to claim 4, characterized in that, The graph attention network comprises several graph attention layers. In each graph attention layer, the hidden state vectors of the target node and its neighboring nodes are concatenated and then subjected to linear transformation and a linear rectified activation function with a negative slope to obtain scalar attention coefficients. The attention coefficients of all neighboring nodes of the target node are normalized by softmax to obtain normalized attention weights. The updated hidden state of the target node is obtained by weighted summation of the hidden states of all its neighboring nodes according to the normalized attention weights and then subjected to an activation function. The output layer maps the hidden state of each node to the probability distribution of cluster labels.

6. The building recognition and determination method based on three-dimensional point clouds according to claim 1, characterized in that, The spatial relationship features of the community include the distance between adjacent buildings, the angle between the main facades of buildings, the ratio of building volumes, and the arrangement sequence relationship; the generated spatial relationship feature matrix between buildings is a symmetric matrix, and Z-score normalization is performed on the distance between adjacent buildings and the angle between the main facades of buildings, and the sequence relationship is encoded by serial number. The spatial relationships between stable building instances are directly inherited from historical calculations, while only the rows and columns of building instances involving changes are recalculated.

7. The building recognition and determination method based on three-dimensional point clouds according to claim 1, characterized in that, The community detection update includes: taking the changed building instance as the starting node, obtaining all member nodes of its original functional group and the boundary nodes of adjacent groups to form a local range of community detection; Modularity-optimized clustering is performed on the node and edge attributes within a local area; when the spatial relationship characteristics of the changed building instance deviate from those of other buildings in the original cluster beyond the cluster cohesion threshold, the changed building instance is assigned to an adjacent cluster with a higher matching degree or forms a new cluster on its own. After the update, spatial connectivity is checked for each cluster. If the buildings in a cluster are not spatially connected, the cluster is then divided into sub-clusters.

8. The building recognition and determination method based on three-dimensional point clouds according to claim 1, characterized in that, The subgraph isomorphic matching includes: attaching the individual syntax trees of each building in the affected cluster as leaf nodes to the cluster root node to generate a cluster-level composite syntax tree, and the connection edge attributes include building spacing, orientation angle, volume ratio and arrangement sequence position. A constrained subgraph isomorphic search algorithm is used to compare the cluster-level composite syntax tree with each standard composite syntax tree template in the settlement type layout rule base, while verifying the consistency of the topology and whether the attribute values ​​of each edge fall within the constraint range defined by the standard composite syntax tree template. When the matching scores of multiple standard compound syntax tree templates all exceed the preset matching threshold, the standard compound syntax tree template with the highest score is retained as the optimal matching result.

9. The building recognition and determination method based on three-dimensional point clouds according to claim 1, characterized in that, The Bayesian fusion includes: performing Z-score standardization on each feature component, and generating a difference vector by subtracting the component-level feature sets of the current time phase from those of the historical time phase; The cosine similarity between the difference vector and the reference evolution direction vector corresponding to each candidate type is calculated to obtain the direction matching degree. When the norm of the difference vector is lower than the preset amplitude threshold, the prior probability is uniformly distributed to all candidate types. When the norm of the difference vector exceeds the preset amplitude threshold, the prior probability is assigned after softmax normalization according to the direction matching degree. The posterior probability is obtained by multiplying the likelihood term, the community constraint term, and the prior adjustment factor. The candidate type label with the highest posterior probability is taken as the final type label. When the difference between the highest and second-highest scores in the likelihood term is lower than the preset discrimination threshold, the confidence weight of the likelihood term is reduced and the weight of the community constraint term is increased.

10. A building recognition and determination system based on three-dimensional point clouds, used to execute the building recognition and determination method based on three-dimensional point clouds as described in any one of claims 1 to 9, characterized in that, Includes: Spatial registration and change marking module, used to perform spatial registration between the current time phase point cloud and the historical time phase patch set, and to mark the building as a changed building instance or a stable building instance based on the surface cell distance residual; The incremental patch segmentation module is used to perform incremental patch segmentation on changing building instances and update the component primitive set and single-unit syntax tree, while inheriting the historical segmentation results for stable building instances; the graph attention clustering update module is used to perform graph attention clustering update on the local subgraph of the neighborhood of the changing region and output the global semantic component clustering results. The community relationship extraction and community detection module is used to extract the community spatial relationship features between buildings, and to perform community detection and update the local subgraph involving changing building instances to generate cluster division results; The subgraph isomorphic matching module is used to generate a cluster-level composite syntax tree for the affected clusters and perform subgraph isomorphic matching with the settlement type layout rule base. The Bayesian fusion output module is used to calculate the component-level feature difference vector of the variable building instance. The difference vector is used as a prior adjustment factor to perform Bayesian fusion with the role expectation type label of the subgraph isomorphic matching and the single-unit syntax tree template matching score, and outputs the final type label of each building.