Giter VIP home page Giter VIP logo

non-local-dehazing's Introduction

Non-Local Image Dehazing

This is the source code implementing the non-local single image dehazing algorithm described in the papers:

Non-Local Image Dehazing. Berman, D. and Treibitz, T. and Avidan S., CVPR2016

Air-light Estimation using Haze-Lines. Berman, D. and Treibitz, T. and Avidan S., ICCP2017

If you use this code, please cite the appropriate paper.

bibtex

@inproceedings{NonLocalImageDehazing,
title={Non-Local Image Dehazing},
author={Berman, D. and Treibitz, T. and Avidan, S.},
booktitle={IEEE Conf. CVPR},
year={2016}, }

@inproceedings{AirlightEstimation,
title={Air-light Estimation Using Haze-Lines},
author={Berman, D. and Treibitz, T. and Avidan, S.},
booktitle={IEEE Conf. ICCP},
year={2017}, }

Getting Started

System Requirements:

The code requires MATLAB, and was tested on windows.

Demo

  1. Change MATLAB's directory to the folder the code was extracted to.
  2. Run the file demo_non_local_dehazing.m in order to see the algorithm's perfomance on the attached images.

Dehazing other images

Each image in the demo is accompanied by a text file containing parameters. These value were taken from the result pages of the paper: "Dehazing using Color-Lines".

The gamma value is required since the image formation model applies to the linear images, where each pixel's value is directly related to the number of photons received at that location on the sensor. A non-linear tone-mapping is applied in camera and most of the images we see are not linear. The gamma value approximates the inverse mapping of the pixels' values to linear.

Despite that, for new images, I recommend trying gamma=1 first (this is the default). It often works even though it is not physically accurate.

Authors

Dana Berman, [email protected]

License

The software code of the non-local image dehazing algorithm is provided for non-commercial use under the attached LICENSE.md

non-local-dehazing's People

Contributors

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