Introduction
Image dehazing is a fundamental yet challenging task in computer vision, particularly in "dense-haze" scenarios where atmospheric scattering and absorption significantly degrade visibility. Traditional approaches typically fall into two categories: physical-based methods relying on the Atmospheric Scattering Model (ASM) and deep learning mapping methods using CNNs or Transformers. While physical methods often lack robustness in complex real-world conditions, direct mapping methods struggle to recover information in thick haze, frequently producing blurry or color-distorted results.
To address these limitations, this paper introduces DehazeDDPM, a novel two-stage framework that integrates the physical grounding of the ASM with the generative capabilities of Denoising Diffusion Probabilistic Models (DDPM). By bridging the statistical gap between hazy and clear data distributions, DehazeDDPM achieves superior restoration of images even under extreme information loss.
Methodology
DehazeDDPM operates through a two-stage process designed to align data distributions before applying generative refinement.
Stage 1: Physical Modeling
The first stage utilizes a backbone network to estimate the components of the ASM equation: $I(x) = J(x)t(x) + A(1 - t(x))$, where $I$ is the hazy input, $J$ is the estimated haze-free image, $t$ is the transmission map, and $A$ is the global atmospheric light. This stage acts as a distribution aligner, generating a coarse dehazed version ($J$) that is statistically closer to the ground truth than the original input.
Stage 2: Physics-Aware Diffusion Refinement
The second stage employs a conditional DDPM to refine the Stage 1 output. This stage introduces three primary innovations:
- Fog-aware and Distribution-closer Conditions (FDC): The diffusion process is conditioned on the coarse image ($J$) and the transmission map ($trmap$) from Stage 1, providing a more accurate starting point than the raw hazy image.
- Confidence-guided Dynamic Fusion (CDF): The transmission map serves as a spatial indicator of uncertainty. In regions with high transmission (thin haze), the model prioritizes the Stage 1 output; in low-transmission regions (dense haze), the DDPM exerts more generative power to reconstruct missing details.
- Frequency Prior Loss ($L_{Fre}$): A Fourier-transform-based loss is implemented to ensure the model focuses on recovering high-frequency textures and edges, which are often overlooked by standard diffusion models.
Experiments and Datasets
The model was evaluated on several rigorous benchmarks, including Dense-Haze (thick, homogeneous fog) and NH-HAZE (non-homogeneous fog). These datasets are particularly challenging as they contain real-world paired images captured with and without professional fog machines. Additionally, the model was tested on synthetic data (SOTS) and unlabeled real-world images (URHI, RTTS) to evaluate its generalization capabilities.
Results
DehazeDDPM achieved state-of-the-art (SOTA) performance across multiple metrics, particularly in perceptual quality. On the Dense-Haze dataset, the model reached an FID of 171.06, a significant improvement over the previous best of 202.94. Distortion metrics also saw substantial gains, with PSNR improving from 16.91 dB to 19.04 dB.
Qualitative analysis demonstrates that DehazeDDPM effectively eliminates the "ghostly" haze and gray artifacts common in other models, restoring vibrant colors and sharp textures that closely resemble the ground truth.
Conclusion
By reframing dehazing as a generative task guided by physical priors, DehazeDDPM overcomes the limitations of deterministic mapping. The use of the transmission map as a confidence guide allows the model to balance physical accuracy with generative hallucination, making it uniquely suited for restoring images buried under dense haze. Future work will focus on scaling the framework with larger real-world datasets and optimizing the inference speed of the diffusion process.
Summary updated