Infrared weak and small target detection model, method and device and storage medium

By integrating the coordinate attention mechanism and multi-scale feature fusion in the infrared weak and small target detection model, combined with the NWD loss function, the problem of low accuracy in infrared weak and small target detection in a high-frequency noise environment is solved, achieving higher detection accuracy and better performance. Low false detection rate.

CN118628722APending Publication Date: 2024-09-10SHANGHAI JIAOTONG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410890632.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing infrared weak and small target detection algorithms have reduced detection capabilities in high-frequency dense noise environments, making it difficult to extract target information and noise information, and small target features are easily lost during the deep learning process, resulting in poor detection accuracy.

Method used

The feature extraction backbone network is used to fuse the coordinate attention mechanism, combined with the weak and small target detection probe network, the weak and small target detection layer is added to fuse multi-scale features, and the NWD loss function is introduced in the model training to optimize the model performance.

Benefits of technology

It effectively improves the accuracy of infrared weak and small target detection, reduces the false detection rate, can converge to the optimal solution faster, adapts to high-frequency dense noise environments, and prevents the loss of small target features.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628722A
    Figure CN118628722A
Patent Text Reader

Abstract

The invention provides an infrared weak and small target detection model, method and device based on a convolutional neural network and a storage medium, the infrared weak and small target detection model comprises a feature extraction backbone network and a weak and small target detection probe network, and a coordinate attention mechanism is fused in the feature extraction backbone network. The backbone network is used for extracting gray features of an infrared weak and small target, the weak and small target detection probe network is used for reasoning a target detection result according to features extracted by the backbone network, and a weak and small target detection layer is added in the weak and small target detection probe network and is used for preventing small target features from being lost in deep down-sampling by utilizing more shallow layer information; and multi-scale feature fusion is realized, and a detection result is inferred on the basis of feature fusion. According to the method, the high-precision detection of the infrared weak and small target in the high-frequency dense noise environment is realized by fusing the position attention mechanism and the multi-scale features.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of infrared target detection technology, and in particular to an infrared dim small target detection model, method, device and storage medium. Background Art

[0002] Infrared weak small target detection technology has a wide range of application needs in the fields of satellite early warning, traffic management, and maritime rescue. Since the infrared weak small image features are single and easily affected by complex background noise, it is difficult for the infrared weak small target detection algorithm to meet the actual application requirements in terms of performance. On the one hand, the weak small targets in infrared images often lack color information and detailed contour and texture features. The background of infrared images is affected by clouds, water ripples, buildings and other weak objects, and is generally more complex, which can easily cause weak small targets to be submerged by background information. Therefore, it is difficult for the existing small target detection technology to be directly migrated to the infrared field. On the other hand, with the increase in usage time, such as infrared satellite early warning systems, ground-based infrared detection systems, etc., a large amount of sensor and circuit noise often gradually appears. Compared with the original background, such noise points often show high-frequency characteristics in the spatial domain, that is, the target grayscale has a large difference with the surrounding grayscale value in the spatial scale, and there is a jump. Moreover, the brightness of the noise point is similar to that of the target, and the distribution in the image space domain is relatively dense, which destroys the low-rank characteristics of the infrared image background. It is easy to make the existing target detection algorithm false alarm high and the detection accuracy seriously reduced.

[0003] Most of the existing traditional algorithms for infrared dim small target detection rely on local contrast enhancement between the target and the background, the low-rank characteristics of the infrared image background information, and denoising methods for infrared images. These methods have a significant drop in detection capabilities in high-frequency dense noise environments, and are also poorly adaptable to different noise distributions. In addition, the existing infrared dim small target detection algorithms based on deep learning have difficulty extracting effective information to distinguish target information from noise information in high-frequency dense noise environments. Moreover, because the target size is small, as the depth of the neural network increases, the target features are easily lost, resulting in poor algorithm detection accuracy. Summary of the invention

[0004] In view of the defects in the prior art, the object of the present invention is to provide an infrared dim small target detection model, method, device and storage medium for improving the infrared dim small target detection performance.

[0005] To solve the above problems, the technical solution of the present invention is:

[0006] An infrared small target detection model comprises a feature extraction backbone network and a small target detection probe network. The feature extraction backbone network incorporates a coordinate attention mechanism to extract grayscale features of infrared small targets. The small target detection probe network is used to infer target detection results based on the features extracted by the backbone network. A small target detection layer is added to the small target detection probe network to utilize more shallow information, prevent small target features from being lost in deep downsampling, realize multi-scale feature fusion, and infer detection results based on feature fusion.

[0007] Preferably, the feature extraction backbone network includes a convolution module, a coordinate attention bottleneck module, a coordinate attention mechanism module, and a fast spatial pyramid pooling module. The coordinate attention mechanism is added to the feature extraction backbone network, which can better retain the position and direction information of weak targets in high-frequency dense noise environments and eliminate the interference of noise points near the target on the target detection network.

[0008] Preferably, the coordinate attention mechanism module is used to decompose the channel attention into two one-dimensional feature encoding processes, respectively aggregating features along two spatial directions to retain the position and direction information of the target.

[0009] Preferably, the small target detection probe network includes an upsampling module, a splicing module, a coordinate attention bottleneck module and a detection module.

[0010] Preferably, during the model training process, an NWD loss function for small and weak targets is introduced to enable the model to converge to the optimal solution faster and optimize model performance.

[0011] Furthermore, the present invention also provides an infrared small target detection method, comprising the following steps:

[0012] A coordinate attention mechanism is added to the feature extraction backbone network of the infrared small target detection model to extract target features in a high-frequency dense noise environment. The coordinate attention mechanism focuses on the edge grayscale features of the target.

[0013] A small target detection layer is added to the small target detection probe network of the infrared small target detection model, so that the detection probe can completely retain the shallow features of the target, prevent the small target features from being lost in deep downsampling, realize multi-scale feature fusion, and infer the detection results based on feature fusion;

[0014] During the model training process, the NWD loss function is introduced to enable the model to converge to the optimal solution faster and optimize model performance.

[0015] Furthermore, the present invention also provides a computer device, comprising a processor and a memory for storing executable instructions of the processor, wherein the processor is configured to execute the infrared dim small target detection method as described above by executing the executable instructions.

[0016] Furthermore, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the infrared dim small target detection method as described above.

[0017] Compared with the prior art, the infrared small target detection model and method of the present invention adds a coordinate attention mechanism to the feature extraction backbone network based on the YOLO v8 network structure, effectively compresses the influence of background noise, and redesigns the detection probe for infrared small targets, adds shallow feature fusion, prevents small target features from being lost in deep downsampling, and retains more features of small targets, which can effectively improve the accuracy of target detection. In addition, during the training process, the Gaussian model is used to model small targets, and the NWD calculation loss function is introduced to enable the model to converge to the optimal solution faster and optimize the model performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0019] Figure 1 This is a structural diagram of the infrared small target detection model of the present invention;

[0020] Figure 2 This is a bottleneck module structure diagram of the present invention combined with the coordinate attention mechanism;

[0021] Figure 3 It is a flowchart of the infrared dim small target detection method of the present invention. DETAILED DESCRIPTION

[0022] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0023] Specifically, the present invention provides an infrared dim small target detection model YOLO-IR that integrates multi-scale features and position attention mechanism to improve the infrared dim small target detection performance, such as Figure 1As shown in the figure, the infrared small target detection model YOLO-IR includes a feature extraction backbone network and a small target detection probe network. The feature extraction backbone network integrates the coordinate attention mechanism to extract the grayscale features of infrared small targets, and the small target detection probe network is used to realize multi-scale feature fusion to prevent small target features from being lost in deep downsampling, and to infer the detection results based on feature fusion.

[0024] The feature extraction backbone network includes a convolution module (Conv), a coordinate attention bottleneck module (C2fCA), a coordinate attention mechanism module (CoorAtt), and a fast spatial pyramid pooling (SPPF) module; the small target detection probe network includes an up-sampling module (Up-Sample), a concatenation (Concat) module, a C2fCA module, and a detection module (detect). The coordinate attention mechanism module (CoorAtt) is used to decompose channel attention into two one-dimensional feature encoding processes, aggregate features along two spatial directions respectively, and retain the position and direction information of the target. The coordinate attention bottleneck module (C2fCA) further embeds the coordinate attention mechanism into the feature fusion mechanism of the network to better utilize the multi-scale morphological information of infrared small targets. The coordinate attention mechanism is added to the feature extraction backbone network, which can better retain the position and direction information of small targets in high-frequency dense noise environments and eliminate the interference of noise points near the target on the target detection network. The small target detection probe network is used to infer the target detection result according to the feature map extracted by the backbone network. The small target detection probe network adds a small target detection layer on the basis of the YOLO v8 probe, so that the probe can more completely retain the shallow features of the target, prevent the small target features from being lost in deep downsampling, and realize multi-scale feature fusion.

[0025] Figure 2 The structure diagram of the coordinate attention bottleneck (C2fCA) module in the feature extraction backbone network and the weak target detection probe network is as follows: Figure 2 As shown, the coordinate attention bottleneck module includes a convolution, batch normalization and nonlinear module (CBS), a bottleneck module combined with a coordinate attention mechanism (CA+Bottleneck) and a concatenation module (Concat). The coordinate attention mechanism replaces the convolution, batch normalization and nonlinear layers in the original C2f module bottleneck, so that the network can focus on the position and direction information of small targets, distinguish them from high-frequency noise points in the image, and improve the detection accuracy. At the same time, the module is relatively lightweight and can be plug-and-play in the target detection network.

[0026] The infrared small target detection model YOLO-IR is based on Figure 1 and Figure 2After the deployment is completed, targeted training is performed on the infrared weak target data set, the NWD calculation loss function is introduced, and the infrared weak target is modeled using the Gaussian model. On this basis, the loss function is calculated based on the standardized Wasserstein distance (NWD) between Gaussian distributions, so that the model can converge to the optimal solution faster and optimize the model performance. The error between the detection result and the actual result is measured by the Wasserstein distance, which effectively avoids the problem of drastic changes in the intersection over union (IoU) index. After training, a high-precision infrared weak target detection model can be obtained. In the target detection process, the infrared image is input and cropped and spliced, and uniformly converted to a size of 640x640. After that, feature maps of different sizes are obtained through downsampling and attention mechanisms. In order to realize its function, the present invention needs to extract feature maps at multiple scales and fuse them in the weak target detection probe network. In the feature extraction backbone network, a coordinate attention mechanism is added to pay attention to the direction information and position information of the target, so as to better retain the characteristics of infrared weak targets in the network, thereby improving the accuracy of target detection in a high-frequency dense noise environment. In the weak target detection probe network, in order to avoid the loss of weak target features during deep downsampling, more scale feature map fusion is added. While the network extracts deep semantic features, the original shallow target grayscale features are retained as much as possible to improve detection accuracy. After reasoning, the feature detection probe outputs annotated detection pictures or videos, and can also output text files with target coordinate information.

[0027] Furthermore, the present invention also provides an infrared small target detection method, such as Figure 3 As shown, the method comprises the following steps:

[0028] S1: A coordinate attention mechanism is added to the feature extraction backbone network of the infrared small target detection model to extract target features in a high-frequency dense noise environment, and the coordinate attention mechanism is used to focus on the edge grayscale features of the target;

[0029] Specifically, the infrared small target detection model YOLO-IR is based on YOLO V8 and incorporates a coordinate attention mechanism into the feature extraction backbone network to extract target features in a high-frequency dense noise environment, and focuses on the edge grayscale features of the target through the coordinate attention mechanism.

[0030] S2: Add a small target detection layer to the small target detection probe network of the infrared small target detection model, so that the detection probe can completely retain the shallow features of the target, prevent the small target features from being lost in deep downsampling, realize multi-scale feature fusion, and infer the detection results based on feature fusion;

[0031] Specifically, the small target detection probe network is based on the YOLO v8 probe, and the detection head for infrared small targets is redesigned. A small target detection layer is added to fuse information at different scales to prevent small target features from being lost during deep downsampling, realize multi-scale feature fusion, and increase the detection accuracy of the algorithm.

[0032] S3: During the model training process, NWD is introduced to calculate the loss function, so that the model can converge to the optimal solution faster and optimize the model performance.

[0033] The method of the present invention uses the coordinate attention mechanism to avoid noise information from drowning the target features, and adopts a multi-scale feature fusion mechanism to realize the comprehensive utilization of deep semantic features, shallow semantic features and global information, which greatly improves the detection accuracy of weak targets and reduces the false detection rate; in addition, with the help of a plug-and-play lightweight attention mechanism module network, it can be deployed and applied in an environment with limited computing power and high real-time performance.

[0034] According to another aspect of an embodiment of the present application, a computer device is provided, which includes a processor and a memory for storing executable instructions of the processor, and the processor is configured to execute the infrared dim small target detection method described in the embodiment of the present application by executing the executable instructions.

[0035] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the infrared dim small target detection method described in the embodiments of the present application.

[0036] The storage medium can be ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or it can be EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disc, optical disk, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation here.

[0037] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims

1. An infrared small target detection model, characterized in that: The model includes a feature extraction backbone network and a small target detection probe network. The feature extraction backbone network integrates a coordinate attention mechanism to extract grayscale features of infrared small targets. The small target detection probe network is used to infer target detection results based on the features extracted by the backbone network. A small target detection layer is added to the small target detection probe network to utilize more shallow information, prevent small target features from being lost in deep downsampling, realize multi-scale feature fusion, and infer detection results based on feature fusion.

2. The infrared small target detection model according to claim 1 is characterized in that: The feature extraction backbone network includes a convolution module, a coordinate attention bottleneck module, a coordinate attention mechanism module, and a fast spatial pyramid pooling module. The feature extraction backbone network is added with a coordinate attention mechanism, which can better retain the position and direction information of weak targets in a high-frequency dense noise environment and eliminate the interference of noise points near the target on the target detection network.

3. The infrared small target detection model according to claim 2 is characterized in that: The coordinate attention mechanism module is used to decompose channel attention into two one-dimensional feature encoding processes, aggregate features along two spatial directions respectively, and retain the position and direction information of the target.

4. The infrared small target detection model according to claim 1, characterized in that: The small target detection probe network includes an upsampling module, a splicing module, a coordinate attention bottleneck module and a detection module.

5. The infrared small target detection model according to claim 1 is characterized in that: During the model training process, the NWD loss function for weak and small targets is introduced to enable the model to converge to the optimal solution faster and optimize model performance.

6. A method for detecting small infrared targets, characterized in that: The method comprises the following steps: A coordinate attention mechanism is added to the feature extraction backbone network of the infrared small target detection model to extract target features in a high-frequency dense noise environment. The coordinate attention mechanism focuses on the edge grayscale features of the target. A small target detection layer is added to the small target detection probe network of the infrared small target detection model, so that the detection probe can completely retain the shallow features of the target, prevent the small target features from being lost in deep downsampling, realize multi-scale feature fusion, and infer the detection results based on feature fusion; During the model training process, the NWD loss function is introduced to enable the model to converge to the optimal solution faster and optimize model performance.

7. A computer device, characterized in that: The computer device includes a processor and a memory for storing executable instructions of the processor, and the processor is configured to perform the infrared dim small target detection method according to claim 6 by executing the executable instructions.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program code, and the program code is used to execute the infrared dim small target detection method described in claim 6.

Citation Information

Patent Citations

  • Infrared weak and small target detection method based on attention mechanism convolutional neural network

    CN114863097A

  • Infrared weak and small target detection method based on crossing connection and fusion attention mechanism

    CN118172634A

  • Integrated Sensing and Communications Empowered by Networked Hybrid Quantum-Classical Machine Learning

    US20230368065A1