SunYM2020 / DetFusion

This is the offical repository for "DetFusion: A Detection-driven Infrared and Visible Image Fusion Network" (ACM MM 2022).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DetFusion

This is the official repository for "DetFusion: A Detection-driven Infrared and Visible Image Fusion Network" (ACM MM 2022). The repo is based on mmdetection. This paper can be downloaded in the link.

Introduction

Infrared and visible image fusion aims to utilize the complementary information between the two modalities to synthesize a new image containing richer information. Most existing works have focused on how to better fuse the pixel-level details from both modalities in terms of contrast and texture, yet ignoring the fact that the significance of image fusion is to better serve downstream tasks. For object detection tasks, object-related information in images is often more valuable than focusing on the pixel-level details of images alone. To fill this gap, we propose a detection-driven infrared and visible image fusion network, termed DetFusion, which utilizes object-related information learned in the object detection networks to guide multimodal image fusion. We cascade the image fusion network with the detection networks of both modalities and use the detection loss of the fused images to provide guidance on task-related information for the optimization of the image fusion network. Considering that the object locations provide a priori information for image fusion, we propose an object-aware content loss that motivates the fusion model to better learn the pixel-level information in infrared and visible images. Moreover, we design a shared attention module to motivate the fusion network to learn object-specific information from the object detection networks. Extensive experiments show that our DetFusion outperforms state-of-the-art methods in maintaining pixel intensity distribution and preserving texture details. More notably, the performance comparison with state-of-the-art image fusion methods in task-driven evaluation also demonstrates the superiority of the proposed method.

Installation

Please refer to INSTALL.md for installation.

Getting Started

Inference with trained models

You can use the following commands to get the fused images.

python tools/test.py

Train a model

You can use the following commands to train the DetFusion.

python tools/train.py configs/DetFusion.py

Model

BaiduYun download link can be found here with extracting code xg1g.

Citation

@inproceedings{sun2022detfusion,
  title={Detfusion: A detection-driven infrared and visible image fusion network},
  author={Sun, Yiming and Cao, Bing and Zhu, Pengfei and Hu, Qinghua},
  booktitle={Proceedings of the 30th ACM International Conference on Multimedia},
  pages={4003--4011},
  year={2022}
}

About

This is the offical repository for "DetFusion: A Detection-driven Infrared and Visible Image Fusion Network" (ACM MM 2022).

License:Apache License 2.0


Languages

Language:Python 77.5%Language:Cuda 15.7%Language:C++ 6.1%Language:Cython 0.6%Language:Shell 0.2%