{
 "id": "dust3r",
 "title": "DUSt3R",
 "aliases": [
  "Dense Unconstrained Stereo 3D Reconstruction"
 ],
 "domain": "capture",
 "subdomain": "feed-forward reconstruction",
 "stage": "capture",
 "realtime": "interactive",
 "platforms": [
  "cuda",
  "python"
 ],
 "year_introduced": 2023,
 "inputs": [
  "photos"
 ],
 "outputs": [
  "point-cloud",
  "depth",
  "camera-poses"
 ],
 "style": "photoreal",
 "dynamic": "static",
 "summary": "A transformer that takes two uncalibrated images and directly regresses dense pointmaps in a shared frame, from which depth, intrinsics, matches and relative pose follow without SfM.",
 "how_it_works": "A ViT encoder processes each image and a decoder with cross-attention between the two streams outputs a pointmap per image: for every pixel, a 3D point expressed in the first image's coordinate frame, plus a confidence. Camera intrinsics, relative pose and depth are then derived from these pointmaps by simple geometric fitting, e.g. focal length by Weiszfeld-style optimisation and pose by Procrustes or PnP. For more than two views, pairwise predictions are combined by a global alignment optimisation over a graph of pairs, which recovers per-image scale and pose. Training uses large datasets with ground-truth depth and pose and a scale-normalised regression loss. No calibration or known poses are needed.",
 "when_to_use": "Choose it for quick geometry and poses from a handful of casual images where `structure-from-motion-colmap` fails from low overlap or texture. Prefer `mast3r` when you need accurate dense matching, `vggt` for many views in one pass, and COLMAP when you have dense, well-textured image sets and need maximum metric accuracy.",
 "cost": {
  "class": "medium",
  "notes": "Pairwise inference is fast on GPU, but global alignment over many images costs seconds to minutes."
 },
 "failure_modes": [
  "Quadratic pair count and slow global alignment on large image sets",
  "Pointmaps drift on long trajectories since predictions are not bundle adjusted",
  "Dynamic objects and reflective surfaces yield inconsistent pointmaps",
  "Pretrained weights carry a non-commercial licence"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "arxiv:2312.14132",
   "type": "paper",
   "title": "DUSt3R: Geometric 3D Vision Made Easy",
   "authors": [
    "Shuzhe Wang",
    "Vincent Leroy",
    "Yohann Cabon",
    "Boris Chidlovskii",
    "Jerome Revaud"
   ],
   "year": 2023,
   "venue": "arXiv preprint (cs.CV)",
   "url": "https://arxiv.org/abs/2312.14132",
   "ids": {
    "arxiv": "2312.14132"
   },
   "license": null,
   "extra": {
    "arxiv_version": "3",
    "category": "cs.CV"
   },
   "provenance": {
    "title": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2312.14132",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2312.14132",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2312.14132",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2312.14132",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "arxiv",
     "endpoint": "https://export.arxiv.org/api/query?id_list=2312.14132",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "wang2023dust3r"
  },
  {
   "role": "implementation",
   "key": "gh:naver/dust3r",
   "type": "code",
   "title": "naver/dust3r",
   "description": "DUSt3R: Geometric 3D Vision Made Easy",
   "authors": [
    "naver"
   ],
   "year": 2024,
   "venue": "GitHub",
   "url": "https://github.com/naver/dust3r",
   "ids": {
    "repo": "naver/dust3r"
   },
   "license": "NOASSERTION",
   "extra": {
    "stars": 7396,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2025-09-24T16:32:31Z",
    "language": "Python",
    "homepage": "https://dust3r.europe.naverlabs.com/",
    "license_name": "Other"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/naver/dust3r",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/naver/dust3r",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/naver/dust3r",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/naver/dust3r",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/naver/dust3r",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/naver/dust3r",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "naver2024naver"
  }
 ],
 "presets": [
  {
   "id": "dust3r-live",
   "title": "DUSt3R — unposed stereo confidence & pointmap XYZ (left) vs fused 3D point cloud (right)",
   "runtime": "glsl-fragment",
   "params": {
    "P_CONF_CUT": 0.45,
    "P_POINT_RES": 18,
    "P_ROT_SPEED": 0.58,
    "P_SPLIT": 0.48
   },
   "basis": "original",
   "license_note": "MIT — written for this index.",
   "code": "const float P_CONF_CUT = 0.45; // P Confidence Gain [0.1, 1.0, 0.02]\nconst float P_POINT_RES = 18.0; // P Pointmap Density [8.0, 32.0, 1.0]\nconst float P_ROT_SPEED = 0.58; // P 3D Orbit Speed [0.0, 2.2, 0.05]\nconst float P_SPLIT = 0.48; // P Pointmap / Fused 3D [0.0, 1.0, 0.02]\n\nmat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }\n\nfloat sdBox(vec3 p, vec3 b) {\n  vec3 q = abs(p) - b;\n  return length(max(q, 0.0)) + min(max(q.x, max(q.y, q.z)), 0.0);\n}\n\n// 3D landmark scene reconstructed directly into shared camera-1 coordinate frame by DUSt3R\nvec2 mapLandmark(vec3 p) {\n  vec2 res = vec2(p.y + 0.65, 1.0); // courtyard floor\n  float plinth = sdBox(p - vec3(0.0, -0.35, 0.0), vec3(0.55, 0.30, 0.55)) - 0.02;\n  if (plinth < res.x) res = vec2(plinth, 2.0);\n  float archL = sdBox(p - vec3(-0.34, 0.22, 0.0), vec3(0.12, 0.36, 0.16)) - 0.02;\n  float archR = sdBox(p - vec3(0.34, 0.22, 0.0), vec3(0.12, 0.36, 0.16)) - 0.02;\n  float topB = sdBox(p - vec3(0.0, 0.56, 0.0), vec3(0.52, 0.10, 0.18)) - 0.02;\n  float dArch = min(min(archL, archR), topB);\n  if (dArch < res.x) res = vec2(dArch, 3.0);\n  float statue = length(p - vec3(0.0, 0.16, 0.0)) - 0.22;\n  if (statue < res.x) res = vec2(statue, 4.0);\n  return res;\n}\n\nvec3 calcNormal(vec3 p) {\n  vec2 e = vec2(0.0025, 0.0);\n  return normalize(vec3(\n    mapLandmark(p + e.xyy).x - mapLandmark(p - e.xyy).x,\n    mapLandmark(p + e.yxy).x - mapLandmark(p - e.yxy).x,\n    mapLandmark(p + e.yyx).x - mapLandmark(p - e.yyx).x\n  ));\n}\n\nvec3 aces(vec3 x) {\n  x = max(x, 0.0);\n  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;\n  float screenX = fragCoord.x / max(iResolution.x, 1.0);\n  float split = clamp(P_SPLIT, 0.0, 1.0);\n  bool isPointmap = screenX < split;\n  float confGain = clamp(P_CONF_CUT, 0.1, 1.0);\n  float ptRes = clamp(P_POINT_RES, 8.0, 36.0);\n  float spin = iTime * max(P_ROT_SPEED, 0.0);\n\n  vec3 ro = vec3(0.0, 0.34, 2.35);\n  vec3 rd = normalize(vec3(uv - vec2(0.0, 0.06), -1.48));\n  ro.xz = rot2(spin * 0.50) * ro.xz;\n  rd.xz = rot2(spin * 0.50) * rd.xz;\n\n  vec3 col = mix(vec3(0.022, 0.028, 0.048), vec3(0.058, 0.075, 0.125), smoothstep(-0.55, 0.55, uv.y));\n\n  float t = 0.05;\n  vec2 hit = vec2(1e5, 0.0);\n  for (int i = 0; i < 56; i++) {\n    vec2 h = mapLandmark(ro + rd * t);\n    if (h.x < 0.003) { hit = vec2(t, h.y); break; }\n    t += h.x;\n    if (t > 8.0) break;\n  }\n\n  if (hit.x < 1e4) {\n    vec3 p = ro + rd * hit.x;\n    vec3 n = calcNormal(p);\n    // Pointmap XYZ normalized into [0,1] RGB\n    vec3 xyzCol = clamp(p * 0.55 + 0.5, 0.0, 1.0);\n    // Per-pixel regression confidence (highest on well-observed textured foreground geometry)\n    float conf = clamp(exp(-hit.x * 0.28) * (0.4 + 0.6 * max(dot(n, -rd), 0.0)) + 0.25 * confGain, 0.0, 1.0);\n\n    if (isPointmap) {\n      // Left: Raw regressed dense 3D Pointmap X(u,v) colored by world XYZ + confidence iso-lines\n      float iso = 0.82 + 0.18 * cos(length(p) * 28.0);\n      col = xyzCol * iso * (0.35 + 0.75 * conf);\n      // Show stereo camera baseline frustum hint in corner\n      vec2 g = abs(fract(p.xz * 4.0) - 0.5);\n      col += vec3(0.18, 0.92, 0.96) * smoothstep(0.05, 0.01, min(g.x, g.y)) * 0.22;\n    } else {\n      // Right: Fused dense 3D point cloud splats aligned from View-1 (cyan) & View-2 (warm lit RGB)\n      vec3 q = p * ptRes;\n      vec3 cell = floor(q) + 0.5;\n      float dSplat = length(q - cell);\n      float splatMask = smoothstep(0.56, 0.22, dSplat);\n      vec3 lDir = normalize(vec3(0.58, 0.80, 0.45));\n      float diff = max(dot(n, lDir), 0.0);\n      vec3 alb = vec3(0.58, 0.62, 0.68);\n      if (hit.y > 1.5 && hit.y < 2.5) alb = vec3(0.78, 0.72, 0.62);\n      else if (hit.y > 2.5 && hit.y < 3.5) alb = vec3(0.86, 0.56, 0.34);\n      else if (hit.y > 3.5) alb = vec3(0.24, 0.82, 0.94);\n      vec3 lit = alb * (0.32 + 0.82 * diff);\n      col = mix(col * 0.65, lit, splatMask * clamp(conf * 1.15, 0.3, 1.0));\n    }\n  }\n\n  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));\n  col = mix(col, vec3(0.95, 0.97, 1.0), sep);\n\n  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);\n}",
   "execution_fidelity": "conceptual-diagram",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-30",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "dust3r",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T20:35:48.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.448,
      "std": 0.2117,
      "min": 0.1183,
      "max": 0.9014
     },
     "image": "/specimens/dust3r-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "mast3r",
  "vggt",
  "structure-from-motion-colmap"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [
  {
   "id": "gaussian-splatting-3dgs",
   "why": "DUSt3R poses and points can replace COLMAP to initialise Gaussians from few images."
  }
 ],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/capture/dust3r.json"
 },
 "solves": [
  "reconstruct 3d from photos without camera poses",
  "structure from motion fails with few images",
  "get dense 3d points from just two images",
  "no calibration known but want geometry from pictures"
 ],
 "authority": "Wang et al., 2023",
 "url": "https://texelatlas.vercel.app/t/dust3r/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 20.29,
  "tier": "heavy",
  "p50_ms": 0.6675,
  "p95_ms": 0.7352,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 32,
  "preset_id": "dust3r-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 21.06,
   "tier": "heavy",
   "p50_ms": 0.3348,
   "p95_ms": 0.3411,
   "speedup_x": 1.99,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 13.69,
   "tier": "moderate",
   "p50_ms": 0.3943,
   "p95_ms": 0.4066,
   "speedup_x": 1.69,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}