Ground Plane Estimation Using a Hidden Markov Model

Ralf Dragon, Luc J. Van GoolCVPR 2014

Abstract

We focus on the problem of estimating the ground plane orientation and location in monocular video sequences from a moving observer. Our only assumptions are that the 3D ego motion t and the ground plane normal n are orthogonal, and that n and t are smooth over time. We formulate the problem as a state-continuous Hidden Markov Model (HMM) where the hidden state contains t and n and may be estimated by sampling and decomposing homographies. We show that using blocked Gibbs sampling, we can infer the hidden state with high robustness towards outliers, drifting trajectories, rolling shutter and an imprecise intrinsic calibration. Since our approach does not need any initial orientation prior, it works for arbitrary camera orientations in which the ground is visible.

Introduction

Ground Plane Estimation (GPE) is a fundamental task in computer vision, enabling monocular cameras to measure distances, relate observations across frames, and facilitate safe navigation. However, GPE is particularly challenging for single-camera setups where the observer moves freely, such as a camera mounted on a helmet or a bicycle.

Existing methods often rely on rigid assumptions—such as fixed camera height or orientation—or require computationally intensive 3D reconstruction (SLAM) that is sensitive to geometric degeneracies. This paper proposes a robust alternative that models GPE as a state-continuous Hidden Markov Model (HMM), leveraging a simple physical constraint to track the ground plane across diverse and often low-quality video sequences without requiring prior orientation information.

Methodology

The Orthogonality Constraint

The core physical insight of this approach is the orthogonality constraint: $n \cdot t = 0$. This assumes that if a camera is moving along a ground surface, its motion vector ($t$) must be perpendicular to the surface normal ($n$) of that ground plane. This constraint serves as a powerful filter to distinguish the actual ground from other planar surfaces in the environment, such as building facades.

The orthogonality constraint assumes the camera motion vector is perpendicular to the ground plane normal.

HMM and Homography Decomposition

The system identifies potential ground plane candidates by finding homographies between pairs of frames. These homographies are decomposed into multiple hypotheses for the ground plane and camera motion. To resolve ambiguity and handle noise, the problem is formulated as an HMM.

The state-continuous HMM framework models transitions between hidden states to maintain temporal consistency.

By treating the ground plane normal and ego-motion as hidden states, the model prioritizes temporal consistency over local, frame-by-frame accuracy. The system uses Blocked Gibbs Sampling to iteratively refine these estimates, focusing on image regions most likely to represent the ground. This feedback loop effectively handles outliers and drifting trajectories.

Experimental Evaluation

Datasets

The method was validated using the KITTI Dataset, a benchmark for autonomous driving with high-quality ground-truth data. To further test robustness, the authors collected "wild" sequences using low-cost hardware, including a keychain camera on a vibrating bicycle and a motorbike with a freely moving camera, both of which exhibited significant rolling shutter effects.

Key Results

On the KITTI dataset, the proposed method achieved an average angular error for the ground plane normal between 1.6° and 7.5°. When compared to standard Visual Odometry (VO) libraries like Viso, the HMM-based approach demonstrated significantly higher angular precision, often outperforming VO by an order of magnitude (e.g., 0.02° vs 0.80° error). Qualitatively, the system successfully tracked the ground in challenging bike footage where traditional feature-based methods typically fail due to motion blur and vibration.

Conclusion

This HMM-based approach provides a robust solution for ground plane estimation in unconstrained monocular video. By enforcing physical constraints and temporal smoothness, it overcomes the limitations of low-quality hardware and imprecise calibration. While current performance is not yet real-time, future work aims to optimize the iterative sampling process and extend the model to classify different motion types or track additional environmental structures like walls.

Summary updated

BibTeX
@inproceedings{dragon2014ground,
  author = {Ralf Dragon and Luc J. Van Gool},
  title = {{Ground Plane Estimation Using a Hidden Markov Model}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  url = {https://openreview.net/forum?id=SkEk7p-_ZS},
}
Figure