Manuscript Offprint

arXiv:2608.27860

From Perspective to Fisheye Depth Estimation and Open-Vocabulary Segmentation

Rit Gangopadhyay, Alex Wong

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

Rit Gangopadhyay D◯\textcircled{D} and Alex Wong D◯\textcircled{D}

Yale Vision Laboratory, Yale University, New Haven, CT 06520, USA

{rit.gangopadhyay,alex.wong}@yale.edu

Abstract. Vision foundation models are capable of generalizing across 3-dimensional (3D) scenes with high-fidelity estimates; their empirical success can be attributed to training on large-scale datasets of perspective images. However, when transferred to wide field-of-view (FoV) images, such as those captured by fisheye cameras, they return erroneous outputs due to a covariate shift stemming from the radial distortion on the image pixels. We propose a method to generalize vision foundation models to fisheye cameras. The crux of our method lies in a set of learnable parameters, termed Distortion Extenders (DEX), that model the fisheye distortion coefficients and the distributional shift between fisheye and perspective images encoded in the latent space. By minimizing a self-supervised alignment loss, DEX transforms the latent embeddings of fisheye images to resemble those of perspective images to recover high-fidelity estimates. DEX is architecture- and task-agnostic: We demonstrate DEX on monocular depth estimation and open-vocabulary segmentation for convolution- and Transformer-based architectures, where we consistently improve over baselines across indoor and outdoor fisheye datasets. As a byproduct, the activations of DEX can also be decoded to distortion coefficients to support camera calibration. Code available at: https://github.com/Suchisrit/DEX.

Keywords: Adaptation · Monocular Depth Estimation · Open-Vocabulary Segmentation · Camera Calibration · Self-Supervised Learning

1 Introduction

Vision foundation models are typically trained on tens to hundreds of millions of images, enabling them to generalize across a wide range of 3-dimensional (3D) scenes and across tasks, spanning from recognition to 3D reconstruction. These models leverage the large volumes of internet images available, which are predominantly captured by standard perspective cameras of 3D scenes. The relationship of 3D points and their projection onto a 2D image plane can be described by the projective geometry of the camera, where the perspective cameras capturing the majority of the large-scale training dataset are well-approximated by a simple pinhole projection model. When training on such datasets, biases of the camera projective geometry are “baked into” these foundation models, which are

R. Gangopadhyay and A. Wong

Figure

Fig. 1: 3D reconstructions and open-vocabulary segmentation of fisheye imagery produced by foundational models, UniDepthV2 [42] and LSeg [27]. The distortion in the input leads to erroneous and distorted reconstructions and segmentations.

often deployed onto mixed camera systems to enable spatial applications, from extended realities to robotic manipulation and autonomous navigation.

Yet, within these mixed camera systems are wide field-of-view (FoV) cameras necessary for environmental coverage (e.g., fisheye and other wide angle cameras). Their projective geometry differs from that of perspective cameras, in that 3D points follow a highly non-linear projection model that induces strong radial distortions. As the FoV increases, objects that are projected near the image borders become increasingly warped or distorted, deviating from the assumptions of projective geometry under which foundational models are trained. When these models are applied to fisheye images, the mismatch in projection induces a systematic distribution shift in local pixel arrangements, and in turn, the encoded features – leading to distorted 3D reconstructions and degraded recognition performance, as seen in Fig. 1.

A natural response is to “undo” this image distortion; hence, one line of work rectifies input images using known camera intrinsics, or re-projects them into a canonical representation such as equirectangular, tangent, spherical, or cube-map projections before processing [7, 17, 28, 32, 34, 73]. While this retains compatibility with models (pre)trained on perspective images, it introduces multiple resampling steps, calibration dependencies, and characteristic artifacts (e.g., stretching near poles, seams between faces, aliasing, and gaps between patches). Another approach is to train dedicated models (e.g., depth estimators or segmentation networks) for fisheye cameras [2, 26, 84], which often suffer in generalization across 3D scenes. This is partly due to the difficulty in assembling large-scale fisheye training datasets, as there exist fewer available fisheye images than perspective images. While one may finetune publicly available (foundational) models for specific cameras to improve generalization across scenes, this risks parameter drift and may degrade performance on previously learned cameras [10]. An alternative is to supplement the shortage via mixed-camera training [41], yet this trades generalizability for fidelity across cameras.

More importantly, the main school of thought aims to introduce inductive biases tailored to each camera model, which entails specialized designs and thus limits the end user's flexibility in choosing architectures. Separately, the design of these methods is also task-specific, whether reconstruction or recognition, leading to disparate approaches across vision tasks. Given that a pretrained model can already faithfully infer properties of the 3D scene from perspective images, erroneous estimates on fisheye images stem from a covariate shift in the values of latent embeddings due to local operations on image pixels displaced and rearranged by distortion. As such, if one can modulate their values to align with those that produced high-fidelity estimates in perspective images, then we hypothesize that one can extend the capabilities of models pretrained on images captured by perspective cameras to those of fisheye cameras. To ensure high utility, we consider an architecture- and task-agnostic approach, such that we can apply our method to both convolution-based and Transformer-based architectures for reconstruction and recognition tasks.

To do so, we begin by forgoing explicit modeling of camera projective geometry in the input and latent space of the model and build on the insight that the values of embeddings, rather than coordinates, can be adjusted to recover high-fidelity estimates. To this end, we freeze the backbone to preserve its performance on perspective images and propose a set of lightweight, learnable modules that can be inserted into each block of a frozen backbone to modulate feature embeddings of fisheye images. Rather than re-projecting pixels to a canonical image plane, these parameters implicitly model the distortion in fisheye images and operate directly in latent space to map fisheye embeddings toward the distribution of perspective image embeddings. Hence, our method bypasses the need for rectification or camera-specific inductive biases and the cost to retrain the backbone to extend perspective vision models to fisheye cameras. We term our method Distortion Extenders, or DEX for short.

We train DEX in a self-supervised manner using only calibrated perspective images. Given a perspective image, we synthetically distort it to obtain a fisheye counterpart. We pass the perspective image through a frozen vision model and treat its output (or intermediate features) as a reference. The fisheye image is then processed by the same backbone but augmented with DEX, and an inverse geometric transformation aligns the fisheye output back to the perspective reference frame. We minimize an alignment loss that drives the Extenders to reconcile the two estimates. This procedure requires neither ground truth nor real fisheye training data, and can be applied to both convolutional and Transformer architectures and across reconstruction (e.g., monocular depth estimation) and recognition tasks (e.g., open-vocabulary segmentation). At test time, fisheye images are fed directly into the augmented model – no calibration, re-projection, or knowledge of additional inference-time geometry is required.

We demonstrate our method on two vision tasks: monocular depth estimation and open-vocabulary segmentation. For monocular depth estimation, we further change the output parameterization from Cartesian depth z to spherical range R, leveraging the structure of fisheye projection models to more naturally express distances in high-FoV settings and to counteract the radial attenuation observed in models trained on perspective images. For open-vocabulary segmentation, we formulate our objective in the latent space to better take advantage of the affinities between an image and its associated text.

R. Gangopadhyay and A. Wong

Our Contributions are as follows: (1) We introduce Distortion Extenders (DEX), a set of lightweight, feature-space modulators that generalizes pretrained models from perspective to fisheye imagery by transforming fisheye embeddings to align with those of perspective images. (2) We provide analysis showing that DEX indeed does model fisheye distortion coefficients and serves as latent distribution alignment. (3) DEX is architecture-agnostic and applicable to both convolution- and Transformer-based architectures. (4) DEX is also task-agnostic and enables strong zero-shot performance on real fisheye datasets for both monocular depth estimation (ScanNet++, KITTI-360) and open-vocabulary segmentation (WoodScape). As a byproduct, activations of DEX can be decoded to distortion coefficients for calibration purposes.

References (84)

  • Convolution kernel adaptation to calibrated fisheye
  • Semantic segmentation of fisheye images
  • Emerging properties in self-supervised vision transformers
  • Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs
  • Eta: Energy-based test-time adaptation for depth completion
  • Fisheye3r: Adapting unified 3d feed-forward foundation models to fisheye lenses
  • Tangent images for mitigating spherical distortion
  • All-day depth completion
  • Geo-supervised visual depth prediction
  • Extending foundational monocular depth estimators to fisheye cameras with calibration tokens
  • Panopticdepth: A unified framework for depth-aware panoptic segmentation
  • Unsupervised cnn for single view depth estimation: Geometry to the rescue
  • Vision meets robotics: The kitti dataset
  • Unsupervised monocular depth estimation with left-right consistency
  • Digging into self-supervised monocular depth estimation
  • An efficient dense depth map estimation algorithm using direct stereo matching for ultra-wide-angle images
  • Depth any camera: Zero-shot metric depth estimation from any camera (opens arXiv in a new tab)
  • Vista3d: A dataset and benchmark for thin object reconstruction from vision, tactile, and 3d point clouds
  • Clip-s4: Language-guided self-supervised semantic segmentation
  • Lora: Low-rank adaptation of large language models
  • A generic camera calibration method for fish-eye lenses
  • Segment anything
  • Eliminating the blind spot: Adapting 3d object detection and monocular depth estimation to 360 panoramic imagery
  • Sub-token vit embedding via stochastic resonance transformers
  • On the viability of monocular depth pre-training for semantic segmentation
  • Slabins: Fisheye depth estimation using slanted bins on road environments
  • Language-driven semantic segmentation (opens arXiv in a new tab)
  • Mode: Multi-view omnidirectional depth estimation with 360 cameras
  • Omnifusion: 360 monocular depth estimation via geometry-aware fusion
  • Open-vocabulary semantic segmentation with mask-adapted clip
  • Kitti-360: A novel dataset and benchmarks for urban scene understanding in 2d and 3d
  • Fova-depth: Field-of-view agnostic depth estimation for cross-dataset generalization
  • Clip is also an efficient segmenter: A text-driven approach for weakly supervised semantic segmentation
  • Estimating depth of monocular panoramic image with teacher-student model fusing equirectangular and spherical representations
  • Monitored distillation for positive congruent depth completion
  • Single view point omnidirectional camera calibration from planar grids
  • DINOv2: Learning Robust Visual Features without Supervision
  • Orcas: Unsupervised depth completion via occluded region completion as supervision
  • Test-time adaptation for depth completion
  • Panoramic depth imaging: Single standard camera approach
  • Unik3d: Universal camera monocular 3d estimation
  • Unidepthv2: Universal monocular metric depth estimation made simpler (opens arXiv in a new tab)
  • Unidepth: Universal monocular metric depth estimation
  • Learning transferable visual models from natural language supervision
  • Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-Shot Cross-Dataset Transfer
  • Vision transformers for dense prediction
  • Radar-guided polynomial fitting for metric depth estimation (opens arXiv in a new tab)
  • Radar-guided polynomial fitting for metric depth estimation
  • Protodepth: Unsupervised continual depth completion with prototypes
  • Hypersim: A photorealistic synthetic dataset for holistic indoor scene understanding
  • U-net: Convolutional networks for biomedical image segmentation
  • Panoformer: panorama transformer for indoor 360 depth estimation
  • Indoor segmentation and support inference from rgbd images
  • Depth estimation from camera image and mmwave radar point cloud
  • Scalability in perception for autonomous driving: Waymo open dataset
  • Unitac: A unified multimodal model for cross-sensor tactile understanding and generation
  • Enhancing diffusion models with 3d perspective geometry constraints
  • Attention is all you need
  • Tent: Fully test-time adaptation by entropy minimization
  • Bifuse: Monocular 360 depth estimation via bi-projection fusion
  • 360sd-net: 360 stereo depth estimation with learnable cost volume
  • Irs: A large naturalistic indoor robotics stereo dataset to train deep models for disparity and surface normal estimation
  • Small lesion segmentation in brain mris with subpixel embedding
  • Learning topology from synthetic data for unsupervised depth completion
  • An adaptive framework for learning unsupervised depth completion
  • Unsupervised depth completion from visual inertial odometry
  • Bilateral cyclic constraint and adaptive regularization for unsupervised monocular depth prediction
  • Unsupervised depth completion with calibrated backprojection layers
  • Depthfisheye: Efficient fine-tuning of depth estimation models for fisheye cameras
  • Augundo: Scaling up augmentations for monocular depth completion and estimation
  • Sed: A simple encoder-decoder for open-vocabulary semantic segmentation
  • Segformer: Simple and efficient design for semantic segmentation with transformers
  • Spheredepth: Panorama depth estimation from spherical domain
  • Binding touch to everything: Learning unified multimodal tactile representations
  • Depth anything: Unleashing the power of large-scale unlabeled data
  • Depth anything v2
  • Dense depth posterior (ddp) from single image and sparse range
  • Scannet++: A high-fidelity dataset of 3d indoor scenes
  • Enforcing geometric constraints of virtual normal for depth prediction
  • Woodscape: A multi-task, multi-camera fisheye dataset for autonomous driving
  • Corrclip: Reconstructing patch correlations in clip for open-vocabulary semantic segmentation
  • Progressive test time energy adaptation for medical image segmentation
  • Exploring regional clues in clip for zero-shot semantic segmentation
  • Fisheyedepth: A real scale self-supervised depth estimation model for fisheye camera