Manuscript Offprint

arXiv:2610.36150

Any3R: Feedforward 3D Reconstruction from Any Camera Type

Jingong Chen, Qingwen Zhang, Youming Deng, Chulwoo Pack, Olaf Wysocki, Boris Jutzi, Kwanghee Won, Kyle Gao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Geometry foundation models recover camera poses and dense geometry from a set of images with a feed-forward network, but they expect pinhole images. That assumption is inside the backbone too: the positional encoding and the training loss both bind an image position to a direction in space, and both depend on the lens. We condition both on the dense ray field, the unit direction through every pixel, which describes any central camera without a lens type, distortion coefficients or a bound on field of view. Angular coordinates give the rotary encoding the measured ray angle of each patch, evaluated per view, and solid-angle weighting scales the point loss by the area each pixel covers on the sphere, so neither the encoding nor the supervision depends on the lens. Any3R is therefore a feed-forward model that takes any central camera, and is robust to mixing many camera types per scene, with no retraining per lens. On a benchmark of thirteen central cameras across three datasets, where every method reconstructs with its own predicted camera poses, it is the most consistently accurate method. Any3R enables scalable 3D reconstruction from heterogeneous crowdsourced and archival imagery collections sourced across diverse camera types. Project page: https://jingong-chen.github.io/Any3R/

1. Introduction

Recovering the 3D structure of a scene from a set of images is a fundamental problem in computer vision. Geometry foundation models such as VGGT [57], π3\pi^{3} [61], MapAnything [25], VGGT- Ω\Omega [58] and Depth Anything 3 [34] now solve it with a feed-forward network [4, 13, 29, 56, 59, 60, 65, 74]. A regular camera sees only a narrow part of a scene in each view, so covering a whole room or street takes many views captured densely and carefully.

The direct way to cover more of a scene per view is a wider lens, and wide-angle and panoramic cameras are already common in autonomous driving [33, 72] and indoor scanning [1, 5]. Feed-forward models cannot use such images as they are, because they read every frame as a pinhole image. Recent work adapts them to particular lenses, with a discrete token for the camera model, an adapter around a frozen backbone, a pairwise alignment stage, a conversion of the input to a cubemap, or retraining on equirectangular images [3, 12, 18, 19, 22, 31], but each supports only a fixed list of camera models, so an unseen camera needs retraining or a new conversion step. Mixing cameras of different types in one reconstruction, such as a pinhole view, a fisheye frame and a panorama of one scene as in Fig. 1, is harder still. Wid3R [22] and Fisheye3R [12] mix only the camera same pixel count, different solid angle wide fisheye pinhole (i) (ii) pixel grid position from patch count weight from pixel count (iii) ray field position from ray angle weight from solid angle Panorama 360° ray field withheld ray field supplied Input Rays Distance Recon Rays Distance Recon GT Wide fisheye 200° ray field withheld ray field supplied Input Rays Distance Recon Rays Distance Recon GT Fisheye 180° Pinhole 90° pinhole fisheye wide fisheye panorama Figure 2. Motivation. Read from the pixel grid (ii), a patch position stands for a different direction and a pixel for a different solid angle on every lens (i), and the ray field (iii) corrects both. In the bottom row the ray field is withheld, so the backbone reads every frame as a panorama and the reconstruction follows that reading, which is correct only at 360◦ . types they support, CAM3R [19] reconstructs two views at a time and aligns them afterwards, and the panoramic mod￾els accept panoramas alone. MapAnything [25] and Om￾niVGGT [39] take the intrinsics of each view as input and could mix cameras in principle, but a pinhole intrinsic ma￾trix cannot describe a field of view of 180◦ or more, the range of many fisheye lenses and every panorama. Both limits trace back to the backbone’s positional en￾coding, which none of these methods changes: it locates each patch by its pixel index [49]. On a pinhole camera, the index tells the backbone roughly where the patch looks; on a fisheye, each pixel covers a wider angle, so the same index points somewhere else (Fig. 2(ii)). The training loss has a similar problem: it weights every pixel equally, but a fisheye pixel near the edge sees a different amount of the scene than one at the center (Fig. 2(i)). We present Any3R, which removes the pinhole assump￾tion by giving the ray direction of every pixel to both the encoding and the loss (Fig. 2(iii)). In pinhole, fisheye and panoramic cameras, all rays pass through one point. Such central cameras are fully described by the ray direction of each pixel, whatever the lens. Angular coordinates posi￾tion a patch by the angle of its ray instead of its index, so one unit of position means the same angle on every cam￾era. Solid-angle weighting scales the loss by how much of the scene each pixel sees, so every part of the scene counts equally whatever the lens. Because each view carries its own ray field, Any3R reconstructs from any central cam￾era without rectification, and views from different cameras can be processed together, in any number. On three pub￾lic datasets imaged through thirteen camera models, where every method reconstructs with its own predicted camera poses, Any3R gives the most accurate reconstruction and camera poses on wide-angle and panoramic lenses and is on par with the strongest pinhole baseline at 90◦ . It also outperforms the methods built for wide-angle or panoramic lenses on every lens they take, and its pose estimates on real pinhole photographs are competitive with the strongest pinhole baselines. Its margin over the pinhole models is smallest at 90◦ and much larger on the wider lenses. Our contributions are threefold: • A feed-forward model that reconstructs from views of any mix of central cameras, with no calibration search, no undistortion and no retraining per lens. • Angular coordinates and solid-angle weighting, two mod￾ules that condition the positional encoding and the train￾ing loss on the dense ray field, so that one set of weights serves every central camera. • State-of-the-art reconstruction and camera pose on three public datasets imaged through thirteen central camera models, where every method reconstructs with its own predicted camera poses, with the largest margins on wide￾angle and panoramic lenses. 2. Related Work 2.1. 3D Geometry Foundation Models Classical structure-from-motion recovers geometry by op￾timising correspondences and poses jointly [43], and per￾scene neural representations [26, 37] keep that optimisa￾tion while changing what is optimised. DUSt3R [60] in￾stead trained one network to regress a pointmap in a com￾mon frame, removing the optimisation loop and the need for known intrinsics, and MASt3R [29] added a matching head to the same backbone [11, 38, 62, 63]. Extending two views to many has taken several forms: a global stage on top of the pairwise backbone [4, 13], a la￾tent state that lets views be streamed [56, 59], and set-level 2

Figure

Figure 3. Overview. The ray field RR of each view gives its patches angular coordinates for the rotary encoding in intra-frame attention, and the heads predict the camera poses and a radial distance dd per pixel, decoded as X=dRX = dR. In training, the point loss Lpt\mathcal{L}_{\text{pt}} compares XX with the ground truth XgtX^{\text{gt}}, and the solid angle dΩd\Omega of the same RR weighs the error of each pixel, shown here on the panorama, where cells of equal pixel count cover unequal areas of the sphere.

attention that fuses hundreds at once [65]. VGGT [57] predicts poses, depth, pointmaps and tracks together, π3\pi^{3} [61] removes the dependence on a reference view, VGGT- Ω\Omega [58] scales the recipe, and MonST3R [74] adapts it to moving scenes. Depth Anything 3 [34] reaches the same outputs from the monocular depth line [2, 24, 40, 66, 67, 71], and the same shift has occurred in SLAM [53] and in feedforward radiance fields [6, 7, 20, 47, 68, 76]. MapAnything [25] and OmniVGGT [39] add optional conditioning on intrinsics, extrinsics or depth, which is the closest prior setting to ours. All of them assume pinhole input: the focal length may vary, the projection model may not.

References (79)