A variational approach to atmospheric visibility estimation in the weather of fog and haze. (May 2018)