Zero-shot SAR target recognition method based on CNN and image similarity

By hierarchically merging convolutional neural networks and image similarity, a two-step classifier is constructed, and simulated data is used to identify real data. This solves the problem of requiring real data to participate in training in the existing technology, and realizes the training in the absence of labeled data. Efficient recognition, suitable for automatic recognition of vehicle targets in SAR images.

CN113902969BActive Publication Date: 2024-09-24XIDIAN UNIV
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202111188558.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-12
Publication Date
2024-09-24
Estimated Expiration
2041-10-12

AI Technical Summary

Technical Problem

When using simulation data for SAR target recognition, the existing technology still requires real data to participate in training, and it is difficult to accurately identify real data in the absence of labeled real data.

Method used

Using a hierarchical fusion method of convolutional neural network and image similarity, a two-step classifier is constructed through simulation data, using the convolutional neural network as a pre-classifier, and the multi-similarity fusion classifier as a fine classifier, without the need for real data Identification of participation.

Benefits of technology

In the absence of labeled real data, it can efficiently and accurately identify unknown real SAR images, significantly improving the recognition rate. Combining the efficiency of convolutional neural networks with the high accuracy of multi-similarity fusion, it is suitable for practical applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113902969B
    Figure CN113902969B
Patent Text Reader

Abstract

The present invention discloses a zero-sample SAR target recognition method that integrates convolutional neural networks and image similarity, which solves the technical problem in the prior art that it is difficult to identify unknown real targets only through simulated data. The implementation includes: data preprocessing, building a convolutional neural network, training a convolutional neural network, convolutional neural network pre-classification and multi-similarity fusion classifier fine classification. By dividing the real data into a part that is more similar to the distribution of the simulated data and a part that is less similar, and designing recognition methods for these two parts respectively, the present invention can combine the high efficiency of the convolutional neural network and the high performance of the multi-similarity fusion classifier. Compared with the existing methods, the present invention significantly improves the recognition accuracy. The present invention does not require labeled real data to participate in the training process, and can more accurately identify unknown real SAR images relying only on simulated data, and can be used in the field of automatic recognition of SAR image vehicle targets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of radar image processing, and in particular relates to a synthetic aperture radar (SAR) image target recognition, specifically a zero-sample SAR target recognition method that hierarchically fuses convolutional neural networks and image similarity, which can be used for SAR target recognition under zero samples. Background Art

[0002] Data-driven recognition algorithms have achieved good results in SAR automatic target recognition (ATR). However, the process of obtaining sufficient real SAR images is expensive and time-consuming. Compared with optical data sets, the data sets for SAR image recognition are often too small. In the absence of data, the performance of data-driven recognition algorithms often decreases significantly. Data augmentation is a method to solve the problem of insufficient training data. Since SAR images reflect the electromagnetic scattering characteristics of ground targets to radar waves, generating SAR images through electromagnetic simulation technology is an effective means of data augmentation. However, due to the error between the electromagnetic simulation model and the actual situation, there will be differences between the distribution of simulated images and real images. This difference often makes it difficult to accurately identify real images based on simulated images. Therefore, how to overcome this difference and accurately identify real images using simulated images is an engineering problem with research significance.

[0003] At present, some scholars have studied the application of simulated data in recognition. In their 2017 paper “Improving SAR Automatic Target Recognition Models With Transfer Learning From Simulated Data” (IEEE Geoscience and Remote Sensing Letters), Malmgren-Hansen et al. proposed a transfer learning algorithm that uses simulated data to pre-train a convolutional neural network and then fine-tunes the network using real data.

[0004] In their 2018 paper “Improving SAR Automatic Target Recognition Using Simulated Images under Deep Residual Refinements” (IEEE International Conference on Acoustics, Speech, and Signal Processing), Cha et al. used a deep residual network to optimize the simulated data in pairs, narrowed the difference between the simulated data and the real data, and then used the optimized simulated data together with the real data to train the recognition network.

[0005] Similarly, Liu et al. used a cycle-consistent generative adversarial network to perform image style transformation on simulated images in their 2018 paper “SAR Target Classification with CycleGAN Transferred Simulated Samples” (IEEE International Geoscience & Remote Sensing Symposium), and then used the transformed simulated data together with real data to train the recognition network.

[0006] These three different algorithms all utilize both simulated data and real data, significantly improving recognition accuracy and efficiency compared to previous recognition algorithms that only used real data.

[0007] The above methods still have the problem that although simulated data is used, real data is involved in the training process, and some algorithms even require a large amount of real data. However, it is sometimes difficult to obtain sufficient real data in actual applications, and in real applications there may even be no real images of the target of interest. Summary of the invention

[0008] The purpose of the present invention is to address the shortcomings and problems of existing recognition algorithms using simulated data and propose a zero-sample SAR target recognition method that combines a hierarchical fusion convolutional neural network and image similarity without the participation of real data in the training process.

[0009] The present invention is a zero-shot SAR target recognition method that hierarchically fuses convolutional neural networks and image similarity, which is characterized in that real data is recognized by simulated data, a two-step classifier is constructed, a convolutional neural network is used as a pre-classifier, and a multi-similarity fusion classifier is used as a fine classifier, and the method includes the following steps:

[0010] (1) Data preprocessing to obtain translation expansion data D train1 and mirror expansion data D train2 :The training data uses SAR image simulation data, and the test data uses the MSTAR 3-category dataset. The first test data D test1 The second test data D is the data with a pitch angle of 17°. test2 This is the data with a pitch angle of 15°;

[0011] The training data is simulated data, and the test data is real data. The preprocessing includes maximum and minimum value normalization, image segmentation, image registration and training data expansion. The translation expansion data D is obtained in the data expansion. train1 and mirror expansion data D train2 :

[0012] (2) Construct a convolutional neural network: Build a 10-layer convolutional neural network Ψ, whose structure is as follows: the first layer is the convolution layer L1, the second layer is the maxPooling layer L2, the third layer is the convolution layer L3, the fourth layer is the maxPooling layer L4, the fifth layer is the convolution layer L5, the sixth layer is the maxPooling layer L6, the seventh layer is the convolution layer L7, the eighth layer is the avgPooling layer L8, the ninth layer is the convolution layer L9, and the tenth layer is the softmax classifier layer L 10 ;

[0013] The parameters of each layer are set as follows: the number of convolution kernels of the first to fifth convolution layers is set to 16, 32, 64, 128, and 3 respectively, the convolution kernel sizes are set to 5×5, 5×5, 6×6, 5×5, and 1×1 respectively, and the convolution kernel movement step is set to 1; the pooling convolution kernel size is set to 2×2, and the pooling convolution kernel movement step is set to 2; the convolution layer activation function uses the ReLu activation function; the softmax layer uses the softmax function to calculate the probability of the input sample being identified as each class;

[0014] (3) Training the convolutional neural network: The preprocessed training data, i.e., the translation and expansion data D train1 Input to the input layer of the network, output the predicted classification label, calculate the classification loss according to the cross entropy loss function, and use back propagation to iteratively update the network parameters until the cross entropy loss function converges to obtain the trained convolutional neural network Ψ′, also known as the pre-classifier;

[0015] (4) Convolutional neural network pre-classification: The test data includes the first test data D test1 and the second test data D test2 Input into the trained neural network Ψ′, the trained neural network Ψ′ outputs confidence and category labels; set the confidence threshold to τ = 0.95; according to this threshold, all test data are divided into high confidence samples D sim and low confidence samples D dissim ; For high confidence samples D sim , think D sim With training data D train1 The distribution in the feature space is relatively consistent, the output category label of the neural network is reliable, and the output of Ψ′ is adopted as the final category of high-confidence sample target recognition; for low-confidence samples D dissim , it is believed that the distribution of test data and training data in the feature space is inconsistent, and the output of the network is unreliable. dissim The data is sent to the refined classifier based on multi-similarity fusion for further detailed identification;

[0016] (5) Multi-similarity fusion classifier fine classification: For low confidence samples D dissim , first calculate D dissim With all training data, that is, mirrored augmented data D train2 The five similarities between them are combined into a similarity matrix D, which includes cosine similarity COSS, intersection-over-union similarity IOUS, normalized mutual information similarity NMIS, structural similarity SSIM and SAR-SIFT similarity SSS; then the improved ABagging-KNN algorithm is used to input the similarity matrix D for classification, and the low confidence sample D is obtained. dissim category and used as the output category.

[0017] The present invention solves the technical problem of how to accurately identify unknown real data only through simulation data in the absence of labeled real data.

[0018] Compared with the prior art, the present invention has the following advantages:

[0019] The training process does not require the participation of real data: the present invention can effectively classify unknown real data when the real data is completely unknown and only simulated data is available. Since it is relatively difficult to obtain real SAR images, and it is also time-consuming and labor-intensive to manually label SAR images on a large scale. If the real SAR image of the target of interest cannot be obtained, the simulated SAR image and its related information can be obtained through CAD modeling and electromagnetic simulation. If the real SAR image is collected, no manual labeling is required. The present invention can directly identify it through the classifier trained by the simulated SAR image, which has a strong application prospect.

[0020] A two-step classifier is constructed: using a convolutional neural network as a pre-classifier and a multi-similarity fusion classifier as a fine classifier, the present invention uses the output confidence of the convolutional neural network to divide the real samples into two categories, the high-confidence part is classified by the convolutional neural network, and the low-confidence part is classified by multi-similarity fusion and ensemble learning. Since most samples have high output confidence, only a small number of samples with low confidence need to be sent to a complex multi-feature fusion fine classifier, so the overall operating efficiency is high, and the high efficiency of the convolutional neural network and the high performance of multi-feature fusion can be combined at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flowchart of the overall implementation process of the present invention;

[0022] Figure 2 It is a structural diagram of the convolutional neural network pre-classifier in the present invention;

[0023] Figure 3 It is a flowchart for realizing the multi-similarity fusion algorithm in the present invention;

[0024] Figure 4 It is a flowchart of SAR-SIFT similarity calculation in the present invention;

[0025] Figure 5 (a) is a normalized result diagram in the preprocessing process of the present invention;

[0026] Figure 5 (b) is a result diagram after target segmentation in the preprocessing process of the present invention;

[0027] Figure 5 (c) is the result image after target registration in the preprocessing process of the present invention;

[0028] Figure 6 (a) is a histogram of simulation data in the present invention;

[0029] Figure 6 (b) is the real data D in the present invention test1 Histogram of ;

[0030] Figure 6 (c) is the real data D in the present invention test2 Histogram of ;

[0031] Figure 7 (a) is a histogram of the simulation data after preprocessing in the present invention;

[0032] Figure 7 (b) is the real data D in the present invention test1 Histogram after preprocessing;

[0033] Figure 7 (c) is the real data D in the present invention test2 Histogram after preprocessing;

[0034] FIG8(a) is a diagram of D in the convolutional neural network training process of the present invention. train1 and D test1 Accuracy change curve.

[0035] FIG8( b ) is a diagram of D in the convolutional neural network training process of the present invention. train1 and D test2 Accuracy change curve. DETAILED DESCRIPTION

[0036] The implementation scheme and effects of the present invention are described in detail below with reference to the accompanying drawings.

[0037] Example 1

[0038] With the development of deep learning technology, the application of convolutional neural networks in SAR-ATR has achieved the most advanced performance. However, convolutional neural networks require a large amount of labeled training data. But the process of obtaining sufficient real SAR images is expensive, time-consuming and difficult to achieve in practice. Compared with optical datasets, datasets for SAR image recognition often have smaller image sizes and fewer images. In the absence of data, the performance of data-driven recognition algorithms often decreases significantly. Data augmentation is a way to solve the problem of insufficient training data. Since SAR images reflect the electromagnetic scattering characteristics of radar waves from ground targets, generating SAR images through electromagnetic simulation technology is an effective means of data augmentation. However, due to the error between the electromagnetic simulation model and the actual situation, there will be differences in the distribution of simulated images and real images.

[0039] At present, some scholars have studied how to use simulation data in the recognition process, which is a research direction with great practical application value. However, most of the training processes still require the participation of real data, and some algorithms even require a large amount of real data. This is difficult to do in actual applications. In real applications, it may be impossible to obtain the real image of the target of interest. Therefore, the present invention explores how to accurately identify real data only by relying on simulation data when it is impossible to obtain labeled real data, so as to solve the problem of using simulation data to identify unknown real data targets when real data cannot be obtained. That is, in actual applications, if it is impossible to obtain the real SAR image of the target of interest, the simulation data can be synthesized based on CAD modeling and electromagnetic simulation software through the optical image or target structure information that is easier to obtain. At this time, the zero-sample SAR target recognition method proposed by the present invention that integrates convolutional neural network and image similarity can be used to complete the target recognition of real data using only simulation data.

[0040] The present invention is a zero-shot SAR target recognition method that integrates hierarchical convolutional neural networks and image similarity. Figure 1 The present invention aims at the problem of zero-sample SAR image target recognition, identifies real samples through simulated data, constructs a two-step classifier, uses a convolutional neural network as a pre-classifier, and a multi-similarity fusion classifier as a fine classifier, which alleviates the low recognition accuracy caused by the difference in distribution between simulated data and real data, and includes the following steps:

[0041] (1) Data preprocessing to obtain translation expansion data D train1 and mirror expansion data D train2 :The training data uses SAR image simulation data, and the test data uses the MSTAR 3-category dataset. The first test data D test1 The second test data D is the data with a pitch angle of 17°.test2 The data are for a pitch angle of 15°.

[0042] In the present invention, the training data is simulated data and the test data is real data. Preprocessing includes maximum and minimum value normalization, image segmentation, image registration and training data expansion:

[0043] (1a) Perform maximum and minimum value normalization on each SAR image;

[0044] (1b) Extract the target area of ​​each SAR image using the Otsu algorithm based on power transformation;

[0045] (1c) Calculate the centroid of the target area and translate it to the geometric center of the image;

[0046] (1d) Training data expansion: Different expansion methods are used. First, random translation expansion is used. The range of up and down and left and right translation is [-20, +20]. The data is expanded to 10 times the original data (expanded 9 times and added to the original data) to obtain the translation expansion data D train1 , this data will be used to train the convolutional neural network; secondly, mirror expansion is used, that is, the image is flipped horizontally, vertically, and centrally symmetrically, and expanded to 4 times the original data (expanded 3 times plus the original data) to obtain the mirror expanded data D train2 ,This data is used as a template library for multi-similarity fusion classifier.

[0047] In order to reduce the difference between the simulated data and the real data as much as possible, the present invention first preprocesses all the data, including normalization, segmentation and registration, in order to reduce the difference between the two data as much as possible. For example, segmentation can well remove the difference caused by different backgrounds. The registration criterion is to remove the difference caused by different target positions. Data expansion is to increase the diversity of training samples, and test data does not need data expansion. After preprocessing, the images sent to the convolutional neural network preclassifier and the multi-similarity fusion fine classifier have only the target area value that is not zero.

[0048] (2) Constructing a convolutional neural network: see Figure 2 , Figure 2 A 10-layer convolutional neural network Ψ is constructed, and its structure is as follows: the first layer is a convolutional layer L1, the second layer is a maxPooling layer L2, the third layer is a convolutional layer L3, the fourth layer is a maxPooling layer L4, the fifth layer is a convolutional layer L5, the sixth layer is a maxPooling layer L6, the seventh layer is a convolutional layer L7, the eighth layer is an avgPooling layer L8, the ninth layer is a convolutional layer L9, and the tenth layer is a softmax classifier layer L 10 .

[0049] The parameters of each layer are set as follows: the number of convolution kernels of the first to fifth convolution layers are set to 16, 32, 64, 128, and 3 respectively, the convolution kernel sizes are set to 5×5, 5×5, 6×6, 5×5, and 1×1 respectively, and the convolution kernel moving step is set to 1; the pooling convolution kernel size is set to 2×2, and the pooling convolution kernel moving step is set to 2; the convolution layer activation function uses the ReLu activation function; the softmax layer uses the softmax function to calculate the probability of the input sample being identified as each category.

[0050] Due to the powerful feature extraction and recognition capabilities of convolutional neural networks for identically distributed data, the present invention first uses a convolutional neural network trained by simulation data to recognize real data. In order to reduce network parameters and improve efficiency, the present invention constructs a fully convolutional network with only 5 convolutional layers without adding a fully connected layer. Therefore, both training and testing are very efficient.

[0051] (3) Training the convolutional neural network: The preprocessed training data, i.e., the translation and expansion data D train1 Input to the input layer of the network, output the predicted classification label, calculate the classification loss according to the cross entropy loss function, and use back propagation to iteratively update the network parameters until the cross entropy loss function converges to obtain the trained convolutional neural network Ψ′, also called a pre-classifier.

[0052] (4) Convolutional neural network pre-classification: The test data includes the first test data D test1 and the second test data D test2 Input into the trained neural network Ψ′, the trained neural network Ψ′ outputs the confidence and category label. In this example, the confidence threshold is set to τ = 0.95. According to the confidence threshold, all test data are divided into high confidence samples D sim and low confidence samples D dissim Due to the powerful feature extraction and recognition capabilities of convolutional neural networks for identically distributed data, for high-confidence samples D sim , it can be considered that D sim And the training data D of the convolutional neural network train1 The distribution in the feature space is relatively consistent, and the output category label of the neural network is also reliable. The output of the trained convolutional neural network Ψ′ is adopted as the high-confidence sample, which is the final category of SAR target recognition. In actual operation, the test data with a confidence level greater than 0.95 is taken as the high-confidence sample D sim , and then the category label output by the convolutional neural network can be used as the final prediction label. If the confidence of the test data output is less than 0.95, it is regarded as a low confidence sample D dissimIn the present invention, it is considered that the distribution of low confidence samples and training data in the feature space is inconsistent and needs to be processed separately. dissim It is sent to the refined classifier based on multi-similarity fusion for further detailed identification.

[0053] (5) Multi-similarity fusion classifier fine classification: For low confidence samples D dissim , first calculate D dissim With all training data, that is, mirrored augmented data D train2 The five similarities between them are combined into a similarity matrix D, which includes cosine similarity COSS, intersection-over-union similarity IOUS, normalized mutual information similarity NMIS, structural similarity SSIM and SAR-SIFT similarity SSS; then the improved ABagging-KNN algorithm is used to input the similarity matrix D for classification, and the low confidence sample D is obtained. dissim category and used as the output category.

[0054] For real data with large distribution differences from simulated data, it is difficult to achieve good performance through a single classifier. Therefore, the present invention describes the image from different angles through multiple similarities, and then fuses the multiple similarities together through ensemble learning. Compared with a single classifier, the recognition rate of low-confidence samples is significantly improved. The Bagging algorithm in ensemble learning is used in the multi-similarity fusion process, and the number of neighbors K of KNN is randomly selected from 1, 3 and 5 in each sub-classifier. Compared with direct addition, the diversity of fusion is enhanced and the recognition accuracy is significantly improved.

[0055] The present invention provides a complete technical solution for realizing a zero-sample SAR target recognition method by integrating hierarchical convolutional neural network and image similarity.

[0056] At present, the method using simulated samples still requires real samples to participate in the training process, which can only solve the problem of lack of SAR real samples to a limited extent. However, in view of the fact that it is difficult to obtain real SAR samples under real conditions, the present invention proposes a method for identifying unknown real data by relying only on simulated data in the absence of labeled real data from the perspective of engineering application. The method has broad application prospects.

[0057] The core idea of ​​the present invention is that the distribution of simulated data and real data in the feature space is not completely consistent, which is the reason why the accuracy of using simulated data to identify real data is low in the past. Based on this idea, the present invention divides the real data into two parts, which are relatively consistent with the distribution of simulated data in the feature space and relatively inconsistent, and identifies them separately. Due to the powerful feature extraction and recognition ability of the convolutional neural network for the same distribution data, the present invention believes that the confidence output after the real sample is sent to the convolutional neural network trained by the simulated data can be used as the basis for dividing the real data. If the confidence is high, it can be considered that the distribution is relatively consistent with the simulated data, and the label output by the convolutional neural network is credible; if the confidence is low, it is considered that the distribution difference with the simulated data is large, and the label output by the convolutional neural network is unreliable, and further identification is required. For this part of data with large differences, it is difficult for a single classifier to obtain good performance. Therefore, the present invention adopts 5 similarity algorithms to measure the correlation between the simulated image and the real image from different angles, and adopts ensemble learning to fuse different similarities, further improving the diversity of fusion. Through the method of pre-classification by convolutional neural network and fine classification by multi-similarity fusion classifier, the present invention can well combine the advantages of these two classifiers, namely, the high efficiency of convolutional neural network and the high precision of multi-similarity fusion classifier.

[0058] Example 2

[0059] The zero-shot SAR target recognition method based on hierarchical fusion convolutional neural network and image similarity is the same as in Example 1, with reference to Figure 3 , Figure 3 The flowchart of the multi-similarity fusion algorithm in the present invention is as follows: The steps of calculating cosine, intersection-over-union ratio, normalized mutual information, structure, and SAR-SIFT similarity in the multi-similarity fusion classifier fine classification described in step (5) of the present invention are as follows:

[0060] (5a) Calculate cosine similarity: Calculate the cosine similarity between a test image and all training images. The cosine similarity COSS formula between a test image and a training image is:

[0061]

[0062] Among them, S represents the training (simulated) image, R represents the test (real) image, S ij Represents the pixel value at coordinate (i, j) in the simulated image, R ij Represents the pixel value at coordinate (i, j) in the real image, n is the number of rows in the image, and m is the number of columns in the image. Cosine similarity measures whether the two images point in the same direction by calculating the cosine value of the angle between the two image columns after vectorization.

[0063] (5b) Calculate the intersection-over-union similarity: Calculate the intersection-over-union similarity between a test image and all training images. The IOUs formula between a test image and a training image is:

[0064]

[0065] Where S(·) represents the area, A S A represents the target area pixel set of the training image, that is, the area obtained after image segmentation. R Represents the set of pixels in the target area of ​​the test image. The intersection-over-union similarity measures the correlation between the shapes of the target areas of the two images.

[0066] (5c) Calculate the normalized mutual information similarity: Calculate the normalized mutual information similarity between a test image and all training images. The normalized mutual information similarity NMIS formula between a test image and a training image is:

[0067]

[0068] Among them, H(·) represents information entropy, H(·,·) represents joint information entropy, S represents training images, and R represents test images. Normalized mutual information similarity measures the similarity between two images from the perspective of entropy.

[0069] (5d) Calculating the structural similarity SSIM: Calculate the structural similarity between a test image and all training images. The structural similarity SSIM formula between a test image and a training image is:

[0070] SSIM(S,R)=l(S,R)·c(S,R)·s(S,R)

[0071]

[0072]

[0073]

[0074] Among them, μ S is the mean of the training images, μ R is the mean of the test image, δ S is the standard deviation of the training images, δ R is the standard deviation of the test image, δ SRis the covariance of the training image and the test image. Structural similarity measures the correlation between two images from the three parts of image brightness, contrast and structure. C1 is a constant to prevent division by zero in the image brightness comparison part, C2 is a constant to prevent division by zero in the image contrast comparison part, and C3 is a constant to prevent division by zero in the image structure comparison part. C1=0.0001, C2=0.0009, and C3=0.5*C2 are usually used.

[0075] (5e) Calculate SAR-SIFT similarity SSS: Calculate the SAR-SIFT similarity between a test image and all training images.

[0076] The scheme of the present invention provides the calculation process of five similarities in the multi-similarity fusion fine classifier, laying a foundation for further enhancing the performance through ensemble learning. The five similarities selected by the present invention measure the correlation between the test image and the training image in various aspects such as target shape, mutual information, gray value, feature vector set, etc. Compared with a single similarity, multi-similarity fusion can significantly improve the recognition performance.

[0077] Example 3

[0078] The zero-shot SAR target recognition method based on hierarchical fusion convolutional neural network and image similarity is the same as in Example 1-2, with reference to Figure 4 , Figure 4 : is a flowchart of SAR-SIFT similarity calculation in the present invention. The steps of calculating SAR-SIFT similarity in step (5) are as follows:

[0079] (5e1) Extract feature points from the test image and the training image, including strong scattering points extracted based on the clustering algorithm and corner points extracted based on the SAR-Harris algorithm. Let U = {u1,…,u i ,…,u N} is the set of feature point coordinate vectors extracted from the test image, V = {v1,…,v i ,…,v M} is the set of feature point coordinate vectors extracted from the training image, u i is the coordinate vector of the i-th feature point extracted from the test image, v i is the coordinate vector of the i-th feature point extracted from the training image, and N and M represent the number of feature points in the feature sets U and V, respectively.

[0080] (5e2) Use SAR-SIFT descriptor to extract feature vectors corresponding to feature points. Let P = {p1,…,p i ,…,p N} is the set of feature vectors extracted from the test image, Q = {q1,…,q i ,…,q M} is the feature vector set extracted from the training image, p i is the i-th feature vector extracted from the test image, q i is the i-th feature vector extracted from the training image. Since the feature point coordinate vector and the feature vector in the image are one-to-one corresponding, the number of feature vectors in the feature sets P and Q are N and M respectively.

[0081] (5e3) Calculate the LTS-HD distance between the feature point coordinate vectors of the test image and the training image. The distance formula between the coordinate vectors is as follows:

[0082] H LTS (U,V)=max(h LTS (U,V),h LTS (V,U)

[0083]

[0084]

[0085]

[0086] Wherein, h is a scaling factor, H1 determines the number of shortest distances from a vector in U to a vector in V, H2 determines the number of shortest distances from a vector in V to a vector in U, and d is the Euclidean distance between two vectors. The present invention measures the similarity between the test image and the training image through the distance formula between point sets, namely LTS-HD.

[0087] (5e4) Calculate the LTS-HD distance between the feature vectors of the test image and the training image, and the calculation process is shown in (5e3).

[0088] (5e5) Calculate the SAR-SIFT similarity between the test image and the training image. The formula is as follows:

[0089] SSS(S,R)=10×H LTS (U,V)+H LTS (P,Q)

[0090] Among them, H LTS (U, V) represents the distance between the feature point coordinate vectors, H LTS (P,Q) represents the distance between feature points and feature vectors.

[0091] The present invention first extracts the feature point set in the image through the clustering algorithm and the SAR-Harris algorithm, and then generates the corresponding feature vector set through the SAR-SIFT descriptor. At this time, the image has been converted into a vector set (including the feature point coordinate vector set and the feature vector set). Next, the distance between the two vector sets, that is, the correlation between the two images, is measured by the distance formula between the point sets. Here, the distance formula uses the LTS-HD distance.

[0092] Since the distance between feature point coordinate vectors is one order of magnitude lower than the distance between feature vectors, the distance between feature vectors is added to the distance between coordinate vectors*10 in the SAR-SIFT similarity. The present invention not only utilizes the SAR-SIFT feature vectors extracted from the image, but also utilizes the extracted SAR-SIFT feature point coordinate vectors, further enriching the feature information and improving the recognition performance compared to the previous algorithm that only utilizes feature vectors.

[0093] Example 4

[0094] The zero-sample SAR target recognition method based on hierarchical fusion convolutional neural network and image similarity is the same as that in Example 1-3. The low-confidence sample category is obtained in the fine classification of the multi-similarity fusion classifier described in step (5), involving an improved ABagging-KNN algorithm. Assuming that there are b template images and d similarity algorithms, D = {d1, ..., d i ,…,d b} is the similarity matrix between a test image and b template images, where d i ={d i,1 ,…,d i,j ,…,d i,d} T , d i,j is the jth similarity between the test image and the i-th template image, including the following steps:

[0095] (5f1) Parameter selection: Determine the number of attribute resampling l and the number of integrated models T.

[0096] (5f2) Attribute resampling: Repeat sampling l times in d similarities to obtain a new similarity matrix in

[0097] (5f3) Get the total similarity vector: add the l similarities obtained by resampling to get the total similarity vector in

[0098] (5f4) Obtain subclassifier category: According to the K nearest neighbor classifier, obtain the subclassifier, i.e., the t-th model output category, That is The largest K values ​​are selected and voted according to the categories corresponding to these K values, where the number of nearest neighbors K is randomly selected between 1, 3 and 5.

[0099] (5f5) Obtain T models: Repeat steps (5f2) to (5f4) T times, where t is the integrated model number, t=1…T, and obtain T models.

[0100] (5f6) Obtain the output category of the multi-similarity fusion classifier: Vote the output results of T models to obtain the output category, that is, the low confidence sample D dissim category.

[0101] The original Bagging algorithm resamples the samples and cannot enhance the performance of the KNN algorithm. However, the present invention destroys the stability of the KNN algorithm by resampling the attributes, so that the KNN algorithm can also enhance its performance through the Bagging algorithm. Compared with the original ABagging-KNN algorithm, the present invention randomly selects the number of neighbors K in KNN from 1, 3 and 5 in each subclassifier, further enhancing the diversity and recognition performance of ensemble learning.

[0102] The zero-sample SAR target recognition method of the hierarchical fusion convolutional neural network and image similarity of the present invention solves the technical problem of how to more accurately identify real data using only simulated data in the absence of labeled real data.

[0103] The present invention completes zero-sample SAR target recognition through data preprocessing, building a convolutional neural network, training a convolutional neural network, neural network pre-classification, and multi-similarity fusion classifier fine classification.

[0104] The present invention innovatively proposes a two-step classification method that does not require labeled real data and only uses simulated data to identify unknown real data. It innovatively divides the real data into a part that is more similar to the simulated data distribution and a part that is less similar, and designs recognition methods for these two parts. In identifying the less similar part, a method based on multiple similarity fusion and ensemble learning is proposed, which uses multiple similarities to measure the correlation between simulated data and real data from different aspects, significantly improving the recognition rate of the less similar part data.

[0105] The present invention does not require labeled real data to participate in the training process, and can more accurately identify unknown real SAR images only by relying on simulation data, which has strong practical application significance.

[0106] More detailed examples are given below to further illustrate the present invention.

[0107] Example 5

[0108] The zero-sample SAR target recognition method based on hierarchical fusion of convolutional neural network and image similarity is the same as that in Example 1-4.

[0109] In this example, the training data uses SAR image simulation data, including 3 types of static targets, polarization mode is HH, resolution is 0.2m×0.2m, pitch angle is 17°, and image size is 128×128. The test data uses the MSTAR 3-category dataset. The first test data D test1 The second test data D is the data with a pitch angle of 17°. test2 The data is at an elevation angle of 15°, the polarization mode is HH, the resolution is 0.3m×0.3m, and the image size is 128×128.

[0110] Step 1, preprocessing the SAR image: Due to the difference between the simulated data and the real data, the present invention first preprocesses all the data, hoping to reduce this difference as much as possible. The steps include normalization, segmentation, registration and training data expansion.

[0111] The first step is to normalize the maximum and minimum values ​​of the SAR image. Normalization means scaling the pixel values ​​to the range of [0, 255] to reduce the impact of different radar illumination environments.

[0112] In the second step, the target area of ​​each SAR image is extracted using the Otsu algorithm based on power transformation, which can effectively reduce the difference caused by the different backgrounds of simulated data and real data. Other segmentation algorithms can also be used here, such as threshold method, watershed method, etc.

[0113] The third step is to calculate the centroid of the target area and translate it to the geometric center of the image to remove the influence caused by different target positions.

[0114] Step 4: training data expansion. This invention adopts different expansion methods. First, random translation expansion is adopted. The range of up and down and left and right translation is [-20, +20]. The range of translation is determined by the specific image. It should be ensured that the target area is not moved out of the image after translation. If the target in the image is small, the translation range can be larger; if the target is large, the translation range should be smaller. Expand to 10 times the original data (expand 9 times plus the original data) to obtain the translation expansion data D train1 , or it can be expanded to other multiples or other expansion methods, such as random rotation expansion. This data will be used to train the convolutional neural network. Secondly, mirror expansion is used, that is, the image is flipped horizontally, vertically, and centrally symmetrically, and expanded to 4 times the original data (expanded 3 times and added to the original data) to obtain the mirror expansion data D train2This data is used as a template library for the multi-similarity fusion classifier. Since the multi-similarity fusion fine classifier needs to eliminate the influence caused by different target positions, random translation expansion should not be used. Since the multi-similarity fusion fine classifier is sensitive to the target shape, random scaling expansion, random cropping expansion and other expansion methods that will change the target shape should not be used.

[0115] For simplicity, D train1 Only random translation expansion is used, D train2 Only mirror expansion is used. After preprocessing, the samples sent to the convolutional neural network pre-classifier and the multi-similarity fusion fine classifier have only the target area value that is not zero.

[0116] Step 2: Build a convolutional neural network pre-classifier: see Figure 2 , build a 10-layer convolutional neural network Ψ, whose structure is: the first layer is convolution layer L1, the second layer is maxPooling layer L2, the third layer is convolution layer L3, the fourth layer is maxPooling layer L4, the fifth layer is convolution layer L5, the sixth layer is maxPooling layer L6, the seventh layer is convolution layer L7, the eighth layer is avgPooling layer L8, the ninth layer is convolution layer L9, and the tenth layer is softmax classifier layer L 10 .

[0117] The parameters of each layer are set as follows: the number of convolution kernels of the first to fifth convolution layers is set to 16, 32, 64, 128, and 3 respectively, the convolution kernel sizes are set to 5×5, 5×5, 6×6, 5×5, and 1×1 respectively, the convolution kernel movement step is set to 1, and the padding parameter is set to "VALID"; the pooling convolution kernel size is set to 2×2, the pooling convolution kernel movement step is set to 2, and the padding parameter is set to "SAME"; the convolution layer activation function uses the ReLu activation function; the softmax layer uses the softmax function to calculate the probability that the input sample is identified as each class. The optimizer uses the Adam optimizer, and the initial learning rate is 1×10 -4 , the batch size is 512, the number of iterations is 150, and the learning rate is reduced to 1 / 10 of the original after 50 iterations. These hyperparameters can be adjusted according to the specific usage scenarios.

[0118] Step 3: Train the convolutional neural network: Input the preprocessed training data into the input layer of the convolutional neural network, output the predicted classification label through forward propagation, calculate the classification loss according to the cross entropy loss function, and then use back propagation to iteratively update the network parameters until the cross entropy loss function converges to obtain the trained convolutional neural network Ψ′, also known as the pre-classifier, see Figure 1 The network input image size is 88×88, and D train1The data is cropped from 128×128 to 88×88, and can be optionally scaled to 88×88.

[0119] Step 4, convolutional neural network pre-classification: the test data, i.e. the first test data D test1 and the second test data D test2 Input it into the trained neural network Ψ′ to get the confidence. Set the confidence threshold to τ = 0.95, and divide all the test data according to the threshold, and divide the test samples into high confidence samples D sim and low confidence samples D dissim For high confidence samples D sim , think D sim With training data D train1 The distribution in the feature space is relatively consistent, and the output category label of the neural network is reliable. The output of Ψ′ is adopted as the final category of high-confidence samples, i.e., SAR target recognition. dissim , it is believed that the distribution of test data and training data in the feature space is relatively inconsistent, and the output of the network is unreliable. dissim The data is sent to the fine classifier based on multi-similarity fusion for further detailed identification. Since the confidence of most real data in this example is high, after many experiments, the confidence threshold is finally determined to be τ = 0.95.

[0120] If you want to run faster, you can lower the threshold so that more images are classified only by the convolutional neural network pre-classifier; if you want high performance, you can raise the threshold so that more images are classified by the multi-similarity fusion fine classifier. However, it should be noted that although the recognition ability of the fine classifier is stronger than that of the pre-classifier, it is still limited. When the threshold is raised to a certain value, the performance will not continue to improve.

[0121] Step 5: Multi-similarity fusion classifier fine classification: The present invention is for low confidence sample D dissim , first calculate D dissim With all training data, that is, mirrored augmented data D train2 The five similarities between them are combined into a similarity matrix D, which includes cosine similarity COSS, intersection-over-union similarity IOUS, normalized mutual information similarity NMIS, structural similarity SSIM and SAR-SIFT similarity SSS. Then, ensemble learning is introduced to fuse multiple similarities, and the improved ABagging-KNN algorithm is used to input the similarity matrix D for classification, and the low confidence sample D is obtained. dissimThe classification is used as the final output classification of SAR target recognition. For real data with large distribution differences from simulation data, it is difficult to achieve good performance through a single classifier. Therefore, the present invention describes the image from different angles through multiple similarities, and then fuses the multiple similarities through the Bagging algorithm in ensemble learning. Compared with the pre-classifier, the recognition rate of low-confidence samples is significantly improved. Compared with a single classifier or additive fusion, ensemble learning significantly improves the recognition accuracy.

[0122] See also Figure 3 , the calculation steps of the five similarities are as follows:

[0123] Cosine similarity calculation: The formula for cosine similarity calculation is:

[0124]

[0125] Among them, S represents the training (simulated) image, R represents the test (real) image, S ij Represents the pixel value at coordinate (i, j) in the simulated image, R ij Represents the pixel value at coordinate (i, j) in the real image, n is the number of rows in the image, and m is the number of columns in the image. Cosine similarity measures whether the two images point in the same direction by calculating the cosine value of the angle between the two image columns after vectorization.

[0126] Intersection-over-union similarity calculation: The formula for calculating the intersection-over-union similarity is:

[0127]

[0128] Where S(·) represents the area, A S A represents the target area pixel set of the training image, that is, the area obtained after image segmentation. R Represents the set of pixels in the target area of ​​the test image. The target area is the area obtained after image segmentation. The intersection-over-union similarity measures the correlation between the shapes of the target areas of the two images.

[0129] Normalized mutual information similarity calculation, the normalized mutual information similarity calculation formula is:

[0130]

[0131] Among them, H(·) represents information entropy, H(·,·) represents joint information entropy, S represents training images, and R represents test images. Normalized mutual information similarity measures the similarity between two images from the perspective of entropy.

[0132] Structural similarity calculation: The structural similarity calculation formula is:

[0133] SSIM(S,R)=l(S,R)·c(S,R)·s(S,R)

[0134]

[0135]

[0136]

[0137] Among them, μ S is the mean of the training images, μ R is the mean of the test image, δ S is the standard deviation of the training images, δ R is the standard deviation of the test image, δ SR is the covariance of the training image and the test image. Structural similarity measures the correlation between two images from the three parts of image brightness, contrast and structure. C1 is a constant to prevent division by zero in the image brightness comparison part, C2 is a constant to prevent division by zero in the image contrast comparison part, and C3 is a constant to prevent division by zero in the image structure comparison part. C1=0.0001, C2=0.0009, and C3=0.5*C2 are usually used.

[0138] SAR-SIFT similarity calculation: First, extract the feature points in the test image and the training image, including the strong scattering points extracted based on the clustering algorithm and the corner points extracted based on the SAR-Harris algorithm. Let U = {u1,…,u i ,…,u N} is the set of feature point coordinate vectors extracted from the test image, V = {v1,…,v i ,…,v M} is the set of feature point coordinate vectors extracted from the training image, u i is the coordinate vector of the i-th feature point extracted from the test image, v i is the coordinate vector of the i-th feature point extracted from the training image, and N and M represent the number of feature points in the feature sets U and V, respectively. Then, the SAR-SIFT descriptor is used to extract the feature vector corresponding to the feature point. Let P = {p1,…,p i ,…,p N} is the set of feature vectors extracted from the test image, Q = {q1,…,q i ,…,q M} is the feature vector set extracted from the training image, p i is the i-th feature vector extracted from the test image, q iis the i-th feature vector extracted from the training image. Since the feature point coordinate vectors and feature vectors in the image are one-to-one corresponding, the number of feature vectors in the feature sets P and Q is N and M respectively. The LTS-HD distance between the feature point coordinate vectors of the test image and the training image is calculated. The distance formula between the coordinate vectors is as follows:

[0139] H LTS (U,V)=max(h LTS (U,V),h LTS (V,U)

[0140]

[0141]

[0142]

[0143] Wherein, h is a scaling factor, H1 determines the number of shortest distances from a vector in U to a vector in V, and H2 determines the number of shortest distances from a vector in V to a vector in U. The present invention measures the similarity between the test image and the training image through the distance formula between point sets, i.e., LTS-HD. Then, the LTS-HD distance between the feature vectors of the test image and the training image is calculated, and the calculation process is shown above. Finally, the SAR-SIFT similarity between the test image and the training image is calculated, and the formula is as follows:

[0144] SSS(S,R)=10×H LTS (U,V)+H LTS (P,Q)

[0145] Among them, H LTS (U, V) represents the distance between the feature point coordinate vectors, H LTS (P,Q) represents the distance between feature points and feature vectors.

[0146] The present invention first extracts the feature point set in the image through the clustering algorithm and the SAR-Harris algorithm, and then generates the corresponding feature vector set through the SAR-SIFT descriptor. At this time, the image has been converted into a vector set (including the feature point coordinate vector set and the feature vector set). Next, the distance between the two vector sets, that is, the correlation between the two images, is measured by the distance formula between the point sets. Here, the distance formula uses the LTS-HD distance, and other distance formulas can also be selected.

[0147] Since the distance between feature point coordinate vectors is one order of magnitude lower than the distance between feature vectors, the distance between feature vectors is added to the distance between coordinate vectors*10 in the SAR-SIFT similarity. The present invention not only utilizes the SAR-SIFT feature vectors extracted from the image, but also utilizes the extracted SAR-SIFT feature point coordinate vectors, further enriching the feature information and improving the recognition performance compared to the previous algorithm that only utilizes feature vectors.

[0148] Multi-similarity fusion calculation: This invention classifies low-confidence samples based on the improved ABaaing-KNN algorithm and five similarities. Assume that there are b template images and d similarity algorithms, D = {d1, ..., d i ,…,d b} is the similarity matrix between a test image and b template images, where d i ={d i,1 ,…,d i,j ,…,d i,d} T , d i,j is the jth similarity between the test image and the i-th template image, including the following steps:

[0149] (1) Parameter selection: Determine the number of attribute resampling l and the number of integrated models T.

[0150] (2) Attribute resampling: Repeat sampling l times in d similarities to obtain a new similarity matrix in

[0151] (3) Obtain the total similarity vector: Add the l similarities obtained by resampling to obtain the total similarity vector in

[0152] (4) Obtaining categories: According to the K nearest neighbor classifier, the t-th model output category is obtained. That is The largest K values ​​are selected and voted according to the categories corresponding to these K values, where the number of nearest neighbors K is randomly selected between 1, 3 and 5.

[0153] (5) Obtaining T models: Repeating steps (2) to (4) T times (i.e., t = 1…T) to obtain T models;

[0154] (6) Obtaining output categories: Voting the output results of the T models to obtain the output category.

[0155] In this example, the number of integrated models T is set to 500, and the number of resampled similarities l is set to 4. There are 5 similarity algorithms. After many experiments, the number of resampled similarities l is set to 4, so there are 625 fusion possibilities, but not every fusion is effective. Therefore, the number of integrated models T is set to 500, which is enough to cover most fusion possibilities. The parameters in the specific implementation can be determined according to the number of extracted similarities.

[0156] The original Bagging algorithm resamples the samples and cannot enhance the performance of the KNN algorithm. However, the present invention destroys the stability of the KNN algorithm by resampling the attributes, so that the KNN algorithm can also enhance the performance through the Bagging algorithm. Compared with the original ABagging-KNN algorithm, the present invention randomly selects the number of neighbors K in the KNN classifier from 1, 3, and 5 in each sub-classifier, further enhancing the diversity when the sub-classifiers are fused and improving the final recognition performance.

[0157] In the present invention, for high confidence samples D sim , the output category of the convolutional neural network is adopted as the final category; for low confidence samples D dissim , the output category of the multi-similarity fusion classifier is adopted as the final category. In practical applications, the distribution of most real data and simulation data in the feature space is relatively consistent, so the output confidence of most test data is high, and only a small number of samples with low confidence need to be sent to a more sophisticated but complex multi-similarity fusion fine classifier. Therefore, the method proposed in the present invention can take into account the high efficiency of the convolutional neural network pre-classifier and the high performance of the multi-similarity fusion fine classifier.

[0158] The core idea of ​​the present invention is that the distribution of simulated data and real data in the feature space is inconsistent, which is the reason why the accuracy of using simulated data to identify real data is low. Based on this idea, the present invention divides the real data that is inconsistent with the distribution of simulated data into two parts, which are relatively consistent and relatively inconsistent, and identifies them separately. Due to the powerful feature extraction and recognition capabilities of the convolutional neural network for the same distribution data, the present invention believes that the confidence output after the real sample is sent to the convolutional neural network trained by the simulated data can be used as the basis for dividing the real data. If the confidence is high, it can be considered that the distribution is relatively consistent with the simulated data, and the label output by the convolutional neural network is credible; if the confidence is low, it is considered that the distribution difference with the simulated data is large, and the label output by the convolutional neural network is unreliable and needs further identification. For this part of data with large differences, it is difficult for a single classifier to obtain good performance. Therefore, the present invention adopts 5 similarity algorithms to measure the correlation between the simulated image and the real image from different angles, and adopts ensemble learning to fuse different similarities, further improving the diversity of fusion. Through the method of pre-classification of convolutional neural network and fine classification of multi-similarity fusion classifier, the present invention can well combine the high efficiency of convolutional neural network and the high precision of multi-similarity fusion classifier, and has strong practical application value.

[0159] The effect of the present invention can be further illustrated by the following experimental data:

[0160] Example 6

[0161] The zero-sample SAR target recognition method based on hierarchical fusion of convolutional neural network and image similarity is the same as that in Example 1-5.

[0162] Experimental conditions:

[0163] The hardware platform of the simulation experiment is: the processor is Intel(R) Core(TM) i9-10900 CPU@2.80GHz2.81GHz, and the memory is 16GB. The software platform is: Ubuntu 16.04 operating system, python 3.6 and matlab 2019b.

[0164] Experimental data: The experimental data used are simulation data sets and MSTAR data sets. The MSTAR data set is released by the US Defense Advanced Research Institute, most of which are slice images of stationary vehicles. The image resolution is 0.3m×0.3m, the image size is 128x128 pixels, the azimuth is 0~360°, and the pitch angle is 17° and 15°. This example uses three types of ground target slices: BMP2, BTR70, and T72. The image resolution of the simulation data set is 0.2m×0.2m, and the size, azimuth range, and target category are consistent with the MSTAR data set, and the pitch angle is only 17°. Table 1 gives a description of the real data and simulation data.

[0165] Table 1. Description of real data and simulation data

[0166]

[0167] Comparative experimental method: The existing recognition algorithm based on SVM, the recognition algorithm based on multi-view joint sparse representation and the A-ConvNet algorithm are used to compare the results with the method proposed in the present invention under the same conditions.

[0168] Evaluation criteria: SAR image target recognition accuracy.

[0169] Experimental content:

[0170] The method of the present invention and the existing method are used to compare the above experimental data. The training data is SAR image simulation data, and the test data is MSTAR real data. The experimental content in this example can be divided into 4 parts. First, the difference between simulation and real data is shown. Then, the D test1 and D test2 The effectiveness of the pre-classifier was evaluated in two environments, and then the effectiveness of the fine classifier was evaluated. Finally, the fused method was compared with multiple known methods.

[0171] Experimental results and analysis:

[0172] The difference between simulated data and real data:

[0173] See also Figure 5 (a)- Figure 5 (c) shows the preprocessing process of training data and test data of the present invention: normalization, object segmentation and registration. Figure 5 (a) is the normalized image. Normalization means scaling the pixel values ​​to the range of [0, 255], which can reduce the impact of different radar illumination environments. In the process of generating simulated images, the background of the target will also have a certain impact on the propagation of electromagnetic waves. Figure 5 (b) is the image after target segmentation. Target segmentation can effectively reduce the differences caused by different backgrounds. Figure 5 (c) is the image after registration. The present invention moves the centroid of the segmented target area to the center of the image through registration to remove the influence caused by different positions of the target. The training data is also expanded to enhance the diversity of the training data.

[0174] Since image histogram has many advantages such as translation, rotation and scaling invariance, image histogram is chosen to show the differences between different data.

[0175] See also Figure 6 (a)- Figure 6 (c) Figure 6 (a) is a histogram of simulation data in the present invention, Figure 6 (b) is D in the present invention test1 The histogram of Figure 6 (c) is D in the present invention test2 Histogram of . Figure 6 (a)- Figure 6 (c) It can be seen that the histograms of the real data are relatively similar, but there are large differences with the simulated data.

[0176] See also Figure 7 (a)- Figure 7 (c) Figure 7 (a) is a histogram of the simulation data after preprocessing in the present invention, Figure 7 (b) is D in the present invention test1 The histogram after preprocessing, Figure 7 (c) is D in the present invention test2 Histogram after preprocessing. Compare Figure 7 (a)- Figure 7 (c) It can be seen that the image histogram after target segmentation Figure 3 The data of the two groups are relatively close, which shows that the target segmentation significantly reduces the difference between the simulated data and the real data, but there are still a small number of differences that cannot be eliminated.

[0177] Pre-classifier experiments: see Figure 8(a)-Figure 8(b) , showing the accuracy change curve of the convolutional neural network during the training process of the present invention. Figure 8(a) is a graph showing the accuracy change curve of the convolutional neural network during the training process of the present invention. train1 and D test1 Accuracy change curve, where the solid line corresponds to the simulation data and the dotted line corresponds to D test1 Figure 8(b) is a graph showing the D train1 and D test2 Accuracy change curve, where the solid line corresponds to the simulation data and the dotted line corresponds to D test2Combining Figure 8(a) and Figure 8(b), it can be seen that as the number of iterations increases, the accuracy of the test data gradually increases and eventually reaches a stable value. test1 The average recognition accuracy of 10 experiments on the data can reach 83.01%. test2 The average recognition accuracy of 10 experiments on the data can reach 79.59%.

[0178] Fine classifier experiment: Table 2 gives the accuracy of different similarity methods and fusion methods.

[0179] Table 2. Accuracy of different similarity methods and fusion methods

[0180]

[0181] As shown in Table 2, the recognition accuracy of different similarity methods varies greatly, but they are all above 70%, so they are worth integrating. The MABK of the present invention is the result of the present invention using the improved ABagging-KNN algorithm to fuse 5 similarities. It can be found in Table 2 that compared with a single classifier, the multi-similarity fusion and ensemble learning method proposed by the present invention can significantly improve the recognition accuracy.

[0182] Comparative experiment between the prior art and the method proposed in the present invention: Table 3 shows the comparison results between the method proposed in the present invention and the currently existing representative methods.

[0183] Table 3. Comparison results of performance parameters between the method of the present invention and existing representative methods

[0184] SVM JSRC A-ConvNet Pre-classifier Fine Classifier The present invention <![CDATA[D test1 ]]> 33.95% 45.56% 71.83% 83.01% 86.00% 88.25% <![CDATA[D test2 ]]> 41.98% 43.37% 66.72% 79.59% 83.75% 84.32%

[0185] As can be seen from Table 3, due to the difference between the simulated data and the real data, the recognition rates of the algorithms proposed previously are very low. The SVM and JSRC algorithms trained and tested using MSTAR real data can achieve accuracies of 90.99% and 95.60% respectively. When using simulated data for training, the accuracy rate drops significantly when testing with real data. The reason may be that SVM relies on a few support vectors for classification, and the difference between the simulated data and the real data has a greater impact on it. JSRC relies on the linear combination of atoms in the dictionary to restore the test samples, and the current data has differences, which will affect the selection of dictionary atoms. The recognition rate based on the A-ConvNet algorithm is higher than that of the previous two methods, which shows that the convolutional neural network has a strong feature extraction and combination capability, which can reduce the impact of the difference to a certain extent, but it still cannot be eliminated. The performance of the convolutional neural network pre-classifier proposed in the present invention has exceeded the current three algorithms, and the performance has been improved by an average of 12.03% compared with A-ConvNet, mainly due to target segmentation. The performance of the multi-similarity fusion fine classifier proposed in the present invention has been further improved, with an average improvement of 3.60% compared with the pre-classifier, which shows that when there is a certain difference in the distribution of training data and test data in the feature space, multi-similarity fusion and ensemble learning can significantly enhance the recognition rate performance. Compared with the existing methods, the zero-shot SAR target recognition algorithm based on hierarchical fusion convolutional neural network and image similarity proposed in the present invention has significantly improved the recognition rate, and compared with the pre-classifier and fine classifier, it also further improves the recognition accuracy, especially in D test1 In terms of data, this shows that the method proposed in the present invention to divide the real data into two parts according to the simulation data is feasible, which can greatly reduce the impact of the differences between the data, and therefore has important practical application value.

[0186] The above descriptions are only a few specific examples of the present invention and do not constitute any limitation to the present invention. It is obvious that for professionals in this field, after understanding the content and principles of the present invention, they may make various modifications and changes in form and details without departing from the principles and structures of the present invention. However, these modifications and changes based on the ideas of the present invention are still within the scope of protection of the claims of the present invention.

[0187] In summary, the zero-sample SAR target recognition method of hierarchical fusion convolutional neural network and image similarity proposed in the present invention solves the technical problem of how to more accurately identify unknown real data using only simulated data in the absence of labeled real data. The implementation includes: data preprocessing, building a convolutional neural network, training a convolutional neural network, convolutional neural network pre-classification and multi-similarity fusion classifier fine classification. The present invention innovatively proposes a two-step classification method that does not require labeled real data and only uses simulated data to identify unknown real data. It innovatively divides the real data into a part that is more similar to the distribution of the simulated data and a part that is less similar, and designs recognition methods for these two parts respectively. In identifying the less similar part, a method based on multiple similarities fusion and ensemble learning is proposed, which uses multiple similarities to measure the correlation between the simulated data and the real data from different aspects, significantly improving the recognition rate of the less similar part of the data.

[0188] The present invention does not require labeled real data to participate in the training process, and can more accurately identify unknown real SAR images only by relying on simulated data. It has strong practical application significance and can be applied to the field of automatic vehicle target recognition in SAR images.

Claims

1. A zero-shot SAR target recognition method based on hierarchical fusion of convolutional neural network and image similarity algorithm, characterized in that: Aiming at the problem of zero-shot SAR image target recognition, a two-step classifier is constructed by using simulated data to identify real data. The convolutional neural network is used as the pre-classifier and the multi-similarity fusion classifier is used as the fine classifier. The following steps are included: (1) Data preprocessing to obtain translation expansion data D train1 and mirror expansion data D train2 :The training data uses SAR image simulation data, and the test data uses the MSTAR 3-category dataset. The first test data D test1 The second test data D is the data with a pitch angle of 17°. test2 This is the data with a pitch angle of 15°; The training data is simulated data, and the test data is real data. The preprocessing includes maximum and minimum value normalization, image segmentation, image registration and training data expansion. The translation expansion data D is obtained in the data expansion. train1 and mirror expansion data D train2 : (2) Construct a convolutional neural network: Build a 10-layer convolutional neural network Ψ, whose structure is as follows: the first layer is the convolution layer L1, the second layer is the maxPooling layer L2, the third layer is the convolution layer L3, the fourth layer is the maxPooling layer L4, the fifth layer is the convolution layer L5, the sixth layer is the maxPooling layer L6, the seventh layer is the convolution layer L7, the eighth layer is the avgPooling layer L8, the ninth layer is the convolution layer L9, and the tenth layer is the softmax classifier layer L 10 ; The parameters of each layer are set as follows: the number of convolution kernels of the first to fifth convolution layers is set to 16, 32, 64, 128, and 3 respectively, the convolution kernel sizes are set to 5×5, 5×5, 6×6, 5×5, and 1×1 respectively, and the convolution kernel movement step is set to 1; the pooling convolution kernel size is set to 2×2, and the pooling convolution kernel movement step is set to 2; the convolution layer activation function uses the ReLu activation function; the softmax layer uses the softmax function to calculate the probability of the input sample being identified as each class; (3) Training the convolutional neural network: The preprocessed training data, i.e., the translation and expansion data D train1 Input to the input layer of the network, output the predicted classification label, calculate the classification loss according to the cross entropy loss function, and use back propagation to iteratively update the network parameters until the cross entropy loss function converges to obtain the trained convolutional neural network Ψ′, also known as the pre-classifier; (4) Convolutional neural network pre-classification: The test data includes the first test data D test1 and the second test data D test2 Input into the trained neural network Ψ′, the trained neural network Ψ′ outputs confidence and category labels; set the confidence threshold to τ = 0.95; according to this threshold, all test data are divided into high confidence samples D sim and low confidence samples D dissim ; For high confidence samples D sim , think D sim With training data D train1 The distribution in the feature space is relatively consistent, the output category label of the neural network is reliable, and the output of Ψ′ is adopted as the final category of high-confidence sample target recognition; for low-confidence samples D dissim , it is believed that the distribution of test data and training data in the feature space is inconsistent, and the output of the network is unreliable. dissim The data is sent to the refined classifier based on multi-similarity fusion for further detailed identification; (5) Multi-similarity fusion classifier fine classification: For low confidence samples D dissim , first calculate D dissim With all training data, that is, mirrored augmented data D train2 The five similarities between them are combined into a similarity matrix D, which includes cosine similarity COSS, intersection-over-union similarity IOUS, normalized mutual information similarity NMIS, structural similarity SSIM and SAR-SIFT similarity SSS; Then, the improved ABagging-KNN algorithm is used to input the similarity matrix D for classification, and the low confidence sample D is obtained. dissim The improved ABagging-KNN algorithm assumes that there are b template images and d similarity algorithms, D = {d1,…,d i ,…,d b } is the similarity matrix between a test image and b template images, where d i ={d i,1 ,…,d i,j ,…,d i,d } T , d i,j is the jth similarity between the test image and the i-th template image, including the following steps: (5f1) Parameter selection: determine the number of attribute resampling l and the number of integrated models T; (5f2) Attribute resampling: Repeat sampling l times in d similarities to obtain a new similarity matrix in (5f3) Get the total similarity vector: add the l similarities obtained by resampling to get the total similarity vector in (5f4) Obtain subclassifier category: According to the K nearest neighbor classifier, obtain the subclassifier, i.e. the tth model output category, That is Select the largest K values ​​and vote according to the categories corresponding to these K values, where the number of neighbors K is randomly selected between 1, 3 and 5; (5f5) Obtain T models: Repeat steps (5f2) to (5f4) T times, where t is the serial number of the integrated model, t=1...T, and obtain T models; (5f6) Obtain the output category of the multi-similarity fusion classifier: Vote the output results of T models to obtain the output category, that is, the low confidence sample D dissim category; The low-confidence sample categories are obtained through fine classification using multiple similarity fusion classifiers.

2. According to the zero-shot SAR target recognition method of hierarchical fusion convolutional neural network and image similarity described in claim 1, the step of calculating the SAR-SIFT similarity SSS, i.e., the SAR-SIFT similarity between a test image and a training image, in the multi-similarity fusion classifier fine classification in step (5) is as follows: (5e1) Extract feature points from the test image and the training image, including strong scattering points extracted based on the clustering algorithm and corner points extracted based on the SAR-Harris algorithm; let U = {u1, ..., u i ,...,u N} is the set of feature point coordinate vectors extracted from the test image, V = {v1,…,v i ,...,v M} is the set of feature point coordinate vectors extracted from the training image, u i is the coordinate vector of the i-th feature point extracted from the test image, v i is the coordinate vector of the i-th feature point extracted from the training image, N and M represent the number of feature points in the feature sets U and V respectively; (5e2) Use SAR-SIFT descriptor to extract feature vectors corresponding to feature points; let P = {p1, ..., p i ,...,p N} is the set of feature vectors extracted from the test image, Q = {q1,...,q i ,...,qM} is the feature vector set extracted from the training image, p i is the i-th feature vector extracted from the test image, q i is the i-th feature vector extracted from the training image. Since the feature point coordinate vector and the feature vector in the image are one-to-one corresponding, the number of feature vectors in the feature sets P and Q are N and M respectively; (5e3) Calculate the LTS-HD distance between the feature point coordinate vectors of the test image and the training image. The distance formula between coordinates is as follows: H LTS (U,V)=max(h LTS (U,V),h LTS (V,U) in, h is the scaling factor, H1 determines the number of shortest distances from a vector in U to a vector in V that are preserved, H2 determines the number of shortest distances from a vector in V to a vector in U that are preserved, and d is the Euclidean distance between the two vectors; (5e4) Calculate the LTS-HD distance between the feature vectors of the test image and the training image, and the calculation process is shown in (5e3); (5e5) Calculate the SAR-SIFT similarity between the test image and the training image. The formula is as follows: SSS(S,R)=10×H LTS (U,V)+H LTS (P,Q) Among them, H LTS (U, V) represents the distance between the feature point coordinate vectors, H LTS (P,Q) represents the distance between feature points and feature vectors.

Citation Information

Cited By

  • Zero sample SAR target identification method based on optimal transmission distance function

    CN115205602A

  • Zero-Shot SAR Target Recognition Method Based on Optimal Transport Distance Function

    CN115205602B

  • Unsupervised domain adaptive SAR target identification method fusing and aligning visual features and scattering topological features

    CN116597300A

  • An Unsupervised Domain Adaptation SAR Target Recognition Method for Fusing and Aligning Visual Features and Scattering Topological Features

    CN116597300B