This project is an implementation of haze removal algorithm based on dark channel prior.
In the directory 'codes' is the source code and test images of this project, and I generated an executable file in the 'executor' file.
Run the 'Defog.exe' (some time may be needed for initialization).
Click 'Open File' to load an fog image.
By sliding the bar to change two key parameters to modify the result of defog.
Click 'Save File' to save the result image into folder '\Test Images\Defogs' by default.
He K, Sun J, Tang X. Single image haze removal using dark channel prior. IEEE transactions on pattern analysis and machine intelligence. 2011 Dec;33(12):2341-53.
This implementation is a simple implementation of the paper. Some details in the paper are omitted but the result is still acceptable.

