Git Product home page Git Product logo

image-dehazing's Introduction

Fast Image Dehazing Using Dark Channel Prior

An implementation of the algorithm described in Single Image Haze Removal Using Dark Channel Prior [He et al. 09] (page), with the modifications proposed in Guided Filtering [He et al. 10] for faster transmission refinement. It was implemented with Python 2.7 and uses the SciPy and NumPy libraries.

Running

In order to run the program one needs:

Having those requirements, one should be able to run the program with the following command line (considering one is in the src folder):

$ python main.py -i ../images/cones.jpg -o ../results/cones_res.jpg

This programs calls the main module of the program to receive the arguments. The first argument -i is the path to the input image that will be dehazed. While the -o argument is the path to the output image, that is, the dehazed version of the input image. These are the only two required arguments.

For optional arguments, one can type:

$ python main.py -h

This will display the set of arguments available.

Benchmarks and Results

A set of benchmark images can be found under the folder images. Most were taken from the main base paper page, but some were taken from the page of Dehazing Using Color-Lines [Fattal 14].

Results of applying the program to some of the benchmark images can be found under the folder results.

References

There is a document under references listing all the papers used in the development of this project. However, the two main references for this project were:

  • Single Image Haze Removal Using Dark Channel Prior [He et al. 09], CVRP;
  • Guided Filtering [He et al. 10], ECCV.

About

This project was developed as a Final Project for the "INF01050 - Computational Photography" class, 2016, at UFRGS.

image-dehazing's People

Contributors

cssartori avatar

Watchers

James Cloos 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.