Giter Club home page Giter Club logo

amef_dehazing's Introduction

AMEF - Artificial Multiple Exposure Fusion for Image Dehazing

AMEF is a fast fog removal technique that fuses differently (artificially) underexposed versions of a hazy image into a single haze-free result

DESCRIPTION

Matlab implementation of the AMEF method for image dehazing, described in:

Image Dehazing by Artificial Multi-Exposure Image Fusion
Adrian Galdran
Signal Processing, 149: 135-147, Aug. 2018.
  • PDF: Follow this link

  • DOI: Follow this link

The fusion part of the code borrows from the following work:

"Exposure Fusion",
Tom Mertens, Jan Kautz and Frank Van Reeth
In proceedings of Pacific Graphics 2007

Please consider citing each work appropriately if this code is useful for you. Thanks :)

INSTRUCTIONS

Open the amef_demo.m m-file and modify the image name to process your own images.

The most relevant parameter to play with is clip_range, which in the paper is fixed to c=0.010 for most of the experiments, but it can be varied. A larger clip_range will attempt to remove more haze - at the risk of overenhancement:

Influence of the clip-range parameter c on the behavior of AMEF: a) Hazy landscape b)-f) Result of dehazing with b) c=0.003 c) c=0.005 d) c=0.010 e) c=0.015 f) c=0.020

Running AMEF should be quite fast. As explained in the paper, I found that the average runtime tested on images of 720 x 480 resolution1 was 0.7 seconds. If you need further speed, the computationally heaviest part of the method is the fusion scheme; there is an OpenCV implementation of it here that you may want to adapt. Have fun!

All the examples shown in the paper can be reproduced with this code. Additional examples are also included for completeness.


1 In a computer with an Intel® Xeon® E5 CPU at 3.5 GHz.

amef_dehazing's People

Contributors

agaldran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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