A remote sensing image point cloud joint segmentation method based on cascaded cross-modal network
Through a method based on cascaded cross-modal networks, the original LiDAR point cloud and remote sensing images are directly used to solve the problem of insufficient information utilization between multi-modal data, achieve more efficient semantic segmentation accuracy, and combine point clouds and images. characteristics, which are better than the performance of single-modal methods.
Patent Information
- Application Number
- CN202210250704.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-03-15
AI Technical Summary
In the semantic segmentation of remote sensing data in the existing technology, there is a lack of interaction between multi-modal data and insufficient information utilization. In particular, the domain gap between three-dimensional point clouds and two-dimensional optical images makes it difficult to integrate seamlessly, resulting in limited semantic segmentation accuracy.
A remote sensing image point cloud joint segmentation method based on cascaded cross-modal networks is adopted to directly utilize the original LiDAR point cloud data and remote sensing images, fully explore the characteristics of both through the cascade network structure, maintain the topological relationship of the three-dimensional space, and extract features through and transformation to achieve seamless integration of data.
It improves the accuracy of semantic segmentation, shows superior performance compared to single-modal methods, makes full use of the information features of point clouds and images, and integrates the advantages of different modal data.
Smart Images

Figure CN114842022B
Abstract
Description
Technical Field
[0001] The present invention relates to a remote sensing data segmentation method, and in particular to a remote sensing image point cloud joint segmentation method based on a cascade cross-modal network. Background Art
[0002] Semantic segmentation, or pixel-level visually interpretable classification, has long been one of the basic tasks in the computer vision community to understand scenes, and has been widely used in fields such as autonomous driving and medical image recognition. As deep learning methods have become increasingly popular in the field of computer vision, convolutional neural networks have also been introduced into the task of semantic segmentation. Despite the emergence of various studies, there is still a long way to go before achieving human-level high-precision scene description.
[0003] Semantic segmentation of remote sensing data is an important prerequisite for remote sensing information extraction and is of great significance to various automated monitoring tasks. Compared with natural images in the field of computer vision, a prominent feature of remote sensing data is the diversity of sensors and data types, such as optical images, infrared images, synthetic aperture radar (SAR), light detection and ranging (LiDAR), etc. Each type of data exhibits its own characteristics and is suitable for different application scenarios. High-resolution aerial images have rich texture information and continuous features, but there are phenomena such as the same spectral features of different objects and the same spectra of different objects, which brings difficulties to image interpretation. Infrared remote sensing plays a key role in geological structure detection and pollution monitoring, but the quality of the acquired data is greatly affected by the weather. As an active detection method, LiDAR is not restricted by natural conditions such as light and weather, and performs well in harsh and complex environments. In order to overcome the limitations of a single data source, multimodal data is used for remote sensing semantic segmentation. Among them, the combination of optical images and LiDAR can obtain more information features due to their complementary perception of stereoscopic structure and texture patterns.
[0004] There are many methods that use multimodal data for semantic segmentation of remote sensing data, and have achieved performance that is superior to that of single-modal data semantic segmentation. Since three-dimensional point clouds and two-dimensional optical images belong to different metric spaces, there is a non-negligible domain gap between the two, making it inconvenient to seamlessly integrate the two. Existing studies generally choose to discard some attributes of laser point clouds and only use elevation and its derivatives such as DEM. The retained attributes are basically only used as auxiliary data for image segmentation. If features can be extracted directly from laser point clouds and remote sensing images, the information contained in the two modalities will be more fully utilized, further improving the accuracy of semantic segmentation. Summary of the invention
[0005] In order to solve the above-mentioned problems of lack of interaction between modalities and insufficient information utilization in semantic segmentation tasks, the present invention discloses a remote sensing image point cloud joint segmentation method based on a cascaded cross-modal network. This method directly uses image and LiDAR point cloud data, rather than the latter's processed derivative products, such as digital surface models DSM, etc. By using the original LiDAR data without additional dimensional compression, our method fully utilizes the characteristics of the point cloud and maintains the topological relationship between points in 3D space.
[0006] The technical solution adopted by the present invention is: a remote sensing image point cloud joint segmentation method based on a cascaded cross-modal network, comprising the following steps:
[0007] Step 1: Collect high-resolution remote sensing images and LiDAR point cloud data covering the same area, and cut the high-resolution remote sensing images into image blocks of the same size according to the range of the LiDAR point cloud.
[0008] Step 2: Divide the point cloud blocks and corresponding image blocks obtained above into training sets and validation sets according to a certain ratio.
[0009] Step 3: Divide the point cloud blocks obtained above into continuous and non-overlapping small point cloud blocks.
[0010] Step 4: Input the small point cloud blocks and corresponding labels in the training set obtained in step 3 into the point cloud semantic segmentation network for training. The point cloud segmentation network is an encoder-decoder structure. The encoder stage passes through four sampling, aggregation and feature extraction modules (SGM modules) in sequence. The first SGM module randomly selects a point, finds the 1024 points farthest from the point, and classifies all input points into 1024 spheres with the obtained 1024 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, it is randomly discarded until the number of points is less than 32. The points in each sphere are input into three convolution modules in sequence as a set. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of channels of the convolution layers in the three convolution modules is 32, 32, and 64, respectively. The second SGM module randomly selects a point from the output points, finds the 256 points farthest from the point, and puts all the input points into 256 spheres with the obtained 256 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, they are randomly discarded until the number of points is less than 32. The points in each sphere are input into three convolution modules in sequence as a set. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolution layer channels in the three convolution modules is 64, 64, and 128 respectively. The third SGM module randomly selects a point from the output points, finds the 64 points farthest from the point, and puts all the input points into 64 spheres with the obtained 64 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, they are randomly discarded until the number of points is less than 32. The points in each sphere are taken as a set and sequentially input into three convolutional modules. Each convolutional module consists of a convolutional layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolutional layer channels in the three convolutional modules is 128, 128, and 256, respectively. The fourth SGM module randomly selects a point from the output points, finds the 16 points farthest from the point, and puts all input points into 16 spheres with the obtained 16 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, it is randomly discarded until the number of points is less than 32. The points in each sphere are taken as a set and sequentially input into three convolutional modules. Each convolutional module consists of a convolutional layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolutional layer channels in the three convolutional modules is 256, 256, and 512, respectively.In the decoder stage, we first calculate the distance between each output point of the third SGM module of the encoder and all the output points of the fourth SGM module, and multiply the features of all the output points of the fourth SGM module with the inverse of the distance as the weight to obtain point features with the same number of output points as the third SGM module. The new point features are connected in series with the point features output by the third SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer and an activation layer of a linear correction unit. The number of convolution layer channels is 256 and 256 respectively. Then calculate the distance between each output point of the second SGM module of the encoder and all the output points just obtained, multiply the features of all the output points just obtained with the inverse of the distance as the weight, and obtain the point features with the same number of output points as the second SGM module. The new point features obtained are connected in series with the point features output by the second SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolution layer channels is 256 and 256 respectively. Then calculate the distance between each output point of the first SGM module of the encoder and all the output points just obtained, multiply the features of all the output points just obtained with the inverse of the distance as the weight, and obtain the point features with the same number of output points as the first SGM module. The new point features obtained are connected in series with the point features output by the first SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolution layer channels is 256 and 128 respectively. Then calculate the distance between the network input point and all the output points just obtained, multiply the features of all the output points just obtained with the inverse of the distance as the weight, and obtain the point features with the same number of points as the network input points. The new point features obtained are connected in series with the point features of the network input points and then input into three convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of channels of the convolution layer is 128, 128, and 128 respectively. Finally, the output of the decoder is input into two convolution layers in sequence, with a convolution kernel size of 1×1 and a number of channels of 128 and 4 respectively. The validation set is used to verify the training process, and the network model A with the ability to extract point cloud features is obtained.
[0011] Step 5: Fix the point cloud semantic segmentation network model parameters obtained by step 4 training and remove the last convolution layer. Input all the large point cloud blocks obtained in step 2 into the point cloud semantic segmentation network to obtain the point cloud feature vector.
[0012] Step 6: Perform coordinate system transformation and projection on the point cloud feature vector F obtained in step 5. That is, first transform the point cloud coordinate system A lidar Through the transformation matrix T (camera←lidar)Transform to camera coordinate system A camera , where T (camera←lidar) is the affine transformation calculated by the simultaneous equations of the origin coordinates of the point cloud coordinate system and the origin coordinates of the camera coordinate system. camera Through the transformation matrix T (pixel←camera) Convert to image coordinate system A pixel , where T (pixel←camera) is the affine transformation calculated by the simultaneous equations of the origin coordinates of the camera coordinate system and the origin coordinates of the image coordinate system. The total transformation matrix is T = T (pixel←camera) T (camera←lidar) ; The feature vector F is multiplied by the total transformation matrix T to obtain a feature map F'=FT of the same size as the corresponding image, and the dimension is compressed.
[0013] Step 7: Crop the feature map obtained in step 6 into small blocks of the same size, with a certain overlap between adjacent blocks. Perform the same cropping operation on the image corresponding to the feature map.
[0014] Step 8: The cropped feature map is concatenated with the corresponding image block and then input into the two-dimensional semantic segmentation network for training. The two-dimensional semantic segmentation network adopted is an encoder-decoder structure. The encoding stage goes through five encoding modules in sequence. The first two encoding modules consist of two convolutional layers with a convolution kernel size of 3×3, a batch normalization layer, an activation layer of a linear correction unit and a maximum pooling layer. The number of convolutional layer channels is 64, 64, 128 and 128 respectively. The last three encoding modules consist of three convolutional layers with a convolution kernel size of 3×3, a batch normalization layer, an activation layer of a linear correction unit and a maximum pooling layer. The number of convolutional layer channels is 256, 256, 256, 512, 512, 512, 512, 512 and 512 respectively. The decoding stage contains four small decoding modules, which respectively contain a convolution layer with a convolution kernel size of 1×1 (the number of channels is 512, 256, 128 and 64, respectively), a convolution layer with a convolution kernel size of 3×3 (the number of channels is 512, 256, 128 and 64, respectively), a batch normalization layer, an activation layer of a linear correction unit and a convolution layer with a convolution kernel size of 3×3 (the number of channels is 512, 256, 128 and 64, respectively). Finally, a convolution layer with a convolution kernel size of 1×1 and 4 channels is connected, and finally a segmentation result map with the same size as the input is obtained. The above network is trained to obtain a network model B with two-dimensional feature extraction capabilities.
[0015] Step 9: Input the test point cloud into the network model A without the last convolutional layer to obtain the point cloud feature vector.
[0016] Step 10: Perform coordinate transformation, projection and dimension compression on the feature vector obtained in step 9 to obtain a two-dimensional feature map with a fixed number of channels.
[0017] Step 11: Concatenate the two-dimensional feature map obtained in step 10 with the corresponding image and output the network model B to obtain the final semantic segmentation result.
[0018] Compared with the prior art, the advantages of the present invention are: a remote sensing image point cloud joint segmentation method based on a cascaded cross-modal network is proposed. We combine the data of the two modalities of point cloud and image, fully explore the characteristics of the two modalities belonging to different dimensional spaces, and obtain better performance than single-modal semantic segmentation. Our method uses the original LiDAR data without additional dimensional compression, making the most of the characteristics of the point cloud and maintaining the topological relationship between points in the three-dimensional space. At the same time, our method integrates the advantages of different modal data and obtains performance that is better than that of single-modal methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 : The cross-modal joint deep learning semantic segmentation framework designed by the present invention;
[0020] Figure 2 : Some visualization results of the method of the present invention. DETAILED DESCRIPTION
[0021] The specific implementation of the present invention is described below with reference to the accompanying drawings and examples.
[0022] Step 1: Collect high-resolution remote sensing images and LiDAR point cloud data covering the same area, and cut the high-resolution remote sensing images into image blocks of the same size as the point cloud of the corresponding area according to the range of the LiDAR point cloud.
[0023] Step 2: Divide the point cloud blocks and corresponding images obtained above into training set and validation set in a ratio of 8:1.
[0024] Step 3: Thin out the point cloud blocks obtained above and divide them into smaller point cloud blocks. The number of points in each point cloud block does not exceed 65536.
[0025] Step 4: Input the small point cloud blocks and corresponding labels in the training set obtained in step 3 into the point cloud semantic segmentation network for training. The point cloud segmentation network is an encoder-decoder structure. The encoder stage passes through four sampling, aggregation and feature extraction modules (SGM modules) in sequence. The first SGM module randomly selects a point, finds the 1024 points farthest from the point, and classifies all input points into 1024 spheres with the obtained 1024 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, it is randomly discarded until the number of points is less than 32. The points in each sphere are input into three convolution modules in sequence as a set. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of channels of the convolution layers in the three convolution modules is 32, 32, and 64, respectively. The second SGM module randomly selects a point from the output points, finds the 256 points farthest from the point, and puts all the input points into 256 spheres with the obtained 256 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, they are randomly discarded until the number of points is less than 32. The points in each sphere are input into three convolution modules in sequence as a set. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolution layer channels in the three convolution modules is 64, 64, and 128 respectively. The third SGM module randomly selects a point from the output points, finds the 64 points farthest from the point, and puts all the input points into 64 spheres with the obtained 64 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, they are randomly discarded until the number of points is less than 32. The points in each sphere are taken as a set and sequentially input into three convolutional modules. Each convolutional module consists of a convolutional layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolutional layer channels in the three convolutional modules is 128, 128, and 256, respectively. The fourth SGM module randomly selects a point from the output points, finds the 16 points farthest from the point, and puts all input points into 16 spheres with the obtained 16 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, it is randomly discarded until the number of points is less than 32. The points in each sphere are taken as a set and sequentially input into three convolutional modules. Each convolutional module consists of a convolutional layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolutional layer channels in the three convolutional modules is 256, 256, and 512, respectively.In the decoder stage, we first calculate the distance between each output point of the third SGM module of the encoder and all the output points of the fourth SGM module, and multiply the features of all the output points of the fourth SGM module with the inverse of the distance as the weight to obtain point features with the same number of output points as the third SGM module. The new point features are connected in series with the point features output by the third SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer and an activation layer of a linear correction unit. The number of convolution layer channels is 256 and 256 respectively. Then calculate the distance between each output point of the second SGM module of the encoder and all the output points just obtained, multiply the features of all the output points just obtained with the inverse of the distance as the weight, and obtain the point features with the same number of output points as the second SGM module. The new point features obtained are connected in series with the point features output by the second SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolution layer channels is 256 and 256 respectively. Then calculate the distance between each output point of the first SGM module of the encoder and all the output points just obtained, multiply the features of all the output points just obtained with the inverse of the distance as the weight, and obtain the point features with the same number of output points as the first SGM module. The new point features obtained are connected in series with the point features output by the first SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of convolution layer channels is 256 and 128 respectively. Then calculate the distance between the network input point and all the output points just obtained, multiply the features of all the output points just obtained with the inverse of the distance as the weight, and obtain the point features with the same number of points as the network input points. The new point features obtained are connected in series with the point features of the network input points and then input into three convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of channels of the convolution layer is 128, 128, and 128 respectively. Finally, the output of the decoder is input into two convolution layers in sequence, with a convolution kernel size of 1×1 and a number of channels of 128 and 4 respectively. The validation set is used to verify the training process, and the network model A with the ability to extract point cloud features is obtained.
[0026] Step 5: Fix the point cloud semantic segmentation network model parameters obtained by step 4 training and remove the last convolution layer. Input all the large point cloud blocks obtained in step 2 into the point cloud semantic segmentation network to obtain a 128-dimensional point cloud feature vector.
[0027] Step 6: Perform coordinate system transformation and projection on the 128-dimensional point cloud feature vector F obtained in step 5. That is, first transform the point cloud coordinate system A lidar Through the transformation matrix T (camera←lidar)Transform to camera coordinate system A camera , where T (camera←lidar) is the affine transformation calculated by the simultaneous equations of the origin coordinates of the point cloud coordinate system and the origin coordinates of the camera coordinate system. camera Through the transformation matrix T (pixel←camera) Convert to image coordinate system A pixel , where T (pixel←camera) is the affine transformation calculated by the simultaneous equations of the origin coordinates of the camera coordinate system and the origin coordinates of the image coordinate system. The total transformation matrix is T = T (pixel←camera) T (camera←lidar) ; The feature vector F is multiplied by the total transformation matrix T to obtain a feature map F'=FT of the same size as the corresponding image, and then the principal component analysis method is used to compress the dimension to 3 dimensions.
[0028] Step 7: Crop the feature map obtained in step 6 into small blocks of size 512*512, with 20% overlap between adjacent blocks. Perform the same cropping operation on the image corresponding to the feature map.
[0029] Step 8: The cropped feature map is concatenated with the corresponding image block and then input into the two-dimensional semantic segmentation network for training. The two-dimensional semantic segmentation network adopted is an encoder-decoder structure. The encoding stage goes through five encoding modules in sequence. The first two encoding modules consist of two convolutional layers with a convolution kernel size of 3×3, a batch normalization layer, an activation layer of a linear correction unit and a maximum pooling layer. The number of convolutional layer channels is 64, 64, 128 and 128 respectively. The last three encoding modules consist of three convolutional layers with a convolution kernel size of 3×3, a batch normalization layer, an activation layer of a linear correction unit and a maximum pooling layer. The number of convolutional layer channels is 256, 256, 256, 512, 512, 512, 512, 512 and 512 respectively. The decoding stage contains four small decoding modules, which respectively contain a convolution layer with a convolution kernel size of 1×1 (the number of channels is 512, 256, 128 and 64, respectively), a convolution layer with a convolution kernel size of 3×3 (the number of channels is 512, 256, 128 and 64, respectively), a batch normalization layer, an activation layer of a linear correction unit and a convolution layer with a convolution kernel size of 3×3 (the number of channels is 512, 256, 128 and 64, respectively). Finally, a convolution layer with a convolution kernel size of 1×1 and 4 channels is connected, and finally a segmentation result map with the same size as the input is obtained. The above network is trained to obtain a network model B with two-dimensional feature extraction capabilities.
[0030] Step 9: Input the test point cloud into the network model A without the last convolutional layer to obtain a 128-dimensional point-by-point cloud feature vector.
[0031] Step 10: The feature vector obtained in step 9 is transformed in coordinates, projected, and dimensionally compressed based on principal component analysis to obtain a two-dimensional feature map with three channels.
[0032] Step 11: Concatenate the two-dimensional feature map obtained in step 10 with the corresponding image and output the network model B to obtain the final semantic segmentation result.
[0033] Figure 2 These are some visualization results of the method of the present invention. It can be seen from the figure that the feature map directly derived from the point cloud mistakenly divides many building pixels into the ground, while the segmentation result obtained by the joint segmentation method of point cloud and image significantly improves the segmentation result and obtains clear building and vegetation target blocks.
[0034] It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.
Claims
1. A remote sensing image point cloud joint segmentation method based on a cascaded cross-modal network, characterized in that: The following steps are involved: Step 1: Collect high-resolution remote sensing images and LiDAR point cloud data covering the same area, and cut the high-resolution remote sensing images into image blocks of the same size according to the range of the LiDAR point cloud; Step 2: Divide the point cloud blocks and corresponding images obtained in step 1 into training sets and validation sets according to a certain ratio; Step 3: Divide the point cloud block in step 2 into continuous and non-overlapping small point cloud blocks; Step 4: Input the small point cloud blocks and corresponding labels in the training set obtained in step 3 into the point cloud semantic segmentation network for training, and use the validation set to verify and observe the training process to obtain a network model A with point cloud feature extraction capabilities; Step 5: Fix the point cloud semantic segmentation network model parameters obtained by step 4 training, remove the last convolution layer, input all the large point cloud blocks obtained in step 2 into the point cloud semantic segmentation network, and obtain the first point cloud feature vector; Step 6: Perform coordinate system transformation and projection on the first point-by-point cloud feature vector obtained in step 5 to obtain a feature map of the same size as the corresponding image, and perform dimensional compression; Step 7: Crop the feature map obtained in step 6 into small blocks of the same size, with a certain overlap between adjacent small blocks, and perform the same cropping operation on the image corresponding to the feature map; Step 8: The cropped feature map is connected in series with the corresponding image block and then input into the two-dimensional semantic segmentation network for training to obtain a network model B with two-dimensional feature extraction capability; Step 9: Input the test point cloud into the network model A without the last convolutional layer to obtain the second point-by-point cloud feature vector; Step 10: Perform coordinate transformation, projection and dimension compression on the second point-by-point cloud feature vector obtained in step 9 to obtain a two-dimensional feature map with a fixed number of channels; Step 11: Concatenate the two-dimensional feature map obtained in step 10 with the corresponding image and output the network model B to obtain the final semantic segmentation result.
2. The remote sensing image point cloud joint segmentation method based on cascaded cross-modal network according to claim 1, characterized in that: In step 2, the ratio of training set to validation set is 8:
1.
3. The remote sensing image point cloud joint segmentation method based on cascaded cross-modal network according to claim 1, characterized in that: The number of points in each small point cloud block after segmentation in step 3 does not exceed 65536.
4. The remote sensing image point cloud joint segmentation method based on cascaded cross-modal network according to claim 1, characterized in that: The size of the cropped feature map in step 7 is 512*512, and the overlap ratio between adjacent small blocks is 20%.
5. The remote sensing image point cloud joint segmentation method based on cascaded cross-modal network according to claim 1, characterized in that: The point cloud semantic segmentation network is an encoder-decoder structure. The encoder stage sequentially passes through four sampling, aggregation and feature extraction modules, referred to as SGM modules. The first SGM module randomly selects a point, finds the 1024 points farthest from the point, and classifies all input points into 1024 spheres with the obtained 1024 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, it is randomly discarded until the number of points is less than 32; the points in each sphere are taken as a set and sequentially input into three convolution modules. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer and a linear algebra layer. The number of channels of the convolutional layers in the three convolutional modules are 32, 32 and 64 respectively; the second SGM module randomly selects a point from the output point, finds the 256 points farthest from the point, and puts all the input points into 256 spheres with the obtained 256 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, they are randomly discarded until the number of points is less than 32; the points in each sphere are taken as a set and sequentially input into the three convolutional modules. Each convolutional module consists of a convolutional layer with a convolution kernel size of 1×1, a batch normalization layer and an activation layer of a linear correction unit. The number of convolutional layer channels in the first convolutional module is 64, 64 and 128 respectively; the third SGM module randomly selects a point from the output point, finds the 64 points farthest from the point, and puts all the input points into 64 spheres with the obtained 64 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, they are randomly discarded until the number of points is less than 32. The points in each sphere are taken as a set and input into the three convolutional modules in sequence. Each convolutional module consists of a convolutional layer with a convolution kernel size of 1×1, a batch normalization layer and an activation layer of a linear correction unit; the number of convolutional layer channels in the three convolutional modules is respectively is 128, 128 and 256; the fourth SGM module randomly selects a point from the output points, finds the 16 points farthest from the point, and puts all the input points into 16 spheres with the obtained 16 points as the center and a radius of 0.01 meters. If the number of points in the sphere exceeds 32, it is randomly discarded until the number of points is less than 32. The points in each sphere are taken as a set and sequentially input into three convolution modules. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer and an activation layer of a linear correction unit. The number of convolution layer channels in the three convolution modules is 256, 256 and 512 respectively; In the decoder stage, the distance between each output point of the third SGM module of the encoder and all the output points of the fourth SGM module is first calculated, and the inverse of the distance is used as the weight to multiply the features of all the output points of the fourth SGM module to obtain the point features with the same number of output points as the third SGM module. The new point features are connected in series with the point features output by the third SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer, and an activation layer of a linear correction unit. The number of channels of the convolution layer is 25. 6 and 256; then calculate the distance between each output point of the second SGM module of the encoder and all the output points just obtained, multiply the features of all the output points just obtained with the inverse of the distance as the weight, and obtain the point features with the same number of output points as the second SGM module. The new point features obtained are connected in series with the point features output by the second SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer and an activation layer of a linear correction unit. The number of convolution layer channels is 256 and 256 respectively; then calculate the encoding The distance between each output point of the first SGM module and all the output points just obtained is multiplied by the features of all the output points just obtained with the inverse of the distance as the weight to obtain the point features with the same number of output points as the first SGM module. The new point features are connected in series with the point features output by the first SGM module and then input into two convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer and an activation layer of a linear correction unit. The number of convolution layer channels is 256 and 128 respectively. Then the input point of the network is calculated with all the just obtained The distance of the output point is multiplied with the features of all the output points just obtained with the inverse of the distance as the weight to obtain the point features with the same number of input points of the network. The new point features are connected in series with the point features of the input points of the network and then input into three convolution modules in sequence. Each convolution module consists of a convolution layer with a convolution kernel size of 1×1, a batch normalization layer and an activation layer of a linear correction unit. The number of convolution layer channels is 128, 128 and 128 respectively; finally, the output of the decoder is input into two convolution layers in sequence, with a convolution kernel size of 1×1 and a channel number of 128 and 4 respectively.
6. The remote sensing image point cloud joint segmentation method based on cascaded cross-modal network according to claim 1, characterized in that: The specific implementation of step 6 is as follows; First, from the point cloud coordinate system A lidar Through the transformation matrix T (camera←lidar) Transform to camera coordinate system A camera , where T (camera←lidar) The affine transformation is calculated based on the simultaneous equations of the origin coordinates of the point cloud coordinate system and the origin coordinates of the camera coordinate system, and then the camera coordinate system A camera Through the transformation matrix T (pixel←camera) Convert to image coordinate system A pixel , where T (pixel←camera) is the affine transformation calculated by the simultaneous equations of the origin coordinates of the camera coordinate system and the origin coordinates of the image coordinate system. The total transformation matrix is T = T (pixel←camera) T (camera←lidar) Finally, the feature vector F is multiplied by the total transformation matrix T to obtain a feature map F'=FT with the same size as the corresponding image, and the dimension is compressed.
7. The remote sensing image point cloud joint segmentation method based on cascaded cross-modal network according to claim 1, characterized in that: The two-dimensional semantic segmentation network is an encoder-decoder structure. The encoding stage goes through five encoding modules in sequence. The first two encoding modules consist of two convolutional layers with a convolution kernel size of 3×3, a batch normalization layer, a linear rectification unit activation layer and a maximum pooling layer. The number of convolutional layer channels is 64, 64, 128 and 128 respectively. The last three encoding modules are composed of three convolutional layers with a convolution kernel size of 3×3, a batch normalization layer, an activation layer of a linear rectification unit and a maximum pooling layer. The number of channels of the convolutional layers are 256, 256, 256, 512, 512, 512, 512, 512 and 512 respectively; the decoding stage contains four decoding modules, which respectively contain a convolutional layer with a convolution kernel size of 1×1, with the number of channels being 512, 256, 128 and 64 respectively, a convolutional layer with a convolution kernel size of 3×3, with the number of channels being 512, 256, 128 and 64 respectively, a batch normalization layer, an activation layer of a linear rectification unit and a convolutional layer with a convolution kernel size of 3×3, with the number of channels being 512, 256, 128 and 64 respectively, and finally a convolutional layer with a convolution kernel size of 1×1 and the number of channels being 4.
8. The remote sensing image point cloud joint segmentation method based on cascaded cross-modal network according to claim 1, characterized in that: Dimensionality reduction based on principal component analysis.
