Fast Constraint Propagation for Image Segmentation

Peng HanarXiv 2015

Abstract

This paper introduces Selective Constraint Propagation (SCP), a novel framework designed to make semi-supervised image segmentation computationally feasible for high-resolution images. By propagating user-provided constraints over a representative subset of pixels and employing $L_1$-minimization for weight adjustment, the proposed approach achieves significantly higher segmentation accuracy than standard methods while maintaining the interactive speeds necessary for real-world applications.

Introduction

Image segmentation—the process of partitioning an image into meaningful regions—is inherently ill-posed, as multiple mathematically valid partitions can often be derived from a single image. To resolve this ambiguity, researchers utilize constrained segmentation, where users provide "must-link" (pixels belonging to the same region) or "cannot-link" (pixels in different regions) hints.

The primary challenge in constrained segmentation is scalability. A standard $200 \times 200$ image contains 40,000 pixels, leading to a computational complexity of $O(N^2)$ or $O(N^3)$ for traditional constraint propagation methods. Such overhead makes interactive use impossible. This paper addresses this bottleneck by proposing a selective approach that leverages the local homogeneity of natural images.

Methodology

The proposed pipeline consists of three integrated stages designed to optimize both accuracy and speed:

  1. Selective Propagation (SCP): Rather than calculating constraints for every pixel pair, the algorithm samples a small, representative subset of pixels ($N_u$). Constraint propagation is formulated as a graph-based label propagation problem on this subset, solved efficiently using an iterative process that alternates between horizontal and vertical propagation.
  2. Sparsification: To prevent computational "explosion," the method proactively discards low-value propagated constraints. This ensures the resulting constraint matrix remains sparse and manageable.
  3. $L_1$-Minimization for Weight Adjustment: The propagated constraints are fused with the image's original global weight matrix using $L_1$-minimization. The $L_1$ norm is critical as it encourages sparsity, allowing the final Normalized Cuts (NCuts) step to remain computationally efficient.
Overview of the Selective Constraint Propagation (SCP) pipeline.

Experimental Setup

The researchers evaluated the algorithm using the Berkeley Segmentation Database (BSDS), a standard benchmark for natural image segmentation. They selected 50 challenging images featuring complex backgrounds (e.g., penguins, kangaroos, and flowers). Each pixel was represented by a 6-dimensional feature vector comprising three color coordinates (Lab* space) and three texture features (contrast, anisotropy, and polarity).

Results and Discussion

The proposed NCuts_SCP method was compared against standard Normalized Cuts (NCuts) and two other constrained variants: NCuts_SL and NCuts_LEC.

  • Accuracy: Measured by the Adjusted Rand (AR) index, the SCP method achieved a score of 0.50, significantly outperforming standard NCuts (0.36) and the previous best-constrained method (0.40).
  • Efficiency: The total processing time was approximately 35 seconds per image. While slightly higher than simpler methods (25–31s), the substantial gain in accuracy represents a superior trade-off for practical use.
  • Stability: Performance was found to plateau once the subset size reached approximately 2,500–3,000 pixels, indicating that the method is robust and does not require exhaustive data sampling to be effective.
Qualitative comparison of the proposed NCuts_SCP against baseline and state-of-the-art constrained segmentation methods.

Conclusion and Future Work

Selective Constraint Propagation successfully bridges the gap between high-dimensional image data and advanced constraint techniques. By treating sparsity as a requirement rather than a limitation, the authors enable the use of powerful graph-based algorithms like NCuts in interactive settings. Future research will focus on more sophisticated sampling strategies and extending the framework to high-stakes tasks such as semantic segmentation and multi-face tracking in video.

Summary updated

BibTeX
@misc{han2015fast,
  author = {Peng Han},
  title = {{Fast Constraint Propagation for Image Segmentation}},
  year = {2015},
  eprint = {1502.01475},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1502.01475},
}
Figure