SAR image target detection method based on improved YOLOv3

By improving the YOLOv3 algorithm, adding the SPP structure and simplifying the FPN layer, and constructing the feature fusion structure of the deep network, the problem of poor feature generalization ability in SAR image recognition is solved, and higher ship recognition rate and detection performance are achieved.

CN114155445BActive Publication Date: 2024-09-06BEIJING INST OF TECH
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202111395692.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-09-06
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

Existing SAR image recognition methods have poor feature generalization capabilities in ship docking scenarios, low ship recognition rates, and cannot effectively distinguish between coastal information and target information, resulting in poor detection performance.

Method used

Improve the YOLOv3 algorithm, add the SPP structure, simplify the FPN layer to the FPN-light structure, and build the feature fusion structure of the deep network, enhance the ship feature extraction capability of the backbone network through the parallel auxiliary module, and obtain shallow and deep features in SAR images .

Benefits of technology

It effectively extracts the characteristics of coast and ships, improves the recognition rate of coast and ships, can accurately identify small, medium and large ships, and improves the recognition efficiency of sea detection targets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114155445B
    Figure CN114155445B
Patent Text Reader

Abstract

The present invention relates to a SAR image target detection method based on improved YOLOv3, and belongs to the technical field of radar target detection. The method comprises: collecting SAR images; preprocessing SAR image data, obtaining preprocessed SAR image data and manually annotating, obtaining a SAR image data set and dividing it into a training data set and a test data set; establishing an improved YOLOv3 model, that is, adding an SPP structure after the backbone network Darknet53 of YOLOv3; simplifying the FPN layer of the original YOLOv3 to obtain an FPN‑light structure; inputting the training data set into the improved YOLOv3 model for training, obtaining a trained improved YOLOv3 model; inputting the test data set into the trained improved YOLOv3 model for testing, and obtaining a recognition result. The method can more accurately identify ships in SAR images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a SAR image target detection method based on improved YOLOv3, and belongs to the technical field of radar target detection. Background Art

[0002] Radar image target detection has been a research area of ​​concern for many scholars in recent years. According to the stage of candidate box generation or not, the mainstream target detection algorithms based on deep learning are mainly divided into two categories: single-stage and two-stage. Compared with the two-stage target detection algorithm, the single-stage target detection algorithm has a faster detection speed, but the detection accuracy is relatively low. Recently, with the addition of some improvement schemes, its detection accuracy has been able to adapt to the needs of the scene and even surpass the two-stage model.

[0003] The YOLO series of algorithms are the representatives of the current single-stage detection model, and the model construction can be completed only through end-to-end training. Due to the real-time advantage of YOLO, it has gradually become the research focus in the field of radar image target detection. However, the methods used by the more advanced YOLO series algorithms, YOLOv5 and YOLOv4, are more and more complex, and some of their components cannot play a role in improving the SAR image detection effect. At the same time, YOLOv5 and YOLOv4 are algorithms that introduce universal methods on YOLOv3. Therefore, the present invention improves the more basic YOLOv3 algorithm and applies it to SAR image target detection.

[0004] The difficulty of ship detection in SAR images is that at different resolutions, the information on the coast and the ship information have certain similarities, so the detection performance of SAR images cannot be improved by post-processing and data enhancement alone. Therefore, it is necessary to improve the expression of features to extract more useful information. The image in the SAR scene is a simple grayscale image with relatively simple information. Using an overly complex structure will make the learned ship features more confusing. Therefore, the present invention improves the YOLOv3 algorithm and introduces a parallel auxiliary module to enhance the ship feature extraction capability of the backbone network, so as to achieve the purpose of improving the detection performance of SAR images. Summary of the invention

[0005] The purpose of the present invention is to address the technical defects of existing SAR image recognition methods in the scenario of ship docking, such as poor feature generalization ability, low ship recognition rate, insufficient learning of coast and ship features, which leads to the inability to effectively distinguish coastal information and target information. A SAR image target detection method based on improved YOLOv3 is proposed, which can obtain shallow and deep features of targets in SAR images.

[0006] In order to achieve the above object, the present invention adopts the following technical scheme.

[0007] The SAR image target detection method comprises the following steps:

[0008] Step 1: The sensor collects SAR images in four polarization modes: HH, HV, VV and VH;

[0009] Step 2: preprocessing the acquired SAR image data to obtain preprocessed SAR image data;

[0010] Wherein, the SAR image data preprocessing includes SAR image denoising and data enhancement;

[0011] Step 3: Manually annotate the preprocessed SAR image data obtained in step 2 to obtain a SAR image dataset, and then divide the dataset into a training dataset and a test dataset;

[0012] Step 4: Build an improved YOLOv3 model;

[0013] Among them, improving the YOLOv3 model includes improving the backbone network, improving the bottleneck layer, and building a feature fusion structure of the deep network;

[0014] The improved backbone network specifically includes: adding an SPP structure after the YOLOv3 backbone network Darknet53;

[0015] The improved bottleneck layer refers to simplifying the original FPN layer of YOLOv3 to obtain the FPN-light structure;

[0016] The construction of the feature fusion structure of the deep network refers to selecting the N1 module and the N2 module of Resnet50 as parallel auxiliary structures, and fusing them with the backbone network Darknet53 to obtain the feature fusion structure of the deep network;

[0017] The specific description of the feature fusion structure of the deep network is as follows: the output features of the residual module C2 of the backbone network Darknet53 are input into the auxiliary network N1 and the residual module C3 of the backbone network Darknet53; the output features of the auxiliary network N1 are output into the auxiliary network N2, and the output features of the auxiliary network N1 are upsampled at the same time, and the features output by the auxiliary network N1 are upsampled and fused with the output features of the residual module C3 of the backbone network Darknet53 in an accumulated form and then input into the residual module C4 of the backbone network Darknet53; the output features of the auxiliary network N2 are upsampled, and then fused with the output features of the residual module C4 in the backbone network Darknet53 in an accumulated form and input into the residual module C5 of the backbone network Darknet53; the output features of the residual module C5 of the backbone network Darknet53 are still sent to the Spp layer and the FPN-light bottleneck layer;

[0018] Step 5: Input the training data set obtained in step 3 into the improved YOLOv3 model in step 4 for training to obtain a trained improved YOLOv3 model;

[0019] Step 6: Input the test data set in step 3 into the improved YOLOv3 model trained in step 5 for testing and verification to obtain the recognition result;

[0020] So far, from step 1 to step 6, a SAR image target detection method based on improved YOLOv3 has been implemented.

[0021] Beneficial Effects

[0022] The present invention proposes a SAR image target detection method based on improved YOLOv3, which has the following beneficial effects:

[0023] 1. When the method is applied to the identification of ships in the coastal scene, the features of the coast and the ship can be effectively extracted and the information of the coast and the ship can be distinguished, and the recognition rate of the ships on the coast is relatively good;

[0024] 2. The method can more accurately identify small, medium and large ships in SAR images. Compared with the existing algorithms, it has better performance, a higher recognition rate for ships, and improves the efficiency of sea detection target recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of a SAR image target detection method based on improved YOLOv3 of the present invention;

[0026] Figure 2 It is a structural diagram of the algorithm bottleneck layer FPN-light of a SAR image target detection method based on improved YOLOv3 of the present invention;

[0027] Figure 3 This is a deep network feature fusion structure diagram of an algorithm of a SAR image target detection method based on improved YOLOv3 in the present invention;

[0028] Figure 4 This is a diagram showing the effect of performing data preprocessing on the SAR image data in the embodiment, that is, image denoising;

[0029] Figure 5 This is a diagram showing the effect of data preprocessing of SAR image data in the embodiment, that is, duck-feeding data enhancement;

[0030] Figure 6It is a comparison diagram of the results of using a SAR image target detection method based on improved YOLOv3 to identify coastal ships and using Darkenet-YOLOv3 to identify coastal ships in an embodiment;

[0031] Figure 7 It is a schematic diagram of a SAR image target detection platform based on improved YOLOv3 in Example 2. DETAILED DESCRIPTION

[0032] The following is a detailed description of the SAR image target detection method based on improved YOLOv3 described in the present invention in conjunction with the accompanying drawings and specific embodiments.

[0033] Example 1

[0034] In the ship recognition of SAR images, if the algorithm based on the improved YOLOv3 proposed in the present invention is adopted, the shallow and deep features of the ship in the SAR image can be better learned to achieve higher SAR image recognition performance. Figure 1 Based on the flowchart of the SAR image target detection method using improved YOLOv3, this embodiment describes how to implement it.

[0035] The platform for this example is Ubuntu 18.04 system, the GPU is K80 graphics card and the memory is 12G, the graphics card driver model is 396.82 server, and the experimental environment is configured with CUDA 10.1, python 3.7.0 and torch 1.4.0.

[0036] Step 1: The sensor collects SAR images in four polarization modes: HH, HV, VV and VH;

[0037] Step 2: preprocessing the acquired SAR image data to obtain preprocessed SAR image data;

[0038] Wherein, the SAR image data preprocessing includes SAR image denoising and data enhancement;

[0039] Step 3: Manually annotate the preprocessed SAR image data obtained in step 2 to obtain a SAR image dataset, and then divide the dataset into a training dataset and a test dataset;

[0040] In specific implementation, a ready-made SAR image dataset can be used, so there is no need to manually annotate the SAR image data. It is only necessary to pre-process the SAR images in the dataset before model training and testing.

[0041] The data set used in this embodiment is the SSDD data set for SAR image ship detection first published at home and abroad by Li Jianwei and others from the Chinese Academy of Sciences. Although the quality of SAR images in the SSDD data set is good, SAR images in actual scenes are easily interfered by coherent speckle noise, so a suitable filtering algorithm is needed to suppress the noise, and its feasibility is proved by ablation experiments.

[0042] The noise suppression algorithm used in this embodiment is bilateral denoising. In order to highlight the effect of ship information, the edges and ships are made brighter and the isolated noise points are suppressed. After multiple experimental comparisons, the sliding window size is finally set to 100, the spatial smoothing factor is set to 5, and the grayscale smoothing factor is set to 100. The denoising effect is shown in the attached figure. Figure 4 shown.

[0043] The data enhancement method used in this embodiment is the cramming method, that is, by increasing the number of times the target appears, the model will not be overfitted. The implementation process requires cutting out the existing target from the image and placing it in the rest of the background space of the image. The background of the SAR image in the ocean is simple, and it is easy to obtain the target sub-image. However, when placing the target in a complex background, if the intercepted target area is too small, it will hinder the expression of the image. Therefore, a medium-sized ship target with the ocean as the background is intercepted and placed in an image with a large ocean area and a complex background. After generating multiple images, the appropriate results are manually selected as the training set. The effect diagram after cramming is shown in the attached figure. Figure 5 shown.

[0044] Division of training set and test set: The images with the last digit of the file number 1 and 9 in the SSDD dataset are the test set, and the rest are the training set.

[0045] Step 4: Build an improved YOLOv3 model;

[0046] Among them, improving the YOLOv3 model includes improving the backbone network, improving the bottleneck layer, and building a feature fusion structure of the deep network;

[0047] The improved backbone network specifically includes: adding an SPP structure after the YOLOv3 backbone network Darknet53;

[0048] The SPP structure is added after the backbone network Darknet53 used by YOLOv3. The SPP structure process is to pass the input through the maximum pooling structure of size 1×1, 3×3, and 5×5, upsample to the same size, concatenate all features and perform 1x1 convolution. The performance comparison results of the improved structure are shown in Table 1.

[0049] Table 1 Comparison of improved structural performance

[0050] Network structure Accuracy Recall AP Value Darknet53 85.3% 82.9% 89.3% Darknet53-spp 92.5% 85.6% 93.6% Darknet53-RFB 93.6% 87.6% 92.1%

[0051] The improved bottleneck layer refers to the FPN-light structure obtained by simplifying the original FPN layer of YOLOv3, as shown in the attached figure. Figure 2 As shown;

[0052] The improved FPN layer structure is compared with the other two FPN layer structures, and the performance comparison results of the improved structure are shown in Table 2.

[0053] Table 2 Comparison of detection algorithm performance under different bottleneck structures

[0054] Bottleneck layer structure Video memory usage Accuracy Recall AP Value FPN 3.90G 92.5% 85.6% 93.6% PAnet 4.28G 93.6% 93.6% 70.5% FPN-light 3.59G 91.4% 90.3% 93.6%

[0055] The construction of the feature fusion structure of the deep network refers to selecting the N1 module and N2 module of Resnet50 as parallel auxiliary structures, and fusing them with the Darknet53 backbone network to obtain the feature fusion structure of the deep network, as shown in the attached figure. Figure 3 As shown;

[0056] Among them, the specific description of the feature fusion structure of the deep network is: the output features of the residual module C2 of the backbone network Darknet53 are input into the auxiliary network N1 and the residual module C3 of the backbone network Darknet53; the output features of the auxiliary network N1 are output to the auxiliary network N2, and the output features of the auxiliary network N1 are upsampled, and then fused with the output features of the residual module C3 of the backbone network Darknet53 in an accumulated form and input into the residual module C4 of the backbone network Darknet53; the output features of the auxiliary network N2 are upsampled, and then fused with the output features of the residual module C4 in the backbone network Darknet53 in an accumulated form and input into the residual module C5 of the backbone network Darknet53; the output features of the residual module C5 of the backbone network Darknet53 are still sent to the Spp layer and the FPN-light bottleneck layer;

[0057] Step 5: Input the training data set obtained in step 3 into the improved YOLOv3 model in step 4 for training to obtain a trained improved YOLOv3 model;

[0058] Step 6: Input the test data set in step 3 into the model based on improved YOLOv3 trained in step 5 for testing and verification, and obtain the recognition results; compare it with the recognition results of coastal ships based on Darknet-YOLOv3 as shown in the attached figure. Figure 6 As shown, it can be seen that the detection effect of the method designed by the present invention is more robust, and the detection of large targets is effectively improved compared with the original design algorithm. The results of comparing the improved YOLOv3 with YOLOv4 are shown in Table 3;

[0059] Table 3 Performance comparison of two detection algorithms

[0060]

[0061] The comparison results of the SAR image target detection method based on improved YOLOv3 in the present invention and the existing method for SAR image detection are shown in Table 4.

[0062] Table 4 Comparison of the effects of domestic and foreign detection methods

[0063]

[0064] Example 2

[0065] like Figure 7 As shown, the second embodiment of the present invention involves a SAR image target detection platform based on improved YOLOv3, including at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned SAR image target detection method based on improved YOLOv3.

[0066] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits through interfaces, which are all well known in the art. The interface provides an interface between the bus and the transceiver, such as a communication interface and a user interface. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor.

[0067] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.

[0068] The fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the computer program implements the above-mentioned embodiment of the SAR image target detection method based on improved YOLOv3.

[0069] Those skilled in the art can understand from the above description that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions for making a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes but is not limited to various media that can store program codes, such as USB flash drives, mobile hard disks, magnetic storage devices, and optical storage devices.

[0070] The above is only a preferred embodiment of the present invention, and the present invention should not be limited to the contents disclosed in the embodiment and the drawings. Any equivalent or modification completed without departing from the spirit disclosed in the present invention shall fall within the scope of protection of the present invention.

Claims

1. A SAR image target detection method based on improved YOLOv3, characterized by: The steps include: Step 1: The sensor collects SAR images in four polarization modes: HH, HV, VV and VH; Step 2: preprocessing the acquired SAR image data to obtain preprocessed SAR image data; Step 3: Manually annotate the preprocessed SAR image data obtained in step 2 to obtain a SAR image dataset, and then divide the dataset into a training dataset and a test dataset; Step 4: Build an improved YOLOv3 model; Among them, improving the YOLOv3 model includes improving the backbone network, improving the bottleneck layer, and building a feature fusion structure of the deep network; The improved backbone network is: adding an SPP structure after the YOLOv3 backbone network Darknet53; The improved bottleneck layer refers to simplifying the original FPN layer of YOLOv3 to obtain the FPN-light structure; The construction of the feature fusion structure of the deep network refers to selecting the N1 module and the N2 module of Resnet50 as parallel auxiliary structures, and fusing them with the backbone network Darknet53 to obtain the feature fusion structure of the deep network; Step 5: Input the training data set obtained in step 3 into the improved YOLOv3 model in step 4 for training to obtain a trained improved YOLOv3 model; Step 6: Input the test data set in step 3 into the model based on improved YOLOv3 trained in step 5 for testing and verification to obtain the recognition result.

2. The SAR image target detection method according to claim 1, characterized in that: In step 2, the SAR image data preprocessing includes SAR image denoising and data enhancement.

3. The SAR image target detection method according to claim 1, characterized in that: In step 4, the specific description of the feature fusion structure of the deep network is: the output features of the residual module C2 of the backbone network Darknet53 are input into the residual module C3 of the auxiliary network N1 and the backbone network Darknet53.

4. The SAR image target detection method according to claim 3, characterized in that: The output features of the auxiliary network N1 are output to the auxiliary network N2, and the output features of the auxiliary network N1 are upsampled.

5. The SAR image target detection method according to claim 4, characterized in that: The upsampled features of the auxiliary network N1 are fused with the output features of the residual module C3 of the backbone network Darknet53 in an accumulated form and input into the residual module C4 of the backbone network Darknet53.

6. The SAR image target detection method according to claim 5, characterized in that: The output features of the auxiliary network N2 are upsampled, and then fused with the output features of the residual module C4 in the backbone network Darknet53 in an accumulated form and input into the residual module C5 of the backbone network Darknet53.

7. The SAR image target detection method according to claim 6, characterized in that: The output features of the residual module C5 of the backbone network Darknet53 are sent to the Spp layer and the FPN-light bottleneck layer in turn.

8. A SAR image target detection device based on improved YOLOv3, characterized in that: include: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a SAR image target detection method based on improved YOLOv3 as described in any one of claims 1 to 7.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for SAR image target detection based on improved YOLOv3 according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method for detecting ships in high-speed SAR image

    CN110826428A

  • High-speed and high-precision SAR image ship detection method

    CN111797717A

  • Method and system for detecting target in radar image

    CN111880157A

  • Lightweight SAR image ship detection method

    CN111967292A

  • Synthetic aperture radar image ship detection method based on Group-G0 model

    CN112597815A