Coder Social home page Coder Social logo

zhenghl1995 / bedde-for-defogging Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiaofeng94/bedde-for-defogging

0.0 1.0 0.0 1.49 MB

BeDDE is a real-world benchmark dataset for evaluations of defogging methods.

Python 50.02% MATLAB 49.98%

bedde-for-defogging's Introduction

BeDDE & exBeDDE for defogging evaluation

BeDDE is a real-world benchmark dataset for evaluations of defogging methods. It consists of 208 image paris of foggy images and clear refernece images.

Those images were collected from 34 provincial capital cities of China. Images in each city were collect between 9:00~10:00 over 40 days and only one image were taken in each day.

For each image pair, a manually labelled mask is provided to delineate regions with the same contents. We evaluate defogging results on those regions.

What's more, in order to measure the performance of defogging evaluation metrics, we build an extension of BeDDE, exBeDDE, using 167 foggy images and 1670 defogged images. All foggy images with their clear reference are from 12 cities of BeDDE with most images. All defogged images are generated from the 167 foggy images using 10 defogging methods described below.

We find it is more reasonable to evaluate defogged reuslts from two separate aspects, visibility and realness, and acorrdingly propose to two criterion, visibility index and realness index, to evaluate defogging methods. Details of the criterion may be find in the paper (coming soon) titled as Defogging Evaluation: Real-World Benchmark Datasets, New Criteria and Baselines.

Download

You can download BeDDE and exBeDDE on Google drive.

You may also get access to BeDDE or exBeDDE on BaiduYun disk (coming soon).

Testing

Our environment

  • Matlab 2017b

Test on BeDDE

  1. Download BeDDE.rar and unzip it to ./Defogging_eval

  2. Set Matlab work folder to ./Defogging_eval

  3. Run eval_defog_method.m

Then, you will see the VI score of foggy images. You may modify the variables to try other defogging methods or metrics.

Test on exBeDDE

  1. Download exBeDDE.rar and unzip it to ./Defogging_eval

  2. Set Matlab work folder to ./Defogging_eval

  3. Run assess_IQA_metric.m

It will take a while. After that, you will see the performance of our VI on foggy groups. You may modify the variables to test on defogged groups or assess other metrics.

Test your own defogging method on BeDDE

  1. Create a folder named after your method in each city folder of BeDDE. Put the images results of each city to the corresponding folder you just created. Name all the defogged images after their original foggy images or make sure the name of a defogged image starts with the name of its original foggy image.

  2. Set the variable method_name in eval_defog_method.m to the name of your method folder in each city folder.

  3. Set the variable eval_method to VI, RI, VSI or other metrics and run the script to get the corresponding score of your method on BeDDE.

Defogging methods

The selected 10 defogging methods are Fast Visibility Restoration (FVR), Dark Channel Prior (DCP), Bayesian Defogging (BayD), Color Attenuation Prior (CAP), Non-Local image Dehazing (NLD), MSCNN, DehazeNet (DeN), AOD-Net, DCPDN, and GFN,

We test them on BeDDE as the defogging benchmarks. Code of those methods in our experiments will be available in this repo as well. Details of each method can be found in the folder named after the method.

bedde-for-defogging's People

Contributors

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