Classifying Video with Kernel Dynamic Textures

Antoni B. Chan, Nuno Vasconcelos

Abstract

Dynamic Textures (DTs) are a powerful tool for modeling stochastic temporal processes in video, such as smoke, fire, or swaying vegetation. However, traditional DTs are based on Linear Dynamical Systems (LDS), which limits their ability to represent non-linear phenomena or discontinuities caused by camera motion. This paper introduces Kernel Dynamic Textures (KDTs), which extend the DT framework by incorporating non-linear observation functions through the "kernel trick." By utilizing Kernel PCA, KDTs can accurately model and classify complex video phenomena that baffle standard linear models.

Introduction

In computer vision, a Dynamic Texture (DT) treats a video sequence as a sample from a physical system. While DTs excel at modeling "smooth" textures, they struggle with chaotic motion (e.g., turbulent water) or camera-induced changes like panning and zooming. These failures arise from the rigid assumption of a linear relationship between the hidden state of the video and the observed pixels. Sharp edges moving across a frame create jump discontinuities that linear models cannot represent. KDTs address this by allowing for non-linear mappings while maintaining the mathematical framework of the original LDS.

The standard Linear Dynamical System (LDS) framework used for Dynamic Textures, where x_t represents the hidden state and y_t the observed frame.

Methodology

The core innovation of KDTs is the use of Kernel PCA (KPCA) to learn a non-linear observation function. This projects video data into a high-dimensional feature space where complex patterns become linearly separable.

  1. Learning: The model computes a kernel matrix of video frames and extracts KPCA weights to identify hidden states. A least-squares approach is then used to model the temporal evolution of these states.
  2. Similarity Measurement: To classify videos, the authors derive a version of the Martin distance specifically for KDTs. By applying the kernel trick, this distance can be computed in the feature space without explicit mapping.

Experimental Evaluation

The model was evaluated on the UCLA Dynamic Texture Database and a new UCLA-pan Database, which simulates camera panning to test the handling of discontinuities.

Handling Discontinuities

Standard DTs often "smear" or fail when faced with sharp changes, such as triangle or ramp waves. KDTs can model these perfectly because the non-linear observation function "unfolds" these jumps into smooth trajectories in the feature space.

Comparison of signal reconstruction for DT and KDT models across sine, triangle, and ramp waves. KDT accurately captures the sharp peaks and jumps that DT fails to model.

Classification Results

KDT consistently outperformed standard models:

  • UCLA-pan: KDT achieved 89.8% accuracy with a Nearest Neighbor classifier and 94.3% with an SVM, significantly higher than the standard DT's 84.3%.
  • Chaotic Motion: KDT showed superior performance in distinguishing between different types of water turbulence.

Conclusion

Kernel Dynamic Textures provide a robust extension to the traditional DT framework, enabling the modeling of non-linear and discontinuous video data. While computational complexity increases with video length due to the N x N kernel matrix, the gains in classification accuracy and representational power make KDTs a significant advancement for video analysis.

Summary updated

BibTeX
@inproceedings{chan2007classifying,
  author = {Antoni B. Chan and Nuno Vasconcelos},
  title = {{Classifying Video with Kernel Dynamic Textures}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2007},
  doi = {10.1109/cvpr.2007.382996},
}
Figure