An infrared small target detection method based on a double-flow deep neural network architecture
The infrared small target detection method based on a dual-stream deep neural network architecture, utilizing brightness inversion enhancement and pixel-by-pixel fusion technology, solves the detection challenge of infrared small targets in low signal-to-noise ratio scenarios, achieving high-precision target detection and background noise suppression.
Patent Information
- Application Number
- CN202410450123.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-04-15
AI Technical Summary
Infrared small target detection is difficult to perform effectively in the absence of visible light and in low visibility conditions. Existing methods are unable to accurately identify faint targets in complex scenes with low signal-to-noise ratios. Furthermore, traditional models lack a deep understanding of the global scene, leading to a decrease in the resolution and feature information of infrared images.
An infrared small target detection method based on a two-stream deep neural network architecture is adopted. By performing brightness inversion enhancement on the original infrared image, a paired dataset is constructed and iteratively trained under the two-stream neural network. The semantic information is enhanced by combining feature extraction and pixel-by-pixel fusion of the two sub-networks, and complementary feature regions are captured and adjusted.
It improves the precision and accuracy of infrared small target detection, reduces the false alarm rate of false targets in background noise, and enhances the model's ability to identify infrared small targets and its robustness to scene changes.
Smart Images

Figure CN118247489B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of infrared imaging detection and recognition technology, and in particular to a method for infrared small target detection and recognition based on a dual-stream network architecture. Background Technology
[0002] Infrared sensors image by capturing the radiant heat emitted by a target, thus enabling operation in the absence of visible light and in low visibility conditions. Infrared small target detection has important applications in maritime surveillance, airspace monitoring, missile guidance, and missile defense. However, to capture the weak infrared radiation signals of distant targets, infrared sensors typically have much larger pixel sizes than ordinary light-intensity cameras. This means that for the same physical size, an infrared sensor has far fewer pixels than a typical light-intensity camera, thus reducing the overall image resolution. Compared to general target detection, infrared small target detection has the following characteristics: 1) Small size: Occupying very little space at the pixel level, lacking obvious shape, texture, and structural features, making it more difficult to detect and locate these small targets in infrared images. 2) Weak energy: The target is not significantly different from the background, resulting in poor target visibility and a low signal-to-noise ratio, making it difficult to separate and extract small targets from the background. Therefore, the significant differences in data distribution mean that directly using a general target detection model for infrared small target detection will lead to poor results.
[0003] To address the aforementioned issues, current infrared small target detection methods are mainly divided into two categories: 1) model-driven infrared small target detection methods; and 2) deep learning-based infrared small target detection methods. Because infrared small targets are dark and small, and model-driven methods lack a deep understanding of the global scene, they struggle to effectively distinguish between dark targets and noise in complex low signal-to-noise ratio scenes. Most deep learning methods have an inherent drawback: acquiring high-level semantic information requires a significant reduction in target feature resolution, further diminishing the already scarce feature energy of small targets. One possible way to overcome this predicament is to enrich the target semantic information along the network width dimension. Summary of the Invention
[0004] To address the shortcomings of the existing technologies, this invention proposes an infrared small target detection method based on a dual-stream deep neural network architecture. The method involves inverting and enhancing the original infrared image as the dual-stream data input to the dual-stream deep neural network architecture, and then building an infrared small target detection model based on this. Through iterative training with pixel-by-pixel adjustments based on the infrared small target detection model under the dual-stream deep neural network, a high-precision infrared small target detection method is achieved.
[0005] To achieve the above-mentioned objectives, the present invention proposes the following technical solution:
[0006] A method for detecting small infrared targets based on a two-stream deep neural network architecture, characterized by comprising:
[0007] S1, perform brightness inversion and enhancement on the original infrared image to obtain a pair of original infrared images and infrared inverted enhanced images, construct a pair of infrared small target detection datasets, and divide them into training set, validation set and test set;
[0008] S2, Construct a dual-stream neural network, which consists of two single-stream sub-networks with the same structure. Construct a dual-stream infrared small target detection model under the dual-stream neural network framework. In each iteration, the dual-stream infrared small target detection model under the dual-stream neural network framework simultaneously inputs an orthogonal paired image of the same infrared scene, which is composed of the original infrared image and the brightness inversion enhancement image.
[0009] S3 extracts infrared small target features from the two sub-networks respectively, and performs nested features on the adjacent layers and cross layers of the hidden layers of each sub-network to obtain and output multi-scale feature maps with rich high-level semantic features of small targets, including feature maps of the original infrared image and the brightness inversion enhanced image output by the sub-networks respectively.
[0010] S4, perform pixel-by-pixel perceptual fusion on the pixels at the same position in the multi-scale features output by the two sub-networks, calculate the total feature information and difference feature information of the paired positions in the output multi-scale feature map, capture the complementary feature regions and redundant feature regions between the two sub-networks, amplify and adjust the pixel values for the complementary feature regions, obtain the fused feature map through the relational perceptual feature map, and obtain the infrared small target saliency prediction map after binarization of the fused feature map.
[0011] Compared with the prior art, the beneficial effects of the technical solution of the present invention are:
[0012] 1. The infrared small target detection model combines two deep sub-networks with the same structure to process the original infrared image and its orthogonally paired image after brightness inversion enhancement, thereby improving the utilization efficiency of limited infrared samples and greatly enhancing the model's ability to extract features from limited samples.
[0013] 2. It can enhance the semantic understanding of small infrared targets without sacrificing the already scarce feature resolution of small targets in the original network;
[0014] 3. Improvements brought about by the sub-network structure design include: densely connecting the feature layers in the sub-network to enhance semantic information; and performing pixel-by-pixel fusion of the output feature maps of the sub-networks. This is a mechanism designed to effectively manage the interrelationships between corresponding pixels in the output feature maps of two sub-networks, which significantly improves the quality of the fused feature maps and thus achieves better target detection.
[0015] 4. It can be applied to any current deep learning-based infrared small target detection model, thereby further improving the infrared target detection capability of existing models.
[0016] 5. While ensuring the acquisition of high-precision target contours, it significantly reduces the false alarm rate of false targets in background noise, further improving the accuracy and reliability of detection results. Attached Figure Description
[0017] Figure 1 This is a flowchart of an infrared small target detection method based on a dual-stream deep neural network architecture according to the present invention;
[0018] Figure 2 This is a comparison chart showing the detection effects of the present invention and other methods on infrared images in different scenarios;
[0019] Figure 3 The image shows a comparison of predictions before and after configuring the existing infrared small target detection model and the dual-stream data input network framework. Detailed Implementation
[0020] The technical solution of the present invention will now be described in detail with reference to the accompanying drawings. The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only for explaining the present invention and are not intended to limit the present invention.
[0021] To verify the effectiveness of this invention in infrared small target detection, this embodiment selects infrared images from different scenes as the test set and compares them with model-driven methods such as Top-Hat, Max-Median, WSLCM, TTLCM, IPI, NRAM, PIPT, PSTNN, and MSLSTIPT, as well as deep learning-based methods such as MDvsFA-cGAN, ALC-Net, ACM-Net, UIU-Net, and DNA-Net. GT is the labeled image required for training the model. Four infrared small target detection evaluation metrics are used, including two pixel-level metrics: Intersection over Union (IoU) and normalized Intersection over Union (nIoU), and two target-level metrics: Probability of Detection (Pd) and False-Alarm Rate (Fa), for objective comparison.
[0022] like Figure 1 As shown, this embodiment provides an infrared small target detection method based on a dual-stream network architecture, including the following steps:
[0023] Step 1: Preprocess the original infrared image, including processing the original infrared image I. raw Initial brightness inverted image I' reverse Obtain paired original infrared images and corresponding infrared inverted enhanced images I. reverse A dataset for detecting small infrared targets was constructed and divided into a training set, a validation set, and a test set.
[0024] Step 101: Acquire the original infrared image I using an infrared camera. raw Using a pure white image I where each pixel value is 255 white with I raw By subtracting the values, we obtain the initial brightness-inverted image I'. reverse , I' reverse =I whrite -I raw ;
[0025] Step 102, give I' reverse and I white Weighting coefficients α and β are set separately, and the mixture is fused according to the weighting coefficient ratio to achieve I raw The final brightness is reversed, where α is set to 0.8 and β is set to 0.2;
[0026] Step 103: Apply the initial brightness inverted image I' reverse F is performed using formula (1) enhance The enhancement process aims to perform operations within the neighborhood of each pixel in the input image. By increasing the difference between the target pixel and its neighbors, it enhances image edges, highlights high-frequency information in the input image, and improves edge contrast. Specifically, a 3x3 convolution kernel is used for local pixel operations, traversing every pixel in the input image. The center pixel of the convolution kernel is set to 5, indicating that the weight of the center pixel is strengthened, while the weights of surrounding pixels are set to -1, indicating that the weights of surrounding pixels are suppressed. This increases the sharpness of the target edges, resulting in the infrared inversion enhanced image I. reverse The expression is as follows:
[0027] I reverse =F enhance (αI' reverse ×βI white (1)
[0028] Step 104: Divide the constructed paired infrared small target detection dataset into 70% of the dataset as the training set to train the constructed infrared small target detection model, 20% of the dataset as the validation set to verify the model performance during the training phase, and 10% of the dataset as the test set to subjectively visualize the detection performance of the model.
[0029] Step 2: Construct a two-stream neural network, which consists of two identical single-stream sub-networks. A two-stream infrared small target detection model is built within the framework of the two-stream neural network. In each iteration, the two-stream infrared small target detection model within the framework of the two-stream neural network simultaneously inputs orthogonally paired images of the same infrared scene, consisting of the original infrared image and a brightness inversion enhanced image. The input to sub-network 1 is the original infrared image I. raw The input to subnetwork 2 is the brightness inversion enhancement image I. reverse This increases the utilization rate of limited data;
[0030] Step 3: In the two sub-networks, infrared small target feature extraction and multi-scale feature fusion of adjacent and cross-layer hidden layers within the same sub-network are performed respectively to obtain and output multi-scale feature maps with rich high-level semantic features of small targets. Rich high-level semantic features of small targets mean that after this feature map fusion operation, the small targets are more prominent and have higher distinguishability from the background in the fused feature map. Multi-scale feature fusion is the fusion of feature maps from adjacent layers. For example, small-scale feature maps are upsampled (the feature map size increases) and then fused with large-scale feature maps; large-scale feature maps are downsampled (the feature map size decreases) and then fused with small-scale feature maps. Specifically, in each single-stream sub-network, the encoder extracts features from the input image, and the decoder performs multi-scale feature fusion, outputting feature maps of different scales. Sub-network 1 outputs the feature map of the original infrared image, and sub-network 2 outputs the feature map of the brightness inversion enhanced image, which is used for subsequent feature fusion between sub-networks. The specific steps include:
[0031] Step 301: Configure the dense nesting module. This module sets up multiple nodes along the path between the encoder and decoder of the two sub-networks. These nodes are tightly connected to form a nested network, achieving the fusion of high- and low-level features, enabling the sub-networks to possess strong contextual information modeling capabilities. Specifically, multiple, multi-scale feature fusions are performed within the nested network. All large-scale images are downsampled and fused with small-scale images, while all small-scale images are upsampled and fused with large-scale images. The purpose of this is to enhance the semantic feature information of small targets in the feature maps. This layer-by-layer fusion is similar to forming many nodes in the network for fusion, creating a layered nested structure. In deep learning networks, this includes low-level feature maps (large targets) and high-level feature maps (small targets), distributed in a pyramid shape.
[0032] Step 302: Configure channel and spatial attention weighting modules to adaptively enhance the fusion features of each layer of the densely nested modules, addressing potential semantic information gaps in the output feature maps of the densely nested modules. The specific operations for channel attention weighting are as follows:
[0033] 1) Perform max pooling and average pooling on the input feature map in the spatial dimension to compress the space and obtain two C×1×1 output images, where C is the number of image channels and 1×1 is the height and width of the image.
[0034] 2) Send the two output results to the multilayer perceptron;
[0035] 3) The two feature maps output by the multilayer perceptron are added together and then fed into the sigmoid function to generate weights at the channel C level, thus obtaining the weights to be assigned to each channel level. Each channel attention process yields different weights, and these weights are entirely generated by the network, a process known as adaptation.
[0036] The feature map after channel attention processing is then subjected to spatial attention weighting:
[0037] 1) Perform max pooling and average pooling on the input feature map in the channel dimension to compress the channels and obtain two 1×H×W feature maps, where 1 represents the number of channels of the feature map, H represents the height of the feature map, and W represents the width of the feature map.
[0038] 2) The two processed feature maps are concatenated along the channel dimension to obtain a 2×H×W feature map;
[0039] 3) Perform a convolution operation on the concatenated result to obtain a 1×H×W feature map, and then obtain the spatial weights through the Sigmoid function, which gives the weights that should be assigned to each pixel.
[0040] Each spatial attention process yields different weights, and these weights are entirely generated by the network, hence the term "adaptive."
[0041] Step 303: Configure the feature pyramid to connect the shallow features rich in spatial information and the deep features rich in semantic information to generate a robust feature map.
[0042] Step 4: After the two sub-networks complete feature extraction and multi-scale feature map output, a pixel-wise perceptual fusion mechanism is initiated: By constructing a normalization module and a global relational perception module, the total feature information and differential feature information at the output feature pairing positions are calculated. Weight differences are calculated based on the differential feature information, thereby capturing complementary and redundant feature information between the two sub-networks. This process achieves fine-tuning pixel-wise and allows the semantic information of the feature maps to be progressively fused from coarse to fine. The same pixel positions are used as pairing positions, including the following steps:
[0043] Step 401: Construct a normalization module, consisting of a 1*1 shared convolutional layer. The normalization module is used to normalize the output feature map F of sub-network 1. Sub-net1 The output feature map F of sub-network 2 Sub-net2 After passing through a shared convolutional module, they are mapped to the same feature space, as shown in the following formula:
[0044]
[0045] in, It is F Sub-net1 The mapping feature map, It is F Sub-net2 The mapping feature map, conv is the output feature map F of subnetwork 1. Sub-net1 The output feature map F of sub-network 2 Sub-net2 The shared convolutional layer, where θ is the parameter of the shared convolutional layer, for F Sub-net1 Shared convolutional layers used and F Sub-net2 The shared convolutional layer used by these two features shares this parameter. After being processed by the shared convolution, a preliminary connection is established between the two different feature maps, moving them from dissimilar feature spaces to the same feature space, thus narrowing the distance between different feature maps in the same scene in the feature space.
[0046] Step 402: Construct a global relationship-aware module for... and By performing addition, subtraction, and multiplication operations respectively, the corresponding pixels in the output feature maps of the two sub-networks are added, subtracted, and multiplied. The specific formulas are as follows:
[0047]
[0048] Where Conv.b represents the convolutional layer and batch normalization operation, F add yes and The feature map is obtained by adding pixels one by one and performing convolution. The pixel value at each position in this feature map represents the total feature information of the paired positions in the multi-scale feature maps output by the two sub-networks. F diff yes and The feature map is obtained by performing pixel-by-pixel subtraction and convolution. The pixel value at each position in this feature map represents the difference feature information of the paired positions in the multi-scale feature maps output by the two sub-networks. F mul yes and The feature map is obtained by performing pixel-by-pixel multiplication and convolution operations;
[0049] If F mul If a pixel value at a certain location is negative, it means... and In F, the signs (positive and negative) of elements at the same position are opposite. mul The region identified as having a negative value (complementary feature region) contains complementary feature information, and F needs to be increased. diff The pixel value at the same position in F; conversely, F mul If a pixel value at a certain location is positive, it means... and Elements at the same position in F have the same sign (positive or negative). mul The regions that are determined to be positive (redundant feature regions) indicate that there is redundant feature information at that location, and there is no need to increase the weight of that location, that is, F will not change. diff The pixel value at the same position in the image.
[0050] Step 403: Apply the step function ε to F mul The positive and negative regions in the image are processed to obtain the binary step difference map F. mul_SF ,
[0051] F mul_SF =ε(F mul (4)
[0052] F mul_SF Used to adjust the difference relationship between pixels across sub-networks, i.e., using F mul_SF For F diff Adjustments are made, followed by convolution processing to complete the adjustment of F. diff Enlarged pixel values in the middle region:
[0053] When F mul When the pixel value at a certain pixel location is negative, it not only indicates that the infrared small target detection model needs to further increase its attention to that pixel, but also suggests setting the pixel value at that location to 1.5; when F mul When the pixel value at a certain pixel position is positive, it not only means that no further adjustment of the pixel value is needed, but also that the pixel value at that point should be set to 1.
[0054] Therefore, the feature difference weighting diagram F after multiple relational trade-offs weightAs shown in the following formula:
[0055] F weight =Conv.b(F mul_SF ×F diff (5)
[0056] The relation-aware feature map F that the global relation-aware module expects to obtain. RAM_map As shown in the following formula:
[0057] F RAM_map =Conv.b(F weight ×F add (6)
[0058] Through relation-aware feature map F RAM_map This enables targeted weighted adjustments to pixels in different regions across sub-network feature maps;
[0059] After completing the above calculations, the final fused feature map F final_output It is obtained from the following formula:
[0060] F final_output =F RAM_map +F Sub-net1 +F Sub-net2 (7)
[0061] F final_output After binarization, the final infrared small target saliency prediction map can be obtained. Compared with the final prediction maps of subnetwork 1 and subnetwork 2, the fused prediction map has a more refined target prediction capability and a stronger target-background discrimination capability. Therefore, the fused prediction map is output to complete the prediction of infrared small targets.
[0062] Step 5: Set training hyperparameters, train the built model, acquire real infrared images, use the data inversion enhancement strategy mentioned in this invention to generate paired brightness inversion enhanced images of the real infrared images, input the two images into the trained infrared small target detection model, and output the final prediction result.
[0063] like Figure 2The images show a comparison of the infrared small target detection performance of this embodiment with other methods in infrared scenes. Solid circles indicate real targets, squares show magnified details of the real target area, and dashed circles indicate false detections. While traditional model-driven methods perform well for 'point' targets, false alarms are severe when there are bright background areas, as shown in images-2,-4, and-6. For 'shape' targets, although the location can be predicted in most cases, the shape matching is poor, and contour information is significantly lost. Deep learning-based methods, benefiting from their excellent feature learning capabilities, achieve relatively effective discrimination in bright areas, but false alarms still occur in easily confused background areas, as shown in images-4 and-6. For 'shape' targets, due to insufficient acquisition of high-level semantic information, contour reconstruction is poor, as seen in images-3 and-4. The comparison images demonstrate that the method of this invention can achieve effective detection of 'point' targets and precise prediction of 'shape' target contours with low false alarm rates.
[0064] To demonstrate the applicability of the proposed two-stream model framework to other existing deep learning methods, such as... Figure 3 As shown in the image, the visualization results compare the dual-stream infrared small target detection model with the original model. It can be seen that the model improves upon false alarms and missed detections within the dual-stream framework. Furthermore, as shown in images 3 and 4, for targets with specific outlines, the dual-stream data input optimization significantly enhances the original model's ability to model targets, predicting targets that more closely approximate the fine outline of the ground truth (GT). This indicates that the model's ability to learn semantic information from input samples has been further enhanced.
[0065] Beyond intuitive comparisons, this invention also objectively analyzes the quantitative effectiveness of its method using two pixel-level metrics: Intersection over Union (IoU) and normalized Intersection over Union (nIoU), and two target-level metrics: Probability of Detection (Pd) and False-Alarm Rate (Fa). IoU, widely used in segmentation-based tasks, is calculated by dividing the intersection of the actual pixel value and the predicted pixel value by their union. Its calculation unit is a specific target in each test image, primarily representing the model's prediction level of target contour refinement. nIoU is a metric designed to better balance model-driven and deep learning methods; its calculation unit is a specific image, normalizing multiple targets in the image to a single target. Pd represents the ratio of correctly predicted targets to the total number of targets, indicating the accuracy of target location prediction. Fa represents the ratio of incorrectly predicted pixels to the total number of pixels in the image, representing the model's ability to predict falsely detected targets; a lower value for this metric is better. Table 1 presents the quantitative results. Overall, thanks to the powerful feature learning capabilities of deep neural networks, deep learning methods significantly outperform model-driven methods in all four metrics. This is because infrared datasets contain challenging images with varying signal-to-noise ratios, clutter backgrounds, and target types. Deep learning methods exhibit strong robustness to scene changes, while model-driven methods rely on manually designed features, leading to numerous false positives and false negatives when faced with diverse scenarios. Furthermore, it can be observed that deep learning methods significantly improve pixel-level performance more than model-driven methods in terms of target-level performance. This is because traditional methods primarily focus on overall target localization rather than precise shape matching, resulting in poor performance at the pixel level. Shape matching is equally important for infrared target detection. The IoU and nIoU metrics demonstrate that the dual-stream framework model in this invention significantly improves the shape matching accuracy of the original model, thereby obtaining more refined target contour information. The model under the dual-stream framework shows a significant improvement in performance compared to the original model. Furthermore, the method described in this invention achieves the best performance across all metrics compared to other deep learning methods on this test set. This is because the dual-stream data input allows the model to learn richer target and scene semantic information without increasing network depth or affecting target resolution, fully utilizing the limited amount of infrared target data. Moreover, through the pixel-by-pixel perceptual fusion mechanism in this invention, pixels at the same position in the output feature map of the sub-network are selectively fused and enhanced, helping the model better distinguish between the target and the background, refine target edges, and further improve the robustness of the original model to scene changes. Table 1 shows the image quality evaluation results.
[0066] Table 1
[0067]
[0068]
[0069] In summary, this invention realizes a novel infrared small target detection and recognition technology, designed using a deep learning model based on a dual-stream network architecture. This model combines two structurally identical deep sub-networks, processing the original infrared image and its orthogonally paired image enhanced by brightness inversion, thereby improving the utilization efficiency of limited infrared samples. By implementing information fusion between adjacent and cross-layers within the sub-networks and performing multi-scale pixel-by-pixel perceptual fusion between sub-networks, this method can effectively capture high-level semantic information of infrared small targets without increasing network depth or reducing the feature resolution of small targets. Furthermore, this technology can significantly reduce the false alarm rate of false targets in background noise while ensuring high-precision target contour acquisition, further improving the accuracy and reliability of the detection effect.
[0070] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0071] This invention is not limited to the embodiments described above. The above description of specific embodiments is intended to illustrate and explain the technical solutions of this invention. The specific embodiments described above are merely illustrative and not restrictive. Without departing from the spirit and scope of the claims, those skilled in the art can make many specific modifications based on the teachings of this invention, and these modifications all fall within the scope of protection of this invention.
Claims
1. A method for detecting small infrared targets based on a two-stream deep neural network architecture, characterized in that, The method includes the following steps: S1, perform brightness inversion and enhancement on the original infrared image to obtain a pair of original infrared images and infrared inverted enhanced images, construct a pair of infrared small target detection datasets, and divide them into training set, validation set and test set; S2, Construct a dual-stream neural network, which consists of two single-stream sub-networks with the same structure. Construct a dual-stream infrared small target detection model under the dual-stream neural network framework. In each iteration, the dual-stream infrared small target detection model under the dual-stream neural network framework simultaneously inputs an orthogonal paired image of the same infrared scene, which is composed of the original infrared image and the brightness inversion enhancement image. S3 extracts infrared small target features from the two sub-networks respectively, and performs nested feature fusion on the adjacent and cross layers of the hidden layers of each sub-network to obtain and output a multi-scale feature map with rich high-level semantic features of small targets, including the feature map of the original infrared image and the feature map of the brightness inversion enhanced image. S4, perform pixel-by-pixel perceptual fusion on the pixels at the same position in the multi-scale features output by the two sub-networks, calculate the total feature information and difference feature information of the paired positions in the output multi-scale feature map, capture the complementary feature regions and redundant feature regions between the two sub-networks, amplify and adjust the pixel values for the complementary feature regions, obtain the fused feature map through the relational perceptual feature map, and obtain the infrared small target saliency prediction map after binarization of the fused feature map.
2. The infrared small target detection method based on a dual-stream deep neural network architecture according to claim 1, characterized in that, S1 further includes: Acquire raw infrared images using an infrared camera. raw Using a pure white image I where each pixel value is 255 white with I raw By subtracting the values, we obtain the initial brightness-inverted image I'. reverse , I' reverse =I whrite -I raw ; Give I' reverse and I white Weighting coefficients α and β are set separately, and the mixture is fused according to the weighting coefficient ratio to achieve I raw The final brightness is reversed; For the initial brightness inverted image I' reverse Perform F enhance Enhancement processing yields an infrared inversion enhanced image I. reverse The expression is as follows: I reverse =F enhance (αI' reverse ×βI white )。 3. The infrared small target detection method based on a two-stream deep neural network architecture according to claim 1, characterized in that, S3 further includes: Configure a densely nested module, setting multiple nodes in the path between the encoder and decoder of the two sub-networks, with the nodes tightly connected to form a nested network; Configure channel and spatial attention weighting modules, assign adaptive channel attention weights and spatial attention weights to each pixel, and use the channel attention weights and spatial attention weights to adaptively enhance the fusion features of each layer of the densely nested modules; Configure a feature pyramid to connect shallow features rich in spatial information and deep features rich in semantic information to generate a robust feature map.
4. The infrared small target detection method based on a two-stream deep neural network architecture according to claim 1, characterized in that, The nested feature fusion in S3, which involves the adjacent and cross-layer features of each sub-network hidden layer, specifically includes multiple, multi-scale feature fusions performed by the nested network when upsampling or downsampling the input image. This includes nested feature fusion where all large-scale images are downsampled and fused with small-scale images, and all small-scale images are upsampled and fused with large-scale images.
5. The infrared small target detection method based on a two-stream deep neural network architecture according to claim 1, characterized in that, The configuration channel and spatial attention weighting module further include: Channel attention weighting is performed, including: The input feature map is subjected to max pooling and average pooling in the spatial dimension to obtain two C×1×1 output images, where C is the number of image channels and 1×1 is the height and width of the image. The two output images are sent to a multilayer perceptron, which then outputs two feature maps. The two feature maps output by the perceptron are added together and then fed into the Sigmoid function to generate weights at the channel C level, thus obtaining the channel attention weights assigned to each channel level. The feature map after channel attention processing is then subjected to spatial attention weighting processing, including: The input feature map is processed by max pooling and average pooling in the channel dimension to compress the channels and obtain two 1×H×W feature maps, where 1 is the number of channels of the feature map, H is the height of the feature map, and W is the width of the feature map. The two processed feature maps are concatenated along the channel dimension to obtain two 2×H×W feature maps. The concatenated result is convolved to obtain a 1×H×W feature map. Then, the spatial weights are obtained through the Sigmoid function, thus obtaining the spatial attention weights assigned to each pixel.
6. The infrared small target detection method based on a dual-stream deep neural network architecture according to claim 1, characterized in that, S4 further includes: Construct a normalization module, and use the normalization module to normalize the output F of the two sub-networks. Sub-net1 F Sub-net2 After passing through a shared convolutional module, they are mapped to the same feature space, as shown in the following formula: in, It is F Sub-net1 The mapping feature map, It is F Sub-net2 The mapped feature map, where θ is the parameter of the shared convolutional module; Construct a global relation awareness module, and use the global relation awareness module to... and By performing pixel-by-pixel addition, subtraction, and multiplication operations, the corresponding pixels in the output feature maps of the two sub-networks are added, subtracted, and multiplied. The specific formulas are as follows: Where Conv.b represents the convolutional layer and batch normalization operation, F add It is a feature map containing the total feature information of paired positions in the multi-scale feature maps output by the two sub-networks, F. diff It is a feature map about the difference in feature information of paired positions in the multi-scale feature maps of the outputs of the two sub-networks, F. mul yes and Difference feature map; F mul Regions that are determined to be positive in F are considered redundant feature regions; conversely, regions that are negative in F are considered redundant feature regions. mul The regions that are determined to have negative values are complementary feature regions; Using the step function ε to adjust F mul The positive and negative regions in the image are processed to obtain a binary step difference feature map F. mul_SF The specific formula is as follows: F mul_SF =ε(F mul ) Then, the feature difference weight map F after multi-relationship tradeoff is obtained. weight The specific formula is as follows: F weight =Conv.b(F mul_SF ×F diff ) Use F mul_SF For F diff The weights are adjusted by adding weights, and then convolution is performed to complete the process for F. diff Pixel values are magnified and adjusted in complementary feature regions. The relation-aware feature map F obtained by the global relation-aware module is obtained. RAM_map As shown in the following formula: F RAM_map =Conv.b(F weight ×F add ) Fusion Feature Map F final_output As shown in the following formula: F final_output =F RAM_map +F Sub-net1 +F Sub-net2 The final fused feature map F final_output After binarization, the final infrared small target saliency prediction map is obtained.
Citation Information
Patent Citations
Design method of interpretable multi-scale infrared weak and small target detection network
CN114998566A
Infrared small target detection method based on double-flow enhanced network
CN115565034A
