DenseFuse: A Fusion Approach to Infrared and Visible Images

Hui Li, Xiao-Jun Wu

Abstract

DenseFuse is a novel deep learning architecture designed for the fusion of infrared and visible images. By leveraging dense blocks within an unsupervised autoencoder framework, the method preserves fine-grained features that are frequently discarded by traditional convolutional neural networks (CNNs). Trained on the large-scale MS-COCO natural image dataset, DenseFuse achieves state-of-the-art performance, producing fused images that are both structurally accurate and visually natural.

Introduction

In image processing, fusing infrared (IR) and visible images remains a significant challenge. Infrared sensors are highly effective at detecting thermal signatures, which is critical for identifying targets in low-light conditions. Conversely, visible light sensors capture high-resolution textures and environmental details. Combining these modalities into a single "super-image" is invaluable for applications in surveillance and defense.

Existing methods, ranging from multi-scale decomposition to standard CNNs, often suffer from the loss of "middle-layer" information. In typical deep CNNs, only the output of the final layer is utilized for fusion, leading to the degradation of useful features captured by earlier layers. DenseFuse addresses this by ensuring that information from every stage of the encoding process is retained and utilized.

The DenseFuse Architecture

The proposed framework consists of three primary components: an encoder, a fusion layer, and a decoder.

The DenseFuse architecture, featuring an encoder with dense blocks, a fusion layer, and a decoder.

The Encoder and Dense Blocks

Unlike standard architectures, the encoder utilizes a "DenseBlock" where the output of every layer is connected to every subsequent layer. This cascading architecture ensures that features from the initial convolutions (such as rough edges) and deeper layers (complex patterns) are all preserved and passed forward to the fusion stage.

Fusion Strategies

Once the encoder extracts feature maps from both the IR and visible source images, they are merged in the fusion layer. The authors propose two distinct strategies:

  • Addition Strategy: A straightforward pixel-wise summation of feature maps.
  • $l_1$-norm Strategy: A more sophisticated approach that uses $l_1$-norm and a soft-max operation to weight features based on their activity level, effectively preserving the most salient parts of both source images.

The Decoder

The decoder consists of four convolutional layers that take the fused feature maps and reconstruct the final fused image ($I_f$).

Unsupervised Training and Loss Functions

To learn a generalized ability to extract and reconstruct features, the network is trained as an unsupervised autoencoder.

The unsupervised training phase of DenseFuse, where the network learns to reconstruct images using a combination of pixel and SSIM loss.

The model is trained using 80,000 images from the MS-COCO dataset. Interestingly, the training uses natural visible images rather than specific IR/visible pairs, demonstrating that the fundamental language of image features (edges, textures, gradients) is universal enough for cross-domain tasks.

The loss function ($L$) is a weighted combination of Pixel Loss ($L_p$, Euclidean distance) and SSIM Loss ($L_{ssim}$, Structural Similarity Index): $$L = \lambda L_{ssim} + L_p$$ This dual-loss approach ensures the output maintains both raw data fidelity and human-perceived structural integrity.

Experimental Results

DenseFuse was evaluated against six state-of-the-art methods using 20 pairs of images from the TNO Image Fusion Dataset. Performance was measured across seven objective metrics, including Entropy (En), Structural Similarity (SSIM), and Mutual Information (FMI).

  • Quantitative Performance: The $l_1$-norm version of DenseFuse achieved the best or second-best values across nearly all metrics, particularly in preserving structural information ($SSIM_a$) and edge information ($Q_{abf}$).
  • Qualitative Performance: Visually, DenseFuse produces "cleaner" results. While competing methods often introduce artificial noise or "ghosting" artifacts in flat areas like the sky, DenseFuse maintains a natural appearance with sharp contrast for thermal targets.

Conclusion and Future Work

DenseFuse provides a robust and modular framework for image fusion. By applying DenseNet principles, the architecture avoids the "vanishing information" problem common in deep networks. While highly effective, future work may focus on improving computational efficiency for real-time applications and extending the architecture to other modalities, such as multi-focus or medical image fusion.

Summary updated

BibTeX
@article{li2019densefuse,
  author = {Hui Li and Xiao-Jun Wu},
  title = {{DenseFuse: A Fusion Approach to Infrared and Visible Images}},
  journal = {IEEE Trans. Image Process.},
  year = {2019},
  url = {https://openreview.net/forum?id=d0uH-ls9Bf},
}
Figure