Improving streaming video segmentation with early and mid-level visual processing

Subarna Tripathi, Youngbae Hwang, Serge J. Belongie, Truong Q. Nguyen

Abstract

Streaming video segmentation aims to partition video sequences into consistent spatio-temporal regions in a computationally efficient manner. This paper introduces streamGBH+, an enhanced streaming segmentation algorithm that integrates early-level visual cues—specifically dense optical flow and bilateral filtering—to improve temporal coherence and boundary accuracy. Additionally, we propose a mid-level hierarchical framework that groups supervoxels into motion-based layers using affine motion estimation and a novel directed divergence metric. Experimental results on the Xiph.org benchmark demonstrate that our approach significantly outperforms existing color-based streaming methods in both boundary recall and explained variation.

Introduction

Video segmentation is a fundamental task in computer vision, yet it faces a persistent trade-off between speed and consistency. While frame-by-frame methods are fast, they suffer from temporal flickering. Conversely, 3D volume-based methods offer high consistency but are unsuitable for long videos or real-time applications. Streaming segmentation, which processes video in overlapping temporal chunks, offers a middle ground. However, existing methods like streamGBH often rely solely on color, leading to fragmentation in complex scenes. This work addresses these limitations by incorporating motion and filtering cues at both early and mid-levels of processing.

streamGBH+: Early-Level Enhancements

The proposed streamGBH+ improves upon the baseline by introducing three key modifications:

  1. Bilateral Filtering: A preprocessing step that smooths textures while preserving sharp object boundaries, preventing segments from bleeding across edges.
  2. Motion-Aware Connectivity: Instead of simple spatial adjacency, voxels are connected across frames along paths defined by dense optical flow. This ensures that the graph structure reflects the actual physical motion of objects.
  3. Feature Fusion: The algorithm combines color histograms with discretized flow histograms (horizontal and vertical components), allowing it to distinguish between regions with similar colors but different motion profiles.

Hierarchical Motion-Layer Segmentation

To move from low-level supervoxels to object-level representations, we introduce a mid-level merging framework.

Affine Motion Estimation

For each segment, we estimate its affine motion (rotation, scaling, and translation) using a robust RANSAC-based approach. This provides a compact geometric description of how the segment moves through the scene.

Affine motion estimation for a segment in the 'Stefan' sequence.

Directed Divergence Merging

We propose a "directed divergence" metric to evaluate the similarity between two regions. This metric measures how well the motion model of region A predicts the pixels in region B, and vice versa.

The divergence metric calculation based on warp error between regions.

By using the maximum of these two directed errors, we ensure that regions are only merged if they share a consistent global motion. Finally, a Markov Random Field (MRF) post-processing step is applied to refine boundaries.

Experimental Results

The framework was evaluated on the ChenXiph.org dataset, featuring diverse sequences like 'Ice', 'Stefan', and 'Garden'.

  • Quantitative Performance: streamGBH+ achieved higher 3D boundary recall and explained variation compared to the original streamGBH, particularly in high-motion sequences.
  • Qualitative Analysis: The method successfully grouped disparate parts of objects (e.g., a tennis player's limbs and racket) into single motion layers. However, the MRF smoothing occasionally over-smoothed small, high-velocity objects, such as the tennis racket in the 'Stefan' sequence, merging them into the background.

Conclusion

By integrating early-level motion cues and mid-level affine layers, streamGBH+ provides a more robust and semantically meaningful segmentation for streaming video. Future work will focus on refining the hierarchical merging process to better preserve small, fast-moving objects and applying these layers to tasks like automated foreground recognition.

Summary updated

BibTeX
@inproceedings{tripathi2014improving,
  author = {Subarna Tripathi and Youngbae Hwang and Serge J. Belongie and Truong Q. Nguyen},
  title = {{Improving streaming video segmentation with early and mid-level visual processing}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2014},
  doi = {10.1109/wacv.2014.6836063},
}
Figure