Introduction
Deep learning-based defogging algorithms require paired data: a "foggy" image and a perfectly aligned "clear" ground truth. Because capturing such pairs in the real world is nearly impossible, researchers rely on synthetic datasets. However, most existing datasets utilize the Atmospheric Scattering Model (ASM). While computationally efficient, ASM is a significant oversimplification that treats fog as a 2D depth-based overlay, ignoring indirect light, global illumination, and the complex behavior of light around active sources like headlights. This often results in models that perform well on synthetic benchmarks but fail in real-world autonomous driving scenarios.
Moving Beyond the Atmospheric Scattering Model
To address these limitations, the authors propose an end-to-end simulation pipeline that replaces the "physics-light" approach of ASM with a physically-based rendering engine.
The core of this pipeline is Volumetric Path Tracing, where fog is modeled as a 3D spatial volume. Light is "traced" as it bounces through this volume, capturing complex effects like light glowing around street lamps (active lighting) and global illumination. The simulation employs the Henyey-Greenstein Phase Function to accurately model light scattering directions. Furthermore, the pipeline includes a realistic camera model that accounts for optics (diffraction-limited blur), sensor physics (photovoltaic conversion and noise sources like shot and read noise), and the Image Signal Processor (ISP) pipeline.
The SynFog Dataset
The resulting dataset, SynFog, provides a high-fidelity training ground for defogging models. It consists of 500 unique outdoor scenes generated via procedural modeling, covering various lighting and visibility conditions.
SynFog includes two primary lighting conditions: natural skylight only, and skylight combined with active lighting (headlights and street lamps). It features three fog densities corresponding to 150m, 300m, and 600m visibility. Crucially, it provides pixel-accurate ground truths, including depth maps and semantic segmentation labels, which are vital for training robust autonomous driving systems.
Key Insights and Results
A major finding of this research is the critical role of sensor noise. In real-world foggy conditions, low contrast often leads to contrast stretching, which amplifies sensor noise. Models trained on SynFog learn to handle this "noisy fog," leading to better generalization.
The results demonstrate that physical fidelity is more important than raw dataset size. Despite being smaller than benchmarks like Foggy Cityscapes, models trained on SynFog achieved superior performance on real-world datasets:
- Superior Generalization: Training on SynFog yielded a PSNR of 15.43 on the real-world O-Haze dataset, significantly higher than the 14.46 achieved by training on Foggy Cityscapes.
- Improved Machine Vision: When testing object detection (YOLOv8) on real-world foggy images, models trained on SynFog achieved a 71.5% mAP (mean Average Precision), outperforming those trained on other synthetic sets (~69%).
- Nighttime Performance: Unlike ASM-based datasets, SynFog's path-tracing approach allows for effective training in nighttime driving scenarios involving point light sources.
Conclusion
SynFog represents a significant step toward closing the gap between virtual training and real-world deployment for defogging. By prioritizing physical accuracy—from volumetric scattering to sensor noise—it provides a more robust foundation for autonomous driving in adverse weather. Future work will look to expand the pipeline to include other scattering media like rain and snow, as well as increasing scene diversity.
Summary updated