Polarimetric SAR image classification method based on target decomposition guided multimodal learning
By constructing a cross-domain network model and using the feature matrix and text prior knowledge of polarimetric SAR images for alignment learning, the problem of cross-domain migration of polarimetric SAR image data is solved, the accuracy and transparency of image classification are improved, and deeper Hierarchical semantic information mining.
Patent Information
- Application Number
- CN202410529985.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-04-29
AI Technical Summary
Polarimetric SAR image data has serious domain offsets in cross-domain data due to the diversity of imaging modes and scenes, making it difficult to generalize source domain data to target domain data, affecting the accuracy of image classification.
Using a multi-modal learning method based on target decomposition guidance, by constructing a cross-domain network model, using the feature matrix and text prior knowledge of polarimetric SAR images, image and text alignment learning is performed, and discriminative semantic features with physical characteristics are generated. , improve the transparency and classification accuracy of deep learning algorithms.
It effectively improves the classification accuracy of polarimetric SAR images, enhances the semantic information mining ability of polarimetric scattering images, improves the generalization ability of cross-domain data, and improves the transparency and accuracy of image classification.
Smart Images

Figure CN118365944B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of polarimetric synthetic aperture radar image interpretation, and in particular to a polarimetric SAR image classification method based on target decomposition-guided multi-modal learning. Background Art
[0002] Polarimetric Synthetie Aperture Radar (PolSAR) is a multi-parameter, multi-channel imaging radar system and an important component of SAR. Polarimetric SAR transmits and receives two sets of coherent polarized electromagnetic waves almost simultaneously, and measures the target in full polarization (if the linear polarization basis is used, the full polarization data is four combinations of horizontal polarization and vertical polarization). Unlike the processing of single-polarization SAR data, the target data of polarimetric SAR is in the form of a polarization matrix, and the polarization matrix is often associated with the corresponding scattering mechanism model, so the mining and extraction of information is more complicated. The polarimetric SAR system has the following characteristics: it provides more complete backscattering information of the target and describes the target in more detail: polarimetric SAR can obtain the energy characteristics, phase characteristics, oscillation characteristics and vector characteristics of the scattered echo. The measured vector data can not only describe the power of the target at a specific observation frequency and attitude, but also the physical properties, dielectric constant, geometric shape, azimuth orientation, spatial distribution, roughness, humidity and material composition of the target, etc. These characteristics become an important basis for obtaining target information and even further extracting target classification and identification features; it is easy to understand the scattering mechanism of the target: the polarization SAR system describes the target through a scattering matrix, and through target decomposition, the scattering characteristics of the target can be further obtained, which is convenient for understanding the scattering properties of the target; it has higher anti-interference ability: multiple polarization information is conducive to selecting a transmitting and receiving polarization combination with a higher signal-to-noise ratio.
[0003] In recent years, polarimetric SAR image classification technology based on deep learning has become mainstream, and the combination of the characteristics of polarimetric SAR systems and deep learning has also become a major research focus. Polarimetric SAR data has grown in massive amounts and has also shown significant diversity, mainly reflected in the imaging mode parameters and scene diversity, which has caused serious domain offset in the polarimetric characteristics of cross-domain data objects, so that the source domain data cannot be well generalized to the target domain data. Summary of the invention
[0004] In order to solve the technical problems in the above background, the present invention provides a polarimetric SAR image classification method based on target decomposition guided multimodal learning, the steps comprising:
[0005] Collecting polarimetric SAR images of the same type of ground objects, wherein the polarimetric SAR images include: source domain polarimetric SAR images and target domain polarimetric SAR images;
[0006] Preprocessing the polarimetric SAR image to obtain a feature matrix of the polarimetric SAR image;
[0007] Construct a cross-domain network model based on multimodality;
[0008] Using the feature matrix to train the cross-domain network model to obtain a classification model;
[0009] The classification model is used to complete the classification of polarimetric SAR images.
[0010] Preferably, the method for performing the pretreatment comprises:
[0011] Performing multi-view processing, normalization and operation on the SAR polarization image to obtain a processed image;
[0012] Each pixel point in the processed image is represented by a 3×3 polarization coherence matrix, and a feature vector of each pixel point is obtained according to the polarization coherence matrix of each pixel point, and then a feature matrix of the polarization SAR image is constructed.
[0013] Preferably, the multimodal cross-domain network model comprises: an image data input layer, an image encoder, a text input layer and a text encoder;
[0014] The operation process of the multimodal cross-domain network model includes:
[0015] The image data input layer is cascaded with the input end of the image encoder to obtain image features, and the true label and the predicted value are used to construct the image classification cross entropy loss; the text input layer is cascaded with the input end of the text encoder to obtain text features, the image features and text features are input into the semantic space for alignment, and the image-to-text and text-to-image alignment losses are constructed based on supervised contrastive learning; the image-to-text and text-to-image alignment losses and the image classification cross entropy loss are added together to obtain the total loss.
[0016] Preferably, the image encoder includes: a first convolutional layer, a first ReLU activation layer, a second convolutional layer, a second ReLU activation layer, a third convolutional layer, a first normalization layer, a third ReLU activation layer, a fourth convolutional layer, a second normalization layer, a fourth ReLU activation layer, a fifth convolutional layer, a third normalization layer, a fifth ReLU activation layer, a maximum pooling layer, an adaptive average pooling layer, a first fully connected layer, and a second fully connected layer, which are cascaded in sequence.
[0017] Preferably, the text encoder adopts the Transformer architecture, and the basic size of the text encoder is 33M parameters, three layers, 512 width, and 8 attention heads.
[0018] Preferably, the method of constructing image-to-text and text-to-image alignment losses comprises:
[0019]
[0020] Among them, v i and l i is the i-th visual feature and language feature of each batch; P v (i) and A v (i) are the positive sample set and negative sample set of visual features respectively; P l (i) and A l (i) are the positive sample set and negative sample set of language features, and |P v (i)|=|P l (i)|=|P(i)|; and is one of the positive sample sets and one of the negative sample sets of language features. Similarly, and Represented as one of the positive sample sets and one of the negative sample sets of visual features; τ is the temperature parameter.
[0021] Preferably, during training, a temperature parameter τ that controls the logarithmic scale of the softmax is explicitly optimized as a logarithmically parameterized multiplicative scalar.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] The present invention makes full use of known physical models and domain knowledge to mine feature representations with strong generalization capabilities and physical properties. That is, it makes full use of the strong interpretability of target decomposition features, and thus uses the textual prior knowledge of the physical information of polarized target decomposition features to obtain discriminative semantic feature representations with physical properties, which can improve the transparency of deep learning algorithms, and the text can supplement the semantic information of polarized scattering images, thereby mining deeper semantic information and knowledge. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0025] Figure 1 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] Embodiment 1
[0029] like Figure 1 FIG. 1 is a schematic diagram of the method flow of this embodiment, and the steps include:
[0030] S1. Collect polarimetric SAR images of the same type of objects.
[0031] In this embodiment, the polarimetric SAR image includes: a source domain polarimetric SAR image and a target domain polarimetric SAR image. The two images and their corresponding ground object real marking maps are collected respectively, and the input data is full polarimetric data, and the categories of the source domain and the target domain are the same category.
[0032] S2. Preprocess the polarimetric SAR image to obtain a feature matrix of the polarimetric SAR image.
[0033] The source domain polarimetric SAR image and the target domain polarimetric SAR image are preprocessed, the eigenvector of each pixel is extracted from the preprocessed polarimetric coherence matrix, and the characteristic matrix of the polarimetric SAR image (including the characteristic matrix of the source domain and the target domain polarimetric SAR image) is obtained according to the eigenvectors of all pixels. Specifically, it includes:
[0034] The source domain polarimetric SAR image data and the target domain polarimetric SAR image data are multi-viewed and normalized to obtain the processed image. Each pixel in the processed image is represented by a 3×3 polarimetric coherence matrix. According to the polarimetric coherence matrix of each pixel, the eigenvector of each pixel is obtained, and then the eigenmatrix of the source domain polarimetric SAR image and the target domain polarimetric SAR image is constructed.
[0035] Specifically, the operation formula of multi-view processing is as follows:
[0036]
[0037] in, is the polarization coherence matrix of the m-th pixel after multi-view processing, It is expressed as the target scattering vector of the m-th pixel under the Pauli rotation basis, N is the number of views, and m is the pixel index in the image after multi-view processing; the azimuth resolution becomes 1 / N of the original, the range resolution remains unchanged, and * represents the conjugate operation.
[0038] Specifically, the normalization process is as follows:
[0039] According to the polarization coherence matrix of each pixel, we first calculate the mean and variance of each element in the polarization coherence matrix to ensure that we obtain the statistical characteristics of each element in the matrix. Secondly, we normalize each element by combining the element value, the corresponding mean value and the variance value in the polarization complex-valued coherence matrix of each pixel, which helps to unify the metrics between different pixels. After the normalization is completed, the normalized polarization coherence matrix corresponding to each pixel in the source domain polarization SAR image and the target domain polarization SAR image is obtained.
[0040] S3. Construct a cross-domain network model based on multimodality.
[0041] The multimodal based cross-domain network model includes an image data input layer, an image encoder, a text input layer and a text encoder.
[0042] The following is a detailed introduction to the internal structure and operation process of the cross-domain network model:
[0043] First, the image data input layer is cascaded with the input of the image encoder to obtain image features, and the true label and the predicted value are used to construct the image classification cross entropy loss. After that, the text input layer is cascaded with the input of the text encoder to obtain text features, and the image features and text features are input into the semantic space for alignment. The image-to-text and text-to-image alignment losses are constructed based on supervised contrastive learning. Finally, the image-to-text and text-to-image alignment losses and the image classification cross entropy loss are added to obtain the total loss.
[0044] Specifically, the image data input layer is cascaded with the input end of the image encoder to obtain image features, and the image classification cross entropy loss is constructed using the true label map and the predicted value.
[0045] Among them, the image encoder includes a first convolution layer, a first ReLU activation layer, a second convolution layer, a second ReLU activation layer, a third convolution layer, a first normalization layer, a third ReLU activation layer, a fourth convolution layer, a second normalization layer, a fourth ReLU activation layer, a fifth convolution layer, a third normalization layer, a fifth ReLU activation layer, a maximum pooling layer, an adaptive average pooling layer, a first fully connected layer, and a second fully connected layer, which are cascaded in sequence.
[0046] Specifically, the parameters of the image encoder are set as follows:
[0047] The first convolutional layer has 32 output feature map channels, using a 3×3 convolutional filter with a padding of 1 and a stride of 1. The first ReLU activation layer that follows also maintains 32 output feature map channels. Next, the second convolutional layer has the same configuration as the first convolutional layer, and its output feature channel number is still 32, and the second ReLU activation layer also maintains this number. The third convolutional layer also follows the same parameter settings and outputs 32 output feature map channels. After the first normalization layer, the number of feature channels remains unchanged. The third activation layer continues to process the number of channels of these 32 output feature maps.
[0048] The fourth convolutional layer continues to use a 3×3 filter, with padding and stride set to 1, and the number of output feature channels is still 32. The second normalization layer ensures that the number of channels of the output feature map remains unchanged, and the fourth ReLU activation layer further processes these feature maps.
[0049] The fifth convolutional layer increases the number of output feature channels to 64, still using a 3×3 convolutional filter, with the same padding and stride settings as before. The third normalization layer keeps the number of feature channels at 64, and the fifth ReLU activation layer activates these feature maps.
[0050] The maximum pooling layer still has 64 output feature channels, using a 2×2 convolution filter with a padding of 1 and a shift stride of 1. The adaptive average pooling layer performs an average pooling operation on the feature map, and the output feature map size is 1x1. Regardless of the size of the input feature map, this pooling layer will convert it into a 1x1 feature map, and the number of output feature channels is still 64.
[0051] Subsequently, the first fully connected layer converts the number of feature channels to 512, and the second fully connected layer is responsible for further compressing the number of feature channels to the final number of categories, which is 5.
[0052] In this embodiment, the image classification cross entropy loss is constructed as follows:
[0053] The output features of the second fully connected layer are input into the Softmax layer to obtain the predicted value, and the image classification cross entropy loss function is constructed based on the predicted value and the true label.
[0054] Cascade the text input layer with the input of the text encoder to obtain text features.
[0055] Specifically in this embodiment, the text encoder adopts the Transformer architecture and the basic size of the text encoder is 33M parameters, three layers, 512 width, and 8 attention heads. The text is represented by the encoder using lowercase byte pair encoding (BPE) with a vocabulary size of 49,152. In order to improve computational efficiency, the maximum sequence length is limited to 76. The language features are then normalized layer by layer and linearly projected into the semantic space.
[0056] The process of constructing the image-to-text and text-to-image alignment losses is as follows:
[0057] The output features of the first fully connected layer are aligned with the text features to construct image-to-text and text-to-image alignment losses.
[0058] For a given image-text pair, where the image and text are one-to-one and have the same class label, the image-to-text and text-to-image alignment losses L are calculated. coarse :
[0059]
[0060] Among them, v i and l i is the i-th visual feature and language feature of each batch; P v (i) and A v (i) are the positive sample set and negative sample set of visual features respectively; P l (i) and A l (i) are the positive sample set and negative sample set of language features, and |P v (i)|=|P l (i)|=|P(i)|; and is one of the positive sample sets and one of the negative sample sets of language features. Similarly, and is represented as one of the positive sample sets and one of the negative sample sets of visual features; τ is the temperature parameter. In addition, during the training process, the temperature parameter τ that controls the logarithmic range in the softmax is explicitly optimized as a logarithmically parameterized multiplicative scalar.
[0061] S4. Use the feature matrix to train the cross-domain network model to obtain a classification model.
[0062] S401. First, text settings are performed on the ground object scattering physical characteristics of the polarimetric SAR image. This includes:
[0063] The ground object analysis is performed according to the decomposition components of four decompositions, namely, Krogager decomposition, Yamaguchi decomposition, Pauli decomposition, and Freeman decomposition. In this embodiment, the text of the scattering characteristics of the ground object is described, that is, it is uniformly set to surface scattering, volume scattering, dihedral scattering, spiral scattering, spherical scattering component, and biplane scattering component.
[0064] Specifically, for the text setting of the physical characteristics of ground object scattering, two coherent decomposition methods, namely Krogager decomposition and Pauli decomposition, and two incoherent decomposition methods, namely Yamaguchi decomposition and Freeman decomposition, are analyzed.
[0065] Table 1
[0066]
[0067] According to the decomposition component table in Table 1 and the experimental results based on the data of San Francisco, the results are roughly as follows: for water areas, surface scattering and spherical scattering are dominant; for vegetation, volume scattering is dominant; for urban areas, dihedral scattering and two-plane scattering are dominant. When we don't know which scattering component is dominant in urban areas, the spiral scattering component can better help us judge. Therefore, we conduct a descriptive analysis of the text of the scattering characteristics of the ground objects, that is, the text is uniformly set to surface scattering, volume scattering, dihedral scattering, spiral scattering, spherical scattering component, and two-plane scattering component.
[0068] S402. Afterwards, a training data set and a test data set are constructed based on the polarimetric SAR images.
[0069] Specifically, a source domain training dataset is constructed based on the source domain polarimetric SAR image and its corresponding ground truth image, and the steps include:
[0070] According to the labels of the selected samples of the source domain polarimetric SAR image, the number of training samples is selected to be 0.5% of the total number of source domain samples. According to the selected sample positions, the feature vectors of the samples at the center of the selected sample and the surrounding samples are selected, and finally a k×k (17×17 in this embodiment) feature matrix block is constructed. The source domain training labels are paired with the source domain features to form a source domain training data set:
[0071]
[0072] In the formula, represents the source domain training dataset, represents the i-th source domain training sample, Indicates the label value corresponding to the i-th training sample; n s Indicates the number of training samples.
[0073] The target domain test dataset is constructed based on the target domain polarimetric SAR image and its corresponding ground truth image. The steps include:
[0074] Similarly, according to the labels of the selected samples of the polarization scattering characteristics of the target domain polarization SAR image, the number of test samples is the total number of samples in the target domain. According to the selected sample position, the feature vectors of the samples at the center of the selected sample and the surrounding samples are selected, and finally a k×k (17×17 in this embodiment) feature matrix block is constructed. The target domain test labels are paired with the target domain features to form a target domain test data set:
[0075]
[0076] In the formula, represents the target domain test dataset, represents the i-th target domain test sample, Indicates the label value corresponding to the i-th test sample; n t Indicates the number of test samples.
[0077] S403. Finally, the source domain polarization scattering feature training data set and the text description of the physical characteristics of ground object scattering are input into the multimodal cross-domain network model to obtain a trained classification model.
[0078] First, randomly select L groups of source domain labeled data from the source domain training set to form a training sample set:
[0079]
[0080] These source domain labeled data contain rich polarization scattering feature information, which is the key to model training. A training feature set is constructed based on the source domain training features of the training samples. The feature set will be input into the image input layer of the multimodal cross-domain network model for the model's image feature learning. At the same time, the text description of the source domain ground object scattering physical characteristics is used as another input and sent to the model's text input layer for training. In this way, the model can learn relevant feature information from both image and text modalities at the same time, thereby enhancing its cross-domain processing capabilities.
[0081] According to the weights of all filters in each convolutional layer, a weight parameter set is established, and the weight parameter set is initialized using the weight initialization method; a weight w in the weight set Θ = {w} is initialized using a Gaussian distribution N(0,σ 2) randomly initializes each parameter. The weight parameter set includes the weight of each convolutional layer, the weight of the fully connected layer, and the word embedding weight, which are used to map the input words into a continuous vector space; the position embedding weight, which is used to represent the information of each position in the input sequence; and the text projection weight, which is used to map the output of the Transformer model into the semantic space. The re-operation completes the initialization of the weight set Θ, that is, the initialization of the multimodal cross-domain network model.
[0082] The source domain polarization scattering feature training feature set is used as the input feature data of the first convolutional layer according to:
[0083] F i m1 =W M1 *F i s_train
[0084] Calculate the i-th output feature map data of the first convolutional layer as F i m1 , where W M1 is the convolution filter matrix in the first convolution layer, and the elements in this matrix are the weights in the weight set Θ; F i s_train is the training sample.
[0085] The output feature data of the first convolutional layer is used as the i-th input feature map data of the first ReLU activation layer in the image encoder according to:
[0086] F i p1 =f ReLU (F i m1 )
[0087] Calculate the i-th output feature map data F of this layer i p1 , where f RELU (·) is the rectified linear unit (ReLU) activation function.
[0088] The first RELU activation layer is used as the input feature data of the second convolutional layer in the image encoder according to:
[0089] F i m2 =W M2 *F i p1
[0090] Calculate the i-th output feature map data F of the second convolutional layer i m2 , where W M2is the convolution filter matrix in the second convolution layer, and the elements in this matrix are the weights in the weight set Θ.
[0091] The output feature data of the second convolutional layer is used as the i-th input feature map data of the second RELU activation layer in the image encoder according to:
[0092] F i p2 =f ReLU (F i m2 )
[0093] Calculate the i-th output feature map data F of the second RELU activation layer i p2 .
[0094] The second RELU activation layer is used as the input feature data of the third convolutional layer, and the output feature data of the third convolutional layer is calculated according to:
[0095] F i m3 =W M3 *F i p2
[0096] Calculate the i-th output feature map data F of the third convolutional layer i m3 , where W M3 is the convolution filter matrix in the third convolution layer, and the elements in this matrix are the weights in the weight set Θ.
[0097] The output feature data of the third complex convolutional layer is used as the i-th input feature map data of the first normalization layer in the image encoder according to:
[0098] F i b3 =f BN (F i m3 )
[0099] Calculate the i-th output feature map data F of the first normalization layer i b3 , where f BN (·) is the normalization operation.
[0100] The output feature data of the first normalization layer is used as the i-th input feature map data of the third RELU activation layer in the image encoder according to:
[0101] F i p3 =f ReLU (F ib3 )
[0102] Calculate the i-th output feature map data F of the third RELU activation layer i p3 .
[0103] The third RELU activation layer is used as the input feature data of the third convolutional layer according to:
[0104] F i m4 =W M4 *F i p3
[0105] Calculate the output feature data of the fourth convolutional layer and output it to the i-th output feature map data F of the fourth convolutional layer i m4 , where W M4 is the convolution filter matrix in the fourth convolution layer, and the elements in this matrix are the weights in the weight set Θ.
[0106] The output feature data of the fourth complex convolutional layer is used as the i-th input feature map data of the second normalization layer in the image encoder according to:
[0107] F i b4 =f BN (F i m4 )
[0108] Calculate the i-th output feature map data F of the second normalization layer i b4 , f BN (·) is the normalization operation;
[0109] The output feature data of the second normalization layer is used as the i-th input feature map data of the fourth RELU activation layer in the image encoder according to:
[0110] F i p3 =f ReLU (F i b4 )
[0111] Calculate the i-th output feature map data F of the fourth RELU activation layer i p3 .
[0112] The fourth RELU activation layer is used as the input feature data of the fifth convolutional layer according to:
[0113] F i m5 =WM5 *F i p3
[0114] Calculate the output feature data of the fifth convolutional layer and output it to the i-th output feature map data F of the fifth convolutional layer i m5 , where W M5 is the convolution filter matrix in the fifth convolution layer, and the elements in this matrix are the weights in the weight set Θ.
[0115] The output feature data of the fifth convolutional layer is used as the i-th input feature map data of the third normalization layer in the image encoder according to:
[0116] F i b3 =f BN (F i m5 )
[0117] Calculate the i-th output feature map data F of the third normalization layer i b3 .
[0118] The output feature data of the third normalization layer is used as the i-th input feature map data of the fifth RELU activation layer in the image encoder, according to:
[0119] F i p5 =f ReLU (F i b3 )
[0120] Calculate the i-th output feature map data F of the fifth RELU activation layer i p5 .
[0121] The output feature data of the fifth ReLU activation layer is used as the i-th input feature map data of the maximum pooling layer in the image encoder according to:
[0122] F i m =f MP (F i p5 )
[0123] The i-th output feature map data F of this layer is calculated according to the following formula i m Where f MP (·) is the maximum pooling operation.
[0124] The output feature data of the maximum pooling layer is used as the i-th input feature map data of the adaptive average pooling layer in the image encoder according to:
[0125] F i c =f GAP (F i m )
[0126] Calculate the i-th output feature map data F of this layer i c , where f GAP (·) is the global average pooling operation.
[0127] The output feature data of the adaptive average pooling layer is used as the i-th input feature map data of the first fully connected layer in the image encoder according to:
[0128] F i f1 =f FC (F i c )
[0129] Calculate the i-th output feature map data F of this layer i f1 , where f FC (·) is the fully connected layer operation.
[0130] The output feature data of the adaptive average pooling layer is used as the i-th input feature map data of the second fully connected layer in the image encoder according to:
[0131] F i f2 =f FC (F i c )
[0132] Calculate the i-th output feature map data F of this layer i f2 .
[0133] The output feature data of the second fully connected layer is used as the i-th input complex feature map data of the Softmax layer, and the i-th output complex feature map data p of this layer is calculated according to the following formula: i :
[0134] p i =f Softmax (F i f2 )
[0135] Among them, p irepresents the output prediction of the Softmax output layer of the i-th training sample feature, f Softmax (·) is the Softmax function.
[0136] The image cross entropy loss function is constructed based on the output prediction and the true label. The image cross entropy loss function is combined with the image-to-text and text-to-image alignment loss functions to construct a complete total loss function. Subsequently, the initialized multimodal cross-domain network model is trained to calculate the partial derivative of the loss value for each weight parameter in the weight parameter set. Using the gradient descent method and combining these partial derivatives, the weight parameters are updated in a back-propagation manner to obtain an updated weight parameter set. Then, based on these updated weight parameters, we recalculate the total loss function and continue this iterative process until the loss function converges. Finally, the updated weight set is obtained, which provides an optimized parameter configuration for the model, and also obtains a trained multimodal cross-domain network model, i.e., a classification model.
[0137] S5. Use the classification model to complete the classification of polarimetric SAR images.
[0138] The target domain test set is input into the pre-trained image encoder in the multimodal cross-domain network model, and then input into the Softmax layer to construct the cross entropy loss function, and the classified polarization SAR image is output.
[0139] Embodiment 2
[0140] In order to verify the superiority of the method of the present invention, a simulation experiment is specially designed for verification.
[0141] The hardware platform is: Intel(R) Core(TM) i7-7700@3.20GHZ, 64.0GB RAM;
[0142] The software platform is: Pycharm, with TensorFlow as the backend under the PyTorch framework.
[0143] The simulation experiment uses two polarimetric SAR images as the research objects of the source domain and the target domain respectively. The source domain image is a composite image of polarimetric SAR data of the San Francisco Bay Area acquired by the Canadian satellite C-band RADARSAT-2 system, which is also accompanied by actual ground object labels, with a resolution of 1800×1380 pixels, covering four main ground object types: water, vegetation, urban areas, and developing urban areas. The target domain image is a composite image of polarimetric SAR data of the San Francisco Bay Area acquired by the Gaofen-3 satellite, with actual ground object labels, containing 2304×1600 pixels, and also showing four ground object types: water, vegetation, urban areas, and developing urban areas.
[0144] In simulation experiment 1, a polarimetric SAR image cross-domain classification method based on a data-driven polarimetric SAR image classification method is adopted, where the ground object classification accuracy and the overall classification accuracy are shown in Table 2.
[0145] In simulation experiment 2, the target domain polarimetric SAR image is classified using the method of the present invention, wherein the ground object classification accuracy and the overall classification accuracy are shown in Table 2.
[0146] Table 2
[0147]
[0148] As can be seen from Table 2, compared with the data-driven method, the present invention not only has a significant improvement in the overall accuracy OA, but also has an effective improvement in the classification accuracy of low-density urban areas, forests, and water area coverage types. This verifies that the present invention can extract features with strong generalization ability from auxiliary information such as text prior knowledge, which is beneficial to improving the classification accuracy of polarimetric SAR images.
[0149] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.
Claims
1. A polarimetric SAR image classification method based on target decomposition guided multimodal learning, characterized in that the steps include: Collecting polarimetric SAR images of the same type of ground objects, wherein the polarimetric SAR images include: source domain polarimetric SAR images and target domain polarimetric SAR images; Preprocessing the polarimetric SAR image to obtain a feature matrix of the polarimetric SAR image; Constructing a multimodal cross-domain network model; the multimodal cross-domain network model includes: an image data input layer, an image encoder, a text input layer and a text encoder; The method for constructing the cross-domain network model includes: first, cascading the image data input layer with the input end of the image encoder to obtain image features, and constructing the image classification cross entropy loss with the true label and the predicted value; then, cascading the text input layer with the input end of the text encoder to obtain text features, inputting the image features and the text features into the semantic space for alignment, and constructing the image-to-text and text-to-image alignment losses according to supervised contrastive learning; finally, adding the image-to-text and text-to-image alignment losses and the image classification cross entropy losses to obtain the total loss; wherein the image encoder includes a first convolutional layer, a first ReLU activation layer, a second convolutional layer, a second ReLU activation layer, a third convolutional layer, a first normalization layer, a third ReLU activation layer, a fourth convolutional layer, a second normalization layer, a fourth ReLU activation layer, a fifth convolutional layer, a third Normalization layer, fifth ReLU activation layer, maximum pooling layer, adaptive average pooling layer, first fully connected layer, second fully connected layer; construct image classification cross entropy loss as follows: input the output features of the second fully connected layer into the Softmax layer to obtain the predicted value, and construct the image classification cross entropy loss function according to the predicted value and the true label; the text encoder adopts the Transformer architecture and the basic size of the text encoder is 33M parameters, three layers, 512 width, and 8 attention heads; the process of constructing image-to-text and text-to-image alignment losses is as follows: align the output features of the first fully connected layer with the text features, and construct image-to-text and text-to-image alignment losses; for a given image-text pair, where the image and the text are one-to-one and have the same class label; the image-to-text and text-to-image alignment losses L are calculated. coarse : Among them, v i and l i is the i-th visual feature and language feature of each batch; P v (i) and A v (i) are the positive sample set and negative sample set of visual features; P l (i) and A l (i) are the positive sample set and negative sample set of language features, and |P v (i)|=|P l (i)|=|P(i)|; and is one of the positive sample sets and one of the negative sample sets of language features. Similarly, and It is represented as one of the positive sample sets and one of the negative sample sets of visual features; τ is the temperature parameter; Using the feature matrix to train the cross-domain network model to obtain a classification model; The classification model is used to complete the classification of polarimetric SAR images.
2. The polarimetric SAR image classification method based on target decomposition guided multimodal learning according to claim 1, characterized in that: During training, the temperature parameter τ that controls the logarithmic scale in the softmax is explicitly optimized as a log-parameterized multiplicative scalar.
