92
J. Eur. Opt. Society-Rapid Publ. 21, 40( 2025)
Figure 2. Schematic diagrams of 3D convolutional neural network( a) and 3D graph convolutional network( b).
Extending 2D image pixels to 3D space is the concept of voxels. The voxel, short for volumetric pixel, is a regular data structure in three-dimensional space. Compared to 3D voxel space, 3D point cloud data is characterized by its disorder and lack of structure, with no definite neighborhood relationships. When processing voxels using 3DCNN, global features are extracted through maximization pooling [ 19 ], but it is challenging to capture the local point-to-point relationships within the point cloud. Therefore, we introduce the graph convolutional neural network and construct the local graph structure relationship of the point cloud by calculating the nearest neighbors of each point. Then, we dynamically adjust the shape and size of the local point cloud according to its geometric structure to better capture local features. Figure 2 illustrates the schematic diagram of 3DCNN( Fig. 2a) and 3D graph convolution( Fig. 2b).
Different from the traditional CNN network, where the receptive field is defined through the convolution kernel in Euclidean space, the graph convolutional network in this paper uses K-nearest neighbor search to determine the local neighborhood set. First, calculate the normalized relative direction vector r i, j through the KNN search as:
r i; j ¼ p i; j � p i jjp i; j � p i jj: ð1Þ
Among them, r i, j is shaped like( b, vertical _ num, neighbor _ num, 3), representing the direction relationship between the neighborhood point and the center point. vertical _ num and neighbor _ num respectively represent the number of vertices in the point cloud and the number of neighborhood points for each vertex. p i represents the center point, and p i, j represents the neighborhood point of p i.
For each point p i and its neighbor node p i, j, the similarity h i, j between its direction vector r i, j and the predefined support vector d i, j can be expressed as:
h i; j ¼ r i; j d i; j: ð2Þ
Among them, the predefined support vector d i, j is a trainable parameter. During model initialization, it initializes the shape to( 3, support _ num, out _ channel) through uniform distribution and is updated through back propagation during the training process. Among them, 3 represents that each direction vector has three components, corresponding to the x, y, and z axes in the 3D space. support _ num out _ channel represents the number of support direction vectors multiplied by the number of output channels, which determines the dimension of the support direction vectors.
In the graph convolution operation, by calculating the similarity between the receptive field direction vector and the predefined support vector, a similarity matrix is generated to weight aggregate the features of neighboring nodes. To ensure that all similarity values are non-negative, the ReLU activation function is applied to process the similarity calculated by formula( 2), and a new value of h 0 i; j is obtained as: h 0 i; j ¼ max � 0; h i; j: ð3Þ
The initial features of the input to the graph convolutional network are extracted by KPConv-FPN. To better capture the features, a weight matrix and bias vector are introduced to map the input features and obtain a new feature map, which is represented as:
f map ¼ f input W þ b: ð4Þ
Among them, f input( b, n, in _ channel) represents the input feature map, which is obtained through downsampling processing by the KPConv-FPN network. W is the trainable weight matrix, mapping the input features from dimension in _ channel to dimension( support _ num + 1 out _ channel). b is the bias vector, and f input( b, n, support _ num + 1 out _ channel) represents the new feature map obtained after mapping.
The new feature map is separated into central features and supporting features. The first N dimensions of the new feature map are selected as the central features to represent the direct features of each point, which is expressed as: f center ¼ f map ð:;:;: out channel Þ: ð5Þ