Joint Object Segmentation and Behavior Classification in Image Sequences

Laura Gui, Jean-Philippe Thiran, Nikos Paragios

Abstract

Traditional computer vision pipelines often treat object segmentation and behavior classification as independent, sequential tasks. This paper proposes a unified framework where high-level behavior models, specifically Hidden Markov Models (HMMs), provide dynamic priors to guide low-level variational segmentation. By creating a feedback loop between these processes, the system achieves superior robustness against noise, cluttered backgrounds, and occlusions.

Introduction

In standard computer vision, a "bottom-up" approach is typically employed: an object is first segmented, features are extracted, and then a behavior is classified. However, this creates a "chicken-and-egg" dilemma: accurate classification depends on clean segmentation, yet in complex environments with shadows or occlusions, clean segmentation often requires prior knowledge of the object's identity and state. This research addresses this by integrating classification and segmentation into a joint optimization process.

Methodology

The proposed framework leverages three core components to bridge the gap between pixels and behavior:

  1. Hidden Markov Models (HMMs): These model the temporal dynamics of behaviors (e.g., hand gestures). The HMM predicts the most likely state for the next frame, providing "dynamic priors" that inform the segmentation process.
  2. Variational Segmentation via Level Sets: The object boundary is represented as a level set function, allowing for flexible contour evolution based on image gradients.
  3. PCA-Based Shape Priors: Principal Component Analysis (PCA) is used to learn statistical shape models for each behavior class.
The joint framework architecture showing the interaction between segmentation and classification over time.

The system operates through an energy minimization functional. In each frame, different behavior classes compete to influence the segmentation contour. The "winning" class is the one that best aligns the observed image data with the shape priors predicted by the HMM.

Experimental Setup

The framework was evaluated using hand gesture sequences. The dataset consisted of four distinct classes: a fist (Class 0), an extended thumb (Class 1), thumb and index fingers (Class 2), and thumb, index, and middle fingers (Class 3).

Example images of the four hand gesture classes (0-3) used in the study.

Training involved using labeled sequences to estimate HMM transition probabilities and build PCA shape models. Testing was conducted on sequences featuring complex backgrounds and significant physical occlusions, such as one hand passing in front of another.

Results and Discussion

The joint framework demonstrated significant improvements over conventional methods:

  • Robustness to Occlusion: By utilizing behavior-driven shape priors, the segmentation contour remained stable even when the target object was partially obscured. The HMM's expectation of a specific shape prevented the contour from collapsing or bleeding into occluding objects.
  • Dimensional Efficiency: PCA analysis revealed that the first five eigenvectors captured between 94.8% and 97.6% of shape variance, indicating that low-dimensional models are highly effective for representing complex poses.
  • Temporal Stability: The integration of the Viterbi algorithm within the HMM ensured smooth transitions between behavior states, eliminating the "flickering" classification errors common in frame-by-frame analysis.

Conclusion

This research demonstrates that coupling high-level behavior modeling with low-level image processing creates a more resilient computer vision system. While currently demonstrated in 2D, the authors suggest that extending this framework to 3D and incorporating additional attributes like texture and motion would further enhance its applicability to real-world scenarios.

Summary updated

BibTeX
@inproceedings{gui2007joint,
  author = {Laura Gui and Jean-Philippe Thiran and Nikos Paragios},
  title = {{Joint Object Segmentation and Behavior Classification in Image Sequences}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2007},
  doi = {10.1109/cvpr.2007.383234},
}
Figure