![]() |
![]() |
Multi-view-stereo (MVS) reconstruction of underwater surfaces viewed through a flat water surface, with Snell's law refraction modeling.
v1.3.5 released. AquaMVS is feature-complete for the v1.0 milestone and available on PyPI. The API is considered stable; breaking changes will follow semantic versioning.
AquaMVS is a companion library to AquaCal. It consumes calibration output and synchronized video from above-water cameras to produce time-series 3D surface reconstructions. The pipeline handles the unique challenge of cameras positioned in air observing underwater geometry, accounting for refraction at the air-water interface using Snell's law.
- Refractive ray casting through air-water interface (Snell's law)
- Dual matching pathways: LightGlue (sparse) and RoMa v2 (dense) for different accuracy/speed tradeoffs
- Multi-view depth fusion with geometric consistency filtering
- Surface reconstruction (Poisson, heightfield, Ball Pivoting Algorithm)
- Mesh export (PLY, OBJ, STL, GLTF) with simplification
- Full CLI and Python API for pipeline users and custom workflow developers
from aquamvs import Pipeline
pipeline = Pipeline("config.yaml")
pipeline.run()See the full documentation for configuration details, API reference, and examples.
AquaMVS requires several prerequisites (PyTorch, LightGlue, RoMa v2) to be installed first. AquaCal is installed automatically as a dependency.
See INSTALL.md for complete installation instructions.
Quick summary:
# 1. Install PyTorch from pytorch.org
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
# 2. Install git-based prerequisites (LightGlue, RoMa v2)
pip install -r requirements-prereqs.txt
# 3. Install AquaMVS (pulls AquaCal automatically)
pip install aquamvsFull documentation is available at https://aquamvs.readthedocs.io/
Topics include:
- Installation guide
- Configuration reference
- API documentation
- Usage examples
- Extension points for custom workflows
If you use AquaMVS in your research, please cite:
Lancaster, T. (2026). AquaMVS: Multi-view stereo reconstruction with refractive geometry.
GitHub: https://github.com/tlancaster6/AquaMVS
Example dataset: https://doi.org/10.5281/zenodo.18702024
MIT License. See LICENSE for details.

