Image Segmentation by Nested Cuts

Olga VekslerCVPR 2000

Introduction

Image segmentation remains a fundamental challenge in computer vision, primarily centered on finding the optimal way to partition an image into meaningful regions. While graph-cut methods have long been popular, they often struggle with inherent biases. This paper by Olga Veksler introduces a novel algorithm that moves away from global bipartitioning toward a local approach that isolates individual pixels from a virtual "outside" node. The result is a mathematically clean, hierarchical segmentation that avoids the common pitfalls of traditional min-cut or normalized-cut methods.

The Challenge of Graph Partitioning

Traditional image segmentation via graph partitioning typically faces a "Goldilocks" problem. Minimum Cut algorithms often produce trivial segments, such as cutting out a single pixel that differs slightly from its neighbors, because the cost is simply the sum of edge weights. To address this, Normalized Cuts were introduced to divide the cost by segment size. However, Normalized Cuts are NP-hard to solve exactly and are biased toward splitting images into roughly equal-sized pieces, which fails when the foreground object is significantly smaller than the background.

Veksler's approach sidesteps these issues by focusing on finding a "good" closed contour around each pixel that separates it from the world outside the image, rather than attempting a global split of the entire graph.

Methodology: The Nested Property

The algorithm constructs a weighted undirected graph where pixels are nodes and edges represent similarity. Two key innovations drive the process:

  1. The External Node ($t$): A special terminal node $t$ is added to represent the "scene outside the image." Pixels on the image boundary are connected to $t$ with a specific weight ($w_t$).
  2. The $(p, t)$-cut: For any pixel $p$, the algorithm finds the minimum cost cut that separates $p$ from $t$. This cut defines a segment $C_p$ surrounding $p$.
Illustration of the nested property: segments around pixels p and q are either disjoint or nested, providing a clean hierarchy.

A vital discovery of this work is the Nested Property. As illustrated in the figure above, the paper proves that for any two pixels, their resulting segments ($C_p$ and $C_q$) are either entirely disjoint or one is perfectly contained within the other. This prevents segments from overlapping in messy ways and naturally produces a tree-like hierarchy of the image—from coarse regions to fine details—without requiring complex merging heuristics.

To ensure computational feasibility, the author employs sampling (testing a subset of pixels), graph reduction (contracting known segments into single nodes), and flow-based speedups to skip redundant calculations.

Experimental Results

The algorithm was evaluated on both synthetic and real-world images. It demonstrated significant robustness to noise, successfully segmenting structured shapes out of random noise backgrounds where standard bipartitioning methods typically fail.

Hierarchical segmentation results on the baseball image, showing the extraction of players and finer details across multiple levels.

On natural scenes like the "Baseball" image shown above, the top of the hierarchy correctly identified the players against a complex background. As the algorithm progressed through deeper levels of recursion (up to 5 levels), it began to separate smaller details such as shoes and uniform parts. For the era, the computational performance was respectable, processing a 128x128 benchmark image through five levels of hierarchy in approximately 2.5 minutes.

Conclusion and Future Work

The Nested Cuts approach provides a robust framework for finding significant closed contours, even when parts of the contour are low-contrast. By treating the "outside" as a reference point, the method avoids the equal-size bias of normalized cuts and the trivial-cut bias of standard min-cuts. While the method is sensitive to parameter selection (such as edge weight functions) and can occasionally leave small fragment artifacts near boundaries, its ability to generate a natural hierarchy through the nested property remains a powerful contribution to graph-based segmentation.

Summary updated

BibTeX
@inproceedings{veksler2000image,
  author = {Olga Veksler},
  title = {{Image Segmentation by Nested Cuts}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2000},
  doi = {10.1109/cvpr.2000.855838},
}
Figure