Multi-label image segmentation via max-sum solver

Branislav Micusík, Tomás PajdlaCVPR 2007

Abstract

We present a framework for automatic multi-label image segmentation that moves beyond traditional binary "min-cut" methods. By formulating the task as a MAX-SUM problem on a graph of superpixels and using a novel "seed-based" approach to learn texture and color priors directly from a single image, we achieve state-of-the-art results on the Berkeley Segmentation Database. The method effectively handles complex textures and multiple object categories simultaneously in a single global optimization step.

1. Introduction

Image segmentation—the process of partitioning an image into meaningful regions—is a cornerstone of computer vision. While binary segmentation (separating "foreground" from "background") was well-handled by algorithms like MIN-CUT by 2007, multi-label segmentation (assigning pixels to one of $K$ categories) remained challenging.

Existing methods often struggled with two primary issues: computational complexity, as solving multi-label problems is NP-hard, and the failure of color gradients in highly textured regions. In scenes like a leopard's spots, high contrast exists within a single object, often confusing algorithms that rely solely on local edges. This paper proposes an automatic system that respects both color and complex texture cues through global optimization.

2. Methodology

The proposed pipeline consists of four main components designed to balance accuracy with computational tractability:

  • Superpixel Representation: To reduce the search space, the image is first grouped into "superpixels" (small, color-coherent clusters). This reduces the number of nodes in the graph from hundreds of thousands of pixels to approximately 12,500 objects.
  • The MAX-SUM Solver: Instead of iterative binary cuts, the authors use a MAX-SUM solver based on linear programming relaxation. This allows the system to find the Maximum A Posteriori (MAP) configuration of a Markov Random Field (MRF) for multiple labels simultaneously.
Graph representation of the multi-label segmentation problem.
  • Automatic Seed Positioning: To learn label characteristics, the system automatically places "seeds" (small circular patches) across the image. Crucially, it optimizes seed positions to ensure they do not straddle texture boundaries, using a $\chi^2$ histogram test to find locally homogeneous areas.
  • Relational Quality Functions: The framework introduces "neighborhood histograms" that learn typical color relationships between adjacent superpixels. This treats texture not as a property of a single pixel, but as a relationship between neighbors, allowing the model to understand that a black spot next to a tan patch is a valid part of a single "leopard" texture.

3. Experimental Results

The method was evaluated using the Berkeley Segmentation Dataset (BSDS), a standard benchmark featuring human-annotated ground truth.

Automatic multi-label segmentation results on various complex scenes.

Performance Metrics

The proposed method achieved a Global Consistency Error (GCE) of 0.178. In this metric, lower values indicate higher accuracy. The system significantly outperformed established techniques of the era:

  • Proposed Method: 0.178
  • SEEDSEG: 0.209
  • FOW: 0.214
  • NCUTS: 0.285

Efficiency and Versatility

The system successfully segmented complex images into up to 8 distinct labels (e.g., sky, grass, animal, trees) automatically. Despite the complexity of multi-label optimization, the method processed a standard 321×481 image in approximately 50 seconds on 2007-era hardware, demonstrating its practical utility for research applications.

4. Discussion and Conclusion

By utilizing a MAX-SUM solver, the authors avoid the "greedy" mistakes common in local grouping algorithms, seeking instead the best labeling for the entire image globally. The "seed shifting" optimization ensures that the learned priors are clean and accurate.

While the current model is highly effective, it has limitations regarding textures with identical color pairs and requires a user-defined label count $K$. Future work may involve automatically determining the optimal number of segments and incorporating more advanced features like SIFT or Gabor filters to further enhance texture discrimination.

Summary updated

BibTeX
@inproceedings{micusik2007multi,
  author = {Branislav Micusík and Tomás Pajdla},
  title = {{Multi-label image segmentation via max-sum solver}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2007},
  doi = {10.1109/cvpr.2007.383230},
}
Figure