A method for infrared small target detection based on step-by-step interactive attention and pixel feature enhancement network
By introducing ladder interactive attention and pixel feature enhancement network into infrared small target detection, the problems of insufficient feature interaction and inaccurate context perception in the existing technology are solved, and higher detection accuracy and robustness are achieved.
Patent Information
- Application Number
- CN202410809643.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-21
AI Technical Summary
Existing infrared small target detection methods based on CNNs lack the ability to encode comprehensive attributes of the target, resulting in loss of spatial information, insufficient feature interaction, and inaccurate context perception of deep targets and backgrounds, making it difficult to effectively detect the difference between small targets and the background.
Adopts a network structure based on ladder interactive attention and pixel feature enhancement, and fuses the attention module and pixel feature enhancement module through non-local channels to promote semantic interaction of different levels of features and image long-distance context learning, combined with multi-dimensional feature fusion and deep supervision strategies , enhance feature representation and network robustness.
It significantly improves the accuracy and robustness of infrared small target detection, reduces errors caused by low contrast between the target and the background, generates enhanced features with high information density, and improves the accuracy of detection results.
Smart Images

Figure CN118379601B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of infrared small target detection, and in particular to an infrared small target detection method based on step-by-step interactive attention and pixel feature enhancement network. Background Art
[0002] Infrared small target detection plays an important role in the separation of small targets from complex scene backgrounds, such as traffic monitoring, maritime rescue, and target warning. The challenges brought by the dynamic characteristics of the scene have attracted considerable research attention in single-frame infrared small target detection. Early methods in this direction adopted image filtering, the human visual system, and low-rank approximation techniques, while relying on complex manual feature design, empirical observations, and model parameter fine-tuning. However, these methods show poor robustness due to the lack of reliable high-level understanding of the overall scene. Recently, learning-based methods have become increasingly popular due to their powerful data-driven feature mining capabilities, among which U-shaped neural network structures have been prominently used. These networks consist of an encoder, a decoder, and long-range skip connections. Subsequently, feature fusion strategies have been widely adopted in the infrared small target detection task. Some recent methods promote the transfer of beneficial features to the decoder component by improving skip connections.
[0003] Despite the satisfactory results, the above CNNs-based methods lack the ability to encode the comprehensive attributes of the target and lose their discriminative features. First, the infrared small targets are small in size and show limited features, and multiple downsampling processes inevitably lead to the loss of spatial information. This greatly affects the feature interaction between layers in the network, and ultimately leads to insufficient encoding of global semantic information. Second, simple skip links and dense nested modules are not enough to enhance the response of features to the decoder. There is a semantic difference between the output features of the encoder and the input features of the decoder, making it difficult to establish the mapping relationship from infrared images to separated spaces. Finally, the long-distance context perception of deep targets and backgrounds is inaccurate. Infrared small targets can be highly similar to the background. A powerful detector must not only perceive the local saliency of the target, but also model the continuity of the background. Summary of the invention
[0004] To solve the above problems, the present invention discloses a method for infrared small target detection based on step-by-step interactive attention and pixel feature enhancement network, which aims to predict the contextual difference between small targets and background in deeper network layers, and specifically includes the following steps:
[0005] S1: Divide the infrared small target image dataset into training set and test set.
[0006] S2: Based on the given training set images , input the training set images into the pre-built infrared small target detection network model backbone network to extract the layers Stage1, Stage2, Stage3, Stage4, and Stage5 to obtain high-level features , ; is the channel dimension, where ; The training set image is a three-channel image, in which H and W represent the height and width of the image respectively; the extraction layer in the S2 backbone network is to extract multi-scale features containing infrared small target images, among which Stage1, Stage2, Stage3, and Stage4 all use ResNet10, in which the number after ResNet represents the number of convolutional layers in the infrared small target detection network model, and Stage5 uses ResNet-10C, where C means that the number of channels will not be changed and only feature extraction is performed.
[0007] S3: High-level features extracted by the backbone network , these high-level features are input into the step-by-step interactive attention module to obtain the output features , ; There are six non-local channel fusion attention modules in the step interaction attention module , .
[0008] S3-1: In the non-local channel fusion attention module, this module aims to adaptively fuse object size and features, promote semantic interaction between features at different levels, and learn the relevance of long-distance context of images; for the fusion attention module Accept the features respectively ( , ), , ), , ) information, which can be responsible for capturing the long-distance dependencies between features, strengthening the model's ability to learn the associations between different parts of the image, and outputting features , for the feature Directly the output feature of the step interaction attention module, for other output features , , will be input to the remaining non-local channel fusion attention modules The output features are obtained , ;This fusion strategy enables the gradual aggregation and refinement of features to enhance the identification ability of features. It not only contains the information of the current layer, but also integrates the information of the deeper layer. The final output feature With the original advanced features Same spatial dimensions , This keeps the overall features of the network aligned.
[0009] S4: The output features of the step interaction attention module and high-level features extracted by the backbone network The residual connections are used for addition fusion, and then they are input into the pixel feature enhancement module to obtain enhanced features. , .
[0010] S4-1: Additive fusion is performed through residual connection to enhance the network's ability to retain information and avoid information loss during transmission; then they are input into the pixel feature enhancement module, which is designed to refine the features through pixel-by-pixel operations and fuse global space and local channel information in a multi-scale environment, thereby significantly improving the network's ability to capture and express image features; that is, for the input features , will be processed and optimized separately. In the pixel feature enhancement module, these features are processed to enhance their representation capabilities. The purpose is to use spatial and channel information to increase the network's sensitivity to image details and structures, and obtain enhanced features. , , showing the compression of feature space and increase of information density after module optimization.
[0011] S5: Combine the enhanced features output by the pixel enhancement module with the high-level features extracted by the backbone network and high-level features extracted by the backbone network ,Right now ; Input the features from different levels of the network into the multi-dimensional feature fusion module respectively, and use cross attention convolution (CAC) and two CBL (Cnvolution + BatchNorm + LeakeyReLU) blocks to obtain the fused feature map ,at this time .
[0012] S5-1: Cross-attention convolution achieves effective fusion between deep features and bottom-level features by analyzing feature maps of two different dimensions, generating a fused feature map containing both feature information; specifically, cross-attention convolution accepts high-level features from the previous layer and enhanced features from the current layer as input, for example: , , , ; After each CAC operation, the output feature map will be further processed by two consecutive CBL blocks; each CBL includes a convolution operation, a batch normalization (BanchNorm) and a LeakeyReLU activation function; this combination not only strengthens the nonlinear processing capability of the model, but also improves the training stability and generalization ability of the network. The role of each CBL block in the decoding process is to further refine and enhance the feature map generated by CAC and output the final fused feature map , ;
[0013] Right now: .
[0014] S6: In order to improve the efficiency of gradient propagation and feature representation, a multi-scale deep supervision strategy is adopted to optimize the deep learning network. ,at this time ,use Convolution and Simgmoid function to obtain saliency map , the mathematical expression is: .
[0015] S6-1: Generated saliency map For those low-resolution saliency maps Upsampling is performed to expand its size to the same size as the original image; this step is to ensure that the network can effectively learn at multiple scales and improve feature identification through fine spatial resolution;
[0016] Next, the performance of the network is optimized by calculating the binary cross-entropy (BCE) loss between all saliency maps and the true value (Y); specifically, for the first saliency map Calculate the loss directly: ; For the subsequent saliency map ;
[0017] First, upsample Perform upsampling and then calculate the loss ; The final overall loss function It is composed of the weighted sum of each individual loss, with the weight of each loss term ; here are all set to 1, and the expression is: ;in , Represents the loss between each saliency map and the true label; It means to accumulate all items in i from 1 to 5. This deep supervision method can significantly improve the learning efficiency and accuracy of the network for image features, thereby achieving better performance in various image processing tasks.
[0018] S7, test set images As the input of the trained infrared small target detection network model, the final infrared small target detection result is obtained.
[0019] Compared with the prior art, the technical solution of the present invention has the following technical effects:
[0020] 1. The present invention can effectively improve the accuracy of prediction and has good reliability and robustness. In the present invention, six non-local channel fusion attention modules are embedded in the step interaction attention module, which not only promotes the semantic interaction between features at different levels, but also learns the correlation of long-distance context of the image. The non-local channel fusion module can strengthen the model's learning of the correlation between different parts of the image and reduce errors caused by low contrast between the target and the background.
[0021] 2. The output features of the step interaction attention module are added and fused with the high-level features of the backbone network through residual connection, which strengthens the network's ability to retain information during feature transmission and avoids the problem of information loss in deep networks; the pixel feature enhancement module adds a pixel feature per input feature. + Separate processing and optimization are provided, enhancing the network's sensitivity to image details and structures.
[0022] 3. The present invention uses gradually refined feature processing and enhancement strategies to ultimately output enhanced features with higher information density, which helps to generate more accurate target detection results. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] FIG1 is an overall flow chart of an implementation method of an infrared small target detection method based on step-by-step interactive attention and pixel feature enhancement network of the present invention;
[0024] FIG2 is a flowchart of an implementation of a non-local channel fusion attention module according to an embodiment of the present invention;
[0025] FIG3 is a flowchart of an implementation of a pixel feature enhancement module according to an embodiment of the present invention;
[0026] FIG. 4 is a diagram showing the detection results of a portion of images of an infrared small target data set using four mainstream infrared small target detection models and the method of the present invention in a comparative experiment of an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. It should be noted that the words "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to directions in the accompanying drawings, and the words "inner" and "outer" refer to directions toward or away from the geometric center of a specific component, respectively.
[0028] Figure 1 The overall flow chart of the implementation of the network infrared small target detection method based on step-by-step interactive attention and pixel feature enhancement of the present invention is as follows: Figure 1 As shown in Figure 1, the infrared small target detection network model of this embodiment includes a backbone network, a step interaction attention module, a pixel feature enhancement module, and a multi-dimensional feature fusion module. ResNet is used as the backbone network to extract high-level features containing infrared small targets. , The input sizes of the infrared small target training set images vary. Unlike ordinary objects, the infrared images of small objects are usually obtained from a long distance, and the size of the objects is usually less than 30×30 pixels. Therefore, ResNet is selected as the backbone network, which can balance the three dimensions of network depth, network width and resolution, thereby effectively improving the feature extraction capability; the step interaction attention module adaptively fuses the object size and features, promotes the semantic interaction between features at different levels, and learns the correlation of long-distance context of images; the pixel feature enhancement module refines the feature map through pixel-by-pixel operations, and fuses the global space and local channel information in a multi-scale environment, thereby significantly improving the network's ability to capture and express image features; the multi-dimensional feature fusion module performs feature fusion from high dimension to low dimension, which helps to retain the enhanced target information and improve the training stability and generalization ability of the network.
[0029] A method for detecting small infrared targets based on step-by-step interactive attention and pixel feature enhancement network in this embodiment includes the following contents:
[0030] Step 1: Divide the image data set of small infrared targets into a training set and a test set;
[0031] Step 2: According to the given training set images, the training set images Input into the pre-built infrared small target detection network model backbone network to extract the layers Stage1, Stage2, Stage3, Stage4, and Stage5 to obtain advanced features , .in is the channel dimension; ; The training set images are three-channel images, where H and W represent the height and width of the image respectively;
[0032] In the embodiment of the present invention, the feature extraction layers Stage1, Stage2, Stage3, Stage4, and Stage5 in the backbone network are ResNet models, which belong to the encoder stage. The encoder is responsible for gradually reducing the feature space resolution and extracting feature representations at a higher level of abstraction. It consists of a series of convolutional layers and pooling layers to gradually reduce the size of the feature map. Stage1, Stage2, Stage3, and Stage4 all use ResNet-10. The number after ResNet indicates the number of convolutional layers in the model, while Stage5 uses ResNet-10C. C means that the number of channels will not be changed, that is, only feature extraction is performed.
[0033] Step 3: Extract high-level features from the backbone network These high-level features are input into the step interaction attention module, which has six non-local channel fusion attention modules. , . Get output features , .
[0034] In the embodiment of the present invention, in the non-local channel fusion attention module, the module aims to adaptively fuse the object size and features, promote the semantic interaction between features at different levels, and learn the relevance of the long-distance context of the image. Accept the features respectively ( , ), , ), , ) information, which can be responsible for capturing the long-distance dependencies between features, strengthening the model's ability to learn the associations between different parts of the image, and outputting features , for the feature Directly the output feature of the step interaction attention module, for other output features , , will be input to the remaining non-local channel fusion attention modules The output features are obtained , ;This fusion strategy enables the gradual aggregation and refinement of features to enhance the identification ability of features. It not only contains the information of the current layer, but also integrates the information of the deeper layer. The final output feature With the original advanced features Same spatial dimensions , This keeps the overall features of the network aligned.
[0035] Figure 2 FIG. 1 is a flow chart of the implementation of the non-local channel fusion attention module of an embodiment of the present invention. Figure 2 As shown in the figure, for the non-local channel fusion attention module, it takes two different dimensional features as input, and outputs features with higher information density through gradually refined feature processing. Specifically: The starting point of the non-local channel fusion attention module is to calculate the local spatial channel similarity between the single-pass feature and the multi-layer feature, and the global semantics has been established. Therefore, 4 input tags are used As the query value, a high-dimensional feature information is used as the key and value. For example: based on two input feature maps , after the normalization layer, using convolution to incorporate pixel-by-pixel cross-channel context, and then apply This is done by using depthwise convolution to capture local spatial context. Mathematically speaking:
[0036] ;in, yes Point-wise convolution, yes The depth convolution, LN represents the normalization layer. and Reshape into and ; The non-local channel fusion attention module process is defined as follows:
[0037] ,
[0038] ;
[0039] in, is the output of the non-local channel fusion attention module; Represents the covariance-based attention map at different levels; Represents an instantiation normalization operation; means converting the elements in the matrix into probability distribution form; and is an optional temperature factor defined as .
[0040] Step 4: Output the features of the step interaction attention module , respectively input into the Pixel Feature Enhancement (PFE) module, which refines the feature map through pixel-by-pixel operations, integrates multi-scale and global space-local channel information to enhance the network's ability to represent image features.
[0041] The detailed structure of the pixel feature enhancement module is as follows: Figure 3 As shown in Figure 1, the module performs feature enhancement at each level through two complementary stages. Initially, it uses multi-scale deep convolution to enhance the spatial response of the target domain and summarizes nonlinear information across channels at the pixel level, refining the feature map through pixel-by-pixel operations. Subsequently, it estimates the total spatial information channel by channel through global average pooling and creates local cross-channel interactions between different semantic patterns as attention maps. Finally, the enhanced output features are obtained. ;Right now , ; It includes the following steps: First, if a given output tensor ; Refine the feature map pixel by pixel, and model the information at different scales and spatial channels. Specifically, after layer normalization and convolution blocks, the feature map is divided into two branches, using and Deep convolution is used to enhance local spatial information. The above process can be defined as:
[0042] ,
[0043] ;
[0044] in express convolution, Respectively and The depth convolution of It means that the feature vector is divided into two equal parts along the channel dimension. Indicates that layer normalization is performed.
[0045] Then, yes The feature map is divided into two paths. The first path goes directly through Depthwise convolution, the second path passes first Convolution, and then through the Sigmoid function. This dual-path structure allows the richness of spatial features to be maintained in one branch of the network ( The attention map generated by the sigmoid function can highlight important features and suppress unimportant parts. The attention map and feature map obtained by the two paths are multiplied element by element, which ensures that the intensity of each pixel in the feature map corresponds to the attention map. Deep convolution processing , further comprehensively considers the local feature information after multiplication, enhances the feature expression ability and adjusts the spatial information. Feature map Deep convolution , which can enhance the feature representation while maintaining the spatial dimension, making the features more compact and reducing redundant information. It can be defined as:
[0046]
[0047]
[0048] in Respectively and The depth convolution of express convolution, Represents matrix multiplication.
[0049] Then, yes and Channel splicing multi-scale features restores the original dimension and performs Convolution ; Secondly, the total spatial information of the feature is approximated based on the global average pooling (GAP) of the spatial dimension. That is, given an input feature , the size is , where H is the height, W is the width, and c is the number of channels. For each channel c, the formula for global average pooling is:
[0050] ;
[0051] in, represents the global average pooling operation, Indicating features Indicating features For each channel, the global average pooling operation takes the average value of all elements on the channel as the global average pooling value of the channel, and finally obtains a size of The feature vector represents the information of the entire feature map.
[0052] Then a one-dimensional convolution of size 3 is used to capture the local area channel information of the spatial compression feature as shown below:
[0053]
[0054] in, is matrix multiplication; is a one-dimensional convolution of size 3. It is the input feature of the pixel feature enhancement module; It is the output feature of the pixel feature enhancement module; Represents global average pooling. By fusing complementary spatial and channel information, IFE enhances the representation of features in terms of target localization and background global continuity.
[0055] Step 5: Enhance the features output by the pixel enhancement module , the input multi-dimensional feature fusion module fuses features from different levels of the network, using cross-wise attention convolution (CAC) and two CBL blocks to obtain the final fusion feature map .
[0056] Cross-attention convolution achieves effective fusion between deep features and bottom-level features by analyzing feature maps of two different dimensions, generating a fused feature map containing both feature information. Specifically, cross-attention convolution accepts high-level features from the previous layer and enhanced features from the current layer as input, for example: , , , After each CAC operation, the output feature map is further processed by two consecutive CBL blocks. Each CBL includes a convolution operation, a batch normalization (BanchNorm), and a LeakeyReLU activation function. This combination not only enhances the nonlinear processing capability of the model, but also improves the training stability and generalization ability of the network. During the decoding process, the role of each CBL block is to further refine and enhance the feature map generated by CAC and output the final feature map. , Right now:
[0057]
[0058] The cross-attention convolution process effectively integrates feature map information of different dimensions and enhances the model's ability to represent complex data distribution. That is: , specifically expressed as:
[0059]
[0060] Among them, the sizes of feature maps X and Y are , H represents height, W represents width, Represents the number of channels; represents the combination of convolution and ReLU, Represents matrix multiplication; and The sizes are and , Indicates converting the elements in the matrix into probability distribution form; The size of is the same as the input feature map, that is, .
[0061] Step 6: In order to improve the efficiency of gradient propagation and feature representation, a multi-scale deep supervision strategy is adopted to optimize the deep learning network. In this strategy, for each feature output of the network ,use The convolution kernel is processed and the corresponding saliency map is generated through the Sigmoid activation function. , the mathematical expression is:
[0062]
[0063] In the generated saliency map For those saliency maps with lower resolution , upsampled to the same size as the original image. This step is to ensure that the network can learn effectively at multiple scales and improve the identification of features with fine spatial resolution. Next, the performance of the network is optimized by calculating the Binary Cross-Entropy (BCE) loss between all saliency maps and the true value (Y). Specifically, for the first saliency map Calculate the loss directly: ; For the subsequent saliency map , first upsample , and then calculate the loss: ; The final overall loss function is composed of the weighted sum of each individual loss, and the weight of each loss term is ; here are all set to 1, and the expression is: ;in ; Represents the loss between each saliency map and the true label; It means to accumulate all items in i from 1 to 5. This deep supervision method can significantly improve the learning efficiency and accuracy of the network for image features, thereby achieving better performance in various image processing tasks.
[0064] Finally, take the test set images As the input of the trained infrared small target detection network model, the final infrared small target detection result is obtained.
[0065] In order to verify the effectiveness of the present invention, the present invention is tested with four mainstream infrared small target detection models ACM, ALCNet, DNANet, and SCTransNet on some images of the infrared small target dataset NUAA-SIRST, and compared with the infrared small target prediction results of the present invention.
[0066] As shown in the following table, it is a comparison table of image detection indicators on infrared small target data sets of four mainstream infrared small target detection models and the method of the present invention in the comparative experiment of the embodiment of the present invention; the method proposed by the present invention is almost superior to the comparative method.
[0067]
[0068] In the embodiments of the present invention, several standard indicators are used to compare the method of the present invention with four mainstream methods.
[0069] (1) Pixel Accuracy (PA) is the ratio of correctly marked pixels to the total pixels.
[0070]
[0071] (2) Mean Intersection over Union (mIoU), which calculates the ratio of the intersection and union of two sets.
[0072]
[0073] in, and They represent the sizes of the intersection area and the union area respectively, and N is the number of samples; Indicates the number of real pixels, and Represent the true value and the predicted number of positive pixels respectively.
[0074] (3) Probability of Detection (PD), PD is the correctly predicted target With all targets The ratio of, that is:
[0075] (4) False-Alarm Rate (FA), FA is the ratio of the incorrectly predicted target pixels to all pixels in the image, that is: .
[0076] Combination Figure 4 As shown, GT represents the infrared small target saliency label, and Our represents the infrared small target detection result of the present invention. By comparison, it can be seen that the present invention can effectively detect infrared small targets and improve the accuracy of infrared small target detection.
[0077] The technical means disclosed in the scheme of the present invention are not limited to the technical means disclosed in the above-mentioned implementation mode, but also include technical schemes composed of any combination of the above technical features.
Claims
1. A method for infrared small target detection based on step-by-step interactive attention and pixel feature enhancement network, It is characterized in that The specific steps include: S1. Divide the image dataset of small infrared targets into a training set and a test set; S2, according to the given training set image , input the training set images into the pre-built infrared small target detection network model backbone network to extract the layers Stage1, Stage2, Stage3, Stage4, and Stage5 to obtain high-level features , ; is the channel dimension, where ; The training set image is a three-channel image, where H and W represent the height and width of the image respectively; the extraction layer in the S2 backbone network is to extract multi-scale features of the infrared small target image, where Stage1, Stage2, Stage3, and Stage4 all use ResNet10, where the number after ResNet represents the number of convolutional layers in the infrared small target detection network model, and Stage5 uses ResNet-10C, where C means that the number of channels is not changed and only feature extraction is performed; S3. Extract high-level features from the backbone network , these high-level features are input into the step-by-step interactive attention module to obtain the output features , ; There are six non-local channel fusion attention modules in the step interaction attention module , ; The S3 in the non-local channel fusion attention module is for the fusion attention module Accept the features respectively ( , ), , ), , ) information, responsible for capturing the long-distance dependencies between features and outputting features , for the feature Directly the output feature of the step interaction attention module, for other output features , , will be input to the remaining non-local channel fusion attention modules The output features are obtained , The final output features With the original advanced features Same spatial dimensions ; This keeps the overall features of the network aligned; S4. Output features of the step interaction attention module and high-level features extracted by the backbone network The residual connections are used for addition fusion, and then they are input into the pixel feature enhancement module to obtain enhanced features. , ; After addition fusion through residual connection in S4, they are input into the pixel feature enhancement module respectively. , will be processed and optimized separately. In the pixel feature enhancement module, these features are processed to enhance their representation capabilities and obtain enhanced features. , ; S5: Combine the enhanced features output by the pixel enhancement module with the advanced features extracted by the backbone network and high-level features extracted by the backbone network ,Right now ; Input the features from different layers of the network into the multi-dimensional feature fusion module respectively, and use cross attention convolution and two CBL blocks to obtain the fused feature map ,at this time ; The S5 adopts cross-attention convolution and two CBL blocks; specifically, the cross-attention convolution accepts the deep features from the next layer and the enhanced features of the current layer as input; after each CAC operation, the output feature map will be further processed by two consecutive CBL blocks; each CBL includes a convolution operation, a batch normalization and a LeakeyReLU activation function; the role of each CBL block in the decoding process is to further refine and enhance the feature map generated by CAC, and output the final fused feature map , ;Right now: ; S6. Use a multi-scale deep supervision strategy to optimize the network; for the fusion feature map output by the network ,at this time ,use Convolution and Simgmoid function to obtain saliency map , and deeply supervise it through the binary label map of the infrared small target; S6 is for the fusion feature map output by the network ,use The convolution kernel is processed and the corresponding saliency map is generated through the Sigmoid activation function. , the mathematical expression is: ; In the generated saliency map For those low-resolution saliency maps , up-sampled to expand its size to the same size as the original image; then the performance of the network is optimized by calculating the binary cross entropy loss between all saliency maps and the true value Y; specifically, for the first saliency map Calculate the loss directly: ; For the subsequent saliency map , first upsample ; Calculate the loss again: ; The final overall loss function It is composed of the weighted sum of each individual loss, with the weight of each loss term ; are all set to 1, and the expression is: ;in, , Represents the loss between each saliency map and the true label; It means to accumulate all items from 1 to 5; S7, test set images As the input of the trained infrared small target detection network model, the final infrared small target detection result is obtained.
