Universal Foreground Segmentation Based on Deep Feature Fusion Network for Multi-Scene Videos

Ye Tao, Zhihao Ling, Ioannis Patras

Introduction

Foreground segmentation—the process of separating moving objects from their background—is a foundational component of video analytics, essential for applications ranging from traffic monitoring to security. However, traditional methods often struggle with two primary challenges: the multi-scene challenge, where camera movements (like PTZ pans) break background models, and the bootstrap problem, where systems require a clean, object-free period to initialize.

This paper, published in IEEE Access, introduces DFFnetSeg, a universal foreground segmentation framework. Unlike many deep learning models that overfit to specific training scenes, DFFnetSeg is designed to work on unseen videos without retraining, providing a robust solution for dynamic, real-world environments.

The DFFnetSeg Framework

The authors propose a three-pronged architecture that moves beyond simple pixel subtraction to leverage high-level semantic information. By using a pre-trained Pyramid Scene Parsing Network (PSPNet), the model "understands" the scene, allowing it to better distinguish between actual foreground objects and background noise.

Architecture of the DFFnetSeg framework showing the fusion of current, previous, and reference frames.

As illustrated in the architecture diagram, the system processes a "Three-Frame Group" consisting of the current frame, a previous frame (short-term memory), and a dynamic reference frame (long-term memory). The framework consists of three key components:

  • Deep Feature Fusion Network: This network compares semantic features at various depths across the three frames. This multi-temporal approach helps the model distinguish true motion from "ghosts"—artifacts left behind when an object moves from its original position.
  • Pearson Correlation Scene Change Detector: To handle camera movement, the system calculates the Pearson correlation coefficient between frames. If the correlation drops significantly, indicating a scene change or camera shift, the reference frame is automatically updated.
  • Region-Based Motion Map: This post-processing step generates a "hard" motion map based on $N \times N$ regions rather than individual pixels. This method effectively fills in "holes" in detected objects caused by camouflage, such as when an object's color closely matches the background.

Experimental Results

DFFnetSeg was evaluated on the industry-standard CDnet2014 and LASIESTA datasets. Crucially, the model was tested on sequences it had never encountered during training to verify its "universal" applicability.

Key Findings:

  • Superior Accuracy on Unseen Data: DFFnetSeg achieved an F-Measure of 0.8845 on unseen video clips, significantly outperforming traditional methods like SubSENSE (0.7026) and other deep learning models like FgSegNet (0.4883) in generalized scenarios.
  • Unmatched Stability: In multi-scene sequences where the environment changes halfway through, DFFnetSeg maintained an F-Measure of 0.8826. While competitive models like PAWCS and BScGAN saw their performance plummet after scene changes, DFFnetSeg's performance remained nearly flat, dropping only 0.2%.
  • Efficiency: The use of downsampled images ($32 \times 32$) for the scene change detector ensures low computational overhead, making the system viable for practical deployment.

Conclusion and Future Work

DFFnetSeg represents a significant step toward universal video analytics by combining semantic feature fusion with an intelligent scene adaptation. While the current model is highly effective for intermittent camera movements (such as PTZ presets), the authors identify continuous camera motion (e.g., handheld or body-cam footage) and extreme air turbulence as areas for future optimization. Subsequent research will focus on extending these semantic fusion techniques to handle more chaotic, continuously moving platforms.

Summary updated

BibTeX
@article{tao2019universal,
  author = {Ye Tao and Zhihao Ling and Ioannis Patras},
  title = {{Universal Foreground Segmentation Based on Deep Feature Fusion Network for Multi-Scene Videos}},
  journal = {IEEE Access},
  year = {2019},
  doi = {10.1109/access.2019.2950639},
}
Figure