TurboPixels: Fast Superpixels Using Geometric Flows.

Alex Levinshtein, Adrian Stere, Kiriakos N. Kutulakos, David J. Fleet, Sven J. Dickinson, Kaleem SiddiqiIEEE TPAMI 2009

Abstract

We describe a geometric-flow-based algorithm for computing a dense oversegmentation of an image, often referred to as superpixels. It produces segments that, on one hand, respect local image boundaries, while, on the other hand, limiting undersegmentation through a compactness constraint. It is very fast, with complexity that is approximately linear in image size, and can be applied to megapixel sized images with high superpixel densities in a matter of minutes. We show qualitative demonstrations of high-quality results on several complex images. The Berkeley database is used to quantitatively compare its performance to a number of oversegmentation algorithms, showing that it yields less undersegmentation than algorithms that lack a compactness constraint while offering a significant speedup over N-cuts, which does enforce compactness.

What Problem Does This Paper Address?

In computer vision, "superpixels" are used to group pixels into meaningful atomic regions, reducing the complexity of an image from millions of pixels to a few hundred segments. A robust superpixel algorithm must balance two conflicting goals:

  1. Boundary Adherence: Segments should stop at actual object edges.
  2. Compactness: Segments should be regularly shaped and roughly equal in size to avoid "undersegmentation" (where a single superpixel accidentally spans two different objects).
Traditional methods often produce irregular, "spidery" segments that lack compactness, leading to potential undersegmentation.

Existing methods at the time were either fast but produced irregular, "spidery" shapes (like Mean Shift or Felzenszwalb’s method) or produced high-quality compact regions but were computationally prohibitive for large images (like N-Cuts). TurboPixels was designed to provide the best of both worlds: the speed of local methods with the structural regularity of global ones.

Methodology: Geometric Flow

The core of TurboPixels is a geometric flow approach. Instead of solving a global optimization problem, the algorithm simulates a physical process:

  1. Seed Placement: The process begins by placing a grid of "seeds" (initial circular regions) across the image.
  2. Level-Set Evolution: These seeds are dilated (grown) using a level-set framework. The speed of growth is controlled by two main factors:
  3. Image-Based Velocity ($S_I$): Growth slows down as the boundary approaches an image edge (high gradient) and is "attracted" to the edge via a "doublet" term. A curvature term ensures the boundaries stay smooth.
  4. Proximity-Based Velocity ($S_B$): To prevent superpixels from overlapping or merging, the algorithm computes a homotopic skeleton of the unassigned space. As a growing boundary nears this skeleton (the "midline" between two seeds), it slows to a halt.
  5. Efficiency: By using a "narrow-band" implementation (only calculating updates near the moving boundaries), the algorithm achieves a computational complexity that is approximately linear ($O(N)$) relative to the number of pixels.
TurboPixels produces compact, regularly sized superpixels that adhere to image boundaries.

Key Insights and Results

The most innovative aspect of TurboPixels is using the skeleton of the unassigned region to enforce the "no-overlap" rule. This ensures that every pixel is assigned to exactly one superpixel and that the regions remain simply connected without needing complex global constraints. The authors argue that a compactness constraint is actually a tool for robustness; in areas of low contrast where edges are missing, a compact superpixel will maintain its shape rather than "bleeding" uncontrollably into adjacent objects.

Quantitative evaluation using the Berkeley Segmentation Dataset (BSD300) revealed several key results:

  • Speed: TurboPixels is significantly faster than N-Cuts. While N-Cuts can take minutes or hours as image size increases, TurboPixels scales linearly and can process megapixel images in minutes.
  • Undersegmentation Error: TurboPixels achieved the lowest undersegmentation error among tested algorithms (TurboPixels, N-Cuts, Felz, and Square Blocks).
  • Boundary Recall: While irregular methods like Felzenszwalb (Felz) have slightly better boundary recall at very low superpixel densities, TurboPixels matches their performance as the density of superpixels increases.

Conclusion and Future Work

TurboPixels proves that expensive global graph-cut optimizations are not necessary to obtain regular, high-quality segments. Local curve evolution, if properly constrained, can produce comparable results much faster. Future work may address fixed-density limitations by placing seeds more intelligently (e.g., higher density in high-texture areas) to better capture fine details and thin structures.

Summary updated

BibTeX
@article{levinshtein2009turbopixels,
  author = {Alex Levinshtein and Adrian Stere and Kiriakos N. Kutulakos and David J. Fleet and Sven J. Dickinson and Kaleem Siddiqi},
  title = {{TurboPixels: Fast Superpixels Using Geometric Flows.}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2009},
  url = {https://openreview.net/forum?id=rQYP1hBgdTr},
}
Figure