NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modeling pixel process with scale invariant local patterns for background subtraction in complex scenes

Shengcai Liao, Guoying Zhao, Vili Kellokumpu, Matti Pietikäinen, Stan Z. Li

Abstract

Background subtraction is a critical component of many computer vision systems, yet it remains challenging in environments with sudden illumination changes, moving shadows, and dynamic backgrounds. This paper proposes a robust framework that models the pixel process using a novel Scale Invariant Local Ternary Pattern (SILTP) descriptor combined with Pattern Kernel Density Estimation (PKDE). By leveraging the scale-invariance of SILTP to handle shadows and the computational efficiency of PKDE for discrete pattern modeling, the proposed method achieves over a 10% improvement in accuracy compared to existing techniques while maintaining real-time performance.

Introduction

Identifying moving objects against a static background is a fundamental task in computer vision. However, "static" is rarely true in practice. Real-world scenes suffer from illumination variations, such as flickering lights or moving soft shadows, which can be misinterpreted as foreground. Dynamic backgrounds, like swaying trees or rippling water, further complicate the model. While Local Binary Patterns (LBP) offer some resistance to global lighting changes, they are sensitive to local noise.

LBP sensitivity to noise and scale. While LBP is scale-invariant, it is highly sensitive to local noise, as seen in the pattern change under the "Noise:LBP" condition.

Methodology

The core of the proposed approach lies in two innovations: the SILTP descriptor and the PKDE modeling framework.

Scale Invariant Local Ternary Pattern (SILTP)

SILTP improves upon LBP and Local Ternary Patterns (LTP) by using a range-based comparison ($1 \pm \tau$) relative to the center pixel's intensity. This makes the descriptor invariant to multiplicative intensity changes, which is how shadows and lighting transitions typically manifest. By treating a soft shadow as a scale transform of the underlying texture rather than a change in content, SILTP ensures the background model remains stable.

Pattern Kernel Density Estimation (PKDE)

Traditional Kernel Density Estimation (KDE) is designed for continuous numerical values. To handle discrete bitstrings like SILTP, the authors introduced PKDE. It utilizes a distance function based on bitwise XOR operations, allowing for "fuzzy" matches in pattern space. This provides robustness against sensor noise while remaining computationally efficient through fast bitwise logic.

Comparison of LBP, LTP, and SILTP histograms across two frames. SILTP demonstrates superior stability in its pattern distribution compared to LBP and LTP, which fluctuate significantly under changing conditions.

Experimental Results

The framework was evaluated on nine diverse datasets, including indoor scenes with heavy shadows and outdoor scenes with dynamic backgrounds. The SILTP+PKDE approach outperformed standard Mixture of Gaussians (MoG) and region-based LBP methods by more than 10% in F-score across most sequences. Performance was particularly dominant in the "Lobby" (light switching) and "Curtain" (dynamic background) tests. Furthermore, the system achieved 63.9 FPS on a standard 2.4GHz PC, proving its suitability for real-time applications.

Conclusion

By modeling the pixel process with scale-invariant patterns and efficient density estimation, this work provides a powerful solution for background subtraction in complex scenes. The method successfully balances robustness to noise and illumination with high computational speed. Future work may explore incorporating color information to further enhance performance in low-contrast environments where textures are nearly identical in grayscale intensity.

Summary updated

BibTeX
@inproceedings{liao2010modeling,
  author = {Shengcai Liao and Guoying Zhao and Vili Kellokumpu and Matti Pietikäinen and Stan Z. Li},
  title = {{Modeling pixel process with scale invariant local patterns for background subtraction in complex scenes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2010},
  doi = {10.1109/cvpr.2010.5539817},
}
Figure