Abstract
This paper introduces Temporally Consistent Superpixels (TCS), a method for segmenting video into regions that remain stable and correctly labeled across multiple frames. By using a hybrid clustering strategy that separates global color information from local spatial movement within a sliding window, the authors achieve smoother, more persistent superpixels that outperform existing state-of-the-art "supervoxel" techniques.
Introduction
Superpixels are groups of pixels that share similar colors and textures, acting as "primitives" that make computer vision tasks like object tracking or 3D reconstruction much more efficient than working with raw pixels. However, when applied to video, standard superpixel algorithms suffer from two major flaws: temporal inconsistency, where boundaries flicker or jump between frames, and a lack of identity, where a superpixel in one frame has no inherent connection to the same region in the next.
While "supervoxels" (treating a video as a 3D volume) exist, they often struggle with long-term consistency or require processing the entire video at once, which is impossible for streaming applications. TCS addresses these issues by providing a streaming-capable framework that maintains identity over long sequences.
Methodology
The authors propose an energy-minimizing clustering approach building on the logic of the popular SLIC algorithm, with several key innovations:
- Hybrid Clustering Strategy: The feature space is split. The algorithm assumes a superpixel's color is relatively global (stable over a few frames), while its spatial position is local to each specific frame. Each superpixel maintains one color center for the whole window but a unique spatial center for every frame.
- Sliding Window Approach: The algorithm processes a window of $W$ frames, categorized into "past," "current," and "future." Past frames are immutable, providing a stable anchor, while current and future frames are optimized to adapt to new motion.
- Contour Evolution: To prevent superpixels from breaking into disconnected fragments, a post-processing step based on contour evolution "grows" the boundaries of the main mass into unassigned areas, ensuring spatial coherency.
- Structural Management: To handle objects moving toward or away from the camera, the system automatically splits or terminates clusters based on size constraints.
Experimental Evaluation
The approach was evaluated using two established benchmarks: SegTrack (six video clips with binary ground truth) and the Chen Dataset (eight video clips with multi-label ground truth). The authors compared TCS against sGBH (streaming Hierarchical Video Segmentation) and the SLIC supervoxel approach.
Key Results
- Longevity: TCS achieved a significantly higher Mean Duration (the number of frames a superpixel label persists). On the Chen dataset, TCS superpixels lasted nearly 70 frames, while competitors dropped off between 20 and 50 frames.
- Accuracy: TCS showed the lowest 3D Undersegmentation Error, meaning its spatio-temporal "tubes" fit the actual moving objects more accurately than other methods.
- Efficiency: The complexity is $O(|N|WV)$ (where $N$ is pixels, $W$ is window size, and $V$ is total frames), making it more computationally efficient than graph-based hierarchical methods.
Discussion and Future Work
By treating color as a global anchor and including "future" frames in the optimization, TCS allows superpixels to adapt to motion before the current frame is finalized. This streaming capability makes the method suitable for long sequences and near-real-time applications.
However, some limitations remain. The initialization of new frames relies on optical flow; while robust, extremely chaotic motion could still pose a challenge. Future work aims to enhance the energy-minimization scheme to handle complex structural changes more intrinsically and to incorporate additional cues like depth or texture to improve segmentation in low-contrast areas.
Summary updated