Infrared image fusion method based on multi-classification constrained dual discriminator generative adversarial network

Generating an adversarial network through multi-classification constrained dual discriminators solves the problem of incomplete information in the fusion of infrared and visible light images. The generated images are rich in details, have prominent targets and clear edges, satisfy human visual aesthetics, and achieve more comprehensive information extraction and Fusion effect.

CN114022401BActive Publication Date: 2024-09-06CHINA UNIV OF GEOSCIENCES (WUHAN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110925346.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-12
Publication Date
2024-09-06
Estimated Expiration
2041-08-12

AI Technical Summary

Technical Problem

Existing infrared and visible light image fusion methods have problems such as complex fusion rule design, deep learning methods with incomplete information, partial information loss and incomplete results, making it difficult to generate images that meet human visual aesthetics.

Method used

A multi-class constrained dual-discriminator generative adversarial network is designed. Through content loss, adversarial loss and discriminator loss, the multi-class output of the generator and discriminator improves the discriminative ability, avoids the manual design of fusion rules, and extracts more valuable information and interact on the generated image to ensure that the fused image obtains valuable information from both source images.

Benefits of technology

The generated image has richer details, more prominent targets, clearer edges, no artifacts, meets human visual aesthetics, and the distribution of results is more comprehensive.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114022401B
    Figure CN114022401B
Patent Text Reader

Abstract

The present invention relates to an infrared image fusion method based on a multi-classification constrained dual discriminator generative adversarial network, comprising: obtaining an image fusion data set; constructing a dual discriminator generative adversarial network, using the image fusion data set to train the dual discriminator generative adversarial network to obtain a trained network; the dual discriminator generative adversarial network comprises: a generator and a discriminator; the generator comprises two input paths and five convolutional neural layers; the discriminator comprises two, both of which are multi-classifiers; image fusion is completed using the trained network; the beneficial effect of the present invention is that images more suitable for human perception can be generated. These images are richer in details, more prominent in targets, clearer in target edges, and free of artifacts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing, and in particular to an infrared image fusion method based on a multi-classification constrained dual discriminator generative adversarial network. Background Art

[0002] Image fusion is an enhancement technique that extracts accurate and meaningful information from source images and merges them into a single fused image that is robust enough or informative enough to aid subsequent applications. As a result, image fusion technology has gained increasing attention in applications such as medical image analysis, remote sensing detection, and target recognition. In these applications, infrared and visible light image fusion is an important component. Infrared images acquire thermal radiation information and can obtain important target information under poor conditions, while visible light images reflect rich texture details. These two types of image information can complement each other. The fused image produced by combining their unique advantages has the potential to show the inherent comprehensive properties of the scene and is suitable for human visual perception. Due to these advantages, infrared and visible light images have important applications in military and civilian fields.

[0003] In order to generate an ideal fused image, researchers have proposed many fusion methods in recent decades, which can be divided into different categories, including multi-scale transformation-based methods, sparse representation-based methods, neural network-based methods, subspace-based methods, saliency-based methods, hybrid methods, and other fusion methods. These methods have achieved positive results in most scenarios, but there are also some disadvantages that cannot be ignored. First, the activity levels and fusion rules of traditional methods are manually designed to obtain better fusion performance, which makes the fusion method complicated due to the diversity of source images. Usually, detailed and diverse feature extraction is partial, which limits the fusion performance. Second, although many deep learning methods have achieved great success in the fusion of infrared and visible light images, they lack ground truth and only rely on the design of content loss functions to achieve image fusion. Therefore, the distribution of results is not comprehensive enough. Third, the existing fusion images based on traditional generative adversarial network (GAN) fusion methods are usually similar to only one type of source image, resulting in partial information loss and incomplete results. Fourth, it is difficult for existing methods to fuse images that meet human visual aesthetics. For example, some methods cannot achieve a balance between maintaining inherent infrared information and visible light information, and the results are often visible light images. That is, the thermal radiation information is discarded. Some other methods retain obvious target information but introduce target artifacts or discontinuity edges. Summary of the invention

[0004] In view of the above problems, the present invention designs a dual discriminator generative adversarial network, in which the discriminator has multi-classification output to improve the discrimination ability. The model does not require manual design of fusion rules and avoids complex fusion processes. The method includes content loss, adversarial loss and discriminator loss, which enables the network to extract more valuable information and the distribution of results is more comprehensive. Through the proposed structure, these discriminators interact with each other in the distribution on the generated image, and each discriminator can distinguish the generated image from the infrared image or the visible light image separately, so that the fused image can obtain valuable information from both the infrared image and the visible light image. Our results converge the advantages of the two source images and eliminate the artifacts of the target, thereby satisfying human visual aesthetics.

[0005] The present invention provides an infrared image fusion method based on a multi-classification constrained dual discriminator generative adversarial network, comprising:

[0006] S101: Acquire image fusion data set;

[0007] S102: constructing a dual discriminator generative adversarial network, and using the image fusion data set to train the dual discriminator generative adversarial network to obtain a trained network; the dual discriminator generative adversarial network includes: a generator and a discriminator; the generator includes two input paths and five convolutional neural layers; the discriminator includes two, both of which are multi-classifiers;

[0008] S103: Use the trained network to complete image fusion.

[0009] Furthermore, the two input paths of the generator are: a gradient path and a comparison path.

[0010] Furthermore, the gradient path connects two visible light images IR and one infrared image VI; the contrast path connects two infrared images VI and one visible light image IR.

[0011] Furthermore, the five convolutional neural layers of the generator each include a convolutional layer and a leaky ReLU activation layer.

[0012] Furthermore, the first two convolutional layers of the generator are implemented by 5×5 filters, the third and fourth layers use 3×3 filters, the last layer uses 1×1 filters, and the stride of all convolutional layers is set to 1.

[0013] Furthermore, after the input image of the generator passes through the first four convolutional layers, a concating strategy is used to fuse the features extracted from the two input paths.

[0014] Furthermore, the fifth leaky ReLU activation layer of the generator adopts a tanh activation function, and the remaining four leaky ReLU activation layers all adopt a leaky ReLU activation function.

[0015] Furthermore, the architectures of both discriminators consist of: a four-layer convolution and a layer of linear neural network; the first convolution layer consists of a convolution layer and a leaky ReLU activation layer, and the second to fourth layers add batch normalization on the basis of the first layer; all convolution layers in the discriminator are implemented by a 3×3 convolution kernel, with the step size set to 2; the number of convolution kernels in each layer is 32, 68, 128, and 256, respectively.

[0016] Furthermore, the generator The loss function is composed of adversarial loss and content loss where the weight γ is used to control the trade-off:

[0017]

[0018] In formula (1), the content loss As shown in formula (2):

[0019]

[0020] where β i is the weight of each sub-loss, ||·|| F is the Frobenius matrix norm, I fused is the fused image, I ir is the infrared image, I vis is the visible image, is a second-order gradient operator;

[0021] In formula (1), the adversarial loss As shown in formula (3):

[0022]

[0023] In formula (3), D(·)[1] refers to the first item of the probability vector of size 1×2, and d is the probability label of the discriminator;

[0024] For the dual discriminator structure, there are two adversarial loss functions; in the first adversarial loss, D(·)[1] is the probability that the fused image is an infrared image, and D(·)[2] is the probability that the fused image is not an infrared image; similarly in the second discriminator, D(·)[1] represents the probability that the fused image is a visible image, while D(·)[2] represents the probability that the fused image is not a visible image.

[0025] The loss function of the discriminator is as follows:

[0026]

[0027] From VI discriminator Discriminator_VI, it distinguishes the fused image from the real visible image, as shown in formula (5):

[0028]

[0029] In formula (5), i is the number of the image, N is the total number of images; P vis is the probability that the output image is a visible light image; is the nth visible light image; a1 and a2 are preset values;

[0030] The distribution of the fused image data is brought closer to the infrared image, as shown in formula (6):

[0031]

[0032] In formula (6), is the nth infrared image; b1 and b2 are preset values;

[0033] The loss function is as follows:

[0034]

[0035] In formula (7), is the nth fused image.

[0036] The invention provides the beneficial effect of generating images that are more suitable for human perception, with richer details, more prominent objects, clearer object edges and no artifacts. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flow chart of the infrared image fusion method based on multi-classification constrained dual discriminator generative adversarial network of the present invention;

[0038] Figure 2 It is a schematic diagram of the overall framework of the present invention;

[0039] Figure 3 This is a schematic diagram of the generator architecture of the present invention

[0040] Figure 4 Schematic diagram of the architecture of the discriminator of the present invention;

[0041] Figure 5 This is a schematic diagram of the fusion results of five typical infrared and visible light images in the TNO dataset;

[0042] Figure 6 It is a schematic diagram of quantitative comparison between the method of the present invention and six most advanced methods using four indicators (including EN, SD, CC, and SSSIM). DETAILED DESCRIPTION

[0043] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0044] Please refer to Figure 1 , a method for infrared image fusion based on multi-classification constrained dual discriminator generative adversarial network, including the following:

[0045] S101: Acquire image fusion data set;

[0046] S102: constructing a dual discriminator generative adversarial network, and using the image fusion data set to train the dual discriminator generative adversarial network to obtain a trained network; the dual discriminator generative adversarial network includes: a generator and a discriminator; the generator includes two input paths and five convolutional neural layers; the discriminator includes two, both of which are multi-classifiers;

[0047] S103: Use the trained network to complete image fusion.

[0048] Please refer to Figure 2 , Figure 2 It is a schematic diagram of the overall framework of the present invention;

[0049] The input path of the generator is divided into a gradient path and a contrast path. In the present invention, the discriminator adopts a polyphenol type, preferably, D2GANMcC is adopted, which is composed of two discriminators, which is helpful to extract more detailed information and contrast parts.

[0050] Figure 2 In the figure, 2IR+VI means that the input image is two IR images plus one VI image; 2VI+IR means that the input image is two VI images plus one IR image; one IR means one IR image; one VI means one VI image; Generator means generator; Fused image means fused image; DIscriminator_IR means IR discriminator; Discriminator_VI means VI discriminator;

[0051] The architecture of the generator is as follows Figure 3 As shown in the figure, there are two input paths and five convolutional neural layers.

[0052] Each layer consists of a convolutional layer and a leaky ReLU activation layer.

[0053] The first two convolutional layers in the generator are implemented with 5×5 filters, the third and fourth layers use 3×3 filters, and the last layer uses 1×1 filters.

[0054] To avoid the vanishing gradient problem, batch normalization and activation functions are performed following the rules of deep convolutional GAN. The use of batch normalization improves the gradient flow throughout the network and helps to enhance its robustness, making it more stable.

[0055] The stride of all convolutional layers is set to 1 to ensure that the size of all feature maps cannot be changed. After four layers of convolution, the concating strategy is used to fuse the features extracted from the two paths.

[0056] In order to overcome the vanishing gradient in the positive interval and speed up the convergence, the first four layers use the leaky ReLU activation function and the last layer uses the tanh activation function.

[0057] Please refer to Figure 4 , Figure 4 Schematic diagram of the architecture of the discriminator of the present invention;

[0058] The single discriminator is a simple four-layer convolutional and one-layer linear neural network. The first layer consists of a convolutional layer and a leaky ReLU activation layer. Different from the first layer, batch normalization is added from the second to the fourth layer.

[0059] All convolutional layers in the discriminator are implemented by a 3×3 convolution kernel with a stride of 2. The number of convolution kernels in each layer is 32, 68, 128, and 256, respectively. Both discriminators are multi-classifiers that extract feature maps from the input image and classify them. Discriminator_IR finally produces a probability vector of size 1×2, one of which represents the probability that the fused image is an infrared image, while the other represents it is not.

[0060] GANs have been criticized for unstable training, sometimes resulting in noise or intensity distortion. A feasible solution to avoid undesirable results is to introduce content loss to include a series of constraints in the network. The role of content loss is mainly reflected in extracting rich texture information from visible light images and highlighting thermal radiation targets in the background. In addition to content loss, adversarial loss with the discriminator is also introduced to strike a balance between various information.

[0061] Generator The loss function is composed of adversarial loss and content loss where the weight γ is used to control the trade-off:

[0062]

[0063] Content loss consists of main information loss and auxiliary information loss. Main information refers to the intensity information in infrared images and texture information in visible light images. Auxiliary information includes some intensity distributions that appear in visible light images and some detail information hidden in infrared images. Both main information loss and auxiliary information loss consist of gradient loss and intensity loss.

[0064] In formula (1), the content loss As shown in formula (2):

[0065]

[0066] where β i is the weight of each sub-loss, ||·|| F is the Frobenius matrix norm, I fused is the fused image, I ir is the infrared image, I vis is the visible image, is a second-order gradient operator;

[0067] In formula (1), the adversarial loss As shown in formula (3):

[0068]

[0069] In formula (3), D(·)[1] refers to the first item of the probability vector of size 1×2, and d is the probability label of the discriminator;

[0070] For the dual discriminator structure, there are two adversarial loss functions; in the first adversarial loss, D(·)[1] is the probability that the fused image is an infrared image, and D(·)[2] is the probability that the fused image is not an infrared image; similarly in the second discriminator, D(·)[1] represents the probability that the fused image is a visible image, while D(·)[2] represents the probability that the fused image is not a visible image.

[0071] The generator can extract a large amount of thermal radiation information and texture information, but it is not enough to describe the scene clearly and comprehensively. In order to solve the above problems, the present invention introduces the loss function of the discriminator.

[0072] The loss function of the discriminator is as follows:

[0073]

[0074] From VI Discriminator Discriminator_VI, it distinguishes the fused image from the real visible image. The distribution of fused image data is brought closer to the infrared image.

[0075] In order to reduce the whitening effect on the fused image, the present invention uses μ and To punish infrared In Discriminator_VI, it is expected that P vis Close to 1, P ir Close to 0.

[0076] In Discriminator_IR, it is expected that P vis Close to 0, P ir Close to 1. The corresponding loss function is defined as shown in equations (5) and (6):

[0077]

[0078] In formula (5), i is the number of the image, N is the total number of images; P vis is the probability that the output image is a visible light image; is the nth visible light image; a1 and a2 are preset values;

[0079]

[0080] In formula (6), are n visible light images; b1 and b2 are preset values;

[0081] The loss function is as follows:

[0082]

[0083] In formula (7), is the nth fused image.

[0084] As an embodiment, the proposed method is compared with other state-of-the-art methods, including CVT, DTCWT, guided filtering based fusion (GFF), GTF, LP, multi-resolution singular value decomposition (MSVD) and FusionGAN to demonstrate the effectiveness.

[0085] We randomly selected 37 image pairs from the TNO image fusion dataset to test the performance of the proposed method and other state-of-the-art methods. The image pairs in the TNO dataset contain multispectral night images of different military scenes, and the TNO image fusion dataset is registered with different multi-band camera systems. We selected six typical pairs for qualitative description, namely Bunker, Heather, Lake, Kaptein_1123, Kaptein_1654, and Soldiers_with_jeep.

[0086] Please refer to Figure 5 , Figure 5 This is a schematic diagram of the fusion results of five typical infrared and visible light images in the TNO dataset.

[0087] Figure 5 In the figure, from left to right: Bunker, Heather, Lake, Kaptein_1123, Kaptein_1654, Soldiers_with_jeep. From top to bottom: visible image, infrared image, CVT, DTCWT, GFF, GTF, MSVD, FusionGAN and the results of the method of the present invention.

[0088] Obviously, it can be seen that the result of the present invention retains clearer texture details while highlighting the target.

[0089] Compared with qualitative comparison, intuitive quantitative data is faster and more convenient to compare. In recent years, various fusion indicators have been proposed to measure the fusion results. This paper uses four indicators to evaluate the ability of different algorithms to fuse results, including entropy (EN), standard deviation (SD), correlation coefficient (CC), and structural similarity index measurement (SSIM). The comparison results are shown in Figure 2. Figure 6 shown. Figure 6 In the figure, the method of the present invention is quantitatively compared with 6 state-of-the-art methods using four indicators (including EN, SD, CC, SSSIM). For all indicators, the larger the value, the better the performance shown by the results.

[0090] The beneficial effects of the present invention are as follows: a target edge optimization dual discriminator generative adversarial network with multi-classification constraints is designed to fuse infrared and visible light images to simultaneously enhance thermal targets, optimize target edges, and preserve texture details. An adversarial loss function is added to enhance adversarial properties. By comparing with seven other advanced methods, qualitative analysis shows that the method of the present invention can produce images that are more suitable for human perception than other algorithms. These images have richer details, more prominent targets, clearer target edges, and no artifacts. Quantitative comparisons of four evaluation indicators and running time show that our method also has great advantages.

[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. Infrared image fusion method based on multi-classification constrained dual discriminator generative adversarial network, characterized by: include: S101: Acquire image fusion data set; S102: constructing a dual discriminator generative adversarial network, and using the image fusion data set to train the dual discriminator generative adversarial network to obtain a trained network; The dual discriminator generative adversarial network includes: a generator and a discriminator; the generator includes two input paths and five convolutional neural layers; the discriminator includes two, both of which are multi-classifiers; S103: using the trained network to complete image fusion; Generator The loss function is composed of adversarial loss and content loss where the weight γ is used to control the trade-off: In formula (1), the content loss As shown in formula (2): where β i is the weight of each sub-loss, ||·|| F is the Frobenius matrix norm, I fused is the fused image, I ir is the infrared image, I vis is the visible image, is a second-order gradient operator; In formula (1), the adversarial loss As shown in formula (3): In formula (3), D(·)[1] refers to the first item of the probability vector of size 1×2, and d is the probability label of the discriminator; For the dual discriminator structure, there are two adversarial loss functions; in the first adversarial loss, D(·)[1] is the probability that the fused image is an infrared image, and D(·)[2] is the probability that the fused image is not an infrared image; similarly in the second discriminator, D(·)[1] represents the probability that the fused image is a visible image, and D(·)[2] represents the probability that the fused image is not a visible image; The loss function of the discriminator is as follows: From VI discriminator Discriminator_VI, it distinguishes the fused image from the real visible image, as shown in formula (5): In formula (5), i is the number of the image, N is the total number of images; P vis is the probability that the output image is a visible light image; is the nth visible light image; a1 and a2 are preset values; The distribution of the fused image data is brought closer to the infrared image, as shown in formula (6): In formula (6), is the nth infrared image; b1 and b2 are preset values; The loss function is as follows: In formula (7), is the nth fused image.

2. The infrared image fusion method based on multi-classification constrained dual discriminator generative adversarial network as claimed in claim 1 is characterized by: The two input paths of the generator are: a gradient path and a comparison path.

3. The infrared image fusion method based on multi-classification constraint dual discriminator generative adversarial network as claimed in claim 2 is characterized by: The gradient path connects two visible light images IR and one infrared image VI; the contrast path connects two infrared images VI and one visible light image IR.

4. The infrared image fusion method based on multi-classification constrained dual discriminator generative adversarial network as claimed in claim 1, characterized in that: The five convolutional neural layers of the generator each include a convolutional layer and a leaky ReLU activation layer.

5. The infrared image fusion method based on multi-classification constrained dual discriminator generative adversarial network as claimed in claim 4 is characterized by: The first two convolutional layers of the generator are implemented with 5×5 filters, the third and fourth layers use 3×3 filters, the last layer uses 1×1 filters, and the stride of all convolutional layers is set to 1.

6. The infrared image fusion method based on multi-classification constrained dual discriminator generative adversarial network as claimed in claim 4, characterized in that: After the input image of the generator passes through the first four convolutional layers, the concating strategy is used to fuse the features extracted from the two input paths.

7. The infrared image fusion method based on multi-classification constraint dual discriminator generative adversarial network as claimed in claim 4 is characterized by: The fifth leaky ReLU activation layer of the generator adopts the tanh activation function, and the remaining four leaky ReLU activation layers all adopt the leaky ReLU activation function.

8. The infrared image fusion method based on multi-classification constrained dual discriminator generative adversarial network as claimed in claim 1, characterized in that: The architectures of both discriminators consist of: a four-layer convolution and a layer of linear neural network; the first convolution layer consists of a convolution layer and a leaky ReLU activation layer, and the second to fourth layers add batch normalization on the basis of the first layer; all convolution layers in the discriminator are implemented by a 3×3 convolution kernel, with the step size set to 2; the number of convolution kernels in each layer is 32, 68, 128, and 256, respectively.