Semantic segmentation method for long-tail distribution of point cloud data based on mutual information calibration
By introducing adjacent area thin modules and loss functions in 3D scene segmentation, combined with the attention mechanism, the problem of inconsistency between classes and long-tail distribution is solved, and efficient semantic segmentation and accurate recognition of large-scale 3D scenes are achieved.
Patent Information
- Application Number
- CN202110631495.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-07
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-06-07
AI Technical Summary
Existing 3D scene segmentation technology is difficult to effectively utilize the complex global relationships between point clouds, resulting in inter-class inconsistency and intra-class uncertainty, and cannot effectively handle the long-tail label distribution and imbalance problems in large 3D scenes.
A semantic segmentation method based on mutual information calibration is proposed. By introducing adjacent area thin modules and two loss functions: imbalance adjustment loss function and occupancy regression loss function, combined with spatial and channel attention mechanisms, the neural network is forced to learn points Inherent properties of clouds, processing large-scale point cloud data and reducing inter-class confusion.
It achieves effective semantic segmentation of large-scale 3D scenes, improves the accuracy and consistency of category recognition, can process large amounts of point cloud data without increasing computational complexity, and is superior to traditional methods in terms of efficiency and effect.
Smart Images

Figure CN113554653B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of semantic segmentation, and in particular to a semantic segmentation method based on mutual information calibration of long-tail distribution of point cloud data. Background Art
[0002] Large-scale 3D scene segmentation, which aims to assign semantic class labels to each point, has been widely and actively studied recently and is of great significance for a variety of challenging and interesting applications (e.g., autonomous driving, robotics, and place recognition). To accomplish such tasks effectively, we need to distinguish ambiguous shapes from ambiguous parts and consider objects with different appearances. For example, if structural information and discriminative features are not well encoded in the embedding space, adjacent chairs and tables can be easily confused and grouped into a unified class.
[0003] Existing methods adopt a design concept similar to that of typical convolutional neural networks in 2D images, which are mainly proposed to learn richer local structures and capture more extensive contextual information of point clouds. Although a series of achievements have been made on public datasets, there are still some problems to be solved.
[0004] First, although global representations are obtained in deep learning models, the complex global relationships between point clouds, which are crucial for better segmentation, have not been explicitly exploited. For example, the regions of walls and doors are often indistinguishable, and the parts of tables and chairs may be affected by their similar structures. It is necessary to enhance the discriminative power of feature representations for point-level recognition. The ELGS method borrows methods from the channel and spatial attention mechanisms in 2D image tasks. The MPRM method replaces convolution with 1×1Conv without making structural changes to the channel and spatial attention mechanisms in 2D image tasks. The PT method and the PCT method design transformer layers for point cloud processing. Both utilize self-attention operators to replace convolution operators in neural networks. However, all of the above methods can only operate with sub-clouds of the entire point cloud with a limited number of points, and cannot process large 3D scene point clouds. Second, existing 3D methods rarely pay attention to the inherent properties of 3D real-world data itself. On the one hand, point clouds collected from the real world usually exhibit an unbalanced or long-tailed label distribution, in which several common categories are absolutely dominant in number, resulting in the model being biased towards these dominant categories and ignoring categories with a smaller number. For example, classes like walls and floors appear in almost every indoor scene, while classes like roads and buildings dominate the outdoor scenes. On the other hand, 3D data is inherently free of occlusions or scale ambiguities, so the number of points of an object remains constant in 3D scenes. In contrast, in 2D images, the same object will be imaged as a different number of pixels due to different camera distances and angles. The number of occupied pixels / points per object (expressed as occupancy) is unpredictable on 2D images but can be reliably predicted from 3D scenes. The recent RandLA-Net approach effectively segments large point clouds while ignoring the long-tail distribution and imbalanced problems in real-world point cloud data. Summary of the invention
[0005] In order to solve the shortcomings of the prior art, a novel framework is proposed by introducing a neighboring region fine module for large-scale 3D scene segmentation and two loss functions aimed at solving the balance problem of network training. While meeting the requirements of processing large-scale point cloud feature input, it achieves the purpose of avoiding inter-class inconsistency and intra-class uncertainty in semantic segmentation of large-scale point cloud scenes. The present invention adopts the following technical solutions:
[0006] The semantic segmentation method based on mutual information calibration of long-tail distribution of point cloud data includes the following steps:
[0007] S1, input large-scale 3D point cloud data;
[0008] S2, point cloud feature extraction;
[0009] S3, obtains spatial position attention that supports large-scale input;
[0010] S4, obtain extended channel position attention;
[0011] S5, feature fusion, concatenates the feature maps output by the spatial position attention supporting large-scale input and the extended channel position attention, and then performs upsampling after attention feature fusion, so that the output point cloud scale is equivalent to the input point cloud scale;
[0012] S6, construct a joint loss function to force the neural network to learn the inherent properties of the input points:
[0013]
[0014] represents the joint cost function, represents the imbalance adjustment loss function, which is used to adjust the imbalance of imbalanced and long-tail label distribution. represents the occupancy regression loss function, which is used to regress the occupancy size of the category to which each point belongs. represents the cross entropy loss function, which is used for the final semantic segmentation prediction;
[0015] S7, point cloud segmentation result output.
[0016] Furthermore, the S3 comprises the following steps:
[0017] S31, obtain N×C' output feature maps A from the feature extraction network, and obtain different feature maps B and C by feeding A into two different 1×1 convolutional layers, where N represents the number of points and C' represents the dimension;
[0018] S32, perform matrix multiplication between the transpose of B and A, that is, attention operation, to achieve feature enhancement, and obtain a C'×1 output matrix D. The attention value formula on D is expressed as follows:
[0019]
[0020] Subscripts i and j represent points i and j, respectively. j represents the position of the jth point in the feature map A, B i Represents the position of the i-th point in the feature map B;
[0021] S33, transforms the transpose of D into another two 1×1 convolutional layers as the bottleneck transformation representation:
[0022] F j =ReLU(LN(D j ))
[0023] Where LN represents the normalization layer and ReLU is the activation function;
[0024] S34, the matrix multiplication between graphs D and C, i.e., the attention operation, plays a role in feature enhancement, expressed as:
[0025]
[0026] S35, in the summation process, the feature maps E and F after weighted aggregation are used using two scale parameters α and β, where α and β are learnable parameters initialized to 0. We generate a spatial attention map G represented as , that is, the attention operation, which has the effect of feature enhancement:
[0027] G j =αE j +βF j +A j .
[0028] Furthermore, the S4 comprises the following steps:
[0029] S41, perform matrix multiplication between the transposed A and the original A, where we get a C×C channel attention map B;
[0030] S42 uses matrix multiplication between B and the original A to propagate feature map C, and uses attention operation to achieve feature enhancement, which is expressed as:
[0031]
[0032] Where M is the channel dimension, subscripts i and j represent channel i and channel j, and C j represents the jth position in the feature map C;
[0033] S43, define a cross-channel operator to capture the relationship between adjacent channels, which is implemented using a 1×1 convolution with a kernel size of h. Then, the local cross-channel interaction, namely the attention operation, plays a role in feature enhancement, which is expressed as:
[0034]
[0035] Among them, W is an h×M parameter matrix, h represents the adjacent channels during stride (i.e., kernel size), and σ is the S-type function (i.e., sigmoid function).
[0036] S44, setting the weight parameter λ, and generating a channel attention graph E represented as:
[0037] E j =λC j +D j +A j .
[0038] Furthermore, the imbalance adjustment loss function in S6 is Minimize softmax cross entropy:
[0039]
[0040] Among them, θ represents the parameters of the neural network, (x, y) ~ D represents the training data, where x represents the data, y represents the supervision information, D represents the distribution, and p θ (y|x) represents the unknown distribution;
[0041] Let f y (x; θ) is the result before the softmax function, that is, logit, so we get:
[0042]
[0043] Among them, f y (x; θ) represents the current parameter distribution of the neural network, and K represents the number of candidate semantic categories;
[0044] Based on observational experience, for example, in a conference room, some categories (such as tables and chairs) often appear at the same time; while other categories (such as sofas and columns) tend to avoid each other. To describe this situation, we need a quantity to indicate "how many times the probability of two categories coexisting in the same 3D scene is the probability of their random encounter?" We use point-by-point mutual information PMI to describe this phenomenon, because it is a measure of the relationship between two random variables sampled simultaneously, expressed as:
[0045]
[0046] Among them, p(y 1 )、p(y 2 ) are respectively categories y 1 ,y 2 If the PMI is much greater than 0, the two categories tend to appear at the same time, otherwise, they tend to avoid each other;
[0047] According to the above discussion, point-wise mutual information (PMI) is an effective measure that actually reveals the internal relationship between classes. Therefore, we let the model directly fit PMI so that the network can learn more basic knowledge. We model PMI and express it as:
[0048]
[0049] Use the softmax function to renormalize it and express it as:
[0050] log p θ (y|x)~f y(x;θ)+log p(y)
[0051] For generalization, an adjustment factor τ is added, and the resulting imbalance-adjusted loss function is expressed as:
[0052]
[0053] Our proposed imbalance adjustment loss applies a label-dependent offset to each logit; by embedding PMI between scene semantics and introducing it into the segmentation task, it can help the network reduce the inter-class confusion problem.
[0054] Furthermore, the adjustment factor τ=1.
[0055] Furthermore, the occupancy regression loss function in S6 is In 2D images, objects will be imaged as different numbers of pixels due to different camera distances and angles, which causes the number of occupied pixels / points (expressed as occupancy) of each object to be unpredictable. In contrast, 3D data is inherent, without occlusion or scale ambiguity, so the number of points of an object is constant in a 3D scene, which means that an object can contain a fixed number of points. As a result, the same labeled points tend to have a stable number, which we call the occupancy scale. For indoor and outdoor scenes, we divide the point cloud using sub-grids of size 4cm and 6cm. The points in each small grid are represented by only one point with a label (center of gravity). This step is similar to the operation of voxelizing the point cloud. We can sample a fixed number of points 10^5 from each point cloud as input. For unlabeled points in the scene, these points are not put into the loss function for calculation, so o i The setting can help the network correct the problem of data imbalance during training. In addition, for the point cloud dataset used in our experiment, from any perspective, the original setting is that each labeled point has only one label, while the unlabeled points have no labels; for the i-th point in the k-th semantic class, a positive value o is predicted. i To indicate the number of points occupied by the current semantic class, o i The average of is used as the estimated occupancy of the current semantic class. To make a more reliable prediction, we will regress the points instead of the raw values:
[0056]
[0057] Among them, N k is the number of points in the kth semantic class, K represents the number of semantic categories, and the occupancy regression loss returns the occupancy size of the class of each point, that is, the inherent attribute of each 3D class object. The occupancy regression loss adjusts the proportion of each semantic category during training, which can benefit the network by effectively preventing inconsistency within the category.
[0058] Furthermore, in S2, the input point cloud data is described as It is the original unordered point set with F dimensions, N is the number of points, p i It is a feature vector containing coordinates, colors, and labels.
[0059] Furthermore, in S2, data enhancement is performed on the input point cloud data, including randomly disrupting the order of points, randomly rotating the point cloud for data enhancement, and randomly rotating the space coordinates and normal vectors.
[0060] Furthermore, in S43, h is set to 3.
[0061] Furthermore, in S44, λ=0.1, and at this time, the effect is best.
[0062] The advantages and beneficial effects of the present invention are:
[0063] The adjacent region refinement module proposed in the present invention includes two types of attention blocks, which support spatial attention on a large scale and extended channel attention preformed in parallel, which can process a large number of points (e.g. 10 5 , while the traditional method can only process 10 4 The invention can train the network in an end-to-end manner and outperform traditional methods in terms of efficiency and effectiveness. The model and training loss function proposed in the invention can achieve better results in large-scale scene point cloud segmentation. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 It is a flow chart of the method of the present invention.
[0065] Figure 2 It is a schematic diagram of the spatial position attention module supporting large-scale input in the present invention.
[0066] Figure 3 It is a schematic diagram of the extended channel position attention module in the present invention. DETAILED DESCRIPTION
[0067] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0068] like Figure 1 As shown in FIG. 1 , the semantic segmentation method based on mutual information calibration of the long-tail distribution of point cloud data includes the following steps:
[0069] Step T1-1: Input a large-scale 3D point cloud file.
[0070] The format of the input data is stored in txt format. The keywords are: xyz, rgb, label. The data dimensions indexed by the keywords are: xyz(40960, 3), rgb(40960, 3), label(40960, 1).
[0071] Step T1-2 point cloud feature extraction network.
[0072] We use RandLA-Net as a point cloud feature extraction network to process large-scale point clouds and generate rich semantic representations for each point. The input data is described as It is a primitive unordered set of points with dimension F, where N is the number of points and p i is a feature vector and may contain 3D spatial coordinates (x, y, z), colors (r, g, b), and labels. We set F = 3 to use only 3D coordinates as input. Considering that the number of samples in the point cloud may be very large in the real world, since each point in each set of points has very little weight allocation / influence on other points, allowing each point to participate in the calculation will lead to high computational costs and gradient vanishing problems. During training, the input point cloud is first randomly downsampled to 40960 points, and then the training epoch is set to 250 steps, the batch size is 8, the learning rate is 0.001, the momentum based on gradient descent is set to 0.9, and the optimizer is Adam. During the training process, the number of neighbor nodes for each point cloud is set to 16. After the point cloud data is input into the network, data enhancement is required during the training process. Data enhancement includes: randomly scrambling the order of points, randomly rotating the point cloud for data enhancement, and randomly rotating the x, y, z spatial coordinates and normal vectors.
[0073] Steps T1-3 support spatial position attention of large-scale input.
[0074] like Figure 2 As shown in the figure, N×C' (N represents the number of points, C' represents the dimension) output feature maps A are obtained from the feature extraction network and fed into two different 1×1 convolutional layers to obtain feature maps B and C. Then, matrix multiplication is performed between the transpose of B and A, i.e., the attention operation, which has the effect of feature enhancement and obtains a C×1 output matrix D. The attention value formula on D is expressed as follows:
[0075]
[0076] Subscripts i and j represent points i and j, respectively. jrepresents the position of the jth point in the feature map A, B i Represents the position of the i-th point in the feature map B.
[0077] Then, the transpose of D is transformed into another two 1×1 convolutional layers as the bottleneck transformation representation:
[0078] F j =ReLU(LN(D j ))
[0079] Where LN represents the normalization layer and ReLU is the activation function.
[0080] The matrix multiplication between graphs D and C, i.e. the attention operation, plays a role in feature enhancement and is expressed as:
[0081]
[0082] After that, in the summation process, the aggregated feature maps E and F are weighted using two scale parameters α and β, where α and β are learnable parameters initialized to 0. We generate a spatial attention map G represented as , that is, the attention operation, which has the effect of feature enhancement:
[0083] G j =αE j +βF j +A j
[0084] Step T1-4 Extended channel position attention
[0085] like Figure 3 As shown, we directly perform matrix multiplication between the transposed A and the original A. Here, we get a C×C channel attention map B. Then, we use the matrix multiplication between B and the original A to propagate the feature map C, and use the attention operation to achieve the effect of feature enhancement, which is expressed as:
[0086]
[0087] Where M is the channel dimension, subscripts i and j represent channel i and channel j, and C j represents the jth position in the feature map C. Then, we define the cross-channel operator to capture the adjacent channel relationship, which is implemented by a 1×1 convolution with a kernel size of h. Then, the local cross-channel interaction, namely the attention operation, plays a role in feature enhancement and can be expressed as:
[0088]
[0089] Where W is an h×M parameter matrix, h represents the adjacent channels at stride (i.e., kernel size), we set h to 3, and σ is an S-type function (i.e., sigmoid function).
[0090] Afterwards, we set the weight parameter λ = 0.1 and generate the channel attention graph E represented as:
[0091] E j =λC j +D j +A j
[0092] Step T1-5 feature fusion.
[0093] In this step, the feature maps of the spatial position attention that supports large-scale input in step T1-3 and the channel position attention output by step T1-4 are concatenated, and then the attention features are fused through a layer of 1×1Conv. Subsequently, the point cloud is upsampled through three layers of 1×1Conv (convolutional layers) to make the output point cloud scale comparable to the input point cloud scale.
[0094] Steps T1-6 combine the loss functions.
[0095] To jointly exploit the inherent properties of 3D real-world data, we design two effective losses to force (guide) the network to learn the inherent properties of the input points, namely, the imbalance adjustment loss and the occupancy regression loss. The network is trained so that the joint cost function Minimize:
[0096]
[0097] in It is an imbalance-adjusted loss function for unbalanced and long-tailed label distribution in real 3D scenes. It is the occupancy regression loss function, which is used to regress the occupancy size of the category to which each point belongs. Conventional cross entropy loss for the final semantic segmentation prediction.
[0098] First of all Analyze and define, 3D point clouds collected from the real world usually present an unbalanced or long-tailed label distribution. In this case, the batches sampled during training have almost no chance to sample low-frequency categories compared to high-frequency categories, which can easily cause the model to ignore them, but in fact, we usually care more about the recognition results of low-frequency categories. Considering that there are K candidate semantic categories, the training data is (x, y) ~ D, x represents data, y represents supervision information, D represents distribution, for unknown distribution p θ (y|x), usually, one minimizes the softmax cross entropy:
[0099]
[0100] θ represents the parameters of the neural network, we assume that f y (x; θ) (the current parameter distribution of the neural network) is the result before the softmax function, namely logit, so we get:
[0101]
[0102] Based on observed experience, for example, in a conference room, some classes (such as tables and chairs) often appear at the same time; while other classes (such as sofas and columns) tend to avoid each other. To describe this situation, we need a quantity to express "how many times the probability of two classes coexisting in the same 3D scene is the probability of their random encounter?". We use point-wise mutual information (PMI) to describe this phenomenon, because it is a quantity that measures the relationship between two random variables sampled simultaneously, expressed as:
[0103]
[0104] Among them, p(y 1 )、p(y 2 ) are respectively categories y 1 ,y 2 If the PMI is much greater than 0, it means that the two categories tend to appear at the same time, otherwise they tend to avoid each other.
[0105] According to the above discussion, point-wise mutual information (PMI) is an effective measure that actually reveals the internal relationship between classes. Therefore, we let the model directly fit PMI so that the network can learn more basic knowledge. We model PMI and express it as:
[0106]
[0107] We then renormalize it using the softmax function, expressed as:
[0108] log p θ (y| x)~f y (x;θ)+log p(y)
[0109] For generalization, we add an adjustment factor τ, which we set to 1, and the resulting imbalance-adjusted loss is expressed as:
[0110]
[0111] Our proposed imbalance adjustment loss applies a label-dependent offset to each logit. By embedding PMI between scene semantics and introducing it into the segmentation task, it can help the network reduce the inter-class confusion problem.
[0112] Secondly Analysis and definition. In 2D images, objects will be imaged as different numbers of pixels due to different camera distances and angles, which results in the number of occupied pixels / points (expressed as occupancy) for each object being unpredictable. In contrast, 3D data is inherent, with no occlusion or scale ambiguity, so the number of points of an object does not change in a 3D scene. This means that an object can contain a fixed number of points. As a result, the same marked points tend to have a stable number, which we call the occupancy scale.
[0113] For indoor and outdoor scenes, we divide the point cloud using sub-grids of size 4cm and 6cm, so that the points in each small grid are represented by only one point with a label (center of gravity). This step is similar to the operation of voxelizing the point cloud. We can sample a fixed number of points 10^5 from each point cloud as input, and in our experimental setting, the number of points is 40960. For unlabeled points in the scene, these points are not put into the loss function for calculation. Therefore, the setting of oi can help the network correct the problem of data imbalance during training. In addition, for the point cloud dataset used in our experiment, from any perspective, the original setting is that each labeled point has only one label, and the unlabeled points have no labels.
[0114] For the i-th point in the k-th semantic class, we predict a positive value o i to indicate the number of points occupied by the current semantic class. Then, o i The average value of will be used as the estimated occupancy of the current semantic class. In order to make more reliable predictions, we regress the logarithm instead of the raw value and express it with the following expression:
[0115]
[0116] Where N k is the number of points in the kth semantic class. The proposed occupancy regression loss returns the occupancy size of the class to each point, which is the intrinsic property of each 3D class object. The occupancy regression loss regulates the proportion of each semantic class during training, which can benefit the network by effectively preventing inconsistency within the class.
[0117] Step T1-7: Output large-scale 3D point cloud segmentation results. Output the semantic segmentation results of the point cloud predicted by the model.
[0118] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A semantic segmentation method based on mutual information calibration of long-tail distribution of point cloud data, characterized by The steps include: S1, input point cloud data; S2, point cloud feature extraction; S3, obtains spatial position attention that supports large-scale input; S4, obtain extended channel position attention; S5, feature fusion, concatenates the feature maps output by the spatial position attention supporting large-scale input and the extended channel position attention, and then performs upsampling after attention feature fusion, so that the output point cloud scale is equivalent to the input point cloud scale; S6, construct a joint loss function to force the neural network to learn the inherent properties of the input points: represents the joint cost function, represents the imbalance adjustment loss function, which is used to adjust the imbalance of imbalanced and long-tail label distribution. represents the occupancy regression loss function, which is used to regress the occupancy size of the category to which each point belongs. represents the cross entropy loss function, which is used for the final semantic segmentation prediction; S7, point cloud segmentation result output.
2. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 1, characterized in that The S3 comprises the following steps: S31, obtain an output feature map A from the feature extraction network, and obtain different feature maps B and C through A, where N represents the number of points; S32, perform matrix multiplication between the transpose of B and A to obtain the output matrix D. The attention value formula on D is expressed as follows: Subscripts i and j represent points i and j, respectively. j represents the position of the jth point in the feature map A, B i Represents the position of the i-th point in the feature map B; S33, the transpose of D is expressed as the bottleneck transformation: F j NReLU(LN(D). j )) Where LN represents the normalization layer and ReLU is the activation function; S34, the matrix multiplication between graphs D and C is expressed as: S35, use the scale parameters α and β to weight the aggregated feature maps E and F, where α and β are learnable parameters initialized to 0, to generate the spatial attention map G: G j =αE j +βF j +A j 。 3. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 1, characterized in that The S4 comprises the following steps: S41, performing matrix multiplication between the transposed A and the original A to obtain the attention map B; S42, uses matrix multiplication between B and the original A to propagate the feature map C, expressed as: Where M is the channel dimension, subscripts i and j represent channel i and channel j, and C j represents the jth position in the feature map C; S43, defines a cross-channel operator to capture adjacent channel relationships and local cross-channel interactions, expressed as: Where W is an h×M parameter matrix, h represents the adjacent channels during stride, and σ is the S-type function; S44, set the weight parameter λ and generate a channel attention graph E: E j ZλC j +D j +A j 。 。 4. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 1, characterized in that The imbalance adjustment loss function in S6 Minimize softmax cross entropy: Among them, θ represents the parameters of the neural network, (x, y) ~ D represents the training data, where x represents the data, y represents the supervision information, D represents the distribution, and p θ (y|x) represents an unknown distribution; Let f y (x; θ) is the result before the softmax function, that is, logit, so we get: Among them, f y (x; θ) represents the current parameter distribution of the neural network, and K represents the number of candidate semantic categories; The point-by-point mutual information PMI is used to measure the relationship between two random variables sampled simultaneously, expressed as: Among them, p(y1) and p(y2) are the frequencies of categories y1 and y2 respectively. If PMI is much greater than 0, the two categories tend to appear at the same time, otherwise, they tend to avoid each other; PMI is modeled and expressed as: Use the softmax function to renormalize it and express it as: log p θ (y∣x)~f y (x;θ)+log p(y) Adding the adjustment factor τ, the resulting imbalance adjustment loss function is expressed as:
5. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 4, characterized in that The adjustment factor τ=1.
6. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 1, characterized in that The occupancy regression loss function in S6 For the i-th point in the k-th semantic class, predict a positive value o i To indicate the number of points occupied by the current semantic class, o i The average value of is used as the estimated occupancy of the current semantic class, and the number of points is regressed: Among them, N k is the number of points in the kth semantic class, K represents the number of semantic categories, and the occupancy regression loss returns the occupancy size of the class of each point, which is the inherent attribute of each class object.
7. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 1, characterized in that In S2, the input point cloud data is described as It is the original unordered point set with F dimensions, N is the number of points, p i It is a feature vector containing coordinates, colors, and labels.
8. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 1, characterized in that In S2, data enhancement is performed on the input point cloud data, including randomly disrupting the order of points, randomly rotating the point cloud for data enhancement, and randomly rotating the space coordinates and normal vectors.
9. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 3, characterized in that In S43, h is set to 3.
10. The semantic segmentation method based on long-tail distribution of mutual information calibration point cloud data according to claim 3, characterized in that In the above S44, λ=0.1.
Citation Information
Patent Citations
Image Semantic Segmentation Method Based on Deep Full Convolutional Network and Conditional Random Field
AU2020103901A4
3D point cloud semantic segmentation method based on position attention and auxiliary network
CN110322453A
