Giter VIP home page Giter VIP logo

underwater-hl's Introduction

Underwater Color Restoration

This is a revised implementation the color restoration method described in:

Diving into Haze-Lines: Color Restoration of Underwater Images. Berman, D. and Treibitz, T. and Avidan S., BMVC2017

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

bibtex

@inproceedings{UnderwaterHL,
title={Diving into Haze-Lines: Color Restoration of Underwater Images},
author={Berman, D. and Treibitz, T. and Avidan, S.},
booktitle={Proceedings of the British Machine Vision Conference},
publisher = {BMVA Press}, year={2017}, }

Getting Started

System Requirements:

The code requires MATLAB, and was tested on windows.

Download code and Pre-requisites

Option A: with git

Run the following commands to initialize your local repository, and to fetch all of the dependencies:

git clone https://github.com/danaberman/underwater-hl.git
cd underwater-hl
git submodule init
git submodule update

Option B: without git

  1. Download the code as a zip file.
  2. Download the toolbox from https://github.com/pdollar/toolbox into utils/toolbox/.
  3. Download the toolbox from https://github.com/pdollar/edges into utils/edges/.

Demo

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

Working with RAW images

If you wish to use a raw image as input, please download Adobe DNG Converter and convert the raw image to a linear decompressed according to these settings:

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

underwater-hl's People

Contributors

danaberman avatar

Watchers

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