Abstract
The automatic segmentation and structuring of videos present technical challenges due to the large variation of content, spatial layout, and possible lack of storyline. In this paper, we propose a spectral method to group video shots into scenes based on their visual similarity and temporal relations. Spectral methods have been shown to be effective in capturing perceptual organization features. In particular, we investigate the problem of automatic model selection, which is currently an open research issue for spectral methods, and propose measures to assess the validity of a grouping result. The methodology is used to group shots from home videos and soccer games. The results indicate the validity of the proposed approach, both compared to existing techniques as well as to human performance.
Introduction
Raw video footage is essentially an unstructured sequence of shots. To enable efficient searching, browsing, and summarization, these shots must be organized into "scenes"—logical units that share a common location or event. This task is particularly difficult for "non-produced" content like home videos, which lack professional editing or a script, and for sports videos, where repetitive visual patterns make it hard to distinguish distinct phases of play.
Two primary challenges exist: the extreme variety of content and the "K problem." In unsupervised clustering, determining the natural number of clusters ($K$) is a significant hurdle. Most traditional algorithms require $K$ to be predefined, which is impractical for varying video lengths and content types.
Methodology: Spectral Clustering and Model Selection
This research utilizes Spectral Clustering, a graph-theoretic technique that treats video shots as nodes in a graph. The process begins by constructing an affinity matrix, where each entry represents the similarity between two shots.
Building the Graph
For home videos, similarity is calculated as a weighted combination of visual features (color histograms) and temporal proximity. In soccer footage, the focus shifts to spatial color histograms, such as the ratio of grass-green to crowd colors. By calculating the eigenvectors of this affinity matrix, the high-dimensional shot data is projected into a lower-dimensional space where clusters become more distinct and orthogonal.
Automatic Model Selection
The core contribution of this work is the automatic determination of $K$. The authors leverage the eigengap—the numerical jump between the largest eigenvalues—to identify the "natural" number of clusters.
To further refine this, they introduce a relative cut measure. This ensures that the resulting clusters are meaningful groupings rather than small, isolated fragments, effectively addressing the subjectivity inherent in scene segmentation.
Experimental Evaluation
The method was evaluated on two datasets:
- Home Video Database: 20 videos from Eastman Kodak (approx. 430 shots). Ground truth was established by collecting segmentations from 20 human subjects.
- Soccer Games: A 10-minute clip (86 shots) from the BBC ASSAVID project.
Key Results
- Performance vs. Baselines: In home video tests, the Spectral Method (SM) achieved a median "Shot in Error" (SIE) rate of 27.1%, significantly outperforming Probabilistic Hierarchical Clustering (36.2%).
- Human-Level Consistency: The algorithm's median error was nearly identical to the median error among human subjects (27.5%). In 25% of the cases, the algorithm's output matched a segmentation already present in the human ground-truth set.
- Sports Homogeneity: For soccer footage, the spectral method successfully separated wide pitch shots, player close-ups, and crowd shots into distinct, homogeneous clusters, whereas standard K-means produced overlapping, noisy groups.
Conclusion and Future Work
Spectral methods prove superior to standard K-means by capturing the global structure of video data rather than just local distances. While the current model relies primarily on color and temporal cues, future improvements could integrate motion vectors, texture analysis, or audio data. Additionally, investigating dynamic weighting for different features based on video genre could further enhance the meaningfulness of the automatically generated scenes.
Summary updated