sw/
← projects
Heriot-Watt University·2018

Underwater motion & 3D reconstruction

MSc thesis at the Ocean Systems Laboratory: two unsupervised CNN frameworks that learn depth maps (camera) or elevation maps (sonar) and ego-motion from raw underwater video, optical and acoustic, with no ground truth. Supervised by Dr Sen Wang and Prof. Yvan Petillot.

Problem

Autonomous underwater vehicles inspect ship hulls, pipelines and reefs, but they still struggle to know where they are. Cameras see only a short distance through murky water, forward-looking sonar images are noisy with acoustic clutter, and the extra navigation sensors that fill the gap add cost, payload and power. Deep networks had started learning depth and ego-motion from ordinary video on land, but nobody had tried it underwater, and there was no ground-truth depth, elevation or pose to train on.

What I did

For my MSc thesis at Heriot-Watt’s Ocean Systems Laboratory, supervised by Dr Sen Wang and Prof. Yvan Petillot, I built two unsupervised learning frameworks that learn 3D structure and motion directly from raw image sequences, so no labels are needed.

Optical. Following the SfMLearner design, a single-view depth network (DispNet-style, multi-scale) and a pose network are trained together: the predicted depth and relative poses are used to warp neighbouring frames onto the target frame, and the mismatch is the training signal. For the underwater setting I added a structural similarity (SSIM) loss to the image reconstruction loss and made the smoothness loss edge-aware using the image gradients. I trained it in TensorFlow on a TITAN Xp, on 9,772 three-frame sequences from the Universitat de Girona underwater cave dataset, for 200,000 iterations.

Sonar. I then extended the idea to forward-looking sonar, which had not been done before. I worked out the sonar projection geometry, proved it by synthesising a new sonar view from an elevation map and a chosen pose, and built SonarNet: an elevation map network and a pose network trained on polar sonar frames with a reconstruction loss and a second-order smoothness loss. It was trained on 20,550 sequences from a sonar dataset recorded in a water tank at the Ocean Systems Laboratory, for 300,000 iterations; the proof-of-concept frames came from an ARIS 3000 sonar.

Result

Both models produce plausible depth or elevation maps and point clouds from a single frame, and SonarNet’s predicted trajectory matches the motion visible in the sonar frames, mostly rotation about the vertical axis with some sideways movement. With no ground truth available, the evaluation is qualitative, and the thesis is candid about the limits: small datasets, artificial lighting in the caves and sparse, noisy sonar images all held the models back, and the optical trajectory drifts. As a first attempt at learned depth, elevation and motion underwater, it laid out the data and model changes needed next.

esc