Background subtraction in highly dynamic scenes

Vijay Mahadevan, Nuno Vasconcelos

Abstract

Traditional background subtraction methods often fail in the presence of camera motion or highly dynamic backgrounds like crashing waves or heavy snow. This paper proposes a novel approach that treats background subtraction as a local saliency detection problem. By modeling spatiotemporal video patches as Dynamic Textures, the algorithm identifies moving objects in complex environments entirely unsupervised, without requiring a static camera or "clean" training data.

Introduction

Background subtraction is a cornerstone of computer vision, yet most existing algorithms are limited by two major assumptions: a stationary camera and a relatively simple background. In real-world scenarios, such as a robot navigating a busy street or a camera tracking a surfer, these assumptions break down. Dynamic backgrounds—swaying trees, rain, or turbulent water—are often mistaken for foreground objects. Moreover, many methods require a "bootstrapping" phase with a clean background, which is rarely available in practice.

Methodology

The authors introduce the Discriminant Center-Surround Saliency framework. Instead of a global scene model, they analyze every location locally using a center-surround architecture inspired by biological vision.

  • Center-Surround Hypothesis: The algorithm compares a "center" window to a surrounding "annular" window. If the motion and appearance in the center differ significantly from the surround, the location is marked as salient (foreground).
  • Dynamic Textures (DT): To represent these windows, the authors use Linear Dynamical Systems (LDS). This models the video as a stochastic process, capturing both appearance (pixels) and dynamics (motion) in a single framework.
  • Discriminant Formulation: Saliency is defined using information theory, specifically the Kullback-Leibler (KL) divergence between the probability distributions of the center and the surround.
The Discriminant Center-Surround Saliency framework compares the probability distributions of a center window and its surround to identify salient foreground objects.

Because the comparison is local, the algorithm is naturally robust to global camera motion; if the camera moves, both windows move together, maintaining their relative disparity.

Experimental Evaluation

The algorithm was tested on two notoriously difficult datasets collected from the internet:

  • "Skiing": Features two people skiing during a heavy, high-contrast snowfall.
  • "Surf": Features a surfer riding a large, crashing wave with turbulent white water.

These sequences represent "worst-case scenarios" where the background is non-stationary and contains high-frequency motion that mimics foreground objects.

Results and Discussion

The proposed method, DiscSal, was compared against several standard models, including Gaussian Mixture Models (GMM), Kernel Density Estimators (KDE), and the "Surprise" model.

Qualitative comparison on 'Skiing' (left) and 'Surf' (right) sequences. Row (a) shows original frames; row (b) shows the DiscSal results, which clearly isolate the foreground compared to the noisy outputs of other methods in rows (c-f).

As shown in the qualitative results, DiscSal successfully isolated the skiers and the surfer. In contrast, other methods were blinded by snowflakes or overwhelmed by the crashing waves, producing extremely noisy saliency maps. By treating moving water or snow as a "texture of motion" rather than individual points, the model effectively ignores repetitive or chaotic background movement.

Conclusion

By abandoning global scene models in favor of local saliency, this research provides a robust solution for background subtraction in dynamic environments and under ego-motion. While the computational cost of learning Dynamic Texture parameters is high, the fully unsupervised nature of the model makes it highly adaptable. Future work could integrate additional features, such as depth information, to further improve discrimination in cluttered scenes.

Summary updated

BibTeX
@inproceedings{mahadevan2008background,
  author = {Vijay Mahadevan and Nuno Vasconcelos},
  title = {{Background subtraction in highly dynamic scenes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2008},
  doi = {10.1109/cvpr.2008.4587576},
}
Figure