Abstract
Recovering 3D scene geometry from underwater images involves the Refractive Structure-from-Motion (RSfM) problem, where the image distortions caused by light refraction at the interface between different propagation media invalidates the single view point assumption. Direct use of the pinhole camera model in RSfM leads to inaccurate camera pose estimation and consequently drift. RSfM methods have been thoroughly studied for the case of a thick glass interface that assumes two refractive interfaces between the camera and the viewed scene. On the other hand, when the camera lens is in direct contact with the water, there is only one refractive interface. By explicitly considering a refractive interface, we develop a succinct derivation of the refractive fundamental matrix in the form of the generalised epipolar constraint for an axial camera. We use the refractive fundamental matrix to refine initial pose estimates obtained by assuming the pinhole model. This strategy allows us to robustly estimate underwater camera poses, where other methods suffer from poor noise-sensitivity. We also formulate a new four view constraint enforcing camera pose consistency along a video which leads us to a novel RSfM framework. For validation we use synthetic data to show the numerical properties of our method and we provide results on real data to demonstrate performance within laboratory settings and for applications in endoscopy.
Introduction
Standard Structure-from-Motion (SfM) algorithms rely on the pinhole camera model, which assumes all light rays pass through a single point (the optical center). However, in underwater environments, light refracts as it passes through the interface between the water and the camera housing. This physical phenomenon invalidates the single-viewpoint assumption, leading to systematic errors in camera pose estimation and warped 3D reconstructions. This paper, presented at ICCV 2017, addresses this "refractive elephant in the room" by proposing a novel Refractive Structure-from-Motion (RSfM) framework designed for flat water-to-lens interfaces.
The Refractive Challenge
Refractive distortion is fundamentally different from standard lens distortion because it is depth-dependent; a point 1 meter away is distorted differently than a point 5 meters away. While researchers often attempt to approximate these effects by adjusting focal lengths or using radial distortion parameters, these methods fail to capture the true geometry of the scene.
The authors specifically focus on the "thin interface" case—where the camera lens is in direct contact with water—a common scenario in underwater endoscopy and action cameras. In this setup, the standard pinhole model is replaced by an axial camera model, where all refracted rays intersect the camera's optical axis but do not converge at a single point.
Proposed Methodology
The proposed RSfM framework introduces three key technical contributions to handle the non-linear nature of refraction:
- Refractive Fundamental Matrix: The authors derive a succinct 12x12 matrix based on the "generalized epipolar constraint." This allows for the relation of image points across two views while explicitly accounting for Snell's Law.
- Two-Step Pose Refinement: To overcome noise sensitivity, the system uses a "warm start" strategy. It first estimates the pose using a standard pinhole model to obtain a rough motion estimate, then refines it using a non-linear cost function that minimizes refractive reprojection error.
- The Four-View Constraint: This novel geometric constraint enforces consistency across four successive video frames. It requires that the 3D point formed by the intersection of refractive planes in the first three views must lie on the refracted ray of the fourth view. Remarkably, this constraint is independent of the refractive index of the medium.
Experimental Evaluation
The method was validated using synthetic data, checkerboard datasets, and real-world objects (the "Hippopotamus" and "Rabbit" datasets) imaged with GoPro cameras and medical endoscopes.
In checkerboard experiments, the proposed RSfM significantly outperformed standard SfM, reducing mean translation error from 5.24 mm to 1.21 mm and rotation error from 0.54° to 0.35°. Qualitative results on the "Rabbit" dataset showed much higher uniformity and less shape warping, particularly in small-baseline motions typical of endoscopic procedures.
Conclusion
By treating refraction as a 3D geometric property rather than a simple 2D image warp, this work provides a robust framework for underwater computer vision. While the method requires knowledge of the interface's distance and orientation, it effectively eliminates the drift and geometric bias that plague standard SfM in refractive media. Future work aims to integrate these local constraints into a global "Refractive Bundle Adjustment" for large-scale underwater mapping.
Summary updated