Multi-spectrum remote sensing image semantic segmentation method based on pseudo twin network

Through the semantic segmentation method of multi-spectrum remote sensing images based on pseudo-twin networks, the complementarity of different spectrum images is used to solve the stability and information fusion problems of multi-spectrum data under different conditions, and achieve high-precision semantic segmentation effects.

CN118537549AActive Publication Date: 2024-08-23NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Patent Information

Application Number
CN202410537644.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-23
Estimated Expiration
2044-04-30

AI Technical Summary

Technical Problem

How to use the complementarity of different spectrum remote sensing images to form a semantic segmentation model with high segmentation accuracy to solve the stability and information fusion problems of multi-spectrum data under different weather and lighting conditions.

Method used

A multi-spectrum remote sensing image semantic segmentation method based on pseudo-twin network is used to collect and register visible light, infrared and SAR images, perform upsampling and preprocessing with consistent resolution, build a convolutional neural network model, and use feature extraction, fusion and The texture enhancement module combines the attention mechanism to achieve semantic segmentation.

Benefits of technology

It achieves high-precision semantic segmentation of multi-spectral images, improves the representation ability and robustness of the model, maintains stability under different conditions, and automatically learns features from the training database for segmentation and discrimination through deep learning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537549A
    Figure CN118537549A
Patent Text Reader

Abstract

The invention discloses a multi-spectrum remote sensing image semantic segmentation method based on a pseudo-twin network, and the method comprises the following steps: inputting a four-channel optical image, an SAR image and the annotation of the SAR image into a backbone network of a model, respectively inputting the SAR image and the optical image into independent convolution flows through the pseudo-twin backbone network, and carrying out the feature extraction; the same multilayer Res2net structure is adopted for parallel processing so as to obtain feature representations of different hierarchies; fusing the multi-spectrum features through Concat operation, assigning different weights to the channel by using channel attention, and obtaining a new bispectrum fusion feature; the fusion features of different scales are respectively sent into a texture enhancement module for enlarging a receptive field; fusing the features of different levels by using a cascade feature fusion module to obtain final image feature representation after multi-level fusion; and finally, performing convolution, up-sampling and Softmax operation on the features by using a decoder to obtain a final semantic segmentation result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a multi-spectrum remote sensing image semantic segmentation method based on a pseudo twin network. Background Art

[0002] With the explosive growth of available annotated data and the rapid development of high-performance computing units, deep learning has entered a stage of rapid development. In recent years, deep learning methods have become mainstream technologies in fields such as data mining, information retrieval and recommendation, computer vision, and bioinformatics. In particular, they have promoted the rapid development of image segmentation, and its segmentation accuracy has been greatly improved. In the field of computer vision, semantic segmentation refers to assigning each pixel in an image to a specific category or object, thereby achieving pixel-level image segmentation. This task requires not only identifying objects in the image, but also determining the boundaries and shapes of each object.

[0003] Compared with single spectrum images, visible light, infrared and SAR multi-spectral image data have obvious advantages. It can provide higher accuracy and reliability because it integrates data from different sensors, time and perspective, which helps us identify and classify objects more accurately. Multi-spectral data also enhances the robustness of the segmentation algorithm, enabling it to maintain stability under different weather and lighting conditions. In addition, multi-spectral data also provides rich spatiotemporal information, which helps to monitor the spatiotemporal changes of objects, reduce the impact of data missing on analysis results, and increase the diversity of semantic information. The use of pseudo-twin networks can process data of different spectra at the same time and fuse their information in the feature extraction stage, avoiding information confusion and loss while making full use of information from multi-source data and improving the representation ability of the model.

[0004] Therefore, how to utilize the complementarity of remote sensing images of different spectra, organically combine their semantic information, and form a semantic segmentation model with high segmentation accuracy is an urgent problem to be solved in the field of remote sensing image semantic segmentation. Summary of the invention

[0005] In order to solve the problems in the above-mentioned background technology, the present invention aims to provide a multi-spectral remote sensing image semantic segmentation method based on a pseudo-twin network, which can make full use of the multi-spectral image training model of the training data set, so that the model can automatically segment the region of interest.

[0006] In order to solve the above technical problems, the present invention provides a multi-spectrum remote sensing image semantic segmentation method based on a pseudo twin network, comprising the following steps:

[0007] (1) collecting a tri-spectral dataset, wherein the tri-spectral dataset includes visible light, infrared, and SAR remote sensing images, and registering the three images;

[0008] (2) The source image with the highest image resolution and pixel resolution in the registered tri-spectral dataset is used as the reference image, and the other two source images are used as the images to be processed. The low-resolution image is upsampled to maintain the consistency of resolution;

[0009] (3) Segment and annotate the tri-spectral image processed in step (2) into seven categories: city, road, village, water, forest, farmland, and others;

[0010] (4) Preprocessing the labeled data set, including image denoising and smoothing, and image contrast enhancement; and expanding the preprocessed data set to obtain an augmented data set, using image flipping and random Gaussian noise addition as the augmentation method;

[0011] (5) The amplified data set is divided into a training database, with the ratio of training set to validation set being 8:2.

[0012] (6) Construct a convolutional neural network model for semantic segmentation of tri-spectral remote sensing images;

[0013] (7) using the training database processed in step (5) to train the convolutional neural network model in step (6), and adjusting the parameters of the convolutional neural network according to a set learning rate during training, thereby obtaining a convolutional neural network model for semantic segmentation of three-spectrum remote sensing images after multiple trainings;

[0014] (8) The image to be segmented is input into the convolutional neural network trained in step (7). The output value of the last layer in the convolutional neural network is calculated by the softmax function to obtain the classification probability of each pixel in the image to be segmented, thereby realizing the semantic segmentation of each region of interest in the image to be segmented.

[0015] Preferably, in step (1), the three-spectrum images are registered using a cross-modal mutual information registration algorithm, and the specific steps are as follows:

[0016] (11) Selecting the image with the highest image resolution and pixel resolution as the reference image for registration. The data set of this patent uses visible light images as the reference image for registration;

[0017] (12) Using mutual information algorithm Find the best transformation between the two images to achieve field of view registration between the three-spectrum images;

[0018] Where x and y represent the pixel positions in the image, X and Y represent the pixel values ​​in the image, p(x,y) represents the joint probability distribution of the corresponding pixel points (x,y) of the two images, and p(x) and p(y) represent the edge probability distributions of the two images at the pixel points x and y, respectively.

[0019] Preferably, in step (2), the image is resampled using bilinear interpolation, and the specific steps are as follows:

[0020] (21) The SAR image is upsampled using the bilinear interpolation method, and the calculation formula is:

[0021] I(x,y)=(1-w x )(1-w y )I 00 +w x (1-w y )I 10 +(1-w x ) y I 01 +w x w y I 11

[0022] Among them, I(x,y) is the pixel value of the interpolation point; I 00 I 10 I 01 I 11 are the values ​​of the four known pixels around the interpolation point; w x is the weight in the horizontal direction, calculated as where x 00 and x 00 are the horizontal coordinates of the two nearest known pixels; w y is the weight in the vertical direction, calculated as where y 00 and 01 are the vertical coordinates of the two nearest known pixels.

[0023] Preferably, in step (6), a convolutional neural network model for semantic segmentation of three-spectrum remote sensing images is constructed, and the specific steps are as follows:

[0024] (61) A pseudo-twin backbone network for extracting image features is established. The SAR and optical images are input into independent convolutional streams for feature extraction, and the same multi-layer Res2net structure is used for parallel processing, and deformable convolution is used to replace the ordinary convolution in the Res2net network. In the Res2Net module, the input features are divided into p groups, denoted as x i ,i∈1,2,...,p; the number of channels of each set of features is 1 / p of the number of input feature channels; except for the first set, each set of features undergoes a 3×3 convolution, and this convolution operation is denoted as K i ; Except for the first and last groups, the feature x of the i-th group i First, with the previous group K i-1 The outputs are added and the result is K iOperation; concatenate the outputs of these p groups in the channel dimension, and then perform a 1×1 convolution operation;

[0025] (62) Establish a feature fusion and texture enhancement module. This model fuses multi-source features through the Concat operation, and then assigns different weights to channels through channel attention to balance the information content and importance of multi-source features. Visible light and infrared features F opt With SAR feature F sar After the Concat channel is superimposed, a set of weights is obtained through average pooling in the channel direction, and then the weights are normalized to between 0 and 1 through the fully connected layer and sigmoid. Then it is multiplied with the multi-source features in the channel dimension to obtain a new set of multi-source fusion features. The texture enhancement module is then used to enhance the feature texture;

[0026] (63) Establish a cascade feature fusion module. The attention module CBAM that fuses channel and spatial attention focuses on the most informative part. The output F of the texture enhancement module temi With the upsampled F i-1 After the Concat operation, the new feature output F is obtained through the CBAM attention module. i ; It is expressed by the following formula:

[0027] F i =CBAM{Concat[F temi ,U(F i-1 )]}

[0028] In the formula, U() represents upsampling, Concat() represents channel superposition, and CBAM() represents the attention mechanism;

[0029] (64) Construct a decoder. F3 is input to the decoder, and the final semantic segmentation result is obtained after convolution, upsampling and Softmax. The above operation can be expressed by the following formula:

[0030] f3=C3{U[C3(F3)]}

[0031] Pred=Softmax(f3)

[0032] In the formula, C3 represents 3×3 convolution, U represents upsampling, and Pred represents the prediction result.

[0033] Preferably, in step (7), the model training parameters are set, and the specific steps are as follows:

[0034] (71) The training used a GPU model NVIDA GeForce RTX 3060 with 6G video memory and a CPU processor 12th GenIntel(R)Core(TM)i5-12500H 3.10GHz. The learning rate set during training was 0.00001, the number of training rounds was 200, and the learning rate decayed every 50 layers with a decay rate of 0.1; the learning rate of each training was less than or equal to the learning rate of the previous training.

[0035] The beneficial effects of the present invention are as follows: the present invention can be applied to a database with a relatively small amount of data. After multi-spectral data alignment and data amplification, deep learning can be used to automatically learn the required features from the training database and perform segmentation and discrimination. During the training process, the data features used for judgment are continuously corrected and the convolutional neural network parameters are adjusted, thereby performing high-precision semantic segmentation on the area of ​​interest of the image to be processed. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 This is a structural diagram of the multi-spectral semantic segmentation neural network model of the present invention;

[0037] Figure 2 This is a diagram of the pseudo-twin feature extraction backbone network structure of the present invention;

[0038] Figure 3 This is a structural diagram of a multi-spectrum feature fusion module of the present invention;

[0039] Figure 4 This is a structural diagram of a texture enhancement module of the present invention;

[0040] Figure 5 It is a structural diagram of a decoder module of the present invention;

[0041] Figure 6 This is a diagram of the semantic segmentation experiment results of the present invention. DETAILED DESCRIPTION

[0042] The technical solution of the present invention is now fully described in conjunction with the accompanying drawings. The following description is only a part of the implementation cases of the present invention, not all. Based on the implementation cases in the present invention, all other implementation cases obtained by those skilled in the art without making creative work are within the scope of protection of the present invention. Specific embodiment:

[0044] The present application is a multi-spectral remote sensing image semantic segmentation method based on a pseudo-twin network, which includes the following steps:

[0045] Step 1: Collect visible light, infrared and SAR remote sensing images and align them;

[0046] The collected 4-band optical images are from the GF-1 satellite with a pixel resolution of 2 meters, and the SAR images are from the FSⅡ satellite with a pixel resolution of 5 meters. It contains 100 optical images of 5556*3704 pixels and SAR images of the same area, covering Hubei Province (30°N-33°N, 108°E-117°), with an area of ​​about 50,000 square kilometers. The area has a subtropical monsoon climate, with a minimum altitude of 50m and a maximum altitude of 3000m, covering different terrains such as mountains, woodlands, hills, and plains, as well as different vegetation such as coniferous forests, broad-leaved forests, shrubs, and aquatic vegetation. The reference image for registration is the visible light image. Using the mutual information algorithm Find the best transformation between two images to achieve field of view registration.

[0047] Step 2: Upsample the SAR image with a pixel resolution of 5m to maintain the consistency of the resolution of the multi-spectral image group;

[0048] The SAR image is upsampled using bilinear interpolation, and the calculation formula is:

[0049] I(x,y)=(1-w x )(1-w y )I 00 +w x (1-w y )I 10 +(1-w x ) y I 01 +w x w y I 11

[0050] Among them, I(x,y) is the pixel value of the interpolation point; I 00 I 10 I 01 I 11 are the values ​​of the four known pixels around the interpolation point; w x is the weight in the horizontal direction, calculated as where x 00 and x 00 are the horizontal coordinates of the two nearest known pixels; w y is the weight in the vertical direction, calculated as where y 00 and 01 are the vertical coordinates of the two nearest known pixels.

[0051] Step 3: Use labelme to segment and annotate the tri-spectral image processed in step 2. The annotated categories are city, road, countryside, water, forest, farmland and others, a total of 7 categories;

[0052] Step 4: Preprocess the labeled data set, including image denoising and smoothing, and image contrast enhancement; and expand the preprocessed data set to obtain an augmented data set, using image flipping and random Gaussian noise addition as the augmentation method;

[0053] Step 5: Cut the image into 256×256 pixel patches and divide the data set into a training database, with a training set: validation set ratio of 8:2.

[0054] Step 6: Construct a convolutional neural network model for semantic segmentation of three-spectrum remote sensing images;

[0055] like Figure 1 As shown in the figure, a multi-spectral remote sensing image semantic segmentation model based on pseudo-twin network:

[0056] The model uses optical and SAR images for remote sensing image semantic classification. The input of the network is independent optical images and SAR images and their annotations. The images and annotations correspond to each other pixel by pixel. The optical image is a 4-channel fusion of a three-channel RGB visible light image and a single-channel infrared image. The encoder is used for feature extraction and fusion. The decoder receives the output from the encoder and decodes the vector output by the encoder into the final semantic segmentation result. It mainly includes three parts: pseudo-twin feature extraction, multi-source feature fusion and texture enhancement, cascade feature fusion and feature decoding.

[0057] (1) Pseudo-twin feature extraction module

[0058] like Figure 2 As shown in the figure, due to the huge difference in imaging features between optical images and SAR images, a pseudo twin network is designed. The SAR and optical image patches are input into independent convolutional streams for feature extraction, and the same multi-layer Res2net structure is used for parallel processing to obtain meaningful representations, thereby avoiding interference between optical and SAR images caused by the huge difference in the expression of ground objects. At the same time, the convolution in the conventional Res2net backbone network is replaced with a deformable convolution, which improves the network's ability to handle irregular shapes and deformation problems such as airports.

[0059] In the Res2Net module, the input features are divided into p groups, denoted as x i ,i∈1,2,...,p; the number of channels of each set of features is 1 / p of the number of channels of the input features. Except for the first set, each set of features will undergo a 3×3 convolution, and this convolution operation is denoted as K i ; Except for the first and last groups, the feature x of the i-th group i First, with the previous group K i-1 The outputs are added and the result is K iOperation. The above operation can be expressed by the following formula:

[0060]

[0061] The outputs of these p groups are concatenated in the channel dimension, and then a 1×1 convolution operation is performed. Obviously, the input of the convolution operation of the i-th group contains multiple sets of input features: {x j ,j≤i}. Since Res2Net can extract features of different receptive fields and multiple scales, Res2Net can effectively extract global features and local features.

[0062] (2) Feature fusion and texture enhancement module

[0063] The imaging mechanisms of SAR images are different from those of visible light and infrared images, so the information content of the features extracted by the feature extraction network is also different. This model fuses multi-source features through the Concat operation, and then assigns different weights to channels through channel attention to balance the information content and importance of multi-source features. Figure 3 As shown, the visible light and infrared characteristics F opt With SAR feature F sar After the Concat channel is superimposed, a set of weights is obtained through average pooling in the channel direction, and then the weights are normalized to between 0 and 1 through a fully connected layer and sigmoid. Then, it is multiplied with the multi-source features in the channel dimension to obtain a new set of multi-source fusion features.

[0064] like Figure 4 As shown in the figure, it is a texture enhancement module (TEM), which adds a larger dilation rate branch to expand the receptive field and fuse more hierarchical features. The fused features of three different scales are respectively sent to the texture enhancement module (TEM) to expand the receptive field and enhance the image texture, thereby helping the convolutional neural network to better handle the image segmentation task under complex background. Each TEM component includes four parallel residual branches and a shortcut branch (gray arrow). The first residual branch performs a 1×1 convolution operation; the second residual branch performs a 1×1 convolution operation and then splits the 3×3 convolution operation into two 1×3 and 3×1 continuous convolution operations, thereby improving the inference speed without reducing the representation ability; the third residual branch performs the same operation, and after performing a 1×1 convolution operation, the 5×5 convolution operation is split into two 1×5 and 5×1 continuous convolution operations; the fourth residual branch is similar, splitting the 7×7 convolution operation into two 1×7 and 7×1 continuous convolution operations. After the residual convolution calculation is completed, the four residual convolutions are superimposed in the channel dimension and then added to the original features through a 1×1 convolution.

[0065] (3) Cascade feature fusion module

[0066] Since the feature maps of different scales in each layer have strong semantic information, the cascade feature fusion module fuses the features of different levels to fuse the feature maps with strong low-resolution semantic information and the feature maps with weak high-resolution semantic information but rich spatial information with less computation. The features between different levels are focused on the most informative parts through the attention module CBAM that fuses channel and spatial attention. Output of texture enhancement module Output of texture enhancement module F temi With the upsampled F i-1 After the Concat operation, the new feature output F is obtained through the CBAM attention module. i The above operation can be expressed by the following formula:

[0067] F i =CBAM{Concat[F temi ,U(F i-1 )]}

[0068] In the formula, U() represents upsampling, Concat() represents channel superposition, and CBAM() represents the attention mechanism.

[0069] The channel attention mechanism is a feature selection mechanism used in convolutional neural networks. It compresses the feature map in the spatial dimension to obtain a one-dimensional vector, and implements feature selection on this basis. When performing compression in the spatial dimension, the mechanism not only considers average pooling, but also includes maximum pooling. Both pooling operations can be used to aggregate the spatial information of the feature map and transmit it to a shared network, thereby compressing the spatial dimension of the input feature map and summing it element by element to produce a channel attention map. In contrast, the spatial attention mechanism compresses in the channel dimension, using average pooling and maximum pooling to extract information on the channel. When performing the MaxPool operation, the maximum value on the channel is extracted, and this operation is repeated in the height and width dimensions; the AvgPool operation extracts the average value on the channel and repeats it in the height and width dimensions.

[0070] (4) Decoder

[0071] like Figure 5 As shown, F3 is input to the decoder, and the final semantic segmentation result is obtained after convolution, upsampling and Softmax. The above operation can be expressed by the following formula:

[0072] f3=C3{U[C3(F3)]}

[0073] Pred=Softmax(f3)

[0074] In the formula, C3 represents 3×3 convolution, U represents upsampling, and Pred represents the prediction result.

[0075] Step 7: Use the training database processed in step 5 to train the convolutional neural network model in step 6. The GPU model used for training is NVIDA GeForce RTX 3060, with 6G video memory; the CPU processor is 12th Gen Intel(R)Core(TM)i5-12500H3.10GHz. Use the cross entropy function as the model loss function, the Adam algorithm as the optimizer, the optimizer momentum is 0.9, and the weight decay coefficient of the L2 regularization term is added to prevent the model from overfitting. The learning rate is 0.00001, the training round is 200 rounds, and the learning rate decays at every 50 layers, with a decay rate of 0.1; the learning rate of each training is less than or equal to the learning rate of the previous training;

[0076] Step 8: Input the image to be segmented into the convolutional neural network trained in step 7. The output value of the last layer in the convolutional neural network is calculated by the softmax function to obtain the classification probability of each pixel in the image to be segmented, thereby realizing the semantic segmentation of each region of interest in the image to be segmented.

[0077] The semantic segmentation test results are as follows Figure 6 As shown. This method uses deep learning to automatically learn the required features from the training data set and perform semantic segmentation, and continuously optimizes the features and parameters used for discrimination during the training process. This method selects and uses 1080 sets of annotated multi-spectrum remote sensing images for training, and the test set contains 270 sets of multi-spectrum images. After training, the neural network model described in the present invention has an overall semantic segmentation accuracy of 85.3%. The multi-spectrum remote sensing image semantic segmentation algorithm of this patent has relatively excellent performance. Compared with single-spectrum algorithms, it can better utilize multi-spectrum data to extract features. At the same time, compared with other multi-spectrum algorithms, it also takes into account issues such as image difference processing and global feature acquisition, and performs better.

[0078] The above embodiments are only used to illustrate the present invention, rather than to limit the present invention. Various changes or modifications made by technicians in the relevant technical field without departing from the spirit and scope of the present invention all belong to the scope of the present invention.

[0079] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention, and the scope of protection claimed in the present invention is defined by the attached claims, description and their equivalents.

Claims

1. A multi-spectral remote sensing image semantic segmentation method based on pseudo-twin network, characterized in that: The steps include: Step 1: Collect a tri-spectral dataset, which includes visible light, infrared and SAR remote sensing images, and register the three images; Step 2: The source image with the highest image resolution and pixel resolution in the registered tri-spectral dataset is used as the reference image, and the other two source images are used as the images to be processed. The low-resolution image is upsampled to maintain the consistency of resolution; Step 3: Segment and annotate the three-spectrum data set processed in step 2; Step 4: Preprocess the annotated three-spectrum data set, and expand the preprocessed data set to obtain an amplified data set. The amplification method uses image flipping and randomly adding Gaussian noise. Step 5: Divide the amplified data set to form a training database; Step 6: Construct a convolutional neural network model for semantic segmentation of three-spectrum remote sensing images; Step 7: using the training database to train the convolutional neural network model of step 6, adjusting the parameters of the convolutional neural network according to the set learning rate during training, and obtaining a trained convolutional neural network model for semantic segmentation of three-spectrum remote sensing images; Step 8: Input the image to be segmented into the convolutional neural network trained in step 7. The output value of the last layer in the convolutional neural network is calculated by the softmax function to obtain the classification probability of each pixel in the image to be segmented, thereby realizing the semantic segmentation of each region of interest in the image to be segmented.

2. The multi-spectral remote sensing image semantic segmentation method based on pseudo twin network according to claim 1, characterized in that: In step 1, the three-spectrum data set is registered using the cross-modal mutual information registration algorithm, specifically: Step 1.1, select the image with the highest image resolution and pixel resolution as the reference image for registration. This dataset uses visible light images as the reference image for registration; Step 1.2, using the mutual information algorithm Get the best transformation between the two images and achieve field of view registration between the three-spectrum images; Where x and y represent the pixel positions in the image, X and Y represent the pixel values ​​in the image, p(x,y) represents the joint probability distribution of the corresponding pixel points (x,y) of the two images, and p(x) and p(y) represent the edge probability distributions of the two images at the pixel points x and y, respectively.

3. The multi-spectral remote sensing image semantic segmentation method based on pseudo twin network according to claim 1, characterized in that: In step 2, the low-resolution image is upsampled using a bilinear interpolation method to maintain the consistency of the pixel resolution of the registered tri-spectrum image, specifically: Step 2.1, use bilinear interpolation to upsample the SAR remote sensing image, the calculation formula is: I(x,y)=(1-w x )(1-w y )I 00 +w x (1-w y )I 10 +(1-w x )w y I 01 +w x w y I 11 Among them, I(x,y) is the pixel value of the interpolation point; I 00 I 10 I 01 I 11 are the values ​​of the four known pixels around the interpolation point; w x is the weight in the horizontal direction, calculated as where x 00 and x 00 are the horizontal coordinates of the two nearest known pixels; w y is the weight in the vertical direction, calculated as where y 00 and 01 are the vertical coordinates of the two nearest known pixels.

4. The multi-spectral remote sensing image semantic segmentation method based on pseudo twin network according to claim 1, characterized in that: In step 6, a convolutional neural network model for semantic segmentation of three-spectrum remote sensing images is constructed, specifically: Step 6.1, establish a pseudo twin backbone network for extracting image features: input the SAR remote sensing image and the visible light and infrared optical images into independent convolutional streams for feature extraction, and use the same multi-layer Res2net structure for parallel processing. In the multi-layer Res2net structure, deformable convolution is used to replace the ordinary convolution in the Res2net network; in the multi-layer Res2Net structure, the input features are divided into p groups, respectively denoted as x i ,i∈1,2,...,p; the number of channels of each set of features is 1 / p of the number of channels of the input features; except for the first set, each set of features undergoes a 3×3 convolution, and this convolution operation is denoted as K i ; Except for the first and last groups, the feature x of the i-th group i First, with the previous group K i-1 The outputs are added and the result is K i Operation; concatenate the outputs of these p groups in the channel dimension, and then perform a 1×1 convolution operation; Step 6.2, establish feature fusion and texture enhancement module: fuse multi-source features through Concat operation, assign different weights to channels through channel attention; visible light and infrared feature F opt With SAR feature F sar After the Concat channel is superimposed, a set of weights is obtained through average pooling in the channel direction, and then the weights are normalized to between 0 and 1 through a fully connected layer and sigmoid. Then, the weights are multiplied with the multi-source features in the channel dimension to obtain a new set of multi-source fusion features. Then the texture enhancement module is used to enhance the feature texture; Step 6.3, establish a cascade feature fusion module: focus on the most informative part by fusing the attention module CBAM of channel and spatial attention; The output F of the texture enhancement module temi With the upsampled F i-1 After the Concat operation, the new feature output F is obtained through the CBAM attention module. i ; It is expressed by the following formula: F i =CBAM{Concat[F temi ,U(F i-1 )]} In the formula, U() represents upsampling, Concat() represents channel superposition, and CBAM() represents the attention mechanism; Step 6.4, build decoder: F3 is input to the decoder, and the final semantic segmentation result is obtained through convolution, upsampling and Softmax. The operation of step 6.4 is expressed by the following formula: f3=C3{U[C3(F3)]} Pred=Softmax(f3) In the formula, C3 represents 3×3 convolution, U represents upsampling, and Pred represents the prediction result.

5. The multi-spectral remote sensing image semantic segmentation method based on pseudo twin network according to any one of claims 1 to 4, characterized in that: In step 3, the labeled categories are city, road, village, water body, forest, farmland and other 7 categories.

Citation Information

Patent Citations

  • Remote sensing image semantic segmentation method based on attention multi-scale feature fusion

    CN111127493A

  • Zero learning medical image fusion method based on twinborn convolutional neural network

    CN114821259A

  • Apparatus and method for implementing physics engine using visual localization

    KR102616030B1

Cited By

  • Multimodal remote sensing image semantic segmentation method and system

    CN119625737A