Robust interactive image segmentation via graph-based manifold ranking

Hong Li, Wen Wu, Enhua WuComput. Vis. Media 2015

Abstract

Interactive image segmentation is a fundamental task in computer vision, yet many existing methods are sensitive to user input precision and require extensive parameter tuning. This paper presents a robust framework that treats segmentation as a graph-based manifold ranking problem. By employing an approximately k-regular sparse graph and a locally adaptive kernel, the proposed method effectively propagates user labels across an image. Experimental results on standard benchmarks demonstrate that this approach achieves state-of-the-art accuracy and near real-time performance while maintaining high resilience to variations in user scribble placement.

1. Introduction

Extracting specific objects from complex backgrounds is essential for applications ranging from photo editing to medical imaging. Traditional graph-based techniques, such as GraphCut or Random Walks, often face two primary challenges: high sensitivity to the exact location of user scribbles and the difficulty of tuning a global kernel width ($\sigma$) for diverse image regions. This paper introduces a robust segmentation system that addresses these issues by exploiting the intrinsic geometric structure of image data through manifold ranking.

2. Methodology

The proposed framework is built upon three core technical pillars:

2.1 Approximately k-regular Sparse Graph

To ensure computational efficiency, the image is first over-segmented into superpixels. A graph is constructed where nodes represent these superpixels. Unlike standard adjacency graphs, our model connects nodes to both immediate neighbors and "neighbors of neighbors," creating an extended spatial relationship. User-provided scribbles are integrated as hard constraints, forming a sparse yet highly informative structure.

2.2 Locally Adaptive Kernel

Rather than applying a uniform global $\sigma$, the algorithm employs a content-driven, locally adaptive kernel. The edge weights between nodes are calculated using a $\sigma$ derived from the median distance of local neighbors. This adaptive mechanism allows the system to better distinguish between foreground and background by responding to local contrast and texture variations.

2.3 Three-Stage Ranking Strategy

The segmentation process follows a structured ranking pipeline:

  • Foreground Learning: Superpixels are ranked based on their relevance to user-defined foreground seeds.
  • Background Learning: A similar ranking is performed relative to background seeds.
  • Integration: The final binary mask is generated by combining these ranking scores through a pixel-wise product and a mean-based thresholding operation.

3. Experimental Results

The framework was evaluated using the GrabCut dataset and various natural images featuring noise and complex lighting.

  • Accuracy: The method consistently outperformed state-of-the-art algorithms, including RWR and NHL. It achieved normalized overlap ($\beta_o$) scores frequently exceeding 0.96.
  • Robustness: A key finding was the system's "scribble insensitivity." The manifold ranking's ability to propagate information globally meant that even minimal user input—such as a single line or a few dots—could produce accurate results.
  • Performance: Despite an unoptimized MATLAB implementation, the system processed 640x480 images in approximately 1.98 seconds, making it suitable for interactive applications.

4. Conclusion

By reframing segmentation as a manifold ranking problem, this research provides a solution that is both accurate and user-friendly. Future work will focus on incorporating texture and edge features to improve performance on low-contrast objects and implementing the framework in C++ to achieve true real-time performance.

Summary updated

BibTeX
@article{li2015robust,
  author = {Hong Li and Wen Wu and Enhua Wu},
  title = {{Robust interactive image segmentation via graph-based manifold ranking}},
  journal = {Comput. Vis. Media},
  year = {2015},
  doi = {10.1007/s41095-015-0024-2},
}
Figure