An unsupervised infrared and visible image fusion method under divide-and-conquer loss constraint

Through the unsupervised method of divide and conquer loss constraint, modal features, deep information, shallow information and detail information loss are used to constrain the fusion network, which solves the problem of loss function design defects in the existing technology and improves infrared and visible light images. Fusion image quality and downstream task performance.

CN118570600BActive Publication Date: 2024-10-08NANCHANG HANGKONG UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411039594.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-08
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In the existing infrared and visible light image fusion methods, the loss function design has flaws, which results in distortion of the fused image information and the inability to balance the salience information in the source image, making it impossible to effectively constrain the fusion network.

Method used

The unsupervised method of divide-and-conquer loss constraint is used to perform multi-level constraints on the fusion network through the synergy of modal feature loss, deep information loss, shallow information loss and detail information loss, and the densely connected encoding network and decoding network are used to extract Features, and train the fusion network through adversarial learning to generate high-quality fusion images.

Benefits of technology

It improves the subjective visual effect of the fused image and its performance in downstream high-level visual tasks, enhances the detailed information and content similarity of the image, and ensures the accuracy and balance of the information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570600B_ABST
    Figure CN118570600B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of infrared and visible light image fusion, and discloses an unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint, comprising the following steps: inputting a set of infrared images I and visible light images V , and use a densely connected encoding network to extract their respective features; in the channel dimension, the extracted feature maps are spliced ​​and sent to the decoding network for feature reconstruction to obtain a fused image F ; According to the obtained fusion image F , calculate the fused image F With source image I and V The present invention adopts the above unsupervised infrared and visible light image fusion method under the above divide-and-conquer loss constraint, and improves the subjective visual effect of the fused image and its performance in downstream advanced visual tasks by constraining the fusion network at different levels and coordinating multiple losses.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of infrared and visible light image fusion, and in particular to an unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint. Background Art

[0002] Visible light images contain rich structural and texture information related to objects and backgrounds, but are sensitive to illumination changes. In contrast, the thermal radiation information displayed by infrared images is insensitive to illumination changes, but has obvious limitations in depicting the detailed structure and texture of objects and backgrounds. Therefore, the infrared and visible light image fusion task aims to fuse infrared images and visible light images into a fused image that contains both structural and texture details and thermal radiation information, making it more conducive to human visual perception and downstream computer vision tasks such as surveillance, target recognition, object detection, and target tracking.

[0003] In recent years, with the development of deep learning, infrared and visible light image fusion methods based on deep learning have received widespread attention in the industry and achieved outstanding results. This type of method uses the powerful nonlinear fitting ability of neural networks to replace the traditional calculation steps that rely on manual design through iterative training on a large amount of data and a given loss function, effectively avoiding many problems brought about by manual design, such as low timeliness and poor generalization. However, since there is no absolutely true label for infrared and visible light image fusion based on deep learning, the design of the loss function becomes extremely difficult. Existing methods usually use an unsupervised approach to design the loss function, including measuring the content similarity between the fused image and the source image and measuring the approximate probability distribution of the fused image and the source image. However, the loss function currently designed cannot effectively constrain the fusion network, resulting in information distortion of the fused image and the inability to balance the saliency information in the source image.

[0004] Therefore, the present invention proposes an unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint to overcome the design defects of the above loss function. Summary of the invention

[0005] The purpose of this invention is to provide an unsupervised infrared and visible light image fusion method under divide-and-conquer loss constraints, which improves the subjective visual effect of the fused image and its performance in downstream advanced visual tasks by constraining the fusion network at different levels and coordinating multiple losses.

[0006] To achieve the above object, the present invention provides an unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint, comprising the following steps:

[0007] S1. Input a set of infrared images I and visible light images V, and use densely connected encoding networks to extract their respective features;

[0008] S2. In the channel dimension, the extracted feature maps are concatenated and sent to the decoding network for feature reconstruction to obtain a fused image. F ;

[0009] S3, based on the obtained fusion image F , calculate the fused image F With source image I and V of partition losses;

[0010] S4, optimize the discriminator network;

[0011] S5. Repeat the above steps for n iterations in total. After the iterations are completed, the fusion network is directly used to obtain the fused image.

[0012] Preferably, in step S1, the infrared image I With visible light images V The encoding networks of have the same structure and are densely connected, but do not share parameters.

[0013] Preferably, the encoding network and the decoding network together form a fusion network, which extracts features of images of different modalities through a densely connected encoding network, and then inputs the features into a decoding network for feature reconstruction after a channel splicing operation to generate a fused image.

[0014] Preferably, in step S3, the fusion network is constrained at multiple levels by a divide-and-conquer loss function; wherein the fusion image F With source image I and V The loss specifically includes modal feature loss L modal , deep information loss L DI , shallow information loss L SI and loss of detail information L detail .

[0015] Preferably, the source image I and V With fused image F The modal feature loss between L modal , as shown below:

[0016] (1);

[0017] in, f represents the fused image; D vrepresents the visible light image discriminator, D i represents infrared image discriminators, which have the same network structure but do not share network parameters; express f is the distribution domain of the fused image p ( f ) and calculate the expected value of the distribution.

[0018] Preferably, the source image is calculated I and V With fused image F The deep information loss between L DI The specific process is as follows:

[0019] S321, using a pre-trained deep feature perceptron, extract the source image I and V With fused image F The deep feature map , and ;

[0020] S322, based on the above deep feature map, calculate the deep information loss L DI , as shown below:

[0021] (2);

[0022] in, N represents the number of feature maps extracted by the deep feature perceptron, n Indicates the current channel number; MISD It represents the spatial distance guided by multi-scale information, and the calculation formula is as follows:

[0023] (3);

[0024] in, represents matrix dot product, T represents the number of scales, t Indicates the scale of the current calculation; d ac Represents the input image a and c The window space distance matrix of d bc Represents the input image b and c The window space distance matrix is ​​calculated as follows:

[0025] (4);

[0026] in,( x , y ) represents the pixel coordinate position of the image, , W Indicates the width of the image. , H Indicates the height of the image; Representing images p by( x , y ) centered on the current computational scale. t related, p express a, b, c ; express Frobenius norm;

[0027] S323, w a and w b Represents a weight map, which is used to weight the spatial window distance matrix of the corresponding scale according to a and b Infographic with images I a and I b The specific calculation process is as follows:

[0028] (5);

[0029] (6);

[0030] (7);

[0031] (8);

[0032] in, The defined calculation operation is used to extract the image p The significant information in represents the global average operation, ReLU represents the rectified linear unit; represents the Laplacian operator; Representation Infographic I a by( x , y ) as the center window, Representation Infographic I b by( x , y ) as the center, whose window size is the same as the current scalet related; Softmax represents the normalized exponential function; Indicates further extraction of the initial window weight matrix and The saliency information in , obtains the corresponding scale t The weight graph on and .

[0033] Preferably, in step S323, first, the information graph is obtained by formula (6): I a and I b , and calculated by formula (7) I a and I b The mean value in the window is obtained to obtain the window information distribution matrix corresponding to formula (4); secondly, through Softmax Function to obtain the corresponding window weight matrix; finally, the non-significant part in the weight matrix is ​​further filtered through formula (8) to obtain the final weight map w a and w b .

[0034] Preferably, the source image I and V With fused image F The shallow information loss between L SI , as shown below:

[0035] (9);

[0036] in, i , v and f Represent infrared image, visible light image and fused image respectively; MISD It represents the spatial distance guided by multi-scale information, and its calculation method is consistent with that in formula (3).

[0037] Preferably, the source image I and V With fused image F Loss of detail information between L detail , as shown below:

[0038] (10);

[0039] in, MSSI Indicates the calculation of the multi-scale structural similarity of two images. represents global average pooling;

[0040] Final partition loss L , as shown below:

[0041] (11);

[0042] in, , , and Represents the balance coefficient, and multi-level constraints on the fusion network are implemented through iterative optimization.

[0043] Preferably, in step S4, the discriminator network is optimized D i and D v , as shown below:

[0044] (12);

[0045] (13);

[0046] in, v represents a visible light image, i represents an infrared image, f represents the fused image; D v represents the visible light image discriminator, D i represents infrared image discriminators, which have the same network structure but do not share network parameters; express v is the distribution domain of the visible light image p ( v ) and calculate the expected value obtained from the distribution; express i The distribution domain of the infrared image p ( i ) and calculate the expected value obtained from the distribution; express f is the distribution domain of the fused image p ( f ) and calculate the expected value obtained from the distribution; Indicates that f and v The image is uniformly sampled along the straight line, then express is the distribution domain of the image , and calculate the expected value obtained from the distribution; similarly, Indicates that f and i The image is uniformly sampled along the straight line, then express is the distribution domain of the image Sampling is done from the distribution, and the expected value obtained from the distribution is calculated; represents the L2 norm; is a hyperparameter, which represents the penalty coefficient.

[0047] Therefore, the present invention adopts the above-mentioned unsupervised infrared and visible light image fusion method under the divide-and-conquer loss constraint, trains the fusion network based on the divide-and-conquer loss function, and adopts an adversarial learning method, so that the fusion network can perceive the feature distribution of images of different modalities; the content similarity of the image at the deep and shallow layers is calculated based on the spatial distance guided by multi-scale information; the detail information loss based on structural similarity further improves the performance of the fused image at the detail level; through the synergistic effect of multiple losses, the subjective visual effect of the fused image and its performance in downstream advanced visual tasks can be effectively improved.

[0048] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is an infrared image of the Kaptien_1123 scene in the TNO dataset;

[0050] Figure 2 It is a visible light image of the Kaptien_1123 scene in the TNO dataset;

[0051] Figure 3 This is the fusion result of infrared and visible light images of the Kaptien_1123 scene in the TNO dataset;

[0052] Figure 4 It is a schematic diagram of the overall process of an unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint of the present invention;

[0053] Figure 5 This is a diagram of the end-to-end fusion network structure based on dense connections of the present invention;

[0054] Figure 6 This is a diagram of the discriminator network structure based on spatial pyramid pooling of the present invention;

[0055] Figure 7 Schematic diagram of the deep feature sensor network structure of the present invention. DETAILED DESCRIPTION

[0056] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.

[0057] The present invention provides an unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint, comprising the following steps:

[0058] S1. Input a set of infrared images I and visible light images V , and use densely connected encoding networks to extract their respective features;

[0059] S2. In the channel dimension, the extracted feature maps are concatenated and sent to the decoding network for feature reconstruction to obtain a fused image. F ;

[0060] S3, based on the fusion image F , calculate the fused image F With source image I and V of partition losses;

[0061] S4, optimize the discriminator network;

[0062] S5. Repeat the above steps for n iterations in total. After the iterations are completed, the fusion network is directly used to obtain the fused image.

[0063] Example

[0064] S1. Input a set of infrared images I and visible light images V , and use a densely connected encoding network to extract their respective features.

[0065] like Figure 1 and Figure 2 As shown, input a set of infrared images I and visible light images V , and the infrared image I With visible light images V Encode the network separately to extract their respective features. I With visible light images V The encoding networks of have the same structure and are densely connected, but do not share parameters.

[0066] S2. In the channel dimension, the extracted feature maps are concatenated and sent to the decoding network for feature reconstruction to obtain a fused image. F .

[0067] like Figure 3 As shown, the infrared image extracted above I and visible light images V The feature map is concatenated in the channel dimension and sent to the decoding network for feature reconstruction to obtain a fused image. F .

[0068] like Figure 4 As shown in Figure 2, the encoding network and decoding network together form a fusion network, and its specific network structure is as follows: Figure 5 shown.

[0069] The present invention extracts features of images of different modalities through a densely connected encoding network, which is input into a decoding network for feature reconstruction after channel splicing operation to generate a fused image, thereby realizing an end-to-end fusion process.

[0070] S3, based on the obtained fusion image F , calculate the fused image F With source image I and V The partition loss.

[0071] During the training process, the fusion network is constrained at multiple levels through the divide-and-conquer loss function, where the fusion image F With source image I and V The losses specifically include: modal feature loss L modal , deep information loss L DI , shallow information loss L SI and loss of detail information L detail .

[0072] S31. Source image I and V With fused image F The modal feature loss between L modal , as shown below:

[0073] (1);

[0074] in, f represents the fused image; D v represents the visible light image discriminator, D i represents the infrared image discriminator, which has the same network structure but does not share network parameters, such as Figure 6 As shown; express f is the distribution domain of the fused image p ( f ) and calculate the expected value of the distribution.

[0075] For modal feature loss, the fused image and the source images of different modalities are sent to the corresponding discriminators respectively. After passing through the four-layer convolutional neural network, the spatial pyramid pooling operation is used to perceive the feature information of different scales, and then a scalar is output after the full connection operation. The calculation formula of modal feature loss uses the Wasserstein distance to distinguish the distribution of different images, which effectively improves the stability of adversarial training.

[0076] S32, calculate source image I and V With fused image F The deep information loss between L DI The specific process is as follows:

[0077] S321, such as Figure 7 As shown, a pre-trained deep feature perceptron is used to extract the source image I and V With fused image F The deep feature map , and .

[0078] S322, based on the above deep feature map, calculate the deep information loss L DI , as shown below:

[0079] (2);

[0080] in, N represents the number of feature maps extracted by the deep feature perceptron, n Indicates the current channel number; MISD It represents the spatial distance guided by multi-scale information, and the calculation formula is as follows:

[0081] (3);

[0082] in, represents matrix dot product, T represents the number of scales, t Indicates the scale of the current calculation; d ac Represents the input image a and c The window space distance matrix of d bc Represents the input image b and c The window space distance matrix is ​​calculated as follows:

[0083] (4);

[0084] in,( x , y ) represents the pixel coordinate position of the image, , W Indicates the width of the image. , H Indicates the height of the image; Representing images p by( x , y ) centered on the current computational scale. t related, p express a, b, c ; express Frobenius norm;

[0085] S323, w a and w b Represents a weight map, which is used to weight the spatial window distance matrix of the corresponding scale according to a and b Infographic with images I a and I b The specific calculation process is as follows:

[0086] (5);

[0087] (6);

[0088] (7);

[0089] (8);

[0090] in, The defined calculation operation is used to extract the image p The significant information in represents the global average operation, ReLU represents the rectified linear unit; represents the Laplacian operator; Representation Infographic I a by( x , y ) as the center window, Representation Infographic I b by( x , y ) as the center, whose window size is the same as the current scalet related; Softmax represents the normalized exponential function; Indicates further extraction of the initial window weight matrix and The saliency information in , obtains the corresponding scale t The weight graph on and .

[0091] The information graph is obtained by formula (6): I a and I b , calculated by formula (7) I a and I b The mean value in the window is obtained, thereby obtaining the window information distribution matrix corresponding to formula (4), and through Softmax Function to obtain the corresponding window weight matrix, and then further filter the non-significant part of the weight matrix through formula (8) to obtain the final weight map w a and w b .

[0092] S33, source image I and V With fused image F The shallow information loss between L SI , as shown below:

[0093] (9);

[0094] in, i , v and f Represent infrared image, visible light image and fused image respectively; MISD It represents the spatial distance guided by multi-scale information, and its calculation method is consistent with that in formula (3).

[0095] For shallow and deep information loss, the content similarity between the fused image and the source image and between their deep features is calculated respectively. The deep features are extracted by a pre-trained autoencoder encoding network. The calculation formula of shallow and deep information loss adopts a spatial distance calculation based on multi-scale information guidance to calculate the information loss of the two, which can adaptively adjust the weight coefficient of content loss in each area according to the information distribution of the original image.

[0096] S34, source image I and V With fused imageF Loss of detail information between L detail , as shown below:

[0097] (10);

[0098] in, MSSI Indicates the calculation of the multi-scale structural similarity of two images. Represents global average pooling.

[0099] For detail information loss, the multi-scale structural similarity between the fused image and the source image is calculated, including brightness, contrast, and structural similarity. The calculation formula for detail information loss performs a global average pooling operation on different source images to balance different loss terms.

[0100] S35, source image I and V With fused image F The final partition loss between L , as shown below:

[0101] (11);

[0102] in, , , and Represents the balance coefficient, and multi-level constraints on the fusion network are implemented through iterative optimization.

[0103] S4. Optimize the discriminator network based on the above steps D i and D v , as shown below:

[0104] (12);

[0105] (13);

[0106] in, v represents a visible light image, i represents an infrared image, f represents the fused image; D v represents the visible light image discriminator, D i represents infrared image discriminators, which have the same network structure but do not share network parameters; express v is the distribution domain of the visible light image p ( v) and calculate the expected value obtained from the distribution; express i The distribution domain of the infrared image p ( i ) and calculate the expected value obtained from the distribution; express f is the distribution domain of the fused image p ( f ) and calculate the expected value obtained from the distribution; Indicates that f and v The image is uniformly sampled along the straight line, then express is the distribution domain of the image , and calculate the expected value obtained from the distribution; similarly, Indicates that f and i The image is uniformly sampled along the straight line, then express is the distribution domain of the image Sampling is done from the distribution, and the expected value obtained from the distribution is calculated; represents the L2 norm; is a hyperparameter, which represents the penalty coefficient.

[0107] S5. Repeat all the above steps for n iterations. After the training is completed, directly use the fusion network to obtain the fused image.

[0108] Therefore, the present invention adopts the above-mentioned unsupervised infrared and visible light image fusion method under the divide-and-conquer loss constraint, trains the fusion network based on the divide-and-conquer loss function, and adopts an adversarial learning method, so that the fusion network can perceive the feature distribution of images of different modalities; the content similarity of the image at the deep and shallow layers is calculated based on the spatial distance guided by multi-scale information; the detail information loss based on structural similarity further improves the performance of the fused image at the detail level; through the synergistic effect of multiple losses, the subjective visual effect of the fused image and its performance in downstream advanced visual tasks can be effectively improved.

[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. An unsupervised infrared and visible light image fusion method under divide-and-conquer loss constraint, characterized in that: The following steps are involved: S1. Input a set of infrared images I and visible light images V , and use densely connected encoding networks to extract their respective features; S2. In the channel dimension, the extracted feature maps are concatenated and sent to the decoding network for feature reconstruction to obtain a fused image. F ; S3, based on the obtained fusion image F , calculate the fused image F With source image I and V The divide-and-conquer loss function is used to constrain the fusion network at multiple levels, where the fusion image F With source image I and V The divide-and-conquer loss specifically includes modal feature loss L modal , deep information loss L DI , shallow information loss L SI and loss of detail information L detail ; S31. Source image I and V With fused image F The modal feature loss between L modal , as shown below: (1); in, f represents the fused image; D v represents the visible light image discriminator, D i represents infrared image discriminators, which have the same network structure but do not share network parameters; express f is the distribution domain of the fused image p ( f ) and calculate the expected value obtained on the distribution; S32, calculate source image I and V With fused image F The deep information loss between L DI , the specific process is as follows: S321, using a pre-trained deep feature perceptron, extract the source image I and V With fused image F The deep feature map , and ; S322, based on the above deep feature map, calculate the deep information loss L DI , as shown below: (2); in, N represents the number of feature maps extracted by the deep feature perceptron, n Indicates the current channel number; MISD It represents the spatial distance guided by multi-scale information, and the calculation formula is as follows: (3); in, represents matrix dot product, T represents the number of scales, t Indicates the scale of the current calculation; d ac Represents the input image a and c The window space distance matrix of d bc Represents the input image b and c The window space distance matrix is ​​calculated as follows: (4); in,( x , y ) represents the pixel coordinate position of the image, , W Indicates the width of the image. , H Indicates the height of the image; Representing images p by( x , y ) centered on the current computational scale. t related, p express a, b, c ; express Frobenius norm; S323, w a and w b Represents a weight map, which is used to weight the spatial window distance matrix of the corresponding scale according to a and b Infographic with images I a and I b The specific calculation process is as follows: (5); (6); (7); (8); in, The defined calculation operation is used to extract the image p The significant information in represents the global average operation, ReLU represents the rectified linear unit; represents the Laplacian operator; Representation Infographic I a by( x , y ) as the center window, Representation Infographic I b by( x , y ) as the center, whose window size is the same as the current scale t related; Softmax represents the normalized exponential function; Indicates further extraction of the initial window weight matrix and The saliency information in , obtains the corresponding scale t The weight graph on and ; The information graph is obtained by formula (6): I a and I b ; Then, by formula (7), first calculate I a and I b The mean value in the window is obtained, thereby obtaining the window information distribution matrix corresponding to formula (4), and then Softmax Function to obtain the corresponding initial window weight matrix; finally, the non-significant part of the weight matrix is ​​further filtered through formula (8) to obtain the final weight map w a and w b ; S33, source image I and V With fused image F The shallow information loss between L SI , as shown below: (9); in, i , v and f Represent infrared image, visible light image and fused image respectively; MISD represents the spatial distance guided by multi-scale information, and its calculation method is consistent with that in formula (3); S34, source image I and V With fused image F Loss of detail information between L detail , as shown below: (10); in, MSSI Indicates the calculation of the multi-scale structural similarity of two images. represents global average pooling; S35, source image I and V With fused image F The final partition loss between L , as shown below: (11); in, , , and represents the balance coefficient, and implements multi-level constraints on the fusion network through iterative optimization; S4, optimize the discriminator network; S5. Repeat the above steps for n iterations in total. After the iterations are completed, the fusion network is directly used to obtain the fused image.

2. The unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint according to claim 1, characterized in that: In step S1, the infrared image I With visible light images V The encoding networks of have the same structure and are densely connected, but do not share parameters.

3. The unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint according to claim 1, characterized in that: The encoding network and the decoding network together constitute a fusion network. The features of images of different modalities are extracted through the densely connected encoding network. After the channel splicing operation, the network is input into the decoding network for feature reconstruction to generate a fused image.

4. The unsupervised infrared and visible light image fusion method under a divide-and-conquer loss constraint according to claim 1, characterized in that: In step S4, the discriminator network is optimized D i and D v , as shown below: (12); (13); in, v represents a visible light image, i represents an infrared image, f represents the fused image; D v represents the visible light image discriminator, D i represents infrared image discriminators, which have the same network structure but do not share network parameters; express v is the distribution domain of the visible light image p ( v ) and calculate the expected value obtained from the distribution; express i The distribution domain of the infrared image p ( i ) and calculate the expected value obtained from the distribution; express f is the distribution domain of the fused image p ( f ) and calculate the expected value obtained from the distribution; Indicates that f and v The image is uniformly sampled along the straight line, then express is the distribution domain of the image p ( ) and calculate the expected value of the distribution; similarly, Indicates that f and i The image is uniformly sampled along the straight line, then express is the distribution domain of the image p ( ) and calculate the expected value obtained from the distribution; represents the L2 norm; is a hyperparameter, which represents the penalty coefficient.