Panoramic SAR (Synthetic Aperture Radar) image aircraft target detection method, device, equipment and medium
By combining geographical prior database and image registration technology, the rotating aircraft target detection network is used for aircraft target detection in SAR images, which solves the problems of high training cost and computing resource consumption in the existing technology, and achieves efficient and robust aircraft Target detection.
Patent Information
- Application Number
- CN202410916712.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-09
AI Technical Summary
Existing deep learning methods have the problems of high training cost, limited robustness and huge computing resource consumption in aircraft target detection in SAR images, making it difficult to effectively handle large scenes and images of different resolutions.
By combining geographical polygons and optical images in the geographical prior database, image registration technology is used for airport coarse and fine detection, a rotating aircraft target detection network is used for target detection, and classifier weight weighted modulation is carried out through geospatial class probability maps , improve fine-grained detection performance.
It achieves high efficiency and accuracy in aircraft target detection in panoramic SAR images, reduces computing resource consumption, and improves the robustness and interpretability of detection.
Smart Images

Figure CN118865128A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of SAR image target recognition, and in particular to a method, device, equipment and medium for detecting aircraft targets in panoramic SAR images. Background Art
[0002] Synthetic aperture radar (SAR) has attracted much attention for its outstanding ability to capture high-resolution images under different weather conditions and has been widely used in various fields, especially in aircraft target detection and classification.
[0003] In recent years, deep learning technology has become the mainstream technology due to its ability to automatically extract image features, meeting people's growing demand for automatic data analysis. However, due to the unique coherent imaging mechanism, SAR images are essentially different from optical images, which makes the detection and classification of aircraft from SAR images face a series of specific challenges, such as discrete appearance, attitude sensitivity, and complex background clutter interference. With the successful application of general target detection algorithms in the field of computer vision, researchers have begun to introduce these algorithms into the task of aircraft target detection and classification in SAR images. Combined with the characteristics of aircraft targets in SAR images, researchers have proposed a large number of algorithms with excellent performance.
[0004] When processing large-scale SAR images, airport detection is usually used as a preprocessing step to identify candidate areas in order to improve the efficiency of aircraft target detection and classification. This workflow is based on a coarse-to-fine cognitive logic, first identifying potential airport areas, and then performing a detailed analysis of the differences between target instances. The timeliness and accuracy of airport detection are the basis of aircraft detection and classification systems in SAR images. However, existing detection methods using deep learning have the following problems: requiring a large amount of annotated data, which makes training costly, having limited robustness, and huge consumption of computing resources. Summary of the invention
[0005] Based on this, it is necessary to provide a panoramic SAR image aircraft target detection method, device, equipment and medium that can improve the fine-grained detection performance of aircraft targets in panoramic SAR images in response to the above technical problems.
[0006] A method for detecting aircraft targets in a panoramic SAR image, the method comprising:
[0007] Acquire a SAR image for target detection;
[0008] Extracting corresponding geographic polygons, optical images, and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image;
[0009] Performing a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtaining a fine airport detection result by image registration based on the rough airport detection result and the optical image;
[0010] Using a trained rotating aircraft target detection network to perform target detection based on the airport fine detection result, a target detection frame and a target category probability are obtained, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head;
[0011] Obtaining a priori probability of an aircraft category at the position of the target detection frame according to the geospatial category probability map, and weighting and modulating the posterior probability generated by the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight;
[0012] The target category probability is updated according to the prior enhanced classifier weight, and the target detection result is obtained according to the updated target category probability and the target detection frame.
[0013] In one embodiment, obtaining a fine airport detection result by image registration based on the rough airport detection result and the optical image includes:
[0014] After downsampling the airport rough detection result and the optical image, an image feature description algorithm is used to perform image registration;
[0015] After image registration, the precise geographic location information in the rough airport detection result is used to obtain the fine airport detection result.
[0016] In one embodiment, before performing target detection on the airport fine detection result using the trained rotating aircraft target detection network:
[0017] Processing the airport fine detection results according to a preset sliding window strategy to obtain a sequence slice data set including multiple slices;
[0018] The sequence slice data set is input into the trained rotating aircraft target detection network to perform target detection.
[0019] In one embodiment, in the trained rotating aircraft target detection network:
[0020] The backbone network automatically extracts features from the sequence slice data set to obtain feature maps of multiple sizes;
[0021] The recursive gated spatial interaction network adaptively and interactively fuses the feature maps of the three smaller sizes to obtain three corresponding fused features;
[0022] The detection head performs target detection based on the three fused features to obtain the target detection frame and target category probability.
[0023] In one embodiment, in the recursive gated spatial interaction network:
[0024] A block recursive filter is used to perform top-down feature fusion from the smallest feature map to the largest feature map to obtain bottom-level fusion features and intermediate fusion features.
[0025] The block recursive filter is used to sequentially fuse the bottom-level fusion features, the intermediate fusion features, and the feature map of the smallest size from bottom to top to obtain the middle-level fusion features and the high-level fusion features;
[0026] The high-level fusion features, the middle-level fusion features and the bottom-level fusion features are used as three fusion features input into the detection head.
[0027] In one embodiment, in the block recursive filter, two branches are used to extract features of input data respectively, and the extracted features are fused and output;
[0028] In one of the branches, a recursive gate mechanism is used to gradually extract and integrate the local and global information of the input data to obtain feature representation through iterations of linear projection and local-global filtering blocks.
[0029] In one embodiment, after defining the coordinate system and resolution in the prior geographic data, a two-dimensional Gaussian distribution is used to model the category probability distribution of aircraft in the prior geographic data to obtain the geographic space category probability map.
[0030] The present application provides a panoramic SAR image aircraft target detection device, the device comprising:
[0031] A SAR image acquisition module is used to acquire SAR images for target detection;
[0032] A priori data extraction module, used to extract corresponding geographic polygons, optical images and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image;
[0033] An airport detection module, configured to perform a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtain a fine airport detection result by image registration according to the rough airport detection result and the optical image;
[0034] A target detection module, used to perform target detection based on the airport fine detection result using a trained rotating aircraft target detection network to obtain a target detection frame and a target category probability, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head;
[0035] A classifier weight updating module, used to obtain a priori probability of the aircraft category at the position of the target detection frame according to the geographic space category probability map, and to perform weighted modulation on the posterior probability generated by the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight;
[0036] The target detection prediction result obtaining module is used to update the target category probability according to the prior enhanced classifier weight, and obtain the target detection result according to the updated target category probability and the target detection frame.
[0037] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0038] Acquire a SAR image for target detection;
[0039] Extracting corresponding geographic polygons, optical images, and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image;
[0040] Performing a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtaining a fine airport detection result by image registration based on the rough airport detection result and the optical image;
[0041] Using a trained rotating aircraft target detection network to perform target detection based on the airport fine detection result, a target detection frame and a target category probability are obtained, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head;
[0042] Obtaining a priori probability of an aircraft category at the position of the target detection frame according to the geospatial category probability map, and weighting and modulating the posterior probability generated by the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight;
[0043] The target category probability is updated according to the prior enhanced classifier weight, and the target detection result is obtained according to the updated target category probability and the target detection frame.
[0044] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0045] Acquire a SAR image for target detection;
[0046] Extracting corresponding geographic polygons, optical images, and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image;
[0047] Performing a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtaining a fine airport detection result by image registration based on the rough airport detection result and the optical image;
[0048] Using a trained rotating aircraft target detection network to perform target detection based on the airport fine detection result, a target detection frame and a target category probability are obtained, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head;
[0049] Obtaining a priori probability of an aircraft category at the position of the target detection frame according to the geospatial category probability map, and weighting and modulating the posterior probability generated by the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight;
[0050] The target category probability is updated according to the prior enhanced classifier weight, and the target detection result is obtained according to the updated target category probability and the target detection frame.
[0051] The above-mentioned panoramic SAR image aircraft target detection method, device, equipment and medium extract the corresponding geographic polygon, optical image and geographic space category probability map from the geographic prior database according to the geographic location information of the SAR image to be detected, perform rough detection of the airport area in the SAR image according to the geographic polygon to obtain the rough airport detection result, use image registration method according to the rough airport detection result and the optical image to obtain the fine airport detection result, use the trained rotating aircraft target detection network to perform target detection based on the fine airport detection result, obtain the aircraft category prior probability in the target detection frame according to the geographic space category probability, perform weighted modulation on the classifier weight in the detection head according to the aircraft category prior probability to obtain the prior enhanced classifier weight, update the target category probability according to the prior enhanced classifier weight, and obtain the target detection result according to the updated target category probability and the target detection frame. The use of this method can improve the fine-grained detection performance of aircraft targets in panoramic SAR images. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A schematic diagram of a flow chart of a method for detecting aircraft targets in a panoramic SAR image in an embodiment;
[0053] Figure 2 A schematic diagram of the overall architecture of a method for detecting aircraft targets in a panoramic SAR image in one embodiment;
[0054] Figure 3 FIG. 1 is a schematic diagram of airport detection visualization based on different types of bounding boxes in one embodiment, wherein: Figure 3 (a) shows the horizontal bounding box superimposed on the optical image. Figure 3 (b) shows the generated geographic polygon bounding box superimposed on the optical image;
[0055] Figure 4 FIG. 1 is a flow chart of a geospatial driven airport detection method in one embodiment, wherein: Figure 4 (a) shows the coarse airport detection stage using geographic polygon prior matching, Figure 4 (b) shows the fine airport detection stage based on geographic information matching and RIFT;
[0056] Figure 5 A schematic diagram of the structure of a rotating aircraft target detection network in one embodiment;
[0057] Figure 6 A schematic diagram of the internal structure of a SepBN detection head in one embodiment;
[0058] Figure 7 is a schematic diagram of the structure of a block recursive filter in one embodiment;
[0059] Figure 8 The following is a flow chart of a method based on a priori reasoning of a relation in an embodiment, wherein: Figure 8 (a) shows the construction process of the geospatial category probability map. Figure 8 (b) shows the construction process of the post-processing model;
[0060] Fig. 9 FIG. 1 is a schematic diagram of aircraft category probability based on Gaussian distribution modeling in one embodiment, wherein: Fig. 9 (a) represents a slice image containing three planes. Fig. 9 (b) A 3D graph showing the aircraft target location and category probability distribution based on Gaussian distribution modeling;
[0061] Fig.10 FIG. 1 is a visualization diagram of a geospatial category probability map at an airport in one embodiment, wherein: Fig.10 (a) is the SAR image of the airport. Fig.10 (b), (c), and (d) respectively represent the geospatial category probability maps corresponding to three different types of aircraft;
[0062] Fig.11A schematic diagram of a priori probability distribution of categories on a geographic space category probability map in one embodiment;
[0063] Fig.12 It is a structural block diagram of a panoramic SAR image aircraft target detection device in one embodiment;
[0064] Fig.13 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] When detecting aircraft targets in panoramic SAR images, airport detection is often used as a preprocessing to reduce the image processing range. However, the problems when using deep neural networks for airport detection include: a large amount of annotated data requirements. Deep learning methods with excellent performance usually require a large amount of annotated data sets for effective training. However, obtaining such large-scale and accurately annotated data sets is both challenging and costly. Limited robustness. Although deep learning-based methods perform well on training and test data under similar acquisition geometry conditions. However, when faced with images of different resolutions and bands, they may have difficulty in effectively detecting airports. Huge consumption of computing resources. The complex deep neural networks used in deep learning methods, although they can achieve high accuracy, are usually accompanied by huge computational intensity and "black box" characteristics, which may be limited in practical applications.
[0067] In view of the above problems, in this application, Figure 1 As shown, a method for detecting aircraft targets in panoramic SAR images is provided, comprising the following steps:
[0068] In step S100, a SAR image to be subjected to target detection is acquired.
[0069] In step S110, corresponding geographic polygons, optical images, and geographic space category probability maps are extracted from a geographic priori database according to the geographic location information of the SAR image.
[0070] In step S120, the airport area in the SAR image is roughly detected according to the geographic polygon to obtain a rough airport detection result, and the airport fine detection result is obtained by image registration based on the rough airport detection result and the optical image.
[0071] Step S130, using the trained rotating aircraft target detection network to perform target detection based on the airport fine detection result, to obtain the target detection frame and the target category probability, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head.
[0072] Step S140, obtaining the aircraft category prior probability of the target detection frame position according to the geospatial category probability map, and weighting and modulating the posterior probability generated by the detection head according to the aircraft category prior probability to obtain the prior enhanced classifier weight.
[0073] Step S150, updating the target category probability according to the prior enhanced classifier weight, and obtaining the target detection result according to the updated target category probability and the target detection frame.
[0074] In this application, we first use geographic location priors and geographic information matching technology, combined with optical image and SAR image registration technology, to achieve a training-free airport rapid detection method, laying the foundation for subsequent fine-grained aircraft target detection. Secondly, combined with the scattering characteristics of aircraft targets, a fine-grained rotating aircraft target detection network is designed, which can accurately capture important aircraft target features in SAR images. Finally, a reasoning strategy based on relationship priors is proposed. By combining deep networks with geospatial category relationships, the category prediction bias is effectively reduced and the interpretability and credibility of decisions are improved.
[0075] In step S100, the image to be used for target detection is a SAR image obtained when detecting from high altitude to the ground. The scenario in which the technical solution in the present application is applied is to detect target aircraft in an airport, and the SAR image is a large-scale SAR image.
[0076] In step S110, corresponding geographic polygons, optical images, and geographic space category probability maps may be extracted from a preset geographic priori database according to the geographic location information contained in the acquired SAR image.
[0077] In this embodiment, a geographic a priori database is pre-set, which stores a plurality of airport geographic information that is expected to be available, geographic polygons describing the geometric outline of the airport, optical remote sensing image information, and a geographic space category probability map generated based on a plurality of historical data of each airport. The airport geographic information can be used as an index of the data related to each airport, and the corresponding data is extracted from the geographic a priori database through the geographic location information of the SAR image acquired in step S100. The geographic polygon and optical image information are used to detect the airport area in the SAR image, and the geographic space category probability map is used to further improve the prediction accuracy of the target detection neural network in the image post-processing. The geographic space category probability map will be specifically described in step S140.
[0078] In the scenario where this method is applied, airport detection, as a key part of aircraft detection in large-scale SAR images, has become a hot topic of research. Among them, the runway, as the core facility of the airport, is an important feature in SAR images, which makes it an effective method to locate the airport by detecting the runway. However, traditional methods mainly rely on the specular reflection characteristics of the airport runway to radar waves and its unique geometric features to extract the airport runway. These methods usually include image segmentation-based methods, line-based methods, and saliency-based methods. Overall, traditional methods can achieve satisfactory performance in specific scenarios. However, there are some challenges: complex parameter tuning, limited robustness and generalization, making it difficult to handle complex scenes, resulting in inaccurate detection.
[0079] However, deep learning-based detection methods usually require a large amount of labeled data and a high-performance graphics processing unit (GPU) platform for model training, which involves high manual labeling costs and huge hardware resource consumption. At the same time, the black box nature of deep learning-based methods is also a limiting factor in their application.
[0080] In this method, considering the above problems, in step S120, an airport-specific geographic polygon is used. This method is closer to the actual shape of the airport and further eliminates possible false alarms around the airport (for example, buildings outside the airport may be mistaken for aircraft in SAR images). In addition, in order to deal with the inevitable positioning errors in the imaging process, the RIFT algorithm is also introduced in this method, which effectively alleviates the geographic information deviation through the precise registration of optical images and SAR images. This method makes the extraction of airport areas more accurate and provides a more reliable data basis for subsequent airport detection and analysis.
[0081] like Figure 2As shown, geospatially driven airport detection is performed as an initial stage, receiving panoramic SAR images as input. The geographic information extracted from the SAR images is seamlessly matched with the geographic polygons in the database, thus enabling rapid airport detection on a global scale. In addition, the integration of the RIFT algorithm facilitates geographic recalibration, mitigating the geographic information bias inherent in the imaging system and ensuring accurate airport detection.
[0082] In this embodiment, airports have a relatively consistent and stable infrastructure over time. Based on this knowledge, geographic polygons are created using geographic big data analysis and processing software, open source satellite images, and geographic location information of airport areas of interest. These geographic polygons and corresponding optical images are stored as geographic priors in a geographic information database. Figure 3 As shown, geographic polygons capture the geometric outline of airports more accurately than traditional horizontal boxes, further reducing the introduction of irrelevant background information. However, due to the inherent positional bias in the imaging process, airport detection directly based on geographic information matching may lead to inaccurate position predictions and ignore aircraft within the airport. To address this issue, a geospatial-driven airport detection method with a coarse-to-fine detection process is proposed.
[0083] In this embodiment, geographic information matching is first performed based on geographic information in the SAR image and geographic polygons in the geographic database, and a coarse detection of the airport area in the SAR image is performed to obtain a coarse detection result of the airport. Then, image registration is used based on the coarse detection result of the airport and the corresponding optical image to obtain a fine detection result of the airport. Obtaining the fine detection result of the airport specifically includes: down-sampling the coarse detection result of the airport and the optical image, and then using an image feature description algorithm to perform image registration. After the image registration, the precise geographic location information in the coarse detection result of the airport is used to obtain the fine detection result of the airport.
[0084] Specifically, first, geographic polygon matching is performed based on the geographic database to quickly estimate the rough airport area and associate it with the corresponding optical image. On this basis, the RIFT algorithm is used to recalibrate the geographic information in the SAR image. In RIFT, feature matching is performed between the optical image and the SAR image, and the same-name points are identified. At the same time, the operating efficiency of the algorithm is optimized by image downsampling. Then, the geographic information of the optical image is combined with the extracted same-name points, and the geographic transformation parameters are calculated in the SAR image to obtain detailed geographic information. This process contributes to more accurate airport detection results, thereby greatly improving the efficiency of fine-grained aircraft detection. The process of this method is as follows: Figure 4 shown.
[0085] like Figure 2As shown in the figure, after obtaining the fine airport detection result, i.e., the accurate airport area, the aircraft target detection network is rotated as the second stage to quickly obtain preliminary position and category predictions.
[0086] In step S130, before inputting the airport fine detection results into the trained rotating aircraft target detection network: the airport fine detection results are processed according to a preset sliding window strategy to obtain a serial slice data set including multiple slices, and the serial slice data set is input into the trained rotating aircraft target detection network to perform target detection.
[0087] In step S130, the trained rotating aircraft target detection network structure is as follows: Figure 5 As shown in the figure, the backbone network automatically processes the input sequence slice data set and extracts multiple feature maps of different sizes. The recursive gated spatial interaction network adaptively and interactively fuses three feature maps of smaller sizes to obtain three corresponding fused features. The detection head performs target detection based on the three fused features to obtain the target detection box and target category probability.
[0088] In this embodiment, the backbone network uses CSPNeXt, whose main task is to extract image features from the input slice image and obtain multi-level, i.e., multi-scale, feature maps P0 to P4. The three smaller feature maps, i.e., feature maps P2, P3, and P4, are processed using the recursive gated spatial interaction network (RSIM), and a more comprehensive representation of the aircraft target features is obtained through adaptive spatial interaction modeling. Finally, the interactive feature P o2 ~P o4 Input the SepBN detection head for classification and regression to obtain the bounding box position and category prediction.
[0089] It should be noted that the backbone network and the detection head may also adopt other networks with the same capabilities and are not limited to the above two types.
[0090] In this embodiment, the efficiency and compatibility of the trunk and the neck are prioritized, and the rotating aircraft target detection network structure adopts the target detection network RTMDet.
[0091] Furthermore, inspired by large kernel convolution, RTMDet introduces 5×5 depth convolution and 1×1 point convolution in the basic building blocks and neck of YOLOX to increase the effective receptive field, thereby achieving more comprehensive global information modeling. In order to maintain a balance between speed and accuracy, on the one hand, the depth and width of the model are carefully designed, which greatly enhances the model's ability to identify and locate targets. On the other hand, the SepBN detection head is used to obtain the bounding box and category prediction of the target.
[0092] Furthermore, the internal structure of the SepBN detection head is as follows Figure 6 As shown in the figure, the 3×3 convolution layer realizes weight parameter sharing and calculates batch normalization (BN) on different feature maps to reduce the number of parameters and computational complexity. Next, three parallel 1×1 convolution layers predict the target position, angle, and category confidence respectively.
[0093] It should be noted that in this method, RTMDet is preferably used as the main framework of the rotating aircraft target detection network structure because it has higher accuracy and speed. However, other target detection network structures can be used as the main framework of the aircraft target detection network structure for different application scenarios, and this method is not limited to RTMDet.
[0094] However, considering the inherent complexity of SAR images, such as the discrete appearance, attitude sensitivity and scale heterogeneity of aircraft targets, efficient feature extraction poses great challenges. These challenges lead to large missed detections and false alarms when directly using mainstream general deep learning algorithms for fine-grained aircraft detection tasks in SAR images, and further efforts are urgently needed to improve their accuracy.
[0095] To address the above issues, multi-scale spatial information interaction is crucial for fine-grained aircraft detection from SAR images, considering the discreteness and scale heterogeneity of aircraft targets. Although the self-attention mechanism can effectively simulate spatial interactions in visual data, its huge computational resources hinder its widespread application. To overcome this obstacle, a recursive gated spatial interaction network, namely RSIM, is proposed in this method.
[0096] like Figure 5 As shown in Figure 2, RSIM demonstrates a bidirectional feature fusion strategy that effectively establishes a complementary relationship between low-level details and high-level semantic information. As the core component of RSIM, the Block Recursive Filter (BRF) effectively encodes the relationship between discrete scattering features of aircraft targets through global information modeling and efficient adaptive spatial interactions, thereby providing robust knowledge for the detection head.
[0097] In this embodiment, in the recursive gated spatial interaction network: first, a block recursive filter is used to perform top-down feature fusion from the smallest feature map (high-level feature) to the largest feature map (bottom-level feature) to obtain intermediate fusion features and bottom-level fusion features, and then a block recursive filter is used to perform bottom-up feature fusion of the bottom-level fusion features, the intermediate fusion features, and the high-level features in turn to obtain middle-level fusion features and high-level fusion features. Finally, the high-level fusion features, the middle-level fusion features, and the bottom-level fusion features are input into the detection head for multi-scale prediction, and the target detection results and category predictions are output.
[0098] refer to Figure 5In the recursive gated spatial interaction network structure in the top-down feature fusion, the smallest feature map P4 among the three smaller sizes is upsampled after passing through a 1×1 convolution layer, and then channel-joined with the feature map P3 with the middle size, and then feature fused through a block recursive filter. After passing through a 1×1 convolution layer, the intermediate fusion feature is obtained. After upsampling the intermediate fusion feature, it is channel-joined with the largest feature map P2, and then feature fused through a block recursive filter. After passing through a 3×3 convolution layer, the bottom fusion feature P is obtained. o2 .
[0099] Next, when performing bottom-up feature fusion: the bottom-level fusion feature P o2 After downsampling, the channel is spliced with the intermediate fusion feature, and then the feature is fused through the block recursive filter, and then the middle layer fusion feature P is obtained through a 3×3 convolution layer. o3 .
[0100] Next, the middle-level fusion feature P o3 After downsampling, the feature map P4 after the 1×1 convolution layer is concatenated with the channel, and then the feature fusion is performed through the block recursive filter, and then the high-level feature fusion P is obtained through the 3×3 convolution layer. o4 .
[0101] In this embodiment, in the block recursive filter, two branches are used to extract the features of the input data respectively, and the extracted features are fused and output. In one of the branches, a recursive gate mechanism is used to gradually extract and integrate the local and global information of the input data to obtain feature representation through linear projection and iteration of local-global filter blocks.
[0102] like Figure 7 As shown in the figure, in the block recursive filter, the input feature map is divided into two different branches along the channel dimension and run independently. Then, the features extracted from different branches are effectively fused to enhance the feature information representation while reducing the amount of computation. In one of the branches, a recursive gate mechanism is used to gradually extract and integrate local and global information through the iteration of linear projection and local-global filtering (LGF) blocks to obtain a more fine-grained feature representation.
[0103] Furthermore, let the input feature X of the block recursive filter be in And the output feature X out , the operation in the block recursive filter can be expressed as:
[0104]
[0105] In the above formula, φ proj (·) is the projection function, S k(k=0,1,2) is a set of projected features derived from the input feature S. L(·) and g(·) represent the LGF block and feature dimension matching function respectively. ⊙ is the Hadamard product. f 1×1 (·) and concat(·) are 1×1 convolution and channel concatenation operations respectively.
[0106] In this embodiment, the local-global filtering (LGF) block integrates local and global perspectives to enhance the network's ability to capture fine-grained features of aircraft targets in SAR images. Figure 7 As shown in (a), in the global branch, a two-dimensional fast Fourier transform (FFT) is used to transform the spatial features into the frequency domain. Then, a trainable global filter is used to learn features in the frequency domain, which is equivalent to performing a global convolution in the spatial domain to establish a global receptive field and comprehensively capture the feature distribution and pattern. In addition, the processed features are transformed back to the spatial domain through a two-dimensional inverse Fourier transform (IFFT) to maintain spatial consistency and feature integrity. In the local branch, a 3×3 depth convolution is used to focus on local features. Finally, the local and global information is processed by 1×1 convolution and channel splicing to improve the network's ability to capture aircraft targets of different scales.
[0107] In this embodiment, when training the rotating aircraft target detection network, the network is optimized by minimizing the loss. In the test phase and the actual detection phase, the non-maximum suppression algorithm of the rotation removes the overlapping bounding boxes to obtain the prediction results.
[0108] like Figure 2 As shown in the figure, after obtaining the preliminary prediction results of the position and category of the aircraft target, in the third stage, the true value labels in the historical data are used to construct a geospatial category probability map, which organizes the relationship between the aircraft's parking position in the airport and the corresponding aircraft target category.
[0109] Due to the discrete appearance and attitude-sensitive characteristics of aircraft targets in SAR images, potential aircraft targets may show low confidence levels and may be very similar to background clutter or other similar aircraft types, resulting in classification ambiguity. To overcome this obstacle, a relationship-based prior reasoning strategy is proposed, which organizes the prior knowledge about the relationship between geospatial categories and integrates it into the classification process to improve the performance of CNN, such as Figure 8 The relation-based prior reasoning consists of two main components: geospatial category probability map and post-processing model.
[0110] In this embodiment, different types of aircraft are assigned to designated areas to optimize operational efficiency, taking into account the specific locations and directions in which aircraft are usually parked at airports. Therefore, the probability of encountering a certain type of aircraft at a specific location can be reasonably inferred for effective target category prediction. In this method, a probability map is used to represent the geospatial category relationship of different types of aircraft.
[0111] Furthermore, when creating a geospatial category probability map, after defining the coordinate system and resolution of the geospatial category probability map, a two-dimensional Gaussian distribution is used to model the category probability distribution of aircraft targets in the prior geographic data to obtain the geospatial category probability map.
[0112] Specifically, when constructing the geospatial category probability map corresponding to each airport of interest, the probability relationship between the aircraft category and the geospatial space is obtained from the historical images related to each airport. In the process of constructing the geospatial category probability map, it is crucial to determine the coordinate system and the resolution of the map. First, this paper adopts the longitude and latitude coordinate system, which is more in line with the expression of geographic information. Then, the longitude and latitude of 5 meters above the ground are used as the axis units for detail level representation. Therefore, the longitude resolution R of the geospatial category probability map is lon and the latitude resolution R lat The calculation is as follows:
[0113]
[0114]
[0115] In the above formula, R is the radius of the earth, (lon1, lat1, lon2, lat2) is the latitude and longitude range of the airport. La is the latitude of the center of the airport area. lon and S lat are the surface distances along the longitude and latitude of the airport respectively. λ is the surface resolution of the atlas, which is set to 5m by default.
[0116] After defining the coordinate system and resolution of the geospatial class probability map, a two-dimensional Gaussian distribution (GD) is used to model the class probability distribution of the aircraft. Although there are other alternative methods for modeling geospatial probability maps, Gaussian distribution has unique advantages in resolving complex spatial relationships. On the one hand, the well-understood properties of GD make it very suitable for probability modeling. On the other hand, despite the inherent positioning bias in SAR images, GD is a continuous probability distribution that helps to effectively characterize aircraft distribution information. Specifically, the central longitude and latitude of the truth box in the training set are used as reference coordinates. Then, the class probability distribution of the aircraft is determined by calculating the deviation between the provided longitude and latitude coordinates and the reference coordinates, as follows: Fig. 9 The calculation formula is as follows:
[0117]
[0118] In the above formula, P(C i |X,G) is of category C i The probability density function (PDF) at position G, (G x , G y ) are the geographic coordinates (i.e., longitude and latitude) corresponding to the location (x, y) on the input image. (Box ctrlon ,Box ctrlon ) represents the central longitude and latitude of the truth box, and δ represents the standard deviation.
[0119] On this basis, as the historical images are gradually traversed, Gaussian distributions are superimposed according to the type and location of the aircraft. Finally, a geospatial category probability map with multiple Gaussian distributions is formed, in which the aircraft's parking location has a higher probability value, and irrelevant areas such as the background have lower probability values. Thus, the geospatial contextual relationship between various types of aircraft in the historical images is comprehensively summarized.
[0120] Fig.10 is the geospatial category probability map of Airport I. Fig.10 In the figure, each grid on the geospatial class probability map represents the superposition of multiple Gaussian distributions associated with its neighboring objects in multiple historical images.
[0121] Through the above construction process, the geospatial category probability map of the airport of interest is constructed according to the relevant historical data and stored in the geographic prior database in advance.
[0122] In this embodiment, after extracting the geographic space category probability map related to the SAR image to be detected from the geographic priori database, in step S140, the posterior probability of the classifier weight in the detection head and the geographic category prior probability are modulated and enhanced according to the geographic space category probability map, thereby improving the accuracy and stability of the algorithm classification prediction. The calculation formula is as follows:
[0123]
[0124] In the above formula, X is the input image, C i is the i-th category. β is the weighting factor. It is the category C located at the geographical location G on the geospatial category probability map i The accumulation of prior probabilities, the calculation principle diagram is as follows Fig.11 shown.
[0125] Finally, in step S150, the target category probability is updated according to the prior enhanced classifier weights, and an accurate aircraft target detection result is obtained according to the updated target category probability and the target detection frame.
[0126] In this paper, the effectiveness of the proposed method (the proposed method) is also verified by experiments. In the experimental demonstration, the performance of the proposed method is compared with the mainstream object detection algorithm. For the sake of fairness, the control variable principle is adopted, and the geospatial driven airport detection algorithm proposed in this paper is used for preprocessing. The accuracy and speed are quantified by mAP and FPS respectively, as shown in Table 1.
[0127] Table 1 Detection performance comparison with the most advanced methods
[0128]
[0129] According to Table 1, RoI Transformer and Oriented R-CNN show strong performance in fine-grained aircraft detection in SAR images, with mAPs of 68.5% and 69.2%, respectively. In contrast, single-stage algorithms such as RetinaNet-OBB and OrientedRepPoints have better efficiency advantages than two-stage detection algorithms, but show weaker detection performance. RTMDet is a high-precision, low-latency single-stage detector developed by integrating insights from the YOLO series and other advanced detectors. As a result, RTMDet performs well among mainstream algorithms with a mAP of 74.7%. Compared with mainstream algorithms, the proposed method is competitive with a mAP value of 81.2%. In addition, the FPS aspect also shows that the proposed method has good timeliness.
[0130] In the above-mentioned SAR image aircraft target detection method, a novel geospatial contextual prior knowledge reasoning framework is proposed for fine-grained aircraft target detection in SAR images. The framework utilizes geographic location priors, the characteristics of aircraft targets in SAR images, and the geospatial category relationship between airports and aircraft. First, the geospatially driven airport detection model uses geographic location priors for fast airport detection. Then, the rotational aircraft target detection network RTMDet-RSIM generates high-level representations of aircraft in different orientations and sizes, thereby improving the performance of fine-grained aircraft detection. Finally, a relational prior-based reasoning strategy is proposed to improve the classification performance by modeling the geospatial category relationship of historical scenes. Experiments demonstrate the superiority of this method and its potential for practical application.
[0131] It should be understood that although Figure 1The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0132] In one embodiment, Fig.12 As shown, a panoramic SAR image aircraft target detection device is provided, comprising: a SAR image acquisition module 200, a priori data extraction module 210, an airport detection module 220, a target detection module 230, a classifier weight update module 240 and a target detection prediction result acquisition module 250, wherein:
[0133] SAR image acquisition module 200, used to acquire SAR images to be used for target detection;
[0134] A priori data extraction module 210 is used to extract corresponding geographic polygons, optical images and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image;
[0135] The airport detection module 220 is used to perform a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtain a fine airport detection result by image registration according to the rough airport detection result and the optical image;
[0136] A target detection module 230 is used to perform target detection based on the airport fine detection result using a trained rotating aircraft target detection network to obtain a target detection frame and a target category probability, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head;
[0137] A classifier weight updating module 240 is used to obtain a priori probability of the aircraft category at the position of the target detection frame according to the geospatial category probability map, and to perform weighted modulation on the classifier weight in the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight;
[0138] The target detection prediction result obtaining module 250 is used to update the target category probability according to the prior enhanced classifier weight, and obtain the target detection result according to the updated target category probability and the target detection frame.
[0139] For the specific definition of the panoramic SAR image aircraft target detection device, please refer to the definition of the panoramic SAR image aircraft target detection method above, which will not be repeated here. Each module in the above-mentioned panoramic SAR image aircraft target detection device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0140] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.13 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store geographic priori database data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a SAR image aircraft target detection method is implemented.
[0141] Those skilled in the art will understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0142] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0143] Acquire a SAR image for target detection;
[0144] Extracting corresponding geographic polygons, optical images, and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image;
[0145] Performing a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtaining a fine airport detection result by image registration based on the rough airport detection result and the optical image;
[0146] Using a trained rotating aircraft target detection network to perform target detection based on the airport fine detection result, a target detection frame and a target category probability are obtained, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head;
[0147] Obtaining a priori probability of an aircraft category at the position of the target detection frame according to the geospatial category probability map, and weighting and modulating the posterior probability generated by the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight;
[0148] The target category probability is updated according to the prior enhanced classifier weight, and the target detection result is obtained according to the updated target category probability and the target detection frame.
[0149] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0150] Acquire a SAR image for target detection;
[0151] Extracting corresponding geographic polygons, optical images, and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image;
[0152] Performing a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtaining a fine airport detection result by image registration based on the rough airport detection result and the optical image;
[0153] Using a trained rotating aircraft target detection network to perform target detection based on the airport fine detection result, a target detection frame and a target category probability are obtained, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head;
[0154] Obtaining a priori probability of an aircraft category at the position of the target detection frame according to the geospatial category probability map, and weighting and modulating the posterior probability generated by the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight;
[0155] The target category probability is updated according to the prior enhanced classifier weight, and the target detection result is obtained according to the updated target category probability and the target detection frame.
[0156] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0157] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0158] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for detecting aircraft targets in panoramic SAR images, characterized in that: The method comprises: Acquire a SAR image for target detection; Extracting corresponding geographic polygons, optical images, and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image; Performing a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtaining a fine airport detection result by image registration based on the rough airport detection result and the optical image; Using a trained rotating aircraft target detection network to perform target detection based on the airport fine detection result, a target detection frame and a target category probability are obtained, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head; Obtaining a priori probability of an aircraft category at the position of the target detection frame according to the geospatial category probability map, and weighting and modulating the posterior probability generated by the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight; The target category probability is updated according to the prior enhanced classifier weight, and the target detection result is obtained according to the updated target category probability and the target detection frame.
2. The method for detecting aircraft targets in panoramic SAR images according to claim 1, characterized in that: The method of obtaining a fine airport detection result by image registration based on the airport rough detection result and the optical image includes: After downsampling the airport rough detection result and the optical image, an image feature description algorithm is used to perform image registration; After image registration, the precise geographic location information in the rough airport detection result is used to obtain the fine airport detection result.
3. The method for detecting aircraft targets in panoramic SAR images according to claim 1, characterized in that: Before performing target detection on the airport fine detection result using the trained rotating aircraft target detection network: Processing the airport fine detection results according to a preset sliding window strategy to obtain a sequence slice data set including multiple slices; The sequence slice data set is input into the trained rotating aircraft target detection network to perform target detection.
4. The method for detecting aircraft targets in panoramic SAR images according to claim 3, characterized in that: In the trained rotating aircraft target detection network: The backbone network automatically extracts features from the sequence slice data set to obtain feature maps of multiple sizes; The recursive gated spatial interaction network adaptively and interactively fuses the feature maps of the three smaller sizes to obtain three corresponding fused features; The detection head performs target detection based on the three fused features to obtain the target detection frame and target category probability.
5. The method for detecting aircraft targets in panoramic SAR images according to claim 4, characterized in that: In the recursive gated spatial interaction network: A block recursive filter is used to perform top-down feature fusion from the smallest feature map to the largest feature map to obtain bottom-level fusion features and intermediate fusion features. The block recursive filter is used to sequentially fuse the bottom-level fusion features, the intermediate fusion features, and the feature map of the smallest size from bottom to top to obtain the middle-level fusion features and the high-level fusion features; The high-level fusion features, the middle-level fusion features and the bottom-level fusion features are used as three fusion features input into the detection head.
6. The method for detecting aircraft targets in panoramic SAR images according to claim 5, characterized in that: In the block recursive filter, two branches are used to extract features of input data respectively, and the extracted features are fused and output; In one of the branches, a recursive gate mechanism is used to gradually extract and integrate the local and global information of the input data to obtain feature representation through iterations of linear projection and local-global filtering blocks.
7. The method for detecting aircraft targets in panoramic SAR images according to any one of claims 1 to 6, characterized in that: After defining the coordinate system and resolution in the prior geographic data, the category probability distribution of the aircraft in the prior geographic data is modeled using a two-dimensional Gaussian distribution to obtain the geographic space category probability map.
8. A panoramic SAR image aircraft target detection device, characterized in that: The device comprises: A SAR image acquisition module is used to acquire SAR images for target detection; A priori data extraction module, used to extract corresponding geographic polygons, optical images and geographic space category probability maps from a geographic priori database according to the geographic location information of the SAR image; An airport detection module, configured to perform a rough detection of the airport area in the SAR image according to the geographic polygon to obtain a rough airport detection result, and obtain a fine airport detection result by image registration according to the rough airport detection result and the optical image; A target detection module, used to perform target detection based on the airport fine detection result using a trained rotating aircraft target detection network to obtain a target detection frame and a target category probability, wherein the trained rotating aircraft target detection network includes a backbone network, a recursive gated spatial interaction network and a detection head; A classifier weight updating module, used to obtain a priori probability of the aircraft category at the position of the target detection frame according to the geographic space category probability map, and to perform weighted modulation on the posterior probability generated by the detection head according to the a priori probability of the aircraft category to obtain a priori enhanced classifier weight; The target detection prediction result obtaining module is used to update the target category probability according to the prior enhanced classifier weight, and obtain the target detection result according to the updated target category probability and the target detection frame.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
SAR image-oriented aircraft target automatic detection method and system
CN112528896A
SAR satellite image and optical image automatic matching method
CN113223065A
SAR image aircraft target detection method based on joint attention mechanism
CN115410102A
SAR (Synthetic Aperture Radar) aircraft detection method, system and device and storage medium
CN116310795A
Method for analyzing change rule of aircraft target in high-resolution SAR (Synthetic Aperture Radar) image
CN116524175A
Cited By
Detection result optimization method, device and equipment for target detection network
CN118865126A
Target detection network detection result optimization method, device and equipment
CN118865126B
Aircraft target detection and identification method and device based on optical and SAR remote sensing data
CN119741467A
Image processing method and image processing model training method
CN120782704A
