Video Browsing Using Edges and Motion

Ramin Zabih, Justin Miller, Kevin Mai

Abstract

Automated video browsing requires reliable scene break detection to navigate large volumes of footage. Traditional intensity-based methods often fail due to lighting changes, camera motion, and compression artifacts. This paper introduces a robust edge-based approach that tracks the structural dynamics of a scene. By monitoring the appearance and disappearance of edges and incorporating global motion compensation, the algorithm effectively identifies cuts, dissolves, and wipes. Experimental results on diverse, highly compressed datasets demonstrate superior accuracy and lower error rates compared to standard histogram techniques.

Introduction

As digital video storage expanded in the mid-1990s, the necessity for automated tools to index and navigate footage became critical. The primary task is scene break detection—identifying transitions like cuts, dissolves, and fades. Early methods relied on intensity histograms or image differencing, which are fragile in "busy" scenes with significant motion or lighting shifts. Furthermore, lossy compression (MPEG/JPEG) introduces noise that triggers false positives. This research proposes an edge-based method designed to "see" structural changes while remaining invariant to intensity noise and motion.

Methodology

The core innovation is the Edge-Based Approach, predicated on the observation that during transitions, new edges appear far from old ones, and old edges disappear far from new ones.

Edge Change Metrics

The system calculates two primary metrics:

  • $\rho_{in}$: The fraction of "incoming" edge pixels (new edges).
  • $\rho_{out}$: The fraction of "outgoing" edge pixels (disappearing edges).

A scene break is identified by peaks in the combined metric $\rho = \max(\rho_{in}, \rho_{out})$.

Motion Compensation and Robustness

To distinguish scene breaks from camera movement (pans, zooms), the algorithm performs global motion registration. Frames are aligned before edge comparison using techniques like the Hausdorff distance or Census transform. To handle minor misalignments or compression artifacts, a "dilation" trick is used: an edge pixel is considered "stable" if a corresponding edge exists within a small radius $r$ in the adjacent frame.

Transition Classification

The temporal profile of $\rho$ allows for classification:

  • Cuts: Characterized by sharp, single-frame peaks.
  • Dissolves/Fades: Show gradual increases in edge activity over multiple frames.
  • Wipes: Identified by specific spatial distributions of changing pixels.

Experimental Results

The algorithm was evaluated on over 50 sequences (10,000+ frames) including music videos, advertisements, and movie trailers. Many sequences were highly compressed to test robustness.

Figure 1: The edge change fraction effectively identifies both dissolves in the sequence with clear, distinct peaks.

In head-to-head comparisons, the edge-based method significantly outperformed intensity-based baselines. As shown in the figures, while the edge change fraction (Figure 1) clearly marks both dissolves, the standard intensity histogram difference (Figure 2) fails to reliably detect the second transition, often confusing it with background noise.

Figure 2: Intensity histogram difference for the same sequence fails to clearly detect the second dissolve, illustrating the fragility of pixel-based methods.

Quantitatively, the edge method achieved zero false negatives for cuts in the test set, compared to several misses and multiple false positives for histogram methods. The implementation reached processing speeds of 2 fps on standard workstations, with near-linear scaling on multi-CPU systems.

Conclusion

By shifting the focus from pixel intensity to structural edges, this approach provides a robust framework for video scene detection. While rapid motion of large objects remains a challenge, the integration of motion segmentation offers a path forward. This work lays the foundation for advanced video indexing and automated metadata generation, such as coupling caption detection with OCR for full-text video search.

Summary updated

BibTeX
@inproceedings{zabih1996video,
  author = {Ramin Zabih and Justin Miller and Kevin Mai},
  title = {{Video Browsing Using Edges and Motion}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {1996},
  doi = {10.1109/cvpr.1996.517109},
}
Figure