PANet: A Physics-guided Parametric Augmentation Net for Image Dehazing by Hazing

Chih-Ling Chang, Fu-Jen Tsai, Zi-Ling Huang, Lin Gu, Chia-Wen LinarXiv 2024

Abstract

Image dehazing faces challenges when dealing with hazy images in real-world scenarios. A huge domain gap between synthetic and real-world haze images degrades dehazing performance in practical settings. However, collecting real-world image datasets for training dehazing models is challenging since both hazy and clean pairs must be captured under the same conditions. In this paper, we propose a Physics-guided Parametric Augmentation Network (PANet) that generates photo-realistic hazy and clean training pairs to effectively enhance real-world dehazing performance. PANet comprises a Haze-to-Parameter Mapper (HPM) to project hazy images into a parameter space and a Parameter-to-Haze Mapper (PHM) to map the resampled haze parameters back to hazy images. In the parameter space, we can pixel-wisely resample individual haze parameter maps to generate diverse hazy images with physically-explainable haze conditions unseen in the training set. Our experimental results demonstrate that PANet can augment diverse realistic hazy images to enrich existing hazy image benchmarks so as to effectively boost the performances of state-of-the-art image dehazing models.

Introduction

Image dehazing is a critical preprocessing step for computer vision tasks operating in adverse weather conditions. Despite significant progress, deep learning models often struggle with the "domain gap"—the discrepancy between the simple, homogeneous synthetic haze used for training and the complex, non-homogeneous haze encountered in the real world. Real-world haze is characterized by varying density and complex light interactions that standard mathematical models fail to capture fully. Furthermore, acquiring paired real-world datasets (the same scene with and without haze) is logistically difficult and expensive.

Methodology: Bridging the Gap with PANet

To address these challenges, the authors propose PANet, a framework that improves dehazing by learning a realistic "hazing" process. Instead of relying on black-box generation, PANet decomposes real hazy images into physically explainable parameters.

The Two-Stage Architecture

  1. Haze-to-Parameter Mapper (HPM): This module projects real hazy images into a parameter space, estimating pixel-wise maps for haze density ($\beta$) and atmospheric light ($A$). By grounding the network in the Physical Scattering Model, the augmentation becomes controllable and explainable.
  2. Parameter-to-Haze Mapper (PHM): This module applies the estimated parameters to clean images. It uses a physics-based initialization followed by a Data-driven Haze Refiner (DHR). The DHR adds the fine-grained textures and artifacts found in real-world haze that simple equations miss.
Overview of the PANet framework, illustrating how it maps clean images into the hazy domain to bridge the gap between homogeneous and non-homogeneous haze.

By resampling these pixel-wise parameter maps—flipping, scaling, or interpolating them—PANet can generate a vast array of physically plausible training examples from a very small set of real-world images.

Experiments and Results

The effectiveness of PANet was evaluated using several benchmark datasets, including NH-Haze20 and NH-Haze21 (non-homogeneous outdoor haze), as well as O-Haze and I-Haze. The researchers used PANet to augment a small training set of 50 real-world pairs into 450 pairs, which were then used to train state-of-the-art (SOTA) models like DW-GAN, DeHamer, and FocalNet.

Quantitative and Qualitative Gains

  • Performance Boost: Models trained with PANet-augmented data saw significant improvements in Peak Signal-to-Noise Ratio (PSNR), with average gains ranging from 0.50 dB to 1.57 dB across different benchmarks.
  • Visual Fidelity: Qualitatively, the models became significantly better at handling dense haze clusters and correcting color distortions. The augmented data allowed models to generalize to the "patchy" nature of real fog, which is often missed by models trained on uniform synthetic haze.
Examples of diverse, non-homogeneous hazy images generated by PANet, demonstrating the realism and variety of the augmentation.

Key Insights and Conclusion

PANet demonstrates that the quality and diversity of training data are just as important as the quantity. By combining the interpretability of physics-based models with the flexibility of data-driven neural networks, PANet provides a powerful tool for bridging the real-world domain gap. While the model currently relies on pre-trained depth estimators, its ability to generate controllable, pixel-wise haze variations represents a significant step forward in robust image restoration for real-world applications.

Summary updated

BibTeX
@misc{chang2024panet,
  author = {Chih-Ling Chang and Fu-Jen Tsai and Zi-Ling Huang and Lin Gu and Chia-Wen Lin},
  title = {{PANet: A Physics-guided Parametric Augmentation Net for Image Dehazing by Hazing}},
  year = {2024},
  eprint = {2404.09269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.09269},
}
Figure