Code Monkey home page Code Monkey logo

gman_net_haze_removal's Introduction

GMAN(Jan, 2018 - June, 2018 & Dec, 2018 - Now)

Introduction

GMAN is a awesome Convolutional neural network purposed on haze removal. It is a completely end-to-end dehaze system so the input to the system is hazed rgb images and the output of the system is the clear images that processed by the system. The results can be found in the Results column, where lists our evaluation results on SOTS evaluation dataset. There lists 500 images for indoor test and 500 images for outdoor test saparately, in each file, we can also find a log.txt file showing the psnr and ssim for each images.

Dateset PSNR(dB) SSIM Model Path Link to result
SOTS outdoor 28.474217 0.944434 click me click me
SOTS indoor 27.934801 0.896512 click me click me

Imgur

How to use?

  1. Step 1:
    • You need to install all packages required by the program, such as tensorflow(GPU version), numpy etc.
    • You need to download current repository into your local environment and extract it.
  2. Step 2:
    • Go to your local file and enter the setup.sh file. Change the line 14, "PROGRAM_ROOT_PATH=''" to the path you want.
    • Run sh setup.sh, it will automatically create the directories for running the program

Evaluate your own image

  1. Step 3:
    • Move the hazed images to (PROGRAM_ROOT_PATH)/HazeImages/TestImages.
    • If you have ground truth images to compare with the pictures processed by the net, move them to (PROGRAM_ROOT_PATH)/ClearImages/TestImages.
  2. Step 4:
    • Copy the model from (DOWNLOAD FILE)/Results/models/(outdoor or indoor) to (PROGRAM_ROOT_PATH)/DeHazeNetModel
  3. Step 5:
    • If you want to compare the result with groundtruth, you just need to run the program by using python3 gman_eval.py.
    • If you don't have ground truth, you can can run the program by using python3 gman_eval.py --eval_only_haze=True.
  4. Step 6:
    • You results are in (PROGRAM_ROOT_PATH)/ClearResultImages.

Demonstration

Only listed several examples, more results can be found in my github.

Outdoor

Hazy Groundtruth Our result

Indoor

Hazy Groundtruth Our result
  1. Reference: Generic Model-Agnostic Convolutional Neural Network for Single Image Dehazing
  2. Code work: GMEAN Code
  3. Co-worker: Zheng Liu

Citation

Please cite the paper if you are using this project.

@article{liu2019single,
  title={Single Image Dehazing with a Generic Model-Agnostic Convolutional Neural Network},
  author={Liu, Zheng and Xiao, Botao and Alrabeiah, Muhammad and Wang, Keyan and Chen, Jun},
  journal={IEEE Signal Processing Letters},
  volume={26},
  number={6},
  pages={833--837},
  year={2019},
  publisher={IEEE}
}

gman_net_haze_removal's People

Contributors

mintcakedotcom avatar seanforfun avatar

Watchers

 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.