Skip to main content

Multi-view stereo reconstruction of underwater surfaces with refractive modeling

Project description

Experimental setup 3D surface reconstruction

PyPI Python CI License: MIT Dataset DOI

AquaMVS

Multi-view-stereo (MVS) reconstruction of underwater surfaces viewed through a flat water surface, with Snell's law refraction modeling.

Status

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.

What it does

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.

Key Features

  • 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

Quick Start

from aquamvs import Pipeline

pipeline = Pipeline("config.yaml")
pipeline.run()

See the full documentation for configuration details, API reference, and examples.

Installation

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 aquamvs

Documentation

Full documentation is available at https://aquamvs.readthedocs.io/

Topics include:

  • Installation guide
  • Configuration reference
  • API documentation
  • Usage examples
  • Extension points for custom workflows

Citation

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

License

MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aquamvs-1.5.2.tar.gz (138.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aquamvs-1.5.2-py3-none-any.whl (122.4 kB view details)

Uploaded Python 3

File details

Details for the file aquamvs-1.5.2.tar.gz.

File metadata

  • Download URL: aquamvs-1.5.2.tar.gz
  • Upload date:
  • Size: 138.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aquamvs-1.5.2.tar.gz
Algorithm Hash digest
SHA256 7b9d237449097c700d211b7db131fddf05220653599659add549f81816cb4005
MD5 51e0d00c7d6647c1d002595c255b8657
BLAKE2b-256 c890b841fbbf28a7b99913499053b4a3f5c1bd96c76cba26032d3eba83d30ba3

See more details on using hashes here.

Provenance

The following attestation bundles were made for aquamvs-1.5.2.tar.gz:

Publisher: publish.yml on tlancaster6/AquaMVS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aquamvs-1.5.2-py3-none-any.whl.

File metadata

  • Download URL: aquamvs-1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 122.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aquamvs-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3abc9a38404668419a1c436715a623b4ebb95dcb9eceea2a05cb7af9acc145de
MD5 6c8dc3538a9fbf0335d1ee2934470ff2
BLAKE2b-256 b950f0029cc2037f550b3713bc9aa14ce0635c418e2b813af2f27c26c21d17ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for aquamvs-1.5.2-py3-none-any.whl:

Publisher: publish.yml on tlancaster6/AquaMVS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page