Introduction
Background subtraction (BGS)—the process of isolating moving objects from a static or semi-static scene—is a foundational task in computer vision. While classic statistical models like Gaussian Mixture Models (GMM) are effective in static environments, they often struggle in dynamic scenes characterized by flickering lights, rustling foliage, or moving water.
Sparse representation models offer a robust alternative because they do not rely on overly restrictive assumptions about the background distribution. However, these models typically require solving $\ell_1$-minimization problems (such as LASSO), which are computationally expensive and iterative. This complexity has historically made sparse models difficult to deploy in real-time video surveillance. This paper introduces a high-speed, approximative $\ell_1$-minimization algorithm that bridges this gap, achieving the robustness of sparse models with the speed of simple linear arithmetic.
The Proposed Method
The authors propose a novel framework centered on three major innovations designed to optimize both speed and resilience to noise.
1. Approximative $\ell_1$-Minimization
Instead of executing an iterative solver for every new video frame, the system utilizes a "pre-solving" shortcut. The input signal is decomposed into basic identity atoms ($e_i$). The sparse coefficients for these atoms, termed "children sparse vectors," are pre-calculated using standard solvers during an offline phase. For any incoming frame, the sparse solution is approximated as a simple linear combination of these pre-solved vectors. This transformation converts a complex optimization problem into basic addition and multiplication, significantly reducing the computational load.
2. Distribution-Based Detection
Traditional sparse BGS methods often rely on reconstruction error—measuring how poorly the background model represents the current frame—to identify foreground objects. In contrast, this paper compares the distribution of sparse coefficients. This approach is more resilient to the "noise" of dynamic backgrounds, as the underlying subspace spanned by the background remains relatively stable even when individual pixels are in motion.
3. Two-Stage Refinement
To balance processing speed with spatial accuracy, the algorithm employs a hierarchical approach. It first performs detection on low-resolution patches to identify regions of interest. It then applies a sliding window refinement at the original resolution only in areas flagged as potential foreground, avoiding unnecessary computation on static background regions.
Experimental Results
The proposed method was evaluated using the I2R dataset and the ChangeDetection.net (CDnet) benchmark, which includes challenging categories like dynamic backgrounds, turbulence, and intermittent motion.
- Computational Speed: The approximative solver is orders of magnitude faster than standard iterative methods. Processing a $256 \times 256$ image took only 0.08 seconds, compared to 4.18 seconds for the Bregman iterative algorithm and over 180 seconds for GPSR.
- Real-time Performance: The complete BGS system achieved 29.3 FPS in a MATLAB implementation. This significantly outperforms other high-performing low-rank methods like MAMR, which reached only ~3.6 FPS.
- Accuracy: On the CDnet benchmark, the method achieved an average F-measure of 73.33%, the highest among compared classic, low-rank, and sparse methods. It showed particular strength in "Turbulence" and "Thermal" scenarios.
Conclusion and Future Work
By leveraging the insight that sparse solutions can be approximated through linear combinations, the authors have developed a BGS system that is both robust and capable of real-time operation. While the current implementation uses simple identity basis vectors, the authors suggest that more sophisticated atoms could further improve performance.
While the numerical error of the approximation is acceptable for background subtraction, its suitability for high-precision tasks like medical imaging or image deblurring remains to be explored. Future research will focus on mathematically defining the error bounds of this approximation to identify other potential applications in the field of signal processing.
Summary updated