Giter Site home page Giter Site logo

wdnet_demoire's Introduction

This is the implementation of the paper Wavelet-based and Dual-branch Neural Network for Demoireing

Add some results of our methods, you can download them from [Results Link] . password: mzo8

WDNet

Wavelet-based and Dual-branch Neural Network for Demoireing ECCV 2020

[Paper Link]

Abstract

When smartphone cameras are used to take photos of digital screens, usually moire patterns result, severely degrading photo quality. In this paper, we design a wavelet-based dual-branch network (WDNet) with a spatial attention mechanism for image demoireing. Existing image restoration methods working in the RGB domain have difficulty in distinguishing moire patterns from true scene texture. Unlike these methods, our network removes moire patterns in the wavelet domain to separate the frequencies of moire patterns from the image content. The network combines dense convolution modules and dilated convolution modules supporting large receptive fields. Extensive experiments demonstrate the effectiveness of our method, and we further show that WDNet generalizes to removing moire artifacts on non-screen images. Although designed for image demoireing, WDNet has been applied to two other low-levelvision tasks, outperforming state-of-the-art image deraining and derain-drop methods on the Rain100h and Raindrop800 data sets, respectively.

Quick start

  1. Download the dataset from [TIP2018 Dataset]

  2. Donwload the wavelet parameters from [wavelet parameters] wavelet_weights_c2.pkl.

  3. Put it into /cache/TrainData

  4. Run the training_wdnet.py

Citation

If you use this code, please cite:

@InProceedings{liu2020waveletbased,
      title={Wavelet-Based Dual-Branch Network for Image Demoireing}, 
      author={Lin Liu and Jianzhuang Liu and Shanxin Yuan and Gregory Slabaugh and Ales Leonardis and Wengang Zhou and Qi Tian},
      booktitle={ECCV, 2020}
}

wdnet_demoire's People

Contributors

laulampaul 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.