A prediction method for selecting SAR image adaptation area based on neural network

Through the fully convolutional neural network sub-area classification model based on neural networks, the complexity of feature extraction and geographical elevation data processing in SAR image adaptation area selection is solved, fast and accurate adaptation area prediction is achieved, and matching is improved. Efficiency and reliability of zone selection.

CN118470361BActive Publication Date: 2024-09-03ROCKET FORCE UNIV OF ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410938982.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-03
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing SAR image adaptation area selection methods require feature extraction and supporting geographical elevation data processing, which results in greater complexity and time consumption, affecting the accuracy and efficiency of matching area selection.

Method used

A neural network-based method is used to establish a fully convolutional neural network sub-area classification model. Feature extraction and classification are performed through the SAR image training set, and the trained model is obtained for predicting the adaptation area. It only relies on a single SAR image data and saves time. Go to geographic elevation data processing.

Benefits of technology

The adaptation area selection process is simplified, the accuracy and efficiency of prediction are improved, the prediction time is reduced, and the reliability and robustness of matching area selection are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470361B
    Figure CN118470361B
Patent Text Reader

Abstract

The present invention discloses a SAR image adaptation zone selection prediction method based on a neural network, including: 1. obtaining a SAR image training set; 2. establishing a full convolutional neural network sub-area classification model; 3. inputting the full convolutional neural network sub-area classification model for feature extraction and classification; 4. training the full convolutional neural network sub-area classification model; 5. using the trained full convolutional neural network sub-area classification model to predict subsequent SAR images. The method of the present invention has simple steps and reasonable design. The neural network is introduced into the SAR image adaptation zone selection prediction, and the trained full convolutional neural network sub-area classification model is obtained to predict the adaptation zone of the SAR image. Subsequently, the adaptation zone can be predicted based on only a single SAR image data, and the matching geographic elevation data is no longer required. The selection prediction time is short, which improves the accuracy and efficiency of the matching zone selection prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of SAR image adaptation area prediction, and in particular relates to a SAR image adaptation area selection prediction method based on a neural network. Background Art

[0002] In the scene matching assisted navigation system, the main factors affecting the scene matching performance include the features of the objects in the matching area, the imaging differences between the reference image and the real-time image, and the matching algorithm performance. In order to achieve accurate positioning of the aircraft through image matching and provide a reference for correcting the inertial navigation deviation, when preparing the reference image, it is necessary to select an area with obvious features and easy matching as the best matching area to ensure the matching accuracy and matching probability. The selection of the adaptation area is to select an image with large image information, good stability and uniqueness as the image matching reference image according to requirements or criteria to ensure that the real-time image obtained during the flight can be successfully matched with the pre-stored reference image. The effectiveness of the selection of the adaptation area has a great influence on the reliability, robustness and accuracy of the matching assisted navigation system.

[0003] In recent years, the launch of multiple high-resolution SAR satellites has provided a data basis for the preparation of SAR image matching benchmark maps. The traditional SAR image matching area selection methods are divided into two categories. The first method selects the matching area by calculating the image variance, correlation length, cross-correlation peak characteristics, texture energy ratio, information entropy, edge density, number of independent pixels, terrain parameters and other matching index parameters; the second method is the SAR image matching area selection based on support vector machine, which selects the appropriate multi-dimensional feature parameters representing the image information and uses classification methods to achieve the selection of image matching areas. Both of the above methods require feature extraction of SAR images and need to consider the impact of terrain on SAR image matching, so it is necessary to use the matching geographic elevation data.

[0004] Therefore, a reasonably designed neural network-based SAR image matching area selection prediction method is needed. The neural network is introduced into the SAR image matching area selection prediction, and a trained fully convolutional neural network sub-area classification model is obtained to predict the matching area of ​​the SAR image. Subsequently, the matching area can be predicted based on only a single SAR image data, and the matching geographic elevation data is no longer required. The selection and prediction time is short, which improves the accuracy and efficiency of the matching area selection prediction. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a SAR image adaptation area selection prediction method based on a neural network in view of the deficiencies in the above-mentioned prior art. The method has simple steps and reasonable design. The neural network is introduced into the SAR image adaptation area selection prediction, and a trained full convolutional neural network sub-area classification model is obtained to predict the adaptation area of ​​the SAR image. Subsequently, the adaptation area can be predicted based on only a single SAR image data, and the matching geographic elevation data is no longer required. The selection and prediction time is short, which improves the accuracy and efficiency of the matching area selection prediction.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a SAR image adaptation area selection prediction method based on a neural network, characterized in that the method comprises the following steps:

[0007] Step 1: Obtain SAR image training set:

[0008] Step 101: Using SAR images acquired using synthetic aperture radar technology as the original data source;

[0009] Step 102: Select multiple SAR images from the original data source and crop them in order from left to right and from top to bottom to obtain SAR sub-images;

[0010] Step 103, obtaining the adaptability index of the SAR sub-image and judging it with the threshold value to obtain the adaptability area, the non-adaptability area and the uncertainty area; wherein the adaptability index includes the edge density, the number of independent pixels and the DEM standard deviation;

[0011] Step 104: using a normalized cross-correlation matching algorithm to judge the uncertainty area, and obtaining an adaptation area and a non-adaptation area;

[0012] Step 105: Use the SAR sub-image in the adaptation area as a positive sample with a label of 1, and use the SAR sub-image in the non-adaptation area as a negative sample with a label of 0, and the positive samples and the negative samples constitute a SAR image training set;

[0013] Step 2: Establish a fully convolutional neural network sub-area classification model:

[0014] The fully convolutional neural network sub-area classification model includes a first-level neural network, a second-level neural network, a third-level neural network, a fourth-level neural network and a fifth-level neural network; wherein the first-level neural network includes a first down-sampling module and a first feature extraction module, the second-level neural network includes a second down-sampling module and a second feature extraction module, the third-level neural network includes a third down-sampling module and a third feature extraction module, the fourth-level neural network includes a fourth down-sampling module and a fourth feature extraction module, and the fifth-level neural network includes a global average pooling layer, a fifth normalization layer, a linear layer and a Softmax layer;

[0015] Step 3: Input the fully convolutional neural network sub-area classification model for feature extraction and classification:

[0016] The SAR sub-image is input into the fully convolutional neural network sub-area classification model by computer for feature extraction and classification, and the probability value of the SAR sub-image is output;

[0017] Step 4: Training of the fully convolutional neural network sub-area classification model:

[0018] Step 401: Using a computer according to , we get the cross entropy loss function ;in, Indicates SAR sub-graphs, and is a positive integer, , represents the total number of SAR sub-graphs, Indicates The probability value of a SAR sub-image, Indicates The true value of the label of the SAR sub-image, The value is 0 or 1;

[0019] Step 402: The computer uses the Adam optimizer and the cross entropy loss function Iteratively optimize the sub-area classification model of the full convolutional neural network until all SAR image training sets are trained and one iteration of training is completed;

[0020] Step 403, repeating the iterative training of step 402 until the preset number of iterative training times is met, and obtaining a trained full convolutional neural network sub-region classification model;

[0021] Step 5: Use the trained fully convolutional neural network sub-area classification model to predict subsequent SAR images:

[0022] The trained fully convolutional neural network sub-area classification model is used to predict the subsequent SAR images, and the adaptation area SAR sub-image with a probability value greater than 0.5 is the adaptation area selected for SAR image prediction.

[0023] The above-mentioned SAR image adaptation area selection prediction method based on neural network is characterized in that: step 103, the specific process is as follows:

[0024] Step A, using a computer to extract the edge of any SAR sub-image using the Canny operator to obtain a binary edge image;

[0025] Step B, using a computer to process the binary edge map using a local processing method for edge connection to obtain an optimized edge map;

[0026] Step C: For the optimized edge map, use a computer to , and get the edge density ;in, Represents the pixel coordinates, Represents pixel coordinates If the value of is an edge pixel, then ,otherwise , is the horizontal axis, is the vertical coordinate; Represents the total number of pixels on the horizontal axis, Indicates the total number of pixels on the ordinate;

[0027] Step D: For the SAR sub-image, use a computer to , get the number of independent pixels ;in, represents the correlation length in the horizontal direction, represents the relevant length in the longitudinal direction;

[0028] Step E: For the DEM data corresponding to the SAR sub-image, a computer is used to , and obtain the DEM standard deviation; where, Represents pixel coordinates The corresponding geographic elevation value, Indicates the mean value of the geographic elevation value of the area corresponding to the SAR sub-image;

[0029] Step F: According to the adaptability index and threshold of the SAR sub-image, the adaptability area, the non-adaptability area and the uncertainty area are obtained.

[0030] The above-mentioned SAR image adaptation area selection prediction method based on neural network is characterized in that: step F, the specific process is as follows:

[0031] Step F1: Use a computer to set a high threshold value for edge density , edge density low threshold , high threshold of independent pixel number , low threshold of independent pixel number , DEM standard deviation high threshold and DEM standard deviation low threshold ;

[0032] Step F2: If the adaptability index of the SAR sub-graph satisfies , then the SAR sub-image is the adaptation area; if the adaptability index of the SAR sub-image satisfies , then the SAR sub-image is a non-adaptive area; other SAR sub-images are uncertain areas.

[0033] The above-mentioned SAR image adaptation area selection prediction method based on neural network is characterized in that: step 104, the specific process is as follows:

[0034] Step 1041: using a computer to use each SAR sub-image in the uncertainty region as a reference image, and extracting four small images with a size of 128×128 from any reference image, which are recorded as SAR small images;

[0035] Step 1042: Use a computer to perform grayscale transformation and noise processing on the SAR small image to obtain a processed real-time image;

[0036] Step 1043: using a computer to match any processed real-time image with its corresponding reference image using a normalized cross-correlation matching algorithm; if the maximum absolute error of the match is within 5 pixels, the match is considered successful; otherwise, the match is considered failed;

[0037] Step 1044, repeat step 1043 multiple times. If the four processed real-time images are all matched successfully, the SAR sub-image corresponding to the reference image is considered to be the adaptation area, otherwise it is considered to be the non-adaptation area.

[0038] The above-mentioned SAR image adaptation area selection prediction method based on neural network is characterized in that: step three, the specific process is as follows:

[0039] Step 301: Using a computer, input the SAR sub-image in the SAR image training set into the first-level neural network to obtain a third intermediate feature map;

[0040] Step 302: Using a computer, input the third intermediate feature map into the second-level neural network to obtain a sixth intermediate feature map;

[0041] Step 303: using a computer to input the sixth intermediate feature map into the third-level neural network to obtain an eighth intermediate feature map;

[0042] Step 304: Use a computer to input the eighth intermediate feature map into the fourth-level neural network to obtain a tenth intermediate feature map;

[0043] Step 305: Use a computer to input the tenth intermediate feature map into the fifth-level neural network and output 2 probability values; wherein the number of nodes in the Softmax layer is 2.

[0044] The above-mentioned SAR image adaptation area selection prediction method based on neural network is characterized in that: the preset number of iterative training in step 403 is 120 times to 150 times.

[0045] The above-mentioned SAR image adaptation area selection prediction method based on neural network is characterized in that: the first downsampling module includes a first convolution layer and a first normalization layer; the number of convolution kernels in the first convolution layer is 96, the size of the convolution kernel is 4×4, the sliding step is 4, and the padding is 0;

[0046] The second downsampling module includes a second normalization layer and a second convolution layer; the number of convolution kernels in the second convolution layer is 192, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0;

[0047] The third downsampling module and the fourth downsampling module have the same structure as the second downsampling module. In the third downsampling module, the number of convolution kernels in the second convolution layer is 384, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0.

[0048] The number of convolution kernels in the second convolution layer in the fourth downsampling module is 768, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0;

[0049] The first feature extraction module includes 3 residual convolution modules, the second feature extraction module includes 3 residual convolution modules, the third feature extraction module includes 9 residual convolution modules, and the fourth feature extraction module includes 3 residual convolution modules; wherein, any residual convolution module includes a convolution layer, a layer normalization, a first linear layer, a GELU activation function layer and a second linear layer; the input of any residual convolution module is connected to the convolution layer, and the input of any residual convolution module and the output of the second linear layer are added as the output of any residual convolution module.

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

[0051] 1. The method of the present invention has simple steps and reasonable design, and solves the problem that the selection of the adaptation area of ​​the current SAR image requires feature extraction and the matching geographic elevation data.

[0052] 2. The present invention first obtains a SAR image training set, and in the process of obtaining the training set, first determines the adaptation area, the non-adaptation area and the uncertainty area through the adaptability index, and then determines the uncertainty area through the normalized cross-correlation matching algorithm to obtain the adaptation area and the non-adaptation area, thereby improving the rapidity of obtaining a large number of historical samples in the early stage.

[0053] 3. The present invention constructs a fully convolutional neural network sub-area classification model, and inputs the SAR sub-image into the fully convolutional neural network sub-area classification model for feature extraction and classification, outputs the probability value of the SAR sub-image, and uses the cross entropy loss function for training. The cross loss function can make the classification prediction results more in line with reality and can better train the model.

[0054] 4. The present invention uses the trained fully convolutional neural network sub-area classification model to predict subsequent SAR images. It is no longer necessary to perform feature extraction and the corresponding geographic elevation data. The adaptation area can be predicted based on only a single SAR image data, and the prediction is convenient.

[0055] In summary, the method of the present invention has simple steps and reasonable design. A neural network is introduced into the SAR image adaptation area selection prediction, and a trained full convolutional neural network sub-area classification model is obtained to predict the adaptation area of ​​the SAR image. Subsequently, the adaptation area can be predicted based on only a single SAR image data, and the matching geographic elevation data is no longer required. In addition, the selection and prediction time is short, which improves the accuracy and efficiency of the matching area selection prediction.

[0056] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 The figure is a flowchart of the method of the present invention.

[0058] Figure 2 It is a structural block diagram of the fully convolutional neural network sub-region classification model of the present invention.

[0059] Figure 3 It is a structural block diagram of the residual convolution module of the present invention. DETAILED DESCRIPTION

[0060] like Figures 1 to 3 As shown, the SAR image adaptation area selection prediction method based on neural network of the present invention includes the following steps:

[0061] Step 1: Obtain SAR image training set:

[0062] Step 101: Using SAR images acquired using synthetic aperture radar technology as the original data source;

[0063] Step 102: Select multiple SAR images from the original data source and crop them in order from left to right and from top to bottom to obtain SAR sub-images;

[0064] Step 103, obtaining the adaptability index of the SAR sub-image and judging it with the threshold value to obtain the adaptability area, the non-adaptability area and the uncertainty area; wherein the adaptability index includes the edge density, the number of independent pixels and the DEM standard deviation;

[0065] Step 104: using a normalized cross-correlation matching algorithm to judge the uncertainty area, and obtaining an adaptation area and a non-adaptation area;

[0066] Step 105: Use the SAR sub-image in the adaptation area as a positive sample with a label of 1, and use the SAR sub-image in the non-adaptation area as a negative sample with a label of 0, and the positive samples and the negative samples constitute a SAR image training set;

[0067] Step 2: Establish a fully convolutional neural network sub-area classification model:

[0068] The fully convolutional neural network sub-area classification model includes a first-level neural network, a second-level neural network, a third-level neural network, a fourth-level neural network and a fifth-level neural network; wherein the first-level neural network includes a first down-sampling module and a first feature extraction module, the second-level neural network includes a second down-sampling module and a second feature extraction module, the third-level neural network includes a third down-sampling module and a third feature extraction module, the fourth-level neural network includes a fourth down-sampling module and a fourth feature extraction module, and the fifth-level neural network includes a global average pooling layer, a fifth normalization layer, a linear layer and a Softmax layer;

[0069] Step 3: Input the fully convolutional neural network sub-area classification model for feature extraction and classification:

[0070] The SAR sub-image is input into the fully convolutional neural network sub-area classification model by computer for feature extraction and classification, and the probability value of the SAR sub-image is output;

[0071] Step 4: Training of the fully convolutional neural network sub-area classification model:

[0072] Step 401: Using a computer according to , we get the cross entropy loss function ;in, Indicates SAR sub-graphs, and is a positive integer, , represents the total number of SAR sub-graphs, Indicates The probability value of a SAR sub-image, Indicates The true value of the label of the SAR sub-image, The value is 0 or 1;

[0073] Step 402: The computer uses the Adam optimizer and the cross entropy loss function Iteratively optimize the sub-area classification model of the full convolutional neural network until all SAR image training sets are trained and one iteration of training is completed;

[0074] Step 403, repeating the iterative training of step 402 until the preset number of iterative training times is met, and obtaining a trained full convolutional neural network sub-region classification model;

[0075] Step 5: Use the trained fully convolutional neural network sub-area classification model to predict subsequent SAR images:

[0076] The trained fully convolutional neural network sub-area classification model is used to predict the subsequent SAR images, and the adaptation area SAR sub-image with a probability value greater than 0.5 is the adaptation area selected for SAR image prediction.

[0077] In this embodiment, step 103, the specific process is as follows:

[0078] Step A, using a computer to extract the edge of any SAR sub-image using the Canny operator to obtain a binary edge image;

[0079] Step B, using a computer to process the binary edge map using a local processing method for edge connection to obtain an optimized edge map;

[0080] Step C: For the optimized edge map, use a computer to , and get the edge density ;in, Represents the pixel coordinates, Represents pixel coordinates If the value of is an edge pixel, then ,otherwise , is the horizontal axis, is the vertical coordinate; Represents the total number of pixels on the horizontal axis, Indicates the total number of pixels on the ordinate;

[0081] Step D: For the SAR sub-image, use a computer to , get the number of independent pixels ;in, represents the correlation length in the horizontal direction, represents the relevant length in the longitudinal direction;

[0082] Step E: For the DEM data corresponding to the SAR sub-image, a computer is used to , and obtain the DEM standard deviation; where, Represents pixel coordinates The corresponding geographic elevation value, Indicates the mean value of the geographic elevation value of the area corresponding to the SAR sub-image;

[0083] Step F: According to the adaptability index and threshold of the SAR sub-image, the adaptability area, the non-adaptability area and the uncertainty area are obtained.

[0084] In this embodiment, step F, the specific process is as follows:

[0085] Step F1: Use a computer to set a high threshold value for edge density , edge density low threshold , high threshold of independent pixel number , low threshold of independent pixel number , DEM standard deviation high threshold and DEM standard deviation low threshold ;

[0086] Step F2: If the adaptability index of the SAR sub-graph satisfies , then the SAR sub-image is the adaptation area; if the adaptability index of the SAR sub-image satisfies , then the SAR sub-image is a non-adaptive area; other SAR sub-images are uncertain areas.

[0087] In this embodiment, step 104, the specific process is as follows:

[0088] Step 1041: using a computer to use each SAR sub-image in the uncertainty region as a reference image, and extracting four small images with a size of 128×128 from any reference image, which are recorded as SAR small images;

[0089] Step 1042: Use a computer to perform grayscale transformation and noise processing on the SAR small image to obtain a processed real-time image;

[0090] Step 1043: using a computer to match any processed real-time image with its corresponding reference image using a normalized cross-correlation matching algorithm; if the maximum absolute error of the match is within 5 pixels, the match is considered successful; otherwise, the match is considered failed;

[0091] Step 1044, repeat step 1043 multiple times. If the four processed real-time images are all matched successfully, the SAR sub-image corresponding to the reference image is considered to be the adaptation area, otherwise it is considered to be the non-adaptation area.

[0092] In this embodiment, step three, the specific process is as follows:

[0093] Step 301: Using a computer, input the SAR sub-image in the SAR image training set into the first-level neural network to obtain a third intermediate feature map;

[0094] Step 302: Using a computer, input the third intermediate feature map into the second-level neural network to obtain a sixth intermediate feature map;

[0095] Step 303: using a computer to input the sixth intermediate feature map into the third-level neural network to obtain an eighth intermediate feature map;

[0096] Step 304: Use a computer to input the eighth intermediate feature map into the fourth-level neural network to obtain a tenth intermediate feature map;

[0097] Step 305: Use a computer to input the tenth intermediate feature map into the fifth-level neural network and output 2 probability values; wherein the number of nodes in the Softmax layer is 2.

[0098] In this embodiment, the preset number of iterative training in step 403 is 120 to 150 times.

[0099] In this embodiment, the first downsampling module includes a first convolution layer and a first normalization layer; the number of convolution kernels in the first convolution layer is 96, the size of the convolution kernel is 4×4, the sliding step is 4, and the padding is 0;

[0100] The second downsampling module includes a second normalization layer and a second convolution layer; the number of convolution kernels in the second convolution layer is 192, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0;

[0101] The third downsampling module and the fourth downsampling module have the same structure as the second downsampling module. In the third downsampling module, the number of convolution kernels in the second convolution layer is 384, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0.

[0102] The number of convolution kernels in the second convolution layer in the fourth downsampling module is 768, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0;

[0103] The first feature extraction module includes 3 residual convolution modules, the second feature extraction module includes 3 residual convolution modules, the third feature extraction module includes 9 residual convolution modules, and the fourth feature extraction module includes 3 residual convolution modules; wherein, any residual convolution module includes a convolution layer, a layer normalization, a first linear layer, a GELU activation function layer and a second linear layer; the input of any residual convolution module is connected to the convolution layer, and the input of any residual convolution module and the output of the second linear layer are added as the output of any residual convolution module.

[0104] In this embodiment, the size of the SAR sub-image is 512×512, then and The value is 512.

[0105] In this embodiment, it should be noted that when the autocorrelation coefficients are calculated for the SAR sub-image in the horizontal and vertical directions, when the autocorrelation coefficients drop to When , the displacement value of the SAR sub-image in the horizontal and vertical directions is the correlation length in that direction. Two pixels whose row or column distance exceeds the correlation length in that direction are irrelevant. is a constant and its value is 2.718.

[0106] In this embodiment, the size of the first intermediate feature map output by the first convolutional layer is 96×128×128, the size of the second intermediate feature map output by the first layer normalization is 96×128×128, and the size of the third intermediate feature map output by the second intermediate feature map through the first feature extraction module is 96×128×128;

[0107] The size of the fourth intermediate feature map output by the second normalization layer of the third intermediate feature map is 96×128×128, the size of the fifth intermediate feature map output by the second convolution layer of the fourth intermediate feature map is 192×64×64, and the size of the sixth intermediate feature map output by the second feature extraction module of the fifth intermediate feature map is 192×64×64;

[0108] The size of the seventh intermediate feature map output by the third downsampling module after the sixth intermediate feature map is 384×32×32, and the size of the eighth intermediate feature map output by the third feature extraction module after the seventh intermediate feature map is 384×32×32;

[0109] The size of the ninth intermediate feature map output by the fourth downsampling module after the eighth intermediate feature map is 768×16×16, and the size of the tenth intermediate feature map output by the fourth feature extraction module after the ninth intermediate feature map is 768×16×16;

[0110] The tenth intermediate feature map passes through the global average pooling layer to output the eleventh feature map with a size of 768×1×1. The eleventh feature map is normalized through the fifth layer to output the twelfth feature map with a size of 768×1×1. The twelfth feature map passes through the linear layer to output a dimension of 2×1. The Softmax layer converts the output of the linear layer into a probability distribution.

[0111] In this embodiment, it should be noted that the number of convolution layers in the residual convolution module of the first feature extraction module is 96, the size of the convolution kernel is 7×7, the sliding step is 1, and the padding is 3; the second intermediate feature map passes through the first linear layer in the first feature extraction module to output a 384×128×128 feature map, and the 384×128×128 feature map passes through the GELU activation function layer and the second linear layer to output a 96×128×128 feature map, then the residual convolution module output of the first feature extraction module is 96×128×128;

[0112] The number of convolution layers in the residual convolution module of the second feature extraction module is 192, the size of the convolution kernel is 7×7, the sliding step is 1, and the padding is 3; the fifth intermediate feature map passes through the first linear layer in the second feature extraction module to output a 768×64×64 feature map, and the 768×64×64 feature map passes through the GELU activation function layer and the second linear layer to output a 192×64×64 feature map, then the residual convolution module output of the second feature extraction module is 192×64×64;

[0113] The number of convolution layers in the residual convolution module of the third feature extraction module is 384, the size of the convolution kernel is 7×7, the sliding step is 1, and the padding is 3; the seventh intermediate feature map passes through the first linear layer in the third feature extraction module to output a 1536×32×32 feature map, and the 1536×32×32 feature map passes through the GELU activation function layer and the second linear layer to output a 384×32×32 feature map, then the residual convolution module output of the third feature extraction module is 384×32×32;

[0114] The number of convolution layers in the residual convolution module of the fourth feature extraction module is 768, the size of the convolution kernel is 7×7, the sliding step is 1, and the padding is 3; the ninth intermediate feature map passes through the first linear layer in the fourth feature extraction module to output a 3072×16×16 feature map, and the 3072×16×16 feature map passes through the GELU activation function layer and the second linear layer to output a 768×16×16 feature map, then the residual convolution module output of the fourth feature extraction module is 768×16×16.

[0115] In this embodiment, it should be noted that multiple residual convolution modules perform feature extraction in sequence.

[0116] In this embodiment, it should be noted that both the first linear layer and the second linear layer contain a flattening layer, a linear layer and a reconstruction layer. The flattening layer transforms the three-dimensional tensor into a one-dimensional tensor and inputs it into the linear layer. The one-dimensional tensor output by the linear layer is transformed into a three-dimensional tensor through the reconstruction layer.

[0117] In this embodiment, it should be noted that the edge density high threshold , edge density low threshold , high threshold of independent pixel number , low threshold of independent pixel number , DEM standard deviation high threshold and DEM standard deviation low threshold When implementing, the values ​​are as follows: ;

[0118] ; ; It can also be adjusted according to actual requirements without specific limitation.

[0119] In summary, the method of the present invention has simple steps and reasonable design. A neural network is introduced into the SAR image adaptation area selection prediction, and a trained full convolutional neural network sub-area classification model is obtained to predict the adaptation area of ​​the SAR image. The adaptation area can be predicted based on only a single SAR image data, and the matching geographic elevation data is no longer required. The selection and prediction time is short, which improves the accuracy and efficiency of the matching area selection prediction.

[0120] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any simple modification, change and equivalent structural change made to the above embodiment based on the technical essence of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A SAR image adaptation area selection prediction method based on neural network, characterized in that: The method comprises the following steps: Step 1: Obtain SAR image training set: Step 101: Using SAR images acquired using synthetic aperture radar technology as the original data source; Step 102: Select multiple SAR images from the original data source and crop them in order from left to right and from top to bottom to obtain SAR sub-images; Step 103, obtaining the adaptability index of the SAR sub-image and judging it with the threshold value to obtain the adaptability area, the non-adaptability area and the uncertainty area; wherein the adaptability index includes the edge density, the number of independent pixels and the DEM standard deviation; Step 104: using a normalized cross-correlation matching algorithm to judge the uncertainty area, and obtaining an adaptation area and a non-adaptation area; Step 105: Use the SAR sub-image in the adaptation area as a positive sample with a label of 1, and use the SAR sub-image in the non-adaptation area as a negative sample with a label of 0, and the positive samples and the negative samples constitute a SAR image training set; Step 2: Establish a fully convolutional neural network sub-area classification model: The fully convolutional neural network sub-area classification model includes a first-level neural network, a second-level neural network, a third-level neural network, a fourth-level neural network and a fifth-level neural network; wherein the first-level neural network includes a first down-sampling module and a first feature extraction module, the second-level neural network includes a second down-sampling module and a second feature extraction module, the third-level neural network includes a third down-sampling module and a third feature extraction module, the fourth-level neural network includes a fourth down-sampling module and a fourth feature extraction module, and the fifth-level neural network includes a global average pooling layer, a fifth normalization layer, a linear layer and a Softmax layer; Step 3: Input the fully convolutional neural network sub-area classification model for feature extraction and classification: The SAR sub-image is input into the fully convolutional neural network sub-area classification model by computer for feature extraction and classification, and the probability value of the SAR sub-image is output; Step 4: Training of the fully convolutional neural network sub-area classification model: Step 401: Using a computer according to , we get the cross entropy loss function ;in, Indicates SAR sub-graphs, and is a positive integer, , represents the total number of SAR sub-graphs, Indicates The probability value of a SAR sub-image, Indicates The true value of the label of the SAR sub-image, The value is 0 or 1; Step 402: The computer uses the Adam optimizer and the cross entropy loss function Iteratively optimize the sub-area classification model of the full convolutional neural network until all SAR image training sets are trained and one iteration of training is completed; Step 403, repeating the iterative training of step 402 until the preset number of iterative training times is met, and obtaining a trained full convolutional neural network sub-region classification model; Step 5: Use the trained fully convolutional neural network sub-area classification model to predict subsequent SAR images: The trained fully convolutional neural network sub-area classification model is used to predict the subsequent SAR images, and the SAR sub-images of the adaptation area with a probability value greater than 0.5 are the adaptation areas selected for SAR image prediction; Step 103, the specific process is as follows: Step A, using a computer to extract the edge of any SAR sub-image using the Canny operator to obtain a binary edge image; Step B, using a computer to process the binary edge map using a local processing method for edge connection to obtain an optimized edge map; Step C: For the optimized edge map, use a computer to , and get the edge density ;in, Represents the pixel coordinates, Represents pixel coordinates If the value of is an edge pixel, then ,otherwise , is the horizontal axis, is the vertical coordinate; Represents the total number of pixels on the horizontal axis, Indicates the total number of pixels on the ordinate; Step D: For the SAR sub-image, use a computer to , get the number of independent pixels ;in, represents the correlation length in the horizontal direction, represents the relevant length in the longitudinal direction; Step E: For the DEM data corresponding to the SAR sub-image, a computer is used to , get the DEM standard deviation ;in, Represents pixel coordinates The corresponding geographic elevation value, Indicates the mean value of the geographic elevation value of the area corresponding to the SAR sub-image; Step F, according to the adaptability index and threshold of the SAR sub-image, the adaptability area, the non-adaptability area and the uncertainty area are obtained; Step F, the specific process is as follows: Step F1: Use a computer to set a high threshold value for edge density , edge density low threshold , high threshold of independent pixel number , low threshold of independent pixel number , DEM standard deviation high threshold and DEM standard deviation low threshold ; Step F2: If the adaptability index of the SAR sub-graph satisfies , then the SAR sub-image is the adaptation area; if the adaptability index of the SAR sub-image satisfies , then the SAR sub-image is a non-adaptive area; other SAR sub-images are uncertain areas.

2. The method for selecting and predicting SAR image adaptation area based on a neural network according to claim 1, characterized in that: Step 104, the specific process is as follows: Step 1041: using a computer to use each SAR sub-image in the uncertainty region as a reference image, and extracting four small images with a size of 128×128 from any reference image, which are recorded as SAR small images; Step 1042: Use a computer to perform grayscale transformation and noise processing on the SAR small image to obtain a processed real-time image; Step 1043: using a computer to match any processed real-time image with its corresponding reference image using a normalized cross-correlation matching algorithm; if the maximum absolute error of the match is within 5 pixels, the match is considered successful; otherwise, the match is considered failed; Step 1044, repeat step 1043 multiple times. If the four processed real-time images are all matched successfully, the SAR sub-image corresponding to the reference image is considered to be the adaptation area, otherwise it is considered to be the non-adaptation area.

3. The method for selecting and predicting SAR image adaptation area based on a neural network according to claim 1, characterized in that: Step 3: The specific process is as follows: Step 301: Using a computer, input the SAR sub-image in the SAR image training set into the first-level neural network to obtain a third intermediate feature map; Step 302: Using a computer, input the third intermediate feature map into the second-level neural network to obtain a sixth intermediate feature map; Step 303: using a computer to input the sixth intermediate feature map into the third-level neural network to obtain an eighth intermediate feature map; Step 304: Use a computer to input the eighth intermediate feature map into the fourth-level neural network to obtain a tenth intermediate feature map; Step 305: Use a computer to input the tenth intermediate feature map into the fifth-level neural network and output 2 probability values; wherein the number of nodes in the Softmax layer is 2.

4. The method for selecting and predicting SAR image adaptation area based on a neural network according to claim 1, characterized in that: The preset number of iterative training in step 403 is 120 to 150 times.

5. The method for selecting and predicting SAR image adaptation area based on a neural network according to claim 1, characterized in that: The first downsampling module includes a first convolution layer and a first normalization layer; the number of convolution kernels in the first convolution layer is 96, the size of the convolution kernel is 4×4, the sliding step is 4, and the padding is 0; The second downsampling module includes a second normalization layer and a second convolution layer; the number of convolution kernels in the second convolution layer is 192, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0; The third downsampling module and the fourth downsampling module have the same structure as the second downsampling module. In the third downsampling module, the number of convolution kernels in the second convolution layer is 384, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0. The number of convolution kernels in the second convolution layer in the fourth downsampling module is 768, the size of the convolution kernel is 2×2, the sliding step is 2, and the padding is 0; The first feature extraction module includes 3 residual convolution modules, the second feature extraction module includes 3 residual convolution modules, the third feature extraction module includes 9 residual convolution modules, and the fourth feature extraction module includes 3 residual convolution modules; wherein, any residual convolution module includes a convolution layer, a layer normalization, a first linear layer, a GELU activation function layer and a second linear layer; the input of any residual convolution module is connected to the convolution layer, and the input of any residual convolution module and the output of the second linear layer are added as the output of any residual convolution module.