This source code is the matlab implementation of our fast visibility restoration algorithm from a single image. In any publication related to the use of this code, your are kindly requested to cite the following reference: "Fast Visibility Restoration from a Single Color or Gray Level Image", J.-P. Tarel and N. Hautiere, in proceedings of IEEE International Conference on Computer Vision (ICCV'09), Kyoto, Japan, p. 2201-2208, September 29- October 2, 2009. See http://perso.lcpc.fr/tarel.jean-philippe/publis/iccv09.html