DenseFuse: A Fusion Approach to Infrared and Visible Images

Hui Li, Xiao-Jun Wu

TL;DR

DenseFuse introduces a novel deep learning architecture for fusing infrared and visible images by leveraging dense blocks to preserve fine-grained features often lost in traditional CNNs. By training an unsupervised autoencoder on a large-scale natural image dataset, the researchers achieved state-of-the-art performance in producing fused images that are both structurally accurate and visually natural.

What Problem Does This Paper Address?

In image processing, fusing infrared (IR) and visible images is a classic challenge. Infrared sensors excel at detecting thermal signatures (useful for spotting targets in low light), while visible light sensors capture high-resolution textures and environmental details. Combining them creates a single "super-image" useful for military and surveillance applications.

Existing methods—ranging from multi-scale decomposition to standard Convolutional Neural Networks (CNNs)—suffer from a common flaw: they often discard "middle-layer" information. In a typical deep CNN, only the output of the final layer is used for fusion, which leads to the loss of useful features captured by earlier layers. The authors aim to build a network that retains as much information as possible from every stage of the encoding process.

Methods

The authors propose DenseFuse, a framework consisting of three main parts: an encoder, a fusion layer, and a decoder.

  1. The Encoder (Dense Blocks): Unlike standard architectures, the encoder uses a "DenseBlock" where the output of every layer is connected to every subsequent layer. This ensures that features from the very first convolution (rough edges) and the deeper layers (complex patterns) are all preserved and passed forward.
  2. Unsupervised Training: The network is trained as an autoencoder. It learns to compress an image (encode) and then perfectly reconstruct it (decode). Interestingly, they train the model using 80,000 images from the MS-COCO dataset (natural visible images) rather than specific IR/visible pairs. This allows the network to learn a generalized ability to extract and reconstruct features.
  3. The Fusion Layer: Once the encoder is trained, it's used to extract feature maps from both the IR and visible source images. The authors propose two strategies to merge these maps:
  4. Addition Strategy: A simple pixel-wise sum of feature maps.
  5. $l_1$-norm Strategy: A more sophisticated approach using $l_1$-norm and a soft-max operation to weight features based on their "activity level" (importance), which helps preserve the most salient parts of both images.
  6. The Decoder: A series of four convolutional layers that takes the fused feature maps and reconstructs the final fused image.

The loss function used during training is a weighted combination of Pixel Loss (Euclidean distance) and SSIM Loss (Structural Similarity Index), ensuring the output looks like the input both in terms of raw data and human-perceived structure.

Datasets

  • Training: MS-COCO (80,000 images). These are natural color images converted to grayscale and resized to 256×256.
  • Evaluation/Testing: 20 pairs of infrared and visible images, primarily sourced from the TNO Image Fusion Dataset, a standard benchmark in the field.

Key Insights and Ideas

  • Information Preservation via Density: The "aha moment" is applying DenseNet principles to image fusion. By cascading feature maps, the network avoids the "vanishing information" problem of deep architectures, ensuring the fusion layer has a rich "buffet" of features to choose from.
  • Cross-Domain Generalization: The authors demonstrate that a network trained on natural visible images (MS-COCO) can effectively encode and decode infrared images. This suggests that the fundamental "language" of image features (edges, textures, gradients) is universal enough for this task.
  • The Power of SSIM in Loss Functions: By tuning the weight ($\lambda$) of the SSIM loss, the authors found they could significantly speed up convergence and improve the structural integrity of the reconstructed images compared to using pixel loss alone.

Key Results

DenseFuse was compared against six state-of-the-art methods (including JSR, GTF, and other CNN-based approaches) using seven objective metrics like Entropy (En), Structural Similarity (SSIM), and Mutual Information (FMI).

  • Quantitative: The $l_1$-norm version of DenseFuse achieved the best or second-best values across almost all seven metrics. For example, it showed superior performance in preserving structural information ($SSIM_a$) and edge information ($Q_{abf}$).
  • Qualitative: Visually, DenseFuse results appear "cleaner." While other methods often introduce artificial noise or "ghosting" artifacts (especially in the sky or flat floors), DenseFuse maintains a natural look with sharp contrast for thermal targets.

Limitations and Future Work

While the paper presents a robust framework, a few areas remain open for exploration:

  • Computational Efficiency: While the paper mentions the GPU used (GTX 1080Ti), it doesn't provide a detailed breakdown of inference time compared to simpler non-deep-learning methods, which is critical for real-time surveillance.
  • Fusion Strategy Evolution: The authors note that the fusion layer is modular. While they tested Addition and $l_1$-norm, they suggest that even more complex, task-specific fusion strategies could be "plugged in" to this architecture.
  • Extension to Other Modalities: The authors briefly mention that this architecture could be applied to multi-focus or medical image fusion, but detailed results for those specific domains were left for supplementary material or future papers.

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