Introduction
Image dehazing is a critical preprocessing step for computer vision tasks in outdoor environments, such as autonomous driving and surveillance. Most existing dehazing algorithms are built upon the "atmospheric scattering model," which assumes that haze is uniformly distributed across a scene. However, real-world haze is frequently non-homogeneous, characterized by significant variations in density across different spatial regions and depths.
While deep learning approaches, particularly Convolutional Neural Networks (CNNs), have advanced the state-of-the-art, many current "multi-scale" models are computationally expensive and struggle to capture the local variations inherent in uneven haze. To address these challenges, researchers have introduced the Deep Multi-patch Hierarchical Network (DMPHN), a lightweight and efficient architecture designed for real-time, non-homogeneous dehazing.
The DMPHN Architecture
The core innovation of the DMPHN is its hierarchical multi-patch approach. Rather than processing the entire image at multiple resolutions (as in traditional multi-scale pyramids), the network operates on a hierarchy of spatial patches.
As illustrated in Figure 1, the model employs a 3-level structure:
- Level 1: Processes the global image (1 patch).
- Level 2: Splits the image vertically into 2 patches.
- Level 3: Further divides the image horizontally, resulting in 4 patches.
The network utilizes a bottom-up flow, where information from the finest level (Level 3) is passed up to the coarser levels. This design forces the lower levels to focus on extracting fine-grained local features from small sections of the haze. These features are then concatenated and passed to higher levels to provide residual information for global reconstruction. Each level consists of an encoder-decoder pair with residual links, maintaining a low parameter count and a compact model size of approximately 21.7 MB.
Training and Loss Functions
To optimize the network for both pixel-level accuracy and visual quality, the authors employed a composite loss function:
- Reconstruction Loss: A combination of $L_1$ (Mean Absolute Error) and $L_2$ (Mean Squared Error) to ensure high fidelity to the ground truth.
- Perceptual Loss: Based on VGG-16 features, this loss ensures the dehazed output maintains natural textures and structures.
- Total Variation (TV) Loss: This term encourages spatial smoothness, reducing noise in the final output.
The model was trained on the NH-HAZE and Dense-HAZE datasets. Due to the limited number of high-quality real-world hazy image pairs, the authors augmented the data by dividing each image into 100 non-overlapping patches, creating a robust training set of 4,500 image pairs.
Performance and Results
The DMPHN demonstrates exceptional performance in both speed and image quality. It is capable of processing a 1200 × 1600 HD image in just 0.0145 seconds, making it over 100 times faster than competing models like FFA-Net.
As shown in Figure 3, the model effectively restores clarity to scenes obscured by varying densities of haze. Quantitatively, on the NH-HAZE validation set, it achieved a Peak Signal-to-Noise Ratio (PSNR) of 16.94 and a Structural Similarity Index (SSIM) of 0.6177. It also proved robust against extreme conditions, achieving a PSNR of 23.41 on the Dense-HAZE dataset.
Conclusion
The Deep Multi-patch Hierarchical Network offers a compelling solution for real-world dehazing. By prioritizing local feature extraction through a patch-based hierarchy, the model handles non-homogeneous haze more effectively than global multi-scale approaches. Its lightweight design and remarkable inference speed make it a prime candidate for deployment in real-time edge applications. Future research may explore deeper hierarchies for even greater accuracy or focus on maintaining temporal consistency for video-based dehazing in dynamic environments.
Summary updated