Object-level infrared-and-visible-light image fusion method based on fully convolutional neural network

By using a fully convolutional neural network and non-subsampled shearlet transform combined with regional energy and maximum weighted average strategies, the infrared-visible light image is fused at the target level, which solves the problems of information loss and edge smoothness in traditional methods, and achieves high performance. Quality image fusion.

WO2024174488A1PCT designated stage expired Publication Date: 2024-08-29YUXI POWER SUPPLY BUREAU OF YUNNAN POWER GRID

Patent Information

Application Number
PCT/CN2023/115232
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2023-08-28
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Traditional infrared-visible light image fusion methods have problems with noise and artifacts. The absolute value method leads to information loss, and the weighted average method leads to uneven edges and loss of local features, which affects the quality of the fused image.

Method used

A target-level fusion method based on a fully convolutional neural network is adopted, multi-scale and multi-directional decomposition is performed through non-subsampled shearlet transform, and low-frequency and high-frequency subbands are fused by combining regional energy and maximum weighted average strategies. The improved The FCN model extracts multi-layer features and performs maximum weighted average fusion, and finally performs NSST inverse transformation to obtain the fused image.

Benefits of technology

It improves the degree of information retention and the resolution and clarity of the fused image, overcomes the problem of blurred image edge features, and achieves high-quality image fusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023115232_29082024_PF_FP_ABST
    Figure CN2023115232_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of image processing, and particularly relates to an object-level infrared-and-visible-light image method based on a fully convolutional neural network (FCN). The method comprises: decomposing source images into low-frequency sub-bands and high-frequency sub-band images by using non-subsampled shearlet transform (NSST); fusing the low-frequency sub-bands according to regional energy and a fusion rule; extracting multi-scale features from the high-frequency sub-band images by using an improved FCN model, so as to generate a feature mapping map; fusing high-frequency sub-bands by using a maximum weighted average fusion strategy; and performing inverse NSST on the fused high-frequency sub-band and the fused low-frequency sub-band, so as to obtain a fused image. In the design of the present invention, an FCN model can perform pixel-level feature extraction, such that the problem of edge features of an image being fuzzy can be overcome; moreover, a fully-connected layer calculation mode is not used, and therefore the input of any pixel size can be accepted, such that calculation is performed in a more efficient manner, and a high-quality fused image having a relatively good resolution and definition is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Infrared-visible image object-level fusion method based on fully convolutional neural network Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to an infrared-visible light image target-level fusion method based on a fully convolutional neural network. Background Art

[0002] Traditional image fusion processes the global feature information of the image, including complex and unnecessary background information, which may introduce a lot of noise and artifacts and consume a lot of time.

[0003] Although traditional image fusion also fuses high- and low-frequency sub-bands, existing technologies still present numerous challenges. For example, low-frequency sub-bands contain the majority of the source image's energy and retain most of its features. While low-frequency sub-band fusion can be achieved using the absolute value optimization method and weighted averaging, these methods inherently have limitations that affect the quality of the fused image. The absolute value optimization method compares the absolute values ​​of the transform coefficients at the same pixel in the infrared-visible image and selects the coefficient with the larger absolute value as the image coefficient at that pixel. Because this method only considers the absolute value of the pixel transform coefficient and ignores other influencing factors, it can lead to the loss of important information and uneven edges in the fused image. The weighted averaging method integrates the transform coefficients of the visible and infrared images into the fused image using corresponding weights. While this method effectively improves the smoothness of the fused image's edges, it can also lead to the loss of local features, resulting in poor contrast in the fused image.

[0004] In view of this, we propose an infrared-visible image object-level fusion method based on a fully convolutional neural network.

[0005] Summary of the Invention

[0006] The purpose of the present invention is to provide an infrared-visible light image target-level fusion method based on a fully convolutional neural network to solve the problems raised in the above background technology.

[0007] To solve the above technical problems, one of the objectives of the present invention is to provide an infrared-visible light image object-level fusion method based on a fully convolutional neural network, comprising the following steps:

[0008] S1. Use non-subsampled shearlet transform (NSST) to perform multi-scale and multi-directional decomposition on the infrared-visible light source image to obtain low-frequency sub-band coefficients and high-frequency sub-band coefficients. The multi-scale and multi-directional decomposition can fully separate overlapping features at different scales.

[0009] S2, for the low-frequency sub-band coefficients, regional energy and fusion strategy are used for fusion;

[0010] S3. For the high-frequency sub-band coefficients, the improved FCN model is used to extract the multi-layer features of the detail layer to obtain the feature map, and the maximum weighted average fusion strategy is selected to fuse them;

[0011] S4. Perform NSST inverse transformation to obtain the fused image.

[0012] As a further improvement of the present technical solution, in S2, the fusion using regional energy and fusion strategy further includes the following steps:

[0013] The regional energy and algorithm can combine the information of adjacent regions to evaluate the energy of the central element in the region and ultimately select the element with larger energy;

[0014] Based on the regional energy value formula, the regional energy size is calculated to determine the activity level of the fusion coefficient. The greater the energy, the more information is retained.

[0015] The regional energy value formula is:

[0016] Where I represents the pyramid, α and β are the length and width of the neighborhood window respectively, and (i, j) is the center point of the neighborhood;

[0017] The regional energy is used to determine the activity level of the fusion coefficient. The greater the energy, the more information is retained. The fusion coefficient calculation formula is:

[0018] Among them, LF F Indicates the fusion coefficient of infrared-visible light image, LF A Indicates the fusion coefficient of infrared image, LF B Represents the fusion coefficient of the visible light image, E A Represents the regional energy value of the infrared image, E B Represents the regional energy value of the visible light image.

[0019] As a further improvement of the present technical solution, in S3, the fusion of high frequency sub-band coefficients further includes the following steps:

[0020] The high-frequency sub-image mainly contains image edge features and texture detail information, which directly affects the resolution and clarity of the fused image;

[0021] The high-frequency sub-band of the infrared-visible light image is input into the trained FCN model to extract the image depth features and generate a high-frequency sub-band feature map. The high-frequency sub-band weight map is obtained by the maximum weighted average fusion strategy; its calculation formula is: Fsub(i,j)=max(α1sub A +α2sub B );

[0022] Among them, sub A 、sub B Respectively represent the high-frequency sub-images of the input infrared-visible light image, α1 and α2 represent sub A 、sub B The weight value of .

[0023] As a further improvement of the present technical solution, in S3, the FCN model includes: 7 modules for feature extraction, denoted as modules 1 to 7, as well as convolutional layers, relu layers, pooling layers, and deconvolution layers; wherein:

[0024] In each convolutional layer, nonlinear mapping is used alternately to extract features. Online hard-example sample mining is used to relax the constraints on positive and negative samples and expand the scope of the training set. To address the overlap problem of multiple feature maps, linear non-maximum suppression is used to avoid missing target features.

[0025] The ReLU layer is used as the activation function to accelerate the model training process. In modules 1, 2, and 5, the pooling layer is placed after the ReLU layer.

[0026] Extracting basic features such as color, edges, and texture from the shallow layers of the FCN is crucial for fused image quality. To address the problem of these features being easily lost as the network layers deepen, two 1×1 convolutional skip connections are added to the FCN model. This preserves the shallow layer image features while minimizing computational complexity.

[0027] After module 7, three deconvolution layers are added to upsample all learned features to fuse all multi-scale features, and multiple skip structures are added to optimize the results.

[0028] To solve the problem that the result obtained by directly upsampling the full convolution result is relatively rough, it is necessary to optimize the output by upsampling the output results of different pooling layers;

[0029] For some identity functions in a neural network, Skip Layer makes it easier to learn these identity functions without affecting the overall performance of the neural network, thereby improving the overall learning efficiency.

[0030] The Softmax function is then used to calculate the probability distribution of the output block.

[0031] As a further improvement of the present technical solution, in S3, the feature extraction part of the FCN model further includes 7 convolutional layers and 3 pooling layers. To enhance the translation invariance of the input image features, the size of all convolutional layers is set to 3×3 with a step size of 1, and the size of the pooling layer is set to 2×2 with a step size of 2. Image fusion is regarded as a classification problem, and the number of kernels in the deconvolution layer is set to 2. According to the input image size and the upsampling function of the deconvolution layer, the size of the first two deconvolution layers is set to 4×4 with a step size of 2, and the size of the third deconvolution layer is set to 16×16.

[0032] At the same time, in order to effectively avoid the acquisition of redundant information on the encoder and directly focus on the correlation between objects, four different sampling rates of dilated convolution are used in the feature top map, with sampling rates of 6, 12, 18, and 24 respectively. The dilated convolutions with different sampling rates effectively capture multi-scale information and improve the ability to collect information from images.

[0033] As a further improvement of the present technical solution, in S3, the operation on the high frequency sub-band coefficients further includes:

[0034] For target-level fusion, we first use frequency-tuned salient region detection to extract target features from infrared images. This is because the frequency domain of an image is mainly composed of low-frequency and high-frequency parts. The low-frequency part reflects the overall information of the image, while the high-frequency part reflects the detailed information of the target.

[0035] Generate the neighborhood area of ​​the local target based on the high-frequency part information, obtain the width and height of the area, and obtain the feature map;

[0036] The CA attention mechanism module is used to encode the position information of the above-mentioned neighboring regions, and the width and height of the input feature map are globally averaged pooled to obtain feature maps in these two directions respectively;

[0037] The convolution is performed on the dimensionality reduction, and the feature map is input into the sigmoid activation function through normalization to obtain the feature map.

[0038] As a further improvement of the present technical solution, obtaining the feature map through the sigmoid activation function further includes:

[0039] The attention weight formula for the width and height of the feature map is as follows: h =σ(F h (f h )); g w =σ(F w (f w ));

[0040] Among them, F h and F wis the feature map of the original channel, f h and f w is the feature map obtained after sigmoid activation, corresponding to the height and width directions respectively; g h is the attention weight in the height direction, g w is the attention weight in the width direction;

[0041] The weight is used for learning to obtain the weight of the overall fusion graph.

[0042] As a further improvement of this technical solution, in S3, the training of the improved FCN model includes:

[0043] The FCN model uses the stochastic gradient descent method to train the entire network on the deep learning framework tensorflow:

[0044] The model is set to traverse the total data set 100 times, and the weight decay regularization method is used to prevent the model from overfitting. The initial value is set to 0.0001, all bias values ​​are initialized to 0, and the initial learning rate is set to 0.001. During the training process, the learning rate is adaptively adjusted using ReduceLTOnPlateau to improve the accuracy. The model is trained in the PyTorch environment using 1 GPU; the batch size is set to 128, the momentum and weight decay are 0.9 and 0.0005 respectively; the weight update rule is expressed as:

[0045] Among them, v is the momentum variable, l represents the lth iteration, α is the learning rate, and L is the loss function. is the weight w i derivative of the loss;

[0046] The Adam algorithm is used to continuously perform iterative optimization until the global optimal point is found and the best effect is achieved.

[0047] As a further improvement of the present technical solution, in S4, performing an inverse NSST transform to obtain a fused image further includes:

[0048] Let A and B represent infrared-visible light source images of size m×n in the same scene. Source images A and B are both decomposed into low-frequency sub-bands and high-frequency sub-bands by NSST and fused separately.

[0049] High-frequency sub-band fusion is to fuse the feature weight map extracted by FCN, using the maximum weighted average fusion rule;

[0050] The low-frequency sub-band contains most of the energy of the source image and retains most of the features of the source image. The low-frequency sub-band fusion adopts regional energy and fusion rules;

[0051] The fused high-frequency sub-band fusion image and the low-frequency sub-band fusion image are subjected to NSST inverse transformation to obtain the final fusion image.

[0052] As a further improvement of the present technical solution, in S4, performing the NSST inverse transformation to obtain the fused image further includes the following steps:

[0053] The basic image F of the fused image is calculated based on the low-frequency and high-frequency fusion rules. b (x,y) and detail image F d (x, y), reconstruct the two and finally obtain the fused image F(x, y), as shown in the following formula: F(x, y) = F b (x,y)+F d (x,y);

[0054] Among them, F b (x,y) represents the base image of the fused image, F d (x,y) represents the detail image of the fused image.

[0055] As a further improvement of this technical solution, the above.

[0056] The second object of the present invention is to provide an operating platform device for an image target-level fusion method, comprising a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the processor is used to implement the steps of the above-mentioned infrared-visible light image target-level fusion method based on a fully convolutional neural network when executing the computer program.

[0057] The third object of the present invention is to provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the steps of the above-mentioned infrared-visible light image target-level fusion method based on a fully convolutional neural network.

[0058] Compared with the prior art, the present invention has the following beneficial effects:

[0059] 1. This infrared-visible image target-level fusion method based on a fully convolutional neural network can enhance the impact of information retention in the target's neighborhood on model loss, achieving maximum target information fusion in local areas. The proposed target-level fusion not only saves processing time but also enhances the fusion of targeted targets, effectively assisting subsequent recognition and detection tasks.

[0060] 2. In this infrared-visible light image target-level fusion method based on a fully convolutional neural network, the FCN model can perform pixel-level feature extraction, overcome the blurring problem of image edge features, and does not use a fully connected layer calculation method. It can accept input of any pixel size, making it more efficient in calculation and obtaining high-quality fused images with good resolution and clarity. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] FIG1 is a schematic diagram of an exemplary overall image fusion step framework in the present invention;

[0062] FIG2 is a schematic diagram of an exemplary FCN model structure in the present invention;

[0063] FIG3 is a table showing specific parameter settings for a convolutional layer with an exemplary step size of 80 in the present invention;

[0064] FIG4 is a table showing specific parameter settings of a deconvolution layer with an exemplary step size of 80 in the present invention;

[0065] FIG5 is an exemplary high-frequency sub-band feature map of an infrared-visible light image extracted using the FCN model in the present invention;

[0066] FIG6 is a structural diagram of an exemplary electronic computer platform device in the present invention. DETAILED DESCRIPTION

[0067] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0068] Example 1

[0069] As shown in Figures 1 to 5, this embodiment provides an infrared-visible light image object-level fusion method based on a fully convolutional neural network;

[0070] The image fusion framework is shown in Figure 1. The specific operations of image fusion include the following steps:

[0071] S1. Use non-subsampled shearlet transform (NSST) to perform multi-scale and multi-directional decomposition on the infrared-visible light source image to obtain low-frequency sub-band coefficients and high-frequency sub-band coefficients. The multi-scale and multi-directional decomposition can fully separate overlapping features at different scales.

[0072] S2, for the low-frequency sub-band coefficients, regional energy and fusion strategy are used for fusion;

[0073] S3. For the high-frequency sub-band coefficients, the improved FCN model is used to extract the multi-layer features of the detail layer to obtain the feature map, and the maximum weighted average fusion strategy is selected to fuse them;

[0074] S4. Perform NSST inverse transformation to obtain the fused image.

[0075] Specifically, this scheme uses non-subsampled shearlet transform to decompose the source image into low-frequency sub-band and high-frequency sub-band images, fuses the low-frequency sub-bands according to regional energy and fusion rules, uses an improved FCN model to extract multi-scale features of the high-frequency sub-band images, generates feature maps, uses the maximum weighted average fusion strategy to fuse the high-frequency sub-bands, and performs NSST inverse transform on the fused high-frequency and low-frequency sub-bands to obtain a fused image; the FCN model can perform pixel-level feature extraction, overcome the fuzzy problem of image edge features, and does not use a fully connected layer calculation method, can accept input of any pixel size, and is more efficient in calculation, thereby obtaining a high-quality fused image with good resolution and clarity.

[0076] In this embodiment, the FCN model construction and training are as follows:

[0077] First, for model building:

[0078] The network structure plays an important role in the function of convolutional neural networks. This embodiment proposes a new FCN model, which includes a convolutional (conv) layer, a relu layer, a pooling layer, and a deconvolution (deconv) layer. Its structure is shown in Figure 2.

[0079] The feature extraction part of the FCN model consists of seven modules, denoted as modules 1 to 7. In each convolutional layer, nonlinear mapping is used alternately to extract features. The online hard sample mining method is used to relax the constraints of positive and negative samples and expand the scope of the training set. To address the overlap problem of multiple feature maps, the linear non-maximum suppression method is used to avoid missing target features.

[0080] Relu is used as the activation function to accelerate the model training process. In modules 1, 2, and 5, the pooling layer is located after the relu layer.

[0081] Extracting basic image features such as color, edges, and texture in the shallow layers of the FCN is crucial for fused image quality. However, as the network layers deepen, these features are easily lost. To address this issue, two 1×1 convolutional skip connections are added to the FCN model, preserving the shallow network image features while avoiding increased computational complexity.

[0082] After module 7, three deconvolution layers are added to upsample all learned features to fuse all multi-scale features, and multiple skip structures are added to optimize the results.

[0083] Because the result obtained by directly upsampling the full convolution result is relatively rough, it is necessary to optimize the output by upsampling the output results of different pooling layers;

[0084] For some identity functions in a neural network, Skip Layer makes it easier to learn these identity functions without affecting the overall performance of the neural network, thereby improving the overall learning efficiency.

[0085] The Softmax function is then used to calculate the probability distribution of the output block.

[0086] As can be seen from Figure 2, the feature extraction part of the FCN model includes 7 convolutional layers and 3 pooling layers. In order to enhance the translation invariance of the input image features, the size of all convolutional layers is set to 3×3, the stride is 1, and the size of the pooling layer is set to 2×2, the stride is 2; since this embodiment regards image fusion as a classification problem, the number of kernels in the deconvolution layer is set to 2; according to the input image size and the upsampling function of the deconvolution layer, the size of the first two deconvolution layers is set to 4×4, the stride is 2, and the size of the third deconvolution layer is set to 16×16, the stride is 80. The specific parameter settings of the convolutional layer and the deconvolution layer are shown in Table 1 in Figure 3 and Table 2 in Figure 4. Wherein, a horizontal bar indicates that the parameter value does not exist.

[0087] In this operation step, in order to effectively avoid the acquisition of redundant information on the encoder and directly focus on the correlation between objects, four different sampling rates of dilated convolution are used in the feature top map, and the sampling rates are 6, 12, 18, and 24 respectively. Dilated convolutions with different sampling rates can effectively capture multi-scale information and improve the ability to collect information from images.

[0088] Furthermore, for model training:

[0089] During the training phase, the FCN model of this embodiment is trained on the deep learning framework TensorFlow using the stochastic gradient descent method. The model is set to traverse the total data set 100 times, and the weight decay regularization method is used to prevent the model from overfitting. The initial value is set to 0.0001, all bias values ​​are initialized to 0, and the learning rate is initialized to 0.001. During the training process, the learning rate is adaptively adjusted using ReduceLTOnPlateau to improve the accuracy. The model is trained using one GPU in the PyTorch environment. The batch size is set to 128, and the momentum and weight decay are 0.9 and 0.0005 respectively. The weight update rule is expressed as:

[0090] Among them, v is the momentum variable, l represents the lth iteration, α is the learning rate, and L is the loss function. is the weight w i derivative of the loss;

[0091] The Adam algorithm is used to continuously perform iterative optimization until the global optimal point is found and the best effect is achieved.

[0092] Compared to other convolutional neural networks for image fusion, this improved FCN model preserves shallow image features such as color and texture, fuses these shallow features with deeper features, and fully utilizes multi-scale features at different detail levels to improve image fusion quality. The addition of two 1x1 convolutional skip connections to the network structure significantly reduces computational complexity and increases the speed of the fusion algorithm.

[0093] In this embodiment, the image fusion includes the following contents:

[0094] Assume that A and B represent infrared-visible light source images of size m×n in the same scene respectively; the source images A and B are both decomposed into low-frequency sub-bands and high-frequency sub-bands by NSST and fused separately; the high-frequency sub-band fusion is to fuse the feature weight map extracted by FCN, using the maximum weighted average fusion rule; the low-frequency sub-band fusion adopts the regional energy sum fusion rule; the fused high-frequency sub-band fusion image and the low-frequency sub-band fusion image are subjected to NSST inverse transform to obtain the final fused image.

[0095] Furthermore, for low-frequency image fusion:

[0096] Low-frequency subbands contain the majority of the source image's energy and preserve most of its features. Although low-frequency subband fusion can be achieved using the absolute value optimization method and weighted averaging, these methods inherently have limitations that affect the quality of the fused image. The absolute value optimization method compares the absolute values ​​of the transform coefficients at the same pixel in the infrared-visible image and selects the coefficient with the larger absolute value as the image coefficient at that pixel. Because this method only considers the absolute value of the pixel transform coefficient and ignores other influencing factors, it can lead to the loss of important information and uneven edges in the fused image. The weighted averaging method combines the transform coefficients of the visible and infrared images into the fused image using corresponding weights. While this method effectively improves the smoothness of the fused image's edges, it can also lead to the loss of localized features, resulting in poor contrast in the fused image.

[0097] The regional energy sum algorithm can combine information from adjacent regions to evaluate the energy of the central element in the region and ultimately select the element with the larger energy. Since the regional energy sum algorithm is used to fuse low-frequency sub-bands, it can contain most of the energy of the source image and retain the basic information of the source image in the fused image. Therefore, based on the characteristic that low-frequency sub-bands contain most of the energy of the image, this embodiment adopts the regional energy sum fusion strategy to fuse low-frequency sub-bands. Based on the regional energy value formula, the regional energy is calculated and the activity level of the fusion coefficient is determined. The greater the energy, the more information is retained.

[0098] The regional energy value formula is:

[0099] Where I represents the pyramid, α and β are the length and width of the neighborhood window respectively, and (i, j) is the center point of the neighborhood;

[0100] The regional energy is used to determine the activity level of the fusion coefficient. The greater the energy, the more information is retained. The fusion coefficient calculation formula is:

[0101] Among them, LF F Indicates the fusion coefficient of infrared-visible light image, LF A Indicates the fusion coefficient of infrared image, LF B Represents the fusion coefficient of the visible light image, E A Represents the regional energy value of the infrared image, E B Represents the regional energy value of the visible light image.

[0102] Furthermore, the following contents are provided for high-frequency image fusion:

[0103] The high-frequency sub-image mainly contains image edge features and texture detail information, which directly affects the resolution and clarity of the fused image. Therefore, the selection of high-frequency sub-band fusion rules has a greater impact on the quality of the fused image. In this embodiment, the high-frequency sub-band of the infrared-visible light image is input into the trained FCN model to extract the image depth features and generate a high-frequency sub-band feature map. The high-frequency sub-band weight map is obtained through the maximum weighted average fusion strategy. The calculation formula is: Fsub(i,j)=max(α1sub A +α2sub B );

[0104] Among them, sub A 、sub B They represent the high-frequency sub-images of the input infrared-visible light image, and α1 and α2 represent sub A 、sub B The weight value of .

[0105] Specifically, the operations on the high frequency sub-band coefficients also include:

[0106] The current infrared-visible light fusion algorithm only optimizes the fusion by maximizing the retention of global information of the two images, resulting in the problem of blurred detail retention in the local area. Therefore, an information fusion enhancement strategy for local targets is proposed to achieve a target-level fusion algorithm that maximizes the retention of multi-source information of the target. For "target-level" fusion, frequency-tuned saliency region detection is first used to extract the target features of the infrared image, because the frequency domain of the image is mainly composed of low-frequency and high-frequency parts. The low-frequency part reflects the overall information of the image, and the high-frequency part reflects the detailed information of the target, such as the texture details of the infrared target. Therefore, the neighboring area of ​​the local target is generated based on the high-frequency part information, and the width and height of the area are obtained to obtain the feature map;

[0107] The CA attention mechanism module is used to encode the position information of the above-mentioned neighboring regions, and the width and height of the input feature map are globally averaged pooled to obtain feature maps in these two directions respectively;

[0108] The convolution is performed on the dimensionality reduction, and the feature map is input into the sigmoid activation function through normalization to obtain the feature map.

[0109] Among them, the feature map obtained by the sigmoid activation function also includes:

[0110] The attention weight formula for the width and height of the feature map is as follows: h =σ(F h (f h )); g w =σ(F w (f w));

[0111] Among them, F h and F w is the feature map of the original channel, f h and f w is the feature map obtained after sigmoid activation, corresponding to the height and width directions respectively; g h is the attention weight in the height direction, g w is the attention weight in the width direction;

[0112] The weight is used for learning to obtain the weight of the overall fusion graph.

[0113] Figure 5 shows the high-frequency subband feature map of an infrared-visible image extracted using the improved FCN model. As can be seen, the image's edge and texture features are preserved, ensuring the integrity of the high-frequency image information. The maximum weighted average algorithm effectively fuses these features, resulting in a high-quality fused image with excellent resolution and clarity.

[0114] Finally, for image reconstruction:

[0115] The basic image F of the fused image is calculated based on the low-frequency and high-frequency fusion rules. b (x,y) and detail image F d (x, y), reconstruct the two and finally obtain the fused image F(x, y), as shown in the following formula: F(x, y) = F b (x,y)+F d (x,y);

[0116] Among them, F b (x,y) represents the base image of the fused image, F d (x,y) represents the detail image of the fused image.

[0117] As shown in FIG6 , this embodiment further provides an operating platform device for an image object-level fusion method. The device includes a processor, a memory, and a computer program stored in the memory and running on the processor.

[0118] The processor includes one or more processing cores, and the processor is connected to the memory through a bus. The memory is used to store program instructions. When the processor executes the program instructions in the memory, the steps of the above-mentioned infrared-visible light image target-level fusion method based on a fully convolutional neural network are implemented.

[0119] Alternatively, the memory may be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0120] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the above-mentioned infrared-visible light image target-level fusion method based on a fully convolutional neural network.

[0121] Optionally, the present invention also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the steps of the above-mentioned infrared-visible light image target-level fusion method based on a fully convolutional neural network.

[0122] Those skilled in the art will appreciate that the process of implementing all or part of the steps of the above embodiments may be accomplished by hardware, or may be accomplished by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0123] The above shows and describes the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are merely preferred examples of the present invention and are not intended to limit the present invention. Various changes and improvements may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and improvements fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.

Claims

1. An infrared-visible light image target-level fusion method based on a fully convolutional neural network, characterized in that: The steps include: S1. Use non-subsampled shearlet transform (NSST) to perform multi-scale and multi-directional decomposition on the infrared-visible light source image to obtain low-frequency sub-band coefficients and high-frequency sub-band coefficients; the multi-scale and multi-directional decomposition can fully separate the overlapping features in different scale spaces; S2, for the low-frequency sub-band coefficients, regional energy and fusion strategy are used for fusion; S3. For the high-frequency sub-band coefficients, the improved FCN model is used to extract the multi-layer features of the detail layer, and the feature map is obtained. The maximum weighted average fusion strategy is selected to fuse them. S4. Perform NSST inverse transformation to obtain the fused image.

2. The infrared-visible light image target-level fusion method based on a fully convolutional neural network according to claim 1, characterized in that: In S2, the fusion using regional energy and fusion strategy also includes the following steps: The regional energy and algorithm can combine the information of adjacent regions to evaluate the energy of the central element of the region and finally select the element with larger energy; Based on the regional energy value formula, the regional energy is calculated to determine the activity level of the fusion coefficient. The greater the energy, the more information is retained. The regional energy value formula is: Where I represents the pyramid, α and β are the length and width of the neighborhood window, respectively, and (i, j) is the center point of the neighborhood; The regional energy is used to determine the activity level of the fusion coefficient. The greater the energy, the more information is retained. The fusion coefficient calculation formula is: Among them, LF F Indicates the fusion coefficient of infrared-visible light image, LF A Indicates the fusion coefficient of infrared image, LF B Represents the fusion coefficient of the visible light image, E A Represents the regional energy value of the infrared image, E B Represents the regional energy value of the visible light image.

3. The infrared-visible light image target-level fusion method based on a fully convolutional neural network according to claim 1, characterized in that: In the above S3, the fusion of high frequency sub-band coefficients further includes the following steps: The high-frequency sub-image mainly contains image edge features and texture detail information, which directly affects the resolution and clarity of the fused image; The high-frequency sub-band of the infrared-visible light image is input into the trained FCN model to extract the image depth features and generate a high-frequency sub-band feature map. The high-frequency sub-band weight map is obtained through the maximum weighted average fusion strategy; the calculation formula is: Fsub(i,j)=max(α1sub A +α2sub B ); Among them, sub A 、sub B They represent the high-frequency sub-images of the input infrared-visible light image, and α1 and α2 represent sub A 、sub B The weight value of .

4. The infrared-visible light image target level fusion method based on a fully convolutional neural network according to claim 3 is characterized in that: In S3, the FCN model includes: 7 modules for feature extraction, denoted as modules 1 to 7, as well as a convolutional layer, a relu layer, a pooling layer and a deconvolution layer; wherein: In each convolutional layer, nonlinear mapping is used alternately to extract features, and the online hard sample mining method is used to relax the constraints of positive and negative samples, expand the scope of the training set, and use the linear non-maximum suppression method to avoid missing target features in view of the overlapping problem of multiple feature maps; The relu layer is used as the activation function to accelerate the model training process. In modules 1, 2, and 5, the pooling layer is located after the relu layer. Extracting basic features such as color, edge and texture of images in the shallow FCN network is crucial to the quality of fused images. As the network layer deepens, these features are easily lost. A 1×1 convolutional skip connection is added to the FCN model to avoid increasing computational complexity while retaining the image features of the shallow network; After module 7, three deconvolution layers are added to upsample all learned features to fuse all multi-scale features, and multiple skip structures are added to optimize the results. To solve the problem that the result obtained by directly upsampling the full convolution result is relatively rough, it is necessary to optimize the output by upsampling the output results of different pooling layers; For some identity functions in a neural network, Skip Layer makes it easier to learn these identity functions without affecting the overall performance of the neural network, thereby improving the overall learning efficiency. The Softmax function is then used to calculate the probability distribution of the output block.

5. The infrared-visible light image object-level fusion method based on a fully convolutional neural network according to claim 4 is characterized in that: In the S3, the feature extraction part of the FCN model also includes 7 convolutional layers and 3 pooling layers. To enhance the translation invariance of the input image features, the size of all convolutional layers is set to 3×3, the step size is 1, and the size of the pooling layer is set to 2×2, the step size is 2; considering image fusion as a classification problem, the number of kernels in the deconvolution layer is set to 2; according to the input image size and the upsampling function of the deconvolution layer, the size of the first two deconvolution layers is set to 4×4, the step size is 2, and the size of the third deconvolution layer is set to 16×16; At the same time, in order to effectively avoid the acquisition of redundant information on the encoder and directly focus on the correlation between objects, four types of dilated convolutions with different sampling rates are used in the feature top map, and the sampling rates are 6, 12, 18, and 24 respectively. The dilated convolutions with different sampling rates can effectively capture multi-scale information and improve the ability to collect information on images.

6. The infrared-visible light image object-level fusion method based on a fully convolutional neural network according to claim 5 is characterized in that: In S3, the operation on the high frequency sub-band coefficients further includes: For target-level fusion, frequency-tuned salient region detection is first used to extract target features of infrared images, because the frequency domain of the image is mainly composed of low-frequency and high-frequency parts, among which, The low-frequency part reflects the overall information of the image, and the high-frequency part reflects the detailed information of the target; Generate the neighboring area of ​​the local target based on the high-frequency part information, obtain the width and height of the area, and obtain the feature map; The CA attention mechanism module is used to encode the position information of the above-mentioned neighboring areas, and the width and height of the input feature map are globally averaged and pooled to obtain feature maps in these two directions respectively; The convolution is performed on the dimensionality reduction, and the feature map is input into the sigmoid activation function through normalization to obtain the feature map.

7. The infrared-visible light image object-level fusion method based on a fully convolutional neural network according to claim 6, characterized in that: Obtaining the feature map through the sigmoid activation function also includes: The attention weight formula for the width and height of the feature map is as follows: g h =σ(F h (f h )); g w =σ(F w (f w )); Among them, F h and F w is the feature map of the original channel, f h and f w is the feature map obtained after sigmoid activation, corresponding to the height and width directions respectively; g h is the attention weight in the height direction, g w is the attention weight in the width direction; The weight is used for learning to obtain the weight of the overall fusion graph.

8. The infrared-visible light image object-level fusion method based on a fully convolutional neural network according to claim 7 is characterized in that: In S3, the training of the improved FCN model includes: The FCN model uses the stochastic gradient descent method to train the entire network on the deep learning framework tensorflow: The model is set to traverse the total data set 100 times, and the weight decay regularization method is used to prevent the model from overfitting. The initial value is set to 0.0001, all bias values ​​are initialized to 0, and the initial learning rate is set to 0.

001. During the training process, the learning rate is adaptively adjusted using ReduceLTOnPlateau to accurately The model is trained in a PyTorch environment using 1 GPU; the batch size is set to 128, the momentum and weight decay are 0.9 and 0.0005 respectively; the weight update rule is expressed as: Among them, v is the momentum variable, l represents the lth iteration, α is the learning rate, and L is the loss function. is the weight w i The derivative of the loss; The Adam algorithm is used to continuously perform iterative optimization until the global optimal point is found and the best effect is achieved.

9. The infrared-visible light image object-level fusion method based on a fully convolutional neural network according to claim 1, characterized in that: In the step S4, performing an inverse NSST transform to obtain a fused image further includes: Assume that A and B represent infrared-visible light source images of size m×n in the same scene; source images A and B are decomposed into low-frequency sub-bands and high-frequency sub-bands by NSST and fused respectively; High-frequency sub-band fusion is to fuse the feature weight map extracted by FCN, using the maximum weighted average fusion rule; The low-frequency subband contains most of the energy of the source image and retains most of the features of the source image. The low-frequency subband fusion adopts regional energy and fusion rules; The fused high-frequency sub-band fusion image and the low-frequency sub-band fusion image are subjected to NSST inverse transformation to obtain the final fusion image.

10. The infrared-visible light image object-level fusion method based on a fully convolutional neural network according to claim 9, characterized in that: In the step S4, the NSST inverse transformation is performed to obtain the fused image, and the step further includes: According to the low-frequency and high-frequency fusion rules, the basic image F of the fused image is calculated respectively. b (x,y) and detail image F d (x, y), reconstruct the two and finally get the fused image F(x, y), as shown in the following formula: F(x,y)=F b (x,y)+F d (x,y); Among them, F b (x,y) represents the base image of the fused image, F d (x,y) represents the detail image of the fused image picture.

Citation Information

Patent Citations

  • Infrared image and visible image fusion method

    CN108389158A

  • Infrared and visible light image fusion method based on multi-scale generative adversarial network

    CN111145131A

  • Image fusion algorithm based on non-subsampled shearlet transform

    CN115035008A

  • Infrared-visible light image target level fusion method based on full convolutional neural network

    CN116246138A

  • Infrared and visible light fusion method

    US20220044374A1

Cited By

  • Infrared small target detection method based on data expansion and weak feature enhancement

    CN118736241A

  • Unmanned aerial vehicle visible light-infrared image target level fusion method and system

    CN118780997A

  • Target-level fusion method and system for visible light-infrared images of unmanned aerial vehicles

    CN118780997B

  • Coal mine safety data processing method based on multi-source data fusion

    CN118821059A

  • Lightweight complex scene image fusion model and real-time image fusion method

    CN118918428A