Single View Scene Scale Estimation using Scale Field

Byeong-Uk Lee, Jianming Zhang, Yannick Hold-Geoffroy, In So Kweon

Introduction

Estimating the absolute metric scale of a scene from a single image is a fundamental challenge in computer vision. Without knowing camera parameters like focal length or height, it is mathematically impossible to distinguish a toy model from a real-world structure. Traditional approaches often rely on "canonical objects" (like humans or cars) with known dimensions to anchor the scale. However, many images lack such references.

This paper introduces the Scale Field (SF), a novel dense 2D representation that enables neural networks to estimate metric scale directly from visual cues, even in the absence of known objects or camera metadata.

The Scale Field Representation

Instead of regressing global camera parameters, which are often difficult for networks to generalize, the authors propose predicting a pixel-wise Scale Field.

Visualization of an estimated Scale Field on a house scene. The color-coded map represents the ratio between pixel height and absolute camera height.

The Scale Field is a 2D map where each pixel value represents the ratio between the pixel height (the distance from that point to the horizon in the image) and the absolute camera height. To compute this, the model first predicts a "ground2horizon" vector field, identifying the horizon line for every ground pixel. By leveraging a transformer-based backbone (PVTv2) and a UNet-style decoder, the network learns to associate local textures and perspective geometry with absolute scale.

Applications and Results

The Scale Field provides a robust foundation for several downstream tasks, moving beyond simple depth estimation to true metric understanding.

Overview of Scale Field estimation and its primary use cases: height measurement, object insertion, and in-scale image compositing.

Key Use Cases:

  1. Height Measurement: By integrating the Scale Field, the system can measure the metric height of any object attached to the ground plane, such as buildings, bottles, or people.
  2. Object Insertion: The field allows for "scale-aware" editing. When inserting a 3D asset (e.g., a 1.7m tall person), the system can automatically determine the correct pixel size and placement to maintain physical realism.
  3. In-Scale Compositing: Moving objects between different parts of a scene becomes seamless, as the Scale Field dictates exactly how much an object should shrink or grow as it moves along the ground plane.

Performance

Evaluated on a new dataset of 1,372 "in-the-wild" web images, the Scale Field approach significantly outperformed traditional methods that attempt to predict global camera height directly. The model demonstrates remarkable robustness to image cropping and varying camera orientations, proving that it learns the underlying perspective geometry rather than just memorizing scene categories.

Conclusion and Limitations

While the current method assumes a relatively flat ground plane—which may pose challenges in hilly or tiered environments—it represents a significant step toward universal single-view metrology. By shifting from global parameter regression to dense field estimation, the Scale Field allows for precise, metric-aware interactions with unconstrained images.

Summary updated

BibTeX
@inproceedings{lee2023single,
  author = {Byeong-Uk Lee and Jianming Zhang and Yannick Hold-Geoffroy and In So Kweon},
  title = {{Single View Scene Scale Estimation using Scale Field}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.02053},
}
Figure