UWStereo: A Large Synthetic Dataset for Underwater Stereo Matching

Qingxuan Lv, Junyu Dong, Yuezun Li, Sheng Chen, Hui Yu, Shu Zhang, Wenhan Wang

TL;DR

This paper introduces UWStereo, a large-scale synthetic dataset for underwater stereo matching, addressing the critical lack of annotated data in this challenging domain. They also propose a novel training strategy combining cross-view attention and masked image reconstruction to improve the generalization of stereo matching models to underwater environments.

What Problem Does This Paper Address?

Stereo matching, a fundamental task in computer vision for reconstructing 3D scene geometry from two images, has seen significant progress. However, applying these advancements to underwater environments is severely hampered by two main issues: 1) the inherent degradation of image quality due to scattering, absorption, and refraction, leading to low contrast and reduced visibility; and 2) the extreme difficulty in obtaining accurate, pixel-wise ground truth depth (disparity) information in real underwater settings. Existing underwater datasets are often limited in scale, variation, or annotation quality, making it hard to train robust deep learning models.

Methods

To tackle the data scarcity and quality issues, the authors introduce UWStereo, a synthetic dataset generated using Unreal Engine 5. They employ a novel training strategy designed to improve the generalization of stereo matching models from terrestrial to underwater domains. This strategy involves:

  • Cross-View Enhancement (CVE) Module: This module is integrated into existing stereo matching architectures. It uses multi-head attention to aggregate long-range contextual information across stereo image pairs, helping the model better understand the scene's geometry.
  • Paired Masked Image Reconstruction Pretraining: Inspired by masked image modeling techniques, they pretrain the stereo matching network by tasking it with reconstructing masked portions of paired terrestrial and underwater images. This self-supervised approach aims to learn robust feature representations that are less domain-specific.

Datasets

  • UWStereo (New Dataset): This is the primary contribution. It comprises 29,568 synthetic stereo image pairs with dense and accurate disparity annotations for the left view. The dataset features four distinct underwater scenes (coral, default, industry, ship) with diverse objects and variations in camera parameters, lighting, and environmental effects.
  • Existing Datasets for Comparison: The paper also references and compares against several established stereo matching datasets, including MPI Sintel, KITTI, Middlebury2014, SceneFlow, Nerf-Stereo, FLSea-Stereo, and VAROS, to highlight the advantages of UWStereo and benchmark existing methods.

Key Insights and Ideas

  • Synthetic Data is Crucial for Underwater Stereo: The paper strongly advocates for the use of synthetic data to overcome the annotation bottleneck in underwater stereo matching, demonstrating that well-crafted synthetic datasets can be highly valuable.
  • Domain Gap is a Major Hurdle: Even state-of-the-art stereo matching models trained on large terrestrial datasets struggle significantly when directly applied to underwater scenes, underscoring the substantial domain gap.
  • Masked Image Modeling for Generalization: Applying masked image reconstruction as a pretraining task, particularly with paired images, proves effective in improving a model's ability to generalize across different domains (terrestrial to underwater).
  • Cross-View Attention Enhances Geometry Understanding: The CVE module, by aggregating long-range context, helps stereo matching models better perceive and utilize geometric cues, leading to improved performance.
  • Mask Ratio Matters: The ablation study on mask ratio for pretraining reveals that an optimal ratio (around 0.5) is crucial for effective cross-domain generalization, suggesting a balance between learning local details and global context.

Key Results

  • UWStereo Dataset Superiority: UWStereo is presented as superior to existing underwater datasets in terms of scale, variation, annotation quality, and photorealism.
  • Benchmarking Performance: When evaluating nine state-of-the-art stereo matching algorithms on UWStereo, the results show that iterative optimization methods generally outperform cost-filter based methods. However, even the best models struggle to generalize well.
  • Proposed Method's Generalization: The proposed training strategy (CVE + masked pretraining) significantly improves the generalization ability of stereo matching models to underwater scenes. For instance, their model achieves a mean error of 0.87m on a real-world FLSea-Stereo subset, outperforming IGEV trained on SceneFlow (1.02m) and even IGEV trained on UWStereo (1.22m).
  • Qualitative Improvements: Visualizations demonstrate that their method produces more stable disparity estimations on underwater scenes compared to models trained solely on terrestrial data.

Limitations and Future Work

  • Limitations of Synthetic Data: While UWStereo is designed to be realistic, the paper acknowledges that rendering engines cannot perfectly simulate all real-world underwater visual effects, leading to a residual domain gap.
  • Generalization Challenges Remain: Despite improvements, achieving perfect generalization across all underwater scenarios and conditions remains an open challenge.
  • Future Work: The authors suggest that their dataset and proposed training strategy can serve as a valuable resource for future research in underwater stereo matching and other related computer vision tasks in aquatic environments. Further exploration of self-supervised learning for underwater stereo matching is also implied.

Summary updated

BibTeX
@misc{lv2024uwstereo,
  author = {Qingxuan Lv and Junyu Dong and Yuezun Li and Sheng Chen and Hui Yu and Shu Zhang and Wenhan Wang},
  title = {{UWStereo: A Large Synthetic Dataset for Underwater Stereo Matching}},
  year = {2024},
  eprint = {2409.01782},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.01782},
}
Figure