Intelligent segmentation and extraction method for indoor scene component of building
Through the intelligent segmentation and extraction method of building interior scene components, multi-scale feature fusion and multi-layer perceptron technology are used to solve the problem of insufficient details and accuracy in building information model reconstruction in traditional methods, and achieve accurate segmentation and identification of building interior scene components. , improving the diversity and semantic depth of the model.
Patent Information
- Application Number
- CN202410596419.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-09-03
AI Technical Summary
Traditional building information model reconstruction methods lack detail and accuracy, making it difficult to distinguish different components in a multi-object environment, limiting the diversity and semantic depth of the model, and the accuracy and robustness of the three-dimensional instance segmentation technology applied in architectural interior scenes. Hard to guarantee.
An intelligent segmentation and extraction method of building indoor scene components is adopted, including obtaining original point cloud data, preprocessing, initial feature extraction, multi-scale feature fusion, position embedding and multi-layer perceptron feature conversion, decoder optimization and fully connected network aggregation. Data is collected and processed by a 3D laser scanner to achieve precise segmentation of components.
It achieves precise segmentation of building indoor scene components, improves the details and accuracy of the model, and enhances the ability to identify and protect civil structures.
Smart Images

Figure CN118587432A
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of information technology and building safety management, and in particular to a method for intelligent segmentation and extraction of building indoor scene components. Background Art
[0002] Building Information Modeling (BIM) is becoming increasingly important in the field of civil engineering. It also plays a vital role in assessing the structural integrity of buildings, helping to preserve and renovate historic buildings, and quality inspections of residential houses. Accurately reverse modeling from point clouds to building information models (BIM) is a key link in these applications. But traditionally, the reconstruction of building information models relies on manual extraction or surface reconstruction techniques. However, these methods usually only simulate the overall surface and lack the fineness to effectively distinguish and separate individual objects or segments. This limitation usually leads to a lack of detail and accuracy in the model. In addition, in an environment containing multiple objects, traditional techniques have difficulty distinguishing them, greatly limiting the diversity and semantic depth of the model. Therefore, it is necessary to propose an algorithm for intelligent segmentation and extraction of building indoor scene components to achieve accurate segmentation of building indoor scenes.
[0003] In recent years, 3D instance segmentation has gradually become a key technology in point cloud-based data processing. By assigning a unique semantic label to each element in the point cloud and distinguishing different instances with a unique mask, instance segmentation can accurately represent the building environment. This accuracy is essential for providing intelligent systems with the basic information needed to accurately identify and operate different objects, thereby promoting more accurate and efficient planning, analysis, and protection of civil structures. However, these methods are rarely used in point cloud data of building indoor scenes, and their accuracy and robustness are difficult to guarantee. Therefore, in order to accurately extract components of building indoor scenes, an algorithm for intelligent segmentation and extraction of building indoor scene components is needed. A laser scanner is used to scan the building indoor scene, and it is efficiently processed by the algorithm to obtain component segmentation and extraction results. Summary of the invention
[0004] The purpose of the present invention is to provide a method for intelligent segmentation and extraction of building indoor scene components, comprising the following steps:
[0005] 1) Obtain the original point cloud data of the building interior scene;
[0006] 2) Preprocessing the original point cloud data of the building indoor scene;
[0007] 3) Perform initial feature extraction on the preprocessed raw point cloud data to generate features with different scales;
[0008] 4) Use multi-scale feature fusion technology to fuse features of different scales to obtain a high-dimensional fusion feature map;
[0009] 5) Use position embedding, modulation function and multi-layer perceptron to transform the high-dimensional fusion feature map to generate high-level feature representation for query;
[0010] 6) Obtain the query content matrix and perform a query to obtain the high-level feature representation corresponding to each query content;
[0011] 7) Utilizing the decoder to optimize the high-level feature representation corresponding to each query content, and generating multiple building component point cloud data;
[0012] 8) Convert and aggregate the building component point cloud data generated in step 7) to obtain the building indoor scene component point cloud data corresponding to the query content matrix.
[0013] Furthermore, tools for obtaining raw point cloud data of building interior scenes include 3D laser scanners.
[0014] Furthermore, the step of preprocessing the original point cloud data of the building indoor scene includes: normalizing the original point cloud data of the building indoor scene, data cleaning and data format conversion to standardize the space and color dimensions and remove outliers.
[0015] Furthermore, the normalized original point cloud data x′ is as follows:
[0016]
[0017] In the formula, x′ represents the normalized value, x represents the original point cloud data; max(x) and min(x) represent the maximum and minimum values in the original point cloud data.
[0018] Further, the steps of data cleaning include:
[0019] 1) Calculate the outlier judgment index Z, that is:
[0020]
[0021] Where X is the current original point cloud data, μ and σ are the mean and standard deviation of the original point cloud data set respectively;
[0022] 2) According to the outlier judgment index Z, whether the current original point cloud data X is an outlier is judged. If the absolute value of the outlier judgment index Z exceeds the preset threshold, the current original point cloud data X is regarded as an outlier and removed.
[0023] Furthermore, the steps of performing initial feature extraction on the preprocessed raw point cloud data include:
[0024] 1) Use convolutional layers and pooling layers to encode the input data and generate an initial feature map;
[0025] 2) Use upsampling and convolutional layers to refine the initial feature map.
[0026] Furthermore, the high-dimensional fusion feature map is as follows:
[0027]
[0028] In the formula, F fused It is a high-dimensional fusion feature map; Represents the feature map of the nth scale; ReLU is the activation function; Conv represents the convolution operation.
[0029] Furthermore, the steps of performing feature conversion on the high-dimensional fusion feature map by using position embedding, modulation function and multi-layer perceptron include:
[0030] 1) Use position encoding to enhance the spatial information of the feature map and obtain:
[0031]
[0032] In the formula, PE(p i ) represents point p i Position code, pos(p i ) represents the position, ω and φ are used as parameters for modulation coding frequency and phase; i represents the serial number of the point;
[0033] 2) Use the modulation function M to integrate the position encoding with the high-dimensional fusion feature map to obtain the modulated feature representation F modulated ,Right now:
[0034] F modulated =M(F multi-scale ,PE)=F multi-scale ⊙PE (5)
[0035] Where ⊙ represents element-wise multiplication; F multi-scale Represents a high-dimensional fusion feature map; PE represents position encoding;
[0036] 3) Use a multi-layer perceptron to transform and refine the modulated feature representation to generate a high-level feature representation for query.
[0037] Further, when the decoder is used to optimize the high-level feature representation corresponding to each query content, multiple decoders are used for optimization;
[0038] Each decoder includes cross-attention and self-attention mechanisms;
[0039] The output Q of the cross attention mechanism ca As shown below:
[0040]
[0041] Where, d k is the scaling factor; Q is the query matrix, K and V are the key and value matrices, respectively.
[0042] Further, the steps of converting and aggregating the building component point cloud data generated in step 7) include:
[0043] The fully connected network and cross entropy function are used to transform and aggregate the point cloud data of building components. By considering the geometric consistency and semantic relevance of the outputs of different decoders and integrating the information of each decoder, different building indoor scene components are identified and extracted, thus completing the intelligent recognition and extraction of building components.
[0044] The technical effect of the present invention is unquestionable. The present invention first collects point cloud data of indoor scenes of buildings through a three-dimensional laser scanner. Subsequently, these data are standardized, including normalization, data cleaning and conversion, to remove outliers. Next, the U-Net architecture is used to extract features from the data, and the features are encoded and extracted through convolution and pooling layers, and the features are further refined using upsampling and convolution layers. After that, multi-scale feature fusion technology and convolution operations are applied to generate fused feature maps using multi-scale features. Then, position embedding, modulation function and multi-layer perceptron are used to generate queries and refine queries through four decoders, and cross-attention and self-attention mechanisms are used to optimize feature representation and generate final output. Finally, the output of the decoder is aggregated using a fully connected network to achieve accurate segmentation of scene components. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The present invention discloses a flow chart of an algorithm for intelligent segmentation and extraction of building indoor scene components;
[0046] Figure 2 A point cloud image obtained by scanning an indoor scene of a building implemented in the present invention;
[0047] Figure 3 It is a general network architecture diagram of an implementation example of the present invention;
[0048] Figure 4 3D U-Net architecture diagram of an implementation example of the present invention;
[0049] Figure 5 A diagram of a cross-attention mechanism for an implementation example of the present invention;
[0050] Figure 6 (a)-(e) are visualization results of intelligent segmentation and extraction of building indoor scene components according to an implementation example of the present invention. DETAILED DESCRIPTION
[0051] The present invention is further described below in conjunction with the embodiments, but it should not be understood that the above subject matter of the present invention is limited to the following embodiments. Without departing from the above technical ideas of the present invention, various substitutions and changes are made according to the common technical knowledge and customary means in the art, which should all be included in the protection scope of the present invention.
[0052] Embodiment 1:
[0053] See also Figures 1 to 6 , a method for intelligent segmentation and extraction of building indoor scene components, comprising the following steps:
[0054] 1) Obtain the original point cloud data of the building interior scene;
[0055] 2) Preprocessing the original point cloud data of the building indoor scene;
[0056] 3) Perform initial feature extraction on the preprocessed raw point cloud data to generate features with different scales;
[0057] 4) Use multi-scale feature fusion technology to fuse features of different scales to obtain a high-dimensional fusion feature map;
[0058] 5) Use position embedding, modulation function and multi-layer perceptron to transform the high-dimensional fusion feature map to generate high-level feature representation for query;
[0059] 6) Obtain the query content matrix and perform a query to obtain the high-level feature representation corresponding to each query content;
[0060] 7) Utilizing the decoder to optimize the high-level feature representation corresponding to each query content, and generating multiple building component point cloud data;
[0061] 8) Convert and aggregate the building component point cloud data generated in step 7) to obtain the building indoor scene component point cloud data corresponding to the query content matrix.
[0062] Tools for obtaining raw point cloud data of architectural interior scenes include 3D laser scanners.
[0063] The steps of preprocessing the original point cloud data of the building indoor scene include: normalizing the original point cloud data of the building indoor scene, data cleaning and data format conversion to standardize the space and color dimensions and remove outliers.
[0064] The normalized original point cloud data x′ is as follows:
[0065]
[0066] In the formula, x′ represents the normalized value, x represents the original point cloud data; max(x) and min(x) represent the maximum and minimum values in the original point cloud data.
[0067] The steps of data cleaning include:
[0068] 1) Calculate the outlier judgment index Z, that is:
[0069]
[0070] Where X is the current original point cloud data, μ and σ are the mean and standard deviation of the original point cloud data set respectively;
[0071] 2) Whether the current original point cloud data X is an outlier is determined according to the outlier judgment index Z. If the absolute value of the outlier judgment index Z exceeds a preset threshold (the threshold in this embodiment is 3), the current original point cloud data X is regarded as an outlier and removed.
[0072] The steps for initial feature extraction of the preprocessed raw point cloud data include:
[0073] 1) Use convolutional layers and pooling layers to encode the input data and generate an initial feature map;
[0074] 2) Use upsampling and convolutional layers to refine the initial feature map.
[0075] The high-dimensional fusion feature map is as follows:
[0076]
[0077] In the formula, F fused It is a high-dimensional fusion feature map; Represents the feature map of the nth scale; ReLU is the activation function; Conv represents the convolution operation.
[0078] The steps of transforming the high-dimensional fusion feature map using position embedding, modulation function and multi-layer perceptron include:
[0079] 1) Use position encoding to enhance the spatial information of the feature map and obtain:
[0080]
[0081] In the formula, PE(p i ) represents point p i Position code, pos(p i ) represents the position, ω and φ are used as parameters for modulation coding frequency and phase; i represents the serial number of the point;
[0082] 2) Use the modulation function M to integrate the position encoding with the high-dimensional fusion feature map to obtain the modulated feature representation F modulated ,Right now:
[0083] F modulated =M(F multi-scale ,PE)=F multi-scale ⊙PE (5)
[0084] Where ⊙ represents element-wise multiplication; F multi-scale Represents a high-dimensional fusion feature map; PE represents position encoding;
[0085] 3) Use a multi-layer perceptron to transform and refine the modulated feature representation to generate a high-level feature representation for query.
[0086] When using a decoder to optimize the high-level feature representation corresponding to each query content, multiple decoders are used for optimization;
[0087] Each decoder includes cross-attention and self-attention mechanisms;
[0088] The output Q of the cross attention mechanism ca As shown below:
[0089]
[0090] Where, d k is the scaling factor; Q is the query matrix, K and V are the key and value matrices, respectively.
[0091] The steps of converting and aggregating the building component point cloud data generated in step 7) include:
[0092] The fully connected network and cross entropy function are used to transform and aggregate the point cloud data of building components. By considering the geometric consistency and semantic relevance of the outputs of different decoders and integrating the information of each decoder, different building indoor scene components are identified and extracted, thus completing the intelligent recognition and extraction of building components.
[0093] Embodiment 2:
[0094] A method for intelligent segmentation and extraction of building indoor scene components comprises the following steps:
[0095] 1) Obtain the original point cloud data of the building interior scene;
[0096] 2) Preprocessing the original point cloud data of the building indoor scene;
[0097] 3) Perform initial feature extraction on the preprocessed raw point cloud data to generate features with different scales;
[0098] 4) Use multi-scale feature fusion technology to fuse features of different scales to obtain a high-dimensional fusion feature map;
[0099] 5) Use position embedding, modulation function and multi-layer perceptron to transform the high-dimensional fusion feature map to generate high-level feature representation for query;
[0100] 6) Obtain the query content matrix and perform a query to obtain the high-level feature representation corresponding to each query content;
[0101] 7) Utilizing the decoder to optimize the high-level feature representation corresponding to each query content, and generating multiple building component point cloud data;
[0102] 8) Convert and aggregate the building component point cloud data generated in step 7) to obtain the building indoor scene component point cloud data corresponding to the query content matrix.
[0103] Embodiment 3:
[0104] A method for intelligent segmentation and extraction of building indoor scene components, the technical content of which is the same as that of Example 2, and further, a tool for obtaining original point cloud data of the building indoor scene includes a three-dimensional laser scanner.
[0105] Embodiment 4:
[0106] A method for intelligent segmentation and extraction of building indoor scene components, the technical content of which is the same as any one of Examples 2-3. Further, the step of preprocessing the original point cloud data of the building indoor scene includes: normalizing the original point cloud data of the building indoor scene, data cleaning and data format conversion to standardize the spatial and color dimensions and remove outliers.
[0107] Embodiment 5:
[0108] A method for intelligent segmentation and extraction of building indoor scene components, the technical content is the same as any one of embodiments 2-4, further, the normalized original point cloud data x′ is as follows:
[0109]
[0110] In the formula, x′ represents the normalized value, and x represents the original point cloud data;
[0111] Embodiment 6:
[0112] A method for intelligent segmentation and extraction of building indoor scene components, the technical content of which is the same as any one of Embodiments 2-5, and further, the step of data cleaning comprises:
[0113] 1) Calculate the outlier judgment index Z, that is:
[0114]
[0115] Where X is the current original point cloud data, μ and σ are the mean and standard deviation of the original point cloud data set respectively;
[0116] 2) Whether the current original point cloud data X is an outlier is determined according to the outlier judgment index Z. If the absolute value of the outlier judgment index Z exceeds a preset threshold (the threshold in this embodiment is 3), the current original point cloud data X is regarded as an outlier and removed.
[0117] Embodiment 7:
[0118] A method for intelligent segmentation and extraction of building indoor scene components, the technical content of which is the same as any one of embodiments 2-6, and further, the step of performing initial feature extraction on the preprocessed original point cloud data comprises:
[0119] 1) Use convolutional layers and pooling layers to encode the input data and generate an initial feature map;
[0120] 2) Use upsampling and convolutional layers to refine the initial feature map.
[0121] Embodiment 8:
[0122] A method for intelligent segmentation and extraction of building indoor scene components, the technical content is the same as any one of embodiments 2-7, and further, the high-dimensional fusion feature map is as follows:
[0123]
[0124] In the formula, F fused It is a high-dimensional fusion feature map; Represents the feature map of the nth scale; ReLU is the activation function; Conv represents the convolution operation.
[0125] Embodiment 9:
[0126] A method for intelligent segmentation and extraction of building indoor scene components, the technical content of which is the same as any one of embodiments 2-8, and further, the step of using position embedding, modulation function and multi-layer perceptron to perform feature conversion on the high-dimensional fusion feature map includes:
[0127] 1) Use position encoding to enhance the spatial information of the feature map and obtain:
[0128]
[0129] Where PE represents point p i Position code, pos(p i ) represents the position, ω and φ are used as parameters for modulation coding frequency and phase;
[0130] 2) Use the modulation function M to integrate the position encoding with the high-dimensional fusion feature map to obtain the modulated feature representation, that is:
[0131] F modulated =M(F multi-scale ,PE)=F multi-scale ⊙PE (5)
[0132] Where ⊙ represents element-wise multiplication; F multi-scale Represents a high-dimensional fusion feature map;
[0133] 3) Use a multi-layer perceptron to transform and refine the modulated feature representation to generate a high-level feature representation for query.
[0134] Embodiment 10:
[0135] A method for intelligent segmentation and extraction of building indoor scene components, the technical content of which is the same as any one of embodiments 2-9, and further, when a decoder is used to optimize the high-level feature representation corresponding to each query content, multiple decoders are used for optimization;
[0136] Each decoder includes cross-attention and self-attention mechanisms;
[0137] The output Q of the cross attention mechanism ca As shown below:
[0138] The features are further processed using four decoders in the decoder stage. Each decoder includes cross-attention and self-attention mechanisms that dynamically weight the features to highlight the features most relevant to the query. Assuming Q is the query matrix, K and V are the key and value matrices respectively, the output of the cross-attention can be calculated by the following formula:
[0139]
[0140] Where, d k is the scaling factor; Q is the query matrix, K and V are the key and value matrices, respectively.
[0141] Embodiment 11:
[0142] A method for intelligent segmentation and extraction of building indoor scene components, the technical content of which is the same as any one of embodiments 2-10, and further, the step of converting and aggregating the building component point cloud data generated in step 7) comprises:
[0143] The fully connected network and cross entropy function are used to transform and aggregate the point cloud data of building components. By considering the geometric consistency and semantic relevance of the outputs of different decoders and integrating the information of each decoder, different building indoor scene components are identified and extracted, thus completing the intelligent recognition and extraction of building components.
[0144] Embodiment 12:
[0145] A method for intelligent segmentation and extraction of building indoor scene components, comprising the following steps:
[0146] S101, collecting point cloud data of the original building indoor scene through a 3D laser scanner;
[0147] In specific implementation, when collecting data, the scanner performs a full-scale scan of every corner and surface of the building's indoor scene to ensure that the acquired point cloud data covers all dimensions and angles of the scene, such as Figure 2 As shown, this is used as the basic data for algorithm processing.
[0148] S102, preprocessing the scanned point cloud;
[0149] In the specific implementation, the spatial coordinates xyz and color information rgb of each point are first standardized, and the normalization formula is as follows:
[0150]
[0151] Where x′ represents the normalized value and x represents the original value. After normalization, the Z-score method is used for data cleaning and data conversion:
[0152]
[0153] Where X is the observed value, μ and σ are the mean and standard deviation of the data set respectively. The value of Z is used to determine whether it is an outlier. By identifying and processing outliers or outliers, the quality of the data is improved and the point cloud data is converted into a format that can be effectively processed by the algorithm.
[0154] S103, using U-Net architecture for preliminary feature extraction;
[0155] When it is implemented, its overall architecture is as follows Figure 3 As shown in Figure 1. First, the input data is feature encoded through the convolution layer and the pooling layer, and then the feature map is refined through upsampling and convolution layers. The feature extraction process can be expressed as a function F, which converts the input data X into a feature map F(X). The network architecture of U-Net is shown in Figure 1. Figure 4 shown.
[0156] S104, using multi-scale feature fusion technology to integrate features extracted at different scales;
[0157] In specific implementation, the process is described by the following formula:
[0158]
[0159] in, represents the concatenation of feature maps, F S represents the feature map at scale s, and Conv represents the convolution operation. Assume and are feature maps of two scales, the fused feature map can be expressed as:
[0160]
[0161] Here ReLU is an activation function used to increase nonlinearity, and Conv also represents a convolution operation.
[0162] S105, using position coding to enhance the spatial information of the feature map;
[0163] In specific implementation, the position coding calculation formula is as follows:
[0164]
[0165] Among them, PE represents point p i Position code, pos(p i ) represents the position, and ω and φ are used as parameters for modulation coding frequency and phase. Then the position coding is integrated with the fused feature map through the modulation function M to enhance the model's perception of spatial structure. Finally, a multi-layer perceptron (MLP) is applied to further transform and refine the fused and modulated features to generate a high-level feature representation for query. If F multi-scale is the fused feature map, PE is the position code, and the modulated feature can be expressed as:
[0166] F modulated =M(F multi-scale ,PE)=F multi-scale ⊙PE
[0167] Here ⊙ represents element-wise multiplication.
[0168] S106, using four decoders to further process the features in the decoder stage;
[0169] In specific implementation, each decoder includes cross attention and self-attention mechanisms. The attention mechanism is as follows Figure 5 As shown in , these mechanisms are able to dynamically weight features to highlight the features most relevant to the query. Assuming Q is the query matrix, K and V are the key and value matrices respectively, the output of the cross attention can be calculated by the following formula:
[0170]
[0171] Here kis a scaling factor used to control the smoothness of the cross entropy function. In addition, fully connected networks (FCNs) and linear compression layers are used to transform the features processed by the attention mechanism into the final output format, which is suitable for the final building component extraction task.
[0172] S107: Use the fully connected network and cross entropy function to perform final transformation and aggregation on the features obtained in step S106
[0173] In the specific implementation, by considering the geometric consistency and semantic relevance of the outputs of different decoders, the information of each decoder is integrated to accurately identify and extract different building interior scene components, completing the conversion process from complex point cloud data to intelligent identification and extraction of specific building components. The extraction results are as follows: Figure 6 shown.
Claims
1. A method for intelligent segmentation and extraction of building indoor scene components, characterized in that: The following steps are involved: 1) Obtain the original point cloud data of the building indoor scene. 2) Preprocessing the original point cloud data of the building indoor scene; 3) Perform initial feature extraction on the preprocessed raw point cloud data to generate features with different scales; 4) Use multi-scale feature fusion technology to fuse features of different scales to obtain a high-dimensional fusion feature map; 5) Use position embedding, modulation function and multi-layer perceptron to transform the high-dimensional fusion feature map to generate high-level feature representation for query; 6) Obtain the query content matrix and perform a query to obtain the high-level feature representation corresponding to each query content; 7) Utilizing the decoder to optimize the high-level feature representation corresponding to each query content, and generating multiple building component point cloud data; 8) Convert and aggregate the building component point cloud data generated in step 7) to obtain the building indoor scene component point cloud data corresponding to the query content matrix.
2. The method for intelligent segmentation and extraction of building indoor scene components according to claim 1, characterized in that: Tools for obtaining raw point cloud data of architectural interior scenes include 3D laser scanners.
3. The method for intelligent segmentation and extraction of building indoor scene components according to claim 1, characterized in that: The steps of preprocessing the original point cloud data of the building indoor scene include: normalizing the original point cloud data of the building indoor scene, data cleaning and data format conversion to standardize the space and color dimensions and remove outliers.
4. The method for intelligent segmentation and extraction of building indoor scene components according to claim 3, characterized in that: The normalized original point cloud data x′ is as follows: In the formula, x′ represents the normalized value, x represents the original point cloud data; max(x) and min(x) represent the maximum and minimum values in the original point cloud data.
5. The method for intelligent segmentation and extraction of building indoor scene components according to claim 3, characterized in that: The steps of data cleaning include: 1) Calculate the outlier judgment index Z, that is: Where X is the current original point cloud data, μ and σ are the mean and standard deviation of the original point cloud data set respectively; 2) According to the outlier judgment index Z, whether the current original point cloud data X is an outlier is judged. If the absolute value of the outlier judgment index Z exceeds the preset threshold, the current original point cloud data X is regarded as an outlier and removed.
6. The method for intelligent segmentation and extraction of building indoor scene components according to claim 1, characterized in that: The steps for initial feature extraction of the preprocessed raw point cloud data include: 1) Use convolutional layers and pooling layers to encode the input data and generate an initial feature map; 2) Use upsampling and convolutional layers to refine the initial feature map.
7. The method for intelligent segmentation and extraction of building indoor scene components according to claim 1, characterized in that: The high-dimensional fusion feature map is as follows: In the formula, F fused It is a high-dimensional fusion feature map; Represents the feature map of the nth scale; ReLU is the activation function; Conv represents the convolution operation.
8. The method for intelligent segmentation and extraction of building indoor scene components according to claim 1, characterized in that: The steps of transforming the high-dimensional fusion feature map using position embedding, modulation function and multi-layer perceptron include: 1) Use position encoding to enhance the spatial information of the feature map and obtain: In the formula, PE(p i ) represents point p i Position code, pos(p i ) represents the position, ω and φ are used as parameters for modulation coding frequency and phase; i represents the serial number of the point; 2) Use the modulation function M to integrate the position encoding with the high-dimensional fusion feature map to obtain the modulated feature representation F modulated ,Right now: F modulated =M(F multi-scale ,PE)=F multi-scale ⊙PE (5) Where ⊙ represents element-wise multiplication; F multi-scale Represents a high-dimensional fusion feature map; PE represents position encoding; 3) Use a multi-layer perceptron to transform and refine the modulated feature representation to generate a high-level feature representation for query.
9. The method for intelligent segmentation and extraction of building indoor scene components according to claim 1, characterized in that: When using a decoder to optimize the high-level feature representation corresponding to each query content, multiple decoders are used for optimization; Each decoder includes cross-attention and self-attention mechanisms; The output Q of the cross attention mechanism ca As shown below: Where, d k is the scaling factor; Q is the query matrix, K and V are the key and value matrices respectively.
10. The method for intelligent segmentation and extraction of building indoor scene components according to claim 1, characterized in that: The steps of converting and aggregating the building component point cloud data generated in step 7) include: The fully connected network and cross entropy function are used to transform and aggregate the point cloud data of building components. By considering the geometric consistency and semantic relevance of the outputs of different decoders and integrating the information of each decoder, different building indoor scene components are identified and extracted, thus completing the intelligent recognition and extraction of building components.
