Code Monkey home page Code Monkey logo

image-video-dehazing-opencv's Introduction

image-video-dehazing image and video dehazing by median dark channel prior proposed by Gibson et al.

Since we estimate the atmospheric light (AL) value for every frame, sometimes it changes a lot and makes the brightness of the video change suddenly. So I added an AL smoothing part in the main function: AL(n) = alphaAL(n) + (1 - alpha)AL(n-1), where n stands for the frame number and alpha is set to be 0.05.

Some problems:

  1. Since the brightness of the dehazed frames is not only decided by the AL values, the variation of the brightness is still noticeable.
  2. w is the parameter which decides the degree of dehazing. If we use the default value of 0.95 in the paper, the dehazed frames are more or less dark. But if we reduce the value to around 0.75, the brightness is fine but the dehazing result seems not obvious enough.

please contact me if you have any idea about improving the algorithm or would like to discuss it.

Yuze Chen [email protected]

Reference [1] K. Gibson, D. VĖœo, T. Nguyen. An Investigation in Dehazing Compressed Images and Video. [2] K. He, J. Sun, X. Tang. Single Image Haze Removal Using Dark Channel Prior.

image-video-dehazing-opencv's People

Contributors

chrisawa avatar

Watchers

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