Git Product home page Git Product logo

piafusion's Introduction

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

The overall framework of the progressive infrared and visible image fusion algorithm based on illumination-aware.

Example

An example of illumination imbalance. 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}
}

piafusion's People

Contributors

linfeng-tang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

piafusion's Issues

关于检测

非常感谢您的开源代码,请问一下如果在您的代码中做行人检测,那么图像重建模块是不是就是不需要的,还有KAIST数据集支持吗?是不是要把非对齐的图片剔除掉?

论文中对比实验DenseFuse的复现

请问如何将MSRS数据集用于DenseFuse模型的训练呢,因为DenseFuse模型的初始训练集是MS-COCO 2014,图片数量远比MSRS数据集的多

是不是data_illum.h5文件中的数据缺少了一个通道?

您好,非常感谢您的工作!
但是根据提供的百度连接下载data_illum.h5.后,
通过调试发现其shape为:
image
中间的4感觉少了一个通道,one-hot标签占2个通道,RGB数据3个通道,应该是5个通道感觉才对。
通过代码中的np.transpose(sources, (0, 3, 2, 1))转换后打印了数据:

image
感觉只有前两列是图片的像素值,后两列是one-hot标签。

折线图

您好,请问您论文中的折线图是用什么绘制的?

关于h5文件

data_MSRS.h5 维度是(26112, 4, 64, 64),其中那个4代表什么意思,如果自己要制作训练集的话,怎么制作呀

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.