Joint Motion Segmentation and Background Estimation in Dynamic Scenes

Adeel Mumtaz, Weichen Zhang, Antoni B. Chan

Introduction

Separating moving foreground objects from their background is a fundamental task in computer vision. However, traditional background subtraction methods often struggle in dynamic environments where the background itself is in motion—such as swaying trees, flowing water, or active fountains. This paper introduces the Foreground-Background Mixture (FBM) model, a probabilistic framework designed to simultaneously identify moving objects and estimate complex, dynamic backgrounds without the need for manually tuned thresholds or clean, background-only training data.

The Challenges of Dynamic Backgrounds

Standard background subtraction techniques typically assume a static background. In real-world scenarios, this assumption fails due to three primary issues:

  1. The Threshold Trap: Most models require a manually set sensitivity threshold that is difficult to generalize across different scenes.
  2. The "Clean Video" Requirement: Many algorithms need a training segment containing only the background to learn its characteristics.
  3. The Motion Dilemma: Traditional tools often misclassify foreground objects that stop moving as part of the background.

The Foreground-Background Mixture (FBM) Model

The proposed FBM model leverages Dynamic Textures (DTs)—mathematical models based on Linear Dynamical Systems—to capture both the appearance and the temporal rhythm of video patches.

The EM-FBM algorithm pipeline, from patch extraction to final segmentation.

Key components of the FBM include:

  • Location-Specific Background DTs: Dedicated models learn the local behavior of the background at every frame location.
  • Global Foreground DTs: A set of shared models captures consistent foreground motion patterns as objects move across the frame.
  • Joint Learning via EM Algorithm: Instead of a sequential approach, the model uses an Expectation-Maximization (EM) algorithm to learn foreground and background parameters simultaneously. The two models "compete" to explain the observed pixels.
  • Spatial Constraints (MRF): A Markov Random Field (MRF) is applied to ensure spatial coherence, resulting in smoother and more accurate object masks.

Experimental Setup and Datasets

To evaluate the FBM model, the authors introduced the FBDynScn dataset, which features seven challenging sequences with multiple foreground objects moving over complex backgrounds like water and fountains. They also utilized the Sailing02 benchmark for comparative analysis.

A challenging scene from the FBDynScn dataset featuring a person walking in front of a dynamic fountain.

Key Insights

  • Probabilistic Competition: By framing the problem as a mixture model, the system avoids arbitrary thresholds. It simply determines whether a patch is better explained by the local background or the global foreground model.
  • Robustness to Stationary Objects: Because the background is modeled locally, a foreground object that stops moving still fails to match the expected background dynamics (e.g., the movement of water), allowing it to remain correctly classified as foreground.
  • Joint Modeling Benefits: Simultaneous learning prevents foreground objects from "polluting" the background model during the training phase.

Results and Performance

The FBM model demonstrated superior performance over state-of-the-art methods like Gaussian Mixture Models (GMM) and Background Dynamic Texture Models (BDTM):

  • Background Estimation: FBM achieved an average Area Under the Curve (AUC) of 0.984, compared to 0.954 for BDTM and 0.895 for GMM.
  • Motion Segmentation: In terms of accuracy (Rand Index), FBM scored 0.9424, significantly outperforming traditional methods like DTM (0.5123).

Conclusion and Future Work

While the FBM model provides a robust solution for dynamic scenes, it currently faces limitations in computational complexity and produces somewhat coarse, patch-based segmentation masks. Future research will focus on developing online updating mechanisms for real-time performance and implementing variational Bayesian frameworks to automatically determine the number of foreground objects.

Summary updated

BibTeX
@inproceedings{mumtaz2014joint,
  author = {Adeel Mumtaz and Weichen Zhang and Antoni B. Chan},
  title = {{Joint Motion Segmentation and Background Estimation in Dynamic Scenes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.54},
}
Figure