The Synthesis of Unpaired Underwater Images for Monocular Underwater Depth Prediction

Qi Zhao, Ziqiang Zheng, H. Zeng, Zhibin Yu, Haiyong Zheng, Bing ZhengFrontiers in Marine Science 2021

Abstract

Underwater depth prediction plays an important role in underwater vision research. Because of the complex underwater environment, it is extremely difficult and expensive to obtain underwater datasets with reliable depth annotation. Thus, underwater depth map estimation with a data-driven manner is still a challenging task. To tackle this problem, we propose an end-to-end system including two different modules for underwater image synthesis and underwater depth map estimation, respectively. The former module aims to translate the hazy in-air RGB-D images to multi-style realistic synthetic underwater images while retaining the objects and the structural information of the input images. Then we construct a semi-real RGB-D underwater dataset using the synthesized underwater images and the original corresponding depth maps. We conduct supervised learning to perform depth estimation through the pseudo paired underwater RGB-D images. Comprehensive experiments have demonstrated that the proposed method can generate multiple realistic underwater images with high fidelity, which can be applied to enhance the performance of monocular underwater image depth estimation. Furthermore, the trained depth estimation model can be applied to real underwater image depth map estimation.

Introduction: The Data Scarcity Problem

In underwater robotics and 3D reconstruction, accurate depth estimation is critical for navigation and environmental mapping. However, the underwater environment presents unique challenges for traditional sensors. Light is absorbed and scattered by particles, colors distort rapidly with distance, and standard depth-sensing technologies like Kinect (infrared) or Lidar fail almost immediately due to the medium's properties.

While deep learning has revolutionized monocular depth estimation on land, it requires massive "RGB-D" datasets—thousands of images paired with precise ground-truth depth maps. Collecting such data underwater is prohibitively expensive and technically difficult. Consequently, most current underwater depth models are either based on simplified physics, which often fail in complex real-world water, or suffer from "texture leakage," where the model incorrectly assumes a bright object is "close" simply because it is colorful.

Proposed Methodology

The researchers developed a two-module system designed to bridge the domain gap between in-air and underwater environments without requiring real underwater ground-truth depth maps.

1. Multi-Style Underwater Image Synthesis ($G_s$)

This module utilizes a generative adversarial network (GAN) architecture inspired by StarGAN. It takes a hazy in-air RGB-D image and a "style label" (e.g., blue water vs. green water) to generate a realistic underwater version. Crucially, the synthesis is depth-aware: it uses the in-air depth map as an input to ensure that synthetic haze and color attenuation correctly match the scene's geometry.

2. Underwater Depth Map Estimation ($G_d$)

By synthesizing underwater versions of in-air photos, the team created a "pseudo-paired" dataset (synthetic underwater image + original in-air ground truth depth). They used this dataset to train a DenseNet-based model via supervised learning.

The proposed end-to-end framework consisting of an underwater image synthesis module ($G_s$) and a depth estimation module ($G_d$).

To ensure the models do not simply map "blue" to "far," a sophisticated Full Objective function was implemented. This includes a Feature-Level Loss (using a pre-trained VGG19 network) to preserve object structures and a specific Depth Loss to prevent texture leakage, forcing the model to focus on structural outlines rather than just pixel intensity.

Experimental Evaluation

The study utilized the D-Hazy dataset (1,449 images) for base RGB-D data and collected over 2,000 underwater images to learn various water styles. The model was evaluated against the Berman et al. (2017) dataset, which contains real underwater images with stereo-camera-derived depth maps.

Key Results

The proposed method showed significant improvements over previous benchmarks like WaterGAN and UW-Net:

  • Quantitative Accuracy: On the Berman et al. dataset, the model achieved a Log Scale-Invariant Mean Squared Error (SI-MSE) of 0.1771, nearly doubling the accuracy of the previous state-of-the-art, UW-Net (0.3708).
  • Correlation: The Pearson correlation coefficient ($\rho$), measuring how well predicted depth follows the actual depth trend, reached 0.7796, significantly higher than traditional methods like DCP (0.2968).
  • Qualitative Quality: Visually, the depth maps produced by this method show much sharper object boundaries and a more continuous, logical transition of depth compared to the "blotchy" results of earlier models.
Qualitative comparison of depth estimation results on real underwater images. Columns represent different methods, with (G) being the ground truth.

Conclusion and Future Work

The "pseudo-paired" strategy demonstrates that high-fidelity underwater depth estimation is possible without massive real-world underwater depth annotations. By prioritizing structural features over pixel intensity, the model effectively combats the common issue of texture leakage.

However, the authors noted a perspective bias, as the model performs better on "side-view" images than "vertical-view" (top-down) images due to the nature of the in-air training data. Future work will focus on using data augmentation to address this bias and integrating physical parameters like water turbidity and salinity for even higher precision in diverse aquatic environments.

Summary updated

BibTeX
@inproceedings{zhao2021synthesis,
  author = {Qi Zhao and Ziqiang Zheng and H. Zeng and Zhibin Yu and Haiyong Zheng and Bing Zheng},
  title = {{The Synthesis of Unpaired Underwater Images for Monocular Underwater Depth Prediction}},
  booktitle = {Frontiers in Marine Science},
  year = {2021},
  doi = {10.3389/fmars.2021.690962},
}
Figure