Abstract
Underwater images are subject to intricate and diverse degradation, inevitably affecting the effectiveness of underwater visual tasks. However, most approaches primarily operate in the raw pixel space of images, which limits the exploration of the frequency characteristics of underwater images, leading to an inadequate utilization of deep models' representational capabilities in producing high-quality images. In this paper, we introduce a novel Underwater Image Enhancement (UIE) framework, named WF-Diff, designed to fully leverage the characteristics of frequency domain information and diffusion models. WF-Diff consists of two detachable networks: Wavelet-based Fourier information interaction network (WFI2-net) and Frequency Residual Diffusion Adjustment Module (FRDAM). With our full exploration of the frequency domain information, WFI2-net aims to achieve preliminary enhancement of frequency information in the wavelet space. Our proposed FRDAM can further refine the high- and low-frequency information of the initial enhanced images, which can be viewed as a plug-and-play universal module to adjust the detail of the underwater images. With the above techniques, our algorithm can show SOTA performance on real-world underwater image datasets, and achieves competitive performance in visual quality.
1. Introduction
Restoring underwater images is notoriously difficult due to the complex physics of light in aquatic environments. Factors such as refraction, absorption, and scattering lead to low contrast, heavy color casts (typically blue or green), and significant blurriness. While deep learning has significantly improved Underwater Image Enhancement (UIE), most existing models operate in the spatial (pixel) domain. This approach is often inefficient as it ignores the inherent frequency characteristics of image degradation. Specifically, color distortion is primarily a low-frequency amplitude issue, while loss of detail and texture resides in high-frequency components. Standard models often struggle to balance these two distinct problems simultaneously when restricted to pixel space.
2. Methodology: The WF-Diff Framework
The proposed WF-Diff framework consists of two detachable stages designed to operate in the frequency domain, allowing for a more targeted restoration process.
2.1 WFI2-net (Wavelet-based Fourier Information Interaction Network)
The first stage decomposes the input image using a Discrete Wavelet Transform (DWT) into one low-frequency and three high-frequency sub-bands.
- Wide Transformer Blocks (WTB) are employed to capture global dependencies in high-frequency details.
- Spatial-Frequency Fusion Blocks (SFFB) process low-frequency components by interacting between spatial and Fourier domains to correct color casts.
- A Cross-Frequency Conditioner (CFC) facilitates interaction between these different frequency branches, ensuring the restored components are harmonious.
2.2 FRDAM (Frequency Residual Diffusion Adjustment Module)
Instead of using a diffusion model to generate an image from scratch, which is computationally expensive and prone to artifacts, the authors use it to learn the residual (the difference) between the preliminary output of WFI2-net and the ground truth. This module acts as a "plug-and-play" refiner that specifically targets fine-grained textures and remaining artifacts in the wavelet space. Operating in wavelet space naturally downsamples the resolution, reducing the computational burden of the diffusion process without losing critical information.
3. Key Insights: Frequency Decoupling
A significant contribution of this work is the empirical proof that color and texture degradation are mathematically separable in the frequency domain.
As illustrated in Figure 1, swapping amplitudes in wavelet space demonstrates that color information is almost entirely contained in low-frequency sub-images. By decoupling color correction (low-frequency) from texture refinement (high-frequency), the model can optimize for each task more effectively. Furthermore, by applying diffusion to the residual in wavelet space, the model focuses only on missing details, making the generation process more stable and accurate than pixel-based diffusion.
4. Experimental Results
The model was trained and evaluated on three primary datasets: UIEBD (890 real-world pairs), LSUI (5,004 diverse pairs), and U45 (non-reference benchmark). WF-Diff achieved State-of-the-Art (SOTA) results across multiple metrics:
- UIEBD Dataset: It achieved a PSNR of 23.86 and SSIM of 0.8730, significantly outperforming previous methods like DM-water (21.88 PSNR).
- Perceptual Quality: The model scored the lowest LPIPS (0.1248) and FID (27.85) on UIEBD, indicating that its outputs are perceptually much closer to natural, clear images.
- Visual Performance: Qualitative results show that WF-Diff is particularly effective at removing "haze" and heavy color tints while maintaining sharp edges on coral and aquatic life.
5. Conclusion
WF-Diff introduces a novel paradigm for underwater image restoration by decoupling color and texture processing in the frequency domain. By combining wavelet-based Fourier interactions with a residual diffusion module, the framework achieves superior restoration quality and color accuracy. While inference speed remains a challenge due to the iterative nature of diffusion, future work on expedited sampling processes promises to make this approach viable for real-time underwater applications like robotics and live ocean exploration.
Summary updated