---
id: "mast3r"
title: "MASt3R"
aliases: [Matching And Stereo 3D Reconstruction]
domain: "capture"
stage: "capture"
realtime: "interactive"
platforms: [cuda, python]
year_introduced: 2024
inputs: [photos]
outputs: [point-cloud, camera-poses, depth]
style: "photoreal"
dynamic: "static"
cost: "medium"
authority: "Leroy et al., 2024"
url: "https://texelatlas.vercel.app/t/mast3r/"
sources_verified_at: "2026-11-29"
---
# MASt3R (Leroy et al., 2024)

> Extends DUSt3R with a dense local-feature head and a fast reciprocal matching scheme, giving pixel-accurate correspondences that make image matching and SfM-style reconstruction more precise.

## Reach for it when

- need accurate matches between images for 3d reconstruction
- feature matching fails on wide baseline photos
- get metric scale 3d from image pairs
- dense correspondences without handcrafted keypoints

## How it works

MASt3R keeps DUSt3R's pointmap regression but adds a second output head producing dense local descriptors per pixel, trained with an InfoNCE matching loss so that corresponding pixels have close features. Matches are found by mutual nearest neighbours on these descriptors, accelerated with a coarse-to-fine scheme that first matches at low resolution and then refines in high-resolution crops. Metric scale is learned in the regression loss, so output pointmaps are in metric units. For many images the matches feed a sparse global alignment that minimises 3D and reprojection error, avoiding DUSt3R's dense and slower global optimisation, and enabling large collections and map-free localisation.

## When to use it

Choose it when you need robust correspondences for wide-baseline or low-texture image pairs, or large-scale reconstruction through sparse alignment. Prefer [DUSt3R](https://texelatlas.vercel.app/t/dust3r.md) for the simplest pointmap pipeline, [VGGT (Visual Geometry Grounded Transformer)](https://texelatlas.vercel.app/t/vggt.md) for single-pass multi-view output, and [Structure-from-Motion (COLMAP)](https://texelatlas.vercel.app/t/structure-from-motion-colmap.md) for classical bundle-adjusted accuracy.

## Cost

medium — GPU inference per pair is quick; the matching refinement adds cost proportional to resolution.

## Failure modes

- Weights and code under a non-commercial licence
- Matching degrades under extreme viewpoint change or heavy occlusion
- Reconstruction scale can drift across large scenes without loop closure
- Dynamic content produces inconsistent matches

## Dataflow

- Inputs: photos
- Outputs: point-cloud, camera-poses, depth
- Platforms: cuda, python

## Lineage

- extends [DUSt3R](https://texelatlas.vercel.app/t/dust3r.md)

## Combination ideas

- [Regrow a photographed site](https://texelatlas.vercel.app/ideas/captured-site-revegetation/)

## Sources

1. [primary] Vincent Leroy, Yohann Cabon, Jérôme Revaud (2024) Grounding Image Matching in 3D with MASt3R. arXiv preprint (cs.CV). https://arxiv.org/abs/2406.09756 (verified via arxiv on 2026-11-29)
2. [implementation] naver (2024) naver/mast3r. https://github.com/naver/mast3r License: NOASSERTION. (verified via github on 2026-11-29)

## Cite this entry

Texel. "MASt3R." https://texelatlas.vercel.app/t/mast3r/ (accessed 2026-12-01).
