PIAFusion
This is official tensorflow implementation of “PIAFusion: A Progressive Infrared and Visible Image Fusion Network Based on Illumination Aware”
Install / Use
/learn @Linfeng-Tang/PIAFusionREADME
PIAFusion
This is official tensorflow implementation of “PIAFusion: A progressive infrared and visible image fusion network based on illumination aware”.
The PyTorch implementation of our project, accomplished by @linklist2, can be fetched from https://github.com/linklist2/PIAFusion_pytorch.
A new benchmark dataset for infrared and visible fusion are released in this paper, which is termed MSRS.
Architecture

Example
An example of illumination imbalance. From left to right: infrared image, visible image, the fused results of DenseFuse, FusionGAN, and our proposed PIAFusion.
The visible image contains abundant information, such as texture details in the daytime (top row). But salient targets and textures are all included in the infrared image at nighttime (bottom row). Existing methods ignore the illumination imbalance issues, causing detail loss and thermal target degradation. Our algorithm can adaptively integrate meaningful information according to illumination conditions.
Recommended Environment
- [ ] tensorflow-gpu 1.14.0
- [ ] scipy 1.2.0
- [ ] numpy 1.19.2
- [ ] opencv 3.4.2
To Training
Training the Illumination-Aware Sub-Network
Run: "python main.py --epoch=100 --is_train=True model_type=Illum --DataSet=MSRS" The dataset for training the illumination-aware sub-network can be download from data_illum.h5.
Training the Illmination-Aware Fusion Network
Run: "python main.py --epoch=30 --is_train=True model_type=PIAFusion --DataSet=MSRS" The dataset for training the illumination-aware fusion network can be download from data_MSRS.h5.
To Testing
The MSRS Dataset
Run: "python main.py --is_train=False model_type=PIAFusion --DataSet=MSRS"
The RoadScene Dataset
Run: "python main.py --is_train=False model_type=PIAFusion --DataSet=RoadScene"
The TNO Dataset
Run: "python main.py --is_train=False model_type=PIAFusion --DataSet=TNO"
Acknowledgement
Our Multi-Spectral Road Scenarios (MSRS) dataset is constructed on the basis of the MFNet dataset[1].
[1] Ha, Q., Watanabe, K., Karasawa, T., Ushiku, Y., Harada, T., 2017. Mfnet: Towards real-time semantic segmentation for autonomous vehicles with multi-spectral scenes, in: Proceedings of the IEEE International Conference on Intelligent Robots and Systems, pp.5108–5115.
If this work is helpful to you, please cite it as:
@article{Tang2022PIAFusion,
title={PIAFusion: A progressive infrared and visible image fusion network based on illumination aware},
author={Tang, Linfeng and Yuan, Jiteng and Zhang, Hao and Jiang, Xingyu and Ma, Jiayi},
journal={Information Fusion},
volume = {83-84},
pages = {79-92},
year = {2022},
issn = {1566-2535},
publisher={Elsevier}
}
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
