Skip to main content
QUICK REVIEW

[Paper Review] A Deep Convolutional Neural Network for Background Subtraction

Mohammadreza Babaee, Duc Tung Dinh|arXiv (Cornell University)|Feb 6, 2017
Video Surveillance and Tracking MethodsComputer Science20 references53 citations
TL;DR

The paper presents a universal CNN-based background subtraction system trained on patches from multiple scenes, capable of real-time performance and outperforming prior methods on average rankings."

ABSTRACT

In this work, we present a novel background subtraction system that uses a deep Convolutional Neural Network (CNN) to perform the segmentation. With this approach, feature engineering and parameter tuning become unnecessary since the network parameters can be learned from data by training a single CNN that can handle various video scenes. Additionally, we propose a new approach to estimate background model from video. For the training of the CNN, we employed randomly 5 percent video frames and their ground truth segmentations taken from the Change Detection challenge 2014(CDnet 2014). We also utilized spatial-median filtering as the post-processing of the network outputs. Our method is evaluated with different data-sets, and the network outperforms the existing algorithms with respect to the average ranking over different evaluation metrics. Furthermore, due to the network architecture, our CNN is capable of real time processing.

Motivation & Objective

  • Motivate robust background subtraction for diverse scenes without manual feature engineering.
  • Propose a background image generation method to support CNN-based segmentation.
  • Develop a CNN architecture (3 conv layers + 2-layer MLP) trained on image-background patches.
  • Incorporate post-processing (spatial median filtering) to improve segmentation quality.
  • Demonstrate cross-scene generalization and real-time processing across datasets.

Proposed method

  • Generate a background image using SuBSENSE segmentation and Flux Tensor-based motion analysis to adapt memory length.
  • Train a CNN on RGB image-background patches (37x37 patches) with ground-truth foreground masks using Binary Cross Entropy loss.
  • CNN architecture: three convolutional layers with ReLU activations, batch normalization, followed by a two-layer MLP and a sigmoid output.
  • Data preparation uses ~5% of CDnet 2014 frames; patches resized to 240x320 with zero-padding and mean subtracted.
  • Post-process CNN outputs with spatial median filtering and a thresholding step to obtain final binary segmentation.

Experimental results

Research questions

  • RQ1Can a scene-general CNN learn effective background subtraction from image-background patches across multiple video scenes?
  • RQ2Does the proposed robust background image generation improve segmentation accuracy of the CNN?
  • RQ3Is real-time background subtraction achievable with conventional hardware using the proposed architecture?
  • RQ4What is the impact of patch-based training and post-processing on segmentation quality across challenging CDnet 2014 categories?
  • RQ5How does the method perform on multiple datasets (CDnet 2014, Wallflower, PETS 2009) relative to existing algorithms?

Key findings

  • The CNN-based system yields competitive performance and achieves real-time processing on standard hardware.
  • Training uses a small portion (~5%) of CDnet 2014 frames with diverse scenes to learn universal features.
  • The background image is generated via a robust pipeline combining SuBSENSE and Flux Tensor Motion Information.
  • Post-processing with spatial-median filtering improves segmentation stability and reduces noise.
  • Evaluations show the method outperforms existing algorithms on average ranking across evaluated metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.