UniK3D: Universal Camera Monocular 3D Estimation
Luigi Piccinelli, Christos Sakaridis, Mattia Segu, Yung-Hsu Yang, Siyuan Li, Wim Abbeloos, Luc Van Gool
TL;DR
UniK3D tackles the challenge of monocular metric 3D estimation across arbitrary camera geometries by introducing a universal, camera-agnostic framework. It adopts a fully spherical output space with radial depth and models the pencil of rays through a spherical-harmonics basis, enabling generalization from pinhole to panoramic cameras without test-time intrinsics. Key contributions include the SH-based camera module, a radial decoder with conditioning strategies, and an asymmetric angular loss to prevent contraction, all validated by zero-shot results on 13 diverse datasets that show strong performance in challenging wide FoV scenarios. The work significantly broadens the applicability of monocular 3D reconstruction to real-world, distortion-heavy imaging, with code and models released for reproducibility.
Abstract
Monocular 3D estimation is crucial for visual perception. However, current methods fall short by relying on oversimplified assumptions, such as pinhole camera models or rectified images. These limitations severely restrict their general applicability, causing poor performance in real-world scenarios with fisheye or panoramic images and resulting in substantial context loss. To address this, we present UniK3D, the first generalizable method for monocular 3D estimation able to model any camera. Our method introduces a spherical 3D representation which allows for better disentanglement of camera and scene geometry and enables accurate metric 3D reconstruction for unconstrained camera models. Our camera component features a novel, model-independent representation of the pencil of rays, achieved through a learned superposition of spherical harmonics. We also introduce an angular loss, which, together with the camera module design, prevents the contraction of the 3D outputs for wide-view cameras. A comprehensive zero-shot evaluation on 13 diverse datasets demonstrates the state-of-the-art performance of UniK3D across 3D, depth, and camera metrics, with substantial gains in challenging large-field-of-view and panoramic settings, while maintaining top accuracy in conventional pinhole small-field-of-view domains. Code and models are available at github.com/lpiccinelli-eth/unik3d .
