Towards Fast and Accurate Segmentation

Camillo J. TaylorCVPR 2013

Abstract

Image segmentation is a fundamental task in computer vision, yet high-quality "globalized" segmentation has historically been computationally expensive. This paper presents a novel approach to accelerate the Normalized Cuts algorithm by solving the underlying generalized eigenvalue problem on a reduced-order subspace defined by superpixels. By optimizing both local edge detection and the globalization step, the proposed method achieves a 1000x speedup in the core computation, enabling high-quality segmentation in under 10 seconds on standard CPU hardware while maintaining competitive accuracy on the BSDS 500 benchmark.

Introduction

In the early 2010s, the globalized Probability of Boundary (gPb) framework represented the state-of-the-art in image segmentation. The framework's strength lies in its ability to suppress local texture and highlight salient object boundaries through a process called Normalized Cuts. However, this globalization step requires solving a massive generalized eigenvalue problem. For a standard image, this involves a system with over 115,000 variables, leading to processing times of several minutes on a standard CPU. This computational bottleneck has limited the practical application of high-quality segmentation on consumer-grade hardware.

Methodology

The proposed pipeline introduces two primary optimizations to the standard gPb framework: fast local edge detection and a reduced-order globalization scheme.

Fast Edge Detection

Rather than employing the computationally intensive, learning-heavy local detectors typical of gPb, this method utilizes a simplified scheme based on normalized correlation with oriented edge templates. By training this detector using logistic regression on standard datasets, the author achieves performance comparable to the "pB" detector at a significantly lower computational cost.

Reduced Order Normalized Cuts

The core innovation of this work is the transition from pixel-level to superpixel-level computation. The algorithm first performs a rapid watershed transform to group pixels into approximately 5,000 superpixels.

Watershed-based superpixel segmentation used as a basis for the reduced-order system.

The eigenvalue problem is then solved within this "reduced order" space. A mapping matrix ($L$) is constructed to relate superpixels back to the original pixel grid. Unlike simple binary assignments, this mapping uses a weighted average based on spatial distance, ensuring that boundaries remain sharp while smooth regions are preserved. This subspace shortcut exploits the fact that eigenvectors relevant for segmentation are generally smooth within regions and only exhibit significant variation at boundaries.

Evaluation and Results

The method was evaluated on the Berkeley Segmentation Database (BSDS 300 and BSDS 500), which provide human-annotated ground truth for boundary detection.

The most significant result is the dramatic reduction in computational overhead. The time required to solve the eigensystem dropped from an average of 430 seconds to just 0.4 seconds—a 1000x speedup. The entire pipeline, implemented in Matlab, runs in under 10 seconds on a 2.2 GHz i7 processor.

Precision-Recall curves on the BSDS 500 dataset, showing the proposed method achieves an F-score of 0.68.

In terms of accuracy, the proposed method achieved an F-score of 0.68 on the BSDS 500 benchmark. This performance outperforms traditional methods such as Mean Shift (0.64) and standard Normalized Cuts (0.64), and remains competitive with the state-of-the-art gPb-owt-ucm (0.73).

Discussion

The success of this approach hinges on the efficient use of sparsity and the nuanced mapping between pixel and superpixel spaces. By employing the Approximate Minimum Degree algorithm and sparse Cholesky factorization, the numerical solver (Lanczos procedure) becomes highly efficient.

However, the method's performance is inherently bounded by the quality of the initial superpixel generation. If the watershed transform fails to capture a salient boundary, the subsequent reduced-order globalization is unlikely to recover it. Future work could involve implementing the pipeline in C or utilizing integral images to further reduce local edge detection time, potentially enabling real-time performance on mobile devices.

Summary updated

BibTeX
@inproceedings{taylor2013towards,
  author = {Camillo J. Taylor},
  title = {{Towards Fast and Accurate Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2013},
  doi = {10.1109/cvpr.2013.250},
}
Figure