Giter VIP home page Giter VIP logo

ifcnn's Introduction

IFCNN

Project page of "IFCNN: A General Image Fusion Framework Based on Convolutional Neural Network, Information Fusion, 54 (2020) 99-118".

Requirements

  • pytorch=0.4.1
  • python=3.x
  • torchvision
  • numpy
  • opencv-python
  • jupyter notebook (optional)
  • anaconda (suggeted)

Configuration

# Create your virtual environment using anaconda
conda create -n IFCNN python=3.5

# Activate your virtual environment
conda activate IFCNN

# Install the required libraries
conda install pytorch=0.4.1 cuda80 -c pytorch
conda install torchvision numpy jupyter notebook
pip install opencv-python

Usage

# Clone our code
git clone https://github.com/uzeful/IFCNN.git
cd IFCNN/Code

# Remember to activate your virtual enviroment before running our code
conda activate IFCNN

# Replicate our image method on fusing multiple types of images
python IFCNN_Main.py

# Or run code part by part in notebook
jupyter notebook IFCNN_Notebook.ipynb

Typos

  1. Eq. (4) in our paper is wrongly written, the correct expression can be referred to the official expression in OpenCV document, i.e., , where , , , and is the scale factor chosen for achieving .
  2. Stride and padding parameters of CONV4 are respectively 1 and 0, rather than both 0.

Highlights

  • Propose a general image fusion framework based on convolutional neural network
  • Demonstrate good generalization ability for fusing various types of images
  • Perform comparably or even better than other algorithms on four image datasets
  • Create a large-scale and diverse multi-focus image dataset for training CNN models
  • Incorporate perceptual loss to boost the model’s performance

Architecture of our image fusion model

flowchart

Comparison Examples

  1. Multi-focus image fusion CMF05

  2. Infrared and visual image fusion CMF05

  3. Multi-modal medical image fusion MDc02

  4. Multi-exposure image fusion MEdoor

Other Results of Our Model

  1. Multi-focus image dataset: Results/CMF
  2. Infrared and visual image dataset: Results/IV
  3. Multi-modal medical image dataset: Results/MD
  4. Multi-exposure image dataset: Results/ME

Citation

If you find this code is useful for your research, please consider to cite our paper. Yu Zhang, Yu Liu, Peng Sun, Han Yan, Xiaolin Zhao, Li Zhang, IFCNN: A General Image Fusion Framework Based on Convolutional Neural Network, Information Fusion, 54 (2020) 99-118.

@article{zhang2020IFCNN,
  title={IFCNN: A General Image Fusion Framework Based on Convolutional Neural Network},
  author={Zhang, Yu and Liu, Yu and Sun, Peng and Yan, Han and Zhao, Xiaolin and Zhang, Li},
  journal={Information Fusion},
  volume={54},
  pages={99--118},
  year={2020},
  publisher={Elsevier}
}

ifcnn's People

Contributors

uzeful avatar

Watchers

 avatar  avatar

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.