Giter Site home page Giter Site logo

ppie-ssarn's Introduction

PPI Edge Infused Spatial–Spectral Adaptive Residual Network

This repo is the official implementation of the following paper:

"PPI Edge Infused Spatial–Spectral Adaptive Residual Network for Multispectral Filter Array Image Demosaicing" (TGRS 2023) [Paper].

Introduction

We present a pseudo-panchromatic image (PPI) edge-infused spatial–spectral adaptive residual network (PPIE-SSARN) for MSFA image demosaicing.

network architecture

The proposed two-branch model deploys a residual subbranch to adaptively compensate for the spatial and spectral differences of reconstructed multispectral images and a PPI edge infusion subbranch to enrich the edge-related information. Moreover, we design an effective mosaic initial feature extraction module with a spatial- and spectral-adaptive weight-sharing strategy whose kernel weights can change adaptively with spatial locations and spectral bands to avoid artifacts and aliasing problems.

Datasets

Install

  • Clone this repo:

    git clone https://github.com/bowenzhao-zju/PPIE-SSARN
    cd PPIE-SSARN
  • Build the DDMF module:

    cd model/ddf
    python setup.py install
    mv build/lib*/* .

Train

  • Set the data path and the hyperparameters for training in config.py.

  • Run train.py:

    python train.py

Test

Quick Start

  • Download the weights file valid_best.pth and place it in checkpoint.

  • Run test.py:

    python test.py
  • The results are in checkpoint/pred.

Test

  • Set the data path and the weight file (*.pth) path for testing in config.py.

  • Run test.py:

    python test.py

Results

results

Visual comparisons for demosaicing results on the ARAD-1K dataset. Our method is compared with five alternatives, that is, MCAN [Code], DPDNet [Code], 3D-ResNet, PPID [Code], and WB. The first column shows the GT. In addition, zoomed-in views of selected regions are provided. Please zoom in to see the details.

Citation

If you find the code and datasets helpful in your research work, please cite the following paper:

@ARTICLE{10188849,
  author={Zhao, Bowen and Zheng, Jiesi and Dong, Yafei and Shen, Ning and Yang, Jiangxin and Cao, Yanlong and Cao, Yanpeng},
  journal={IEEE Transactions on Geoscience and Remote Sensing}, 
  title={PPI Edge Infused Spatial–Spectral Adaptive Residual Network for Multispectral Filter Array Image Demosaicing}, 
  year={2023},
  volume={61},
  number={},
  pages={1-14},
  doi={10.1109/TGRS.2023.3297250}}

ppie-ssarn's People

Contributors

bowenzhao-zju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar Shen Ning avatar  avatar

Watchers

 avatar

ppie-ssarn's Issues

DDFM

What's the difference between the DDFM in your paper and the DDF module(CVPR 2021)? Are they identical? If so, how do you communicate with the reviewers as you treat DDFM as one of your contributions in the paper? Looking forward to your reply.

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.