Skip to content

Commit

Permalink
Update link to ICCP2017 paper and the instructions for using the auto…
Browse files Browse the repository at this point in the history
…matic air-light estimation
  • Loading branch information
danaberman committed Mar 19, 2017
1 parent d0c229c commit 5922558
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
Expand Up @@ -2,13 +2,13 @@

<img height="285px" width="200px" align="right" src="http://www.eng.tau.ac.il/~berman/images/cityscape_half.jpg">

This is the source code implementing the non-local single image dehazing algorithm described in the paper:
This is the source code implementing the non-local single image dehazing algorithm described in the papers:

[Non-Local Image Dehazing. Berman, D. and Treibitz, T. and Avidan S., CVPR2016](https://www.eng.tau.ac.il/~berman/NonLocalDehazing/NonLocalDehazing_CVPR2016.pdf)

[Air-light Estimation using Haze-Lines. Berman, D. and Treibitz, T. and Avidan S., ICCP2017](https://www.eng.tau.ac.il/~berman/NonLocalDehazing/AirlightEstimation_ICCP2017.pdf)


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

#### bibtex

Expand All @@ -18,6 +18,13 @@ If you use this code, please cite our paper.
> booktitle={IEEE Conf. CVPR},
> year={2016},
> }
>
> @inproceedings{AirlightEstimation,
> title={Air-light Estimation Using Haze-Lines},
> author={Berman, D. and Treibitz, T. and Avidan, S.},
> booktitle={IEEE Conf. ICCP},
> year={2017},
> }


Expand All @@ -33,10 +40,7 @@ The code requires MATLAB, and was tested on windows.
perfomance on the attached images.

### Dehazing other images
This code requires a pre-computed air-light vector (RGB components) for each image.
This value can be computed by various methods, e.g., the [Dark Channel Prior](https://www.mathworks.com/matlabcentral/fileexchange/46147-single-image-haze-removal-using-dark-channel-prior) (and soon our method, too).
The air-light value for the demo images is saved in the text file accompanying each image.
This file also contains a gamma value for each image. These value were taken from the [result pages of the paper: "Dehazing using Color-Lines"](http://www.cs.huji.ac.il/~raananf/projects/dehaze_cl/results/).
Each image in the demo is accompanied by a text file containing parameters. These value were taken from the [result pages of the paper: "Dehazing using Color-Lines"](http://www.cs.huji.ac.il/~raananf/projects/dehaze_cl/results/).

The gamma value is required since the image formation model applies to the linear images, where each pixel's value is directly related to the number of photons received at that location on the sensor.
A non-linear tone-mapping is applied in camera and most of the images we see are not linear. The gamma value approximates the inverse mapping of the pixels' values to linear.
Expand Down

0 comments on commit 5922558

Please sign in to comment.