This is the MATLAB source code of a haze removal algorithm, which dehazes a hazy input image using simple image enhancement techniques, such as detail enhancement, gamma correction, and single-scale image fusion. The computational flow is as follows:
Input image --> Detail enhancement --> Gamma correction --> Dark channel prior-based weight maps calc. --> Single-scale image fusion --> Post-processing --> Output image
This source code includes all computational steps, except for the adaptive tone remapping post-processing due to copyright restrictions.
Executing the file mIFDH_demo.m in MATLAB R2019a to view the hazy-dehazed results side-by-side.
NOTE: The results obtained by executing this source code are different from the qualitative results presented here. The reason is the exclusion of adaptive tone remapping post-processing.
In any publication related to the use of the source code, you are kindly requested to cite the following reference: