City scale geo-spatial trajectory estimation of a moving camera

Gonzalo Vaca-Castano, Amir Roshan Zamir, Mubarak ShahCVPR 2012

Abstract

This paper presents a novel method for estimating the geospatial trajectory of a moving camera with unknown intrinsic parameters, in a city-scale urban environment. The proposed method is based on a three step process that includes: 1) finding the best visual matches of individual images to a dataset of geo-referenced street view images, 2) Bayesian tracking to estimate the frame localization and its temporal evolution, and 3) a trajectory reconstruction algorithm to eliminate inconsistent estimations. As a result of matching features in query image with the features in the reference geo-taged images, in the first step, we obtain a distribution of geolocated votes of matching features which is interpreted as the likelihood of the location (latitude and longitude) given the current observation. In the second step, Bayesian tracking framework is used to estimate the temporal evolution of frame geolocalization based on the previous state probabilities and current likelihood. Finally, once a trajectory is estimated, we perform a Minimum Spanning Trees (MST) based trajectory reconstruction algorithm to eliminate trajectory loops or noisy estimations. The proposed method was tested on sixty minutes of video, which included footage downloaded from YouTube and footage captured by random users in Orlando and Pittsburgh.

Introduction

While geotagging individual images has become commonplace, extracting the precise geospatial trajectory of a video—the path a camera took through a city—remains a significant challenge. Standard techniques like Visual Odometry (VO) or Visual SLAM (V-SLAM) typically focus on local consistency and often require calibrated cameras or additional sensors like IMUs. These methods struggle with "wild" videos found on the web, which are plagued by motion blur, abrupt camera movements, zooming, and dynamic occlusions such as cars and pedestrians. Furthermore, these methods do not inherently provide global coordinates; they track relative movement rather than absolute position on a map. This research aims to bridge this gap, providing a robust framework to place unconstrained video onto a global map at city scale.

Proposed Methodology

The authors propose a three-stage framework designed to handle the noise and uncertainty inherent in unconstrained urban video.

Overview of the three-stage trajectory estimation pipeline: Video Segment Geo-localization, Bayesian Filtering, and MST-based Trajectory Reconstruction.

1. Geolocalization of Video Segments

Instead of localizing every frame independently, the system samples frames and matches their SIFT features against a reference database of geo-tagged Street View images. This process generates a "probability map" or likelihood of the camera's location. By treating visual matching as a distribution of votes across a map rather than a single point estimate, the system can weigh multiple hypotheses simultaneously. Averaging these maps over short video segments helps suppress noise from individual poor matches caused by transient occlusions.

2. Bayesian Tracking

To enforce temporal consistency, a Bayesian filter is employed using a discrete version with a constant velocity motion model. This step integrates the previous state probabilities with the current visual likelihood to estimate the most probable current location.

The Bayesian filtering process: (a) the observation likelihood, (b) the motion model prediction, and (c) the resulting new state estimation.

A critical component of this tracking is the use of the normalization constant ($c$). If $c$ falls near zero, it indicates that the current visual observation is highly inconsistent with the predicted path. This triggers a "redetection" process, allowing the system to recover when a track is lost.

3. MST-based Trajectory Reconstruction

Even with Bayesian filtering, trajectories can suffer from "inertia"—for example, the model might predict the camera went straight at an intersection when it actually turned. To address this, the authors utilize a non-causal refinement step. Estimated locations are treated as nodes in a graph, using latitude, longitude, and time as features. By computing a Minimum Spanning Tree (MST), the system identifies nodes with a degree higher than two, which typically indicate "branches" or outliers. Pruning these lighter branches leaves a clean, consistent, and chronologically accurate path.

Experimental Setup and Datasets

The study utilized two primary data sources:

  • Reference Data: A dataset of GPS-tagged Street View images consisting of 10,000 images from downtown Pittsburgh, PA, and 6,620 from downtown Orlando, FL.
  • Query Data: 45 "wild" videos (60–120 seconds each, totaling over 100,000 frames) sourced from YouTube or captured by random users walking or driving through the target cities.

Key Results

The proposed method demonstrated significant improvements over baseline approaches. Individual frame-by-frame localization resulted in a massive mean error of 268.6 meters. The application of the Bayesian filter reduced this error dramatically to 10.57 meters. The final MST-based reconstruction further refined the results to a mean error of 9.94 meters.

In comparison, the system outperformed FAB-MAP, a popular loop-closure and localization algorithm, which exhibited a mean error of 441.01 meters on the same task. This disparity highlights that while FAB-MAP is effective for topological navigation, it is not designed for precise city-scale metric localization.

Conclusion

This research introduces a robust pipeline for estimating trajectories from unconstrained video. While the constant velocity model is a simplification that may struggle with complex maneuvers, the combination of segment-based averaging and MST refinement provides high accuracy. Future work may involve integrating more sophisticated motion models or leveraging semantic information, such as street signs, to further harden localization against dynamic urban environments.

Summary updated

BibTeX
@inproceedings{vacacastano2012city,
  author = {Gonzalo Vaca-Castano and Amir Roshan Zamir and Mubarak Shah},
  title = {{City scale geo-spatial trajectory estimation of a moving camera}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2012},
  url = {https://openreview.net/forum?id=H1ZY96-d-B},
}

Loading related content...

Figure