Discrete-Continuous Gradient Orientation Estimation for Faster Image Segmentation

Michael Donoser, Dieter SchmalstiegCVPR 2014

Abstract

High-quality hierarchical image segmentation often relies on computationally expensive global spectral analysis. We propose DC-Seg, a method that replaces these bottlenecks with a fast "discrete-continuous" gradient estimation pipeline. By leveraging learned edge prototypes as structural priors, DC-Seg achieves performance competitive with the state-of-the-art Ultrametric Contour Map (UCM) while being 40x faster and using 10x less memory.

Introduction

Image segmentation is a fundamental computer vision task that partitions images into meaningful regions. The current standard, the Ultrametric Contour Map (UCM), provides a robust hierarchy of segments but suffers from high latency and memory demands due to its reliance on global spectral optimization. This makes it impractical for real-time or resource-constrained applications. DC-Seg addresses this by demonstrating that high-quality local feature estimation can effectively approximate global context, enabling efficient segmentation without sacrificing accuracy.

Methodology

The DC-Seg pipeline employs a two-stage process to predict oriented gradient signals, which define region boundaries:

  1. Discrete Classification: Image patches are first classified into "prototypical edge templates." These prototypes are learned by clustering thousands of ground-truth segmentation patches. A Random Forest classifier efficiently assigns new patches to these structural categories.
  2. Continuous Regression: For each identified prototype, the system performs continuous regression to determine the precise gradient orientation. By narrowing the search space through classification, the regression becomes significantly more robust and accurate.
  3. Hierarchical Merging: The resulting gradients are processed via an oriented watershed transform and a greedy merging algorithm to produce the final segmentation hierarchy.

This approach bypasses heavy spectral clustering entirely, relying on the "prior knowledge" embedded in the learned edge prototypes.

Experimental Results

We evaluated DC-Seg on the BSDS 500 benchmark, using 200 images for training and 200 for testing.

Table 1: Quantitative performance comparison on the BSDS 500 dataset.

As shown in Table 1, DC-Seg achieves a dramatic speedup, processing images in 5.9 seconds compared to UCM's 243 seconds. Memory requirements are reduced from 2.0 GB to 0.2 GB. Despite these efficiencies, DC-Seg maintains competitive accuracy, matching UCM's performance across key metrics like the Probabilistic Rand Index (PRI) and Cover score.

Figure 1: Qualitative segmentation results across various categories in the BSDS 500 dataset.

Qualitative results (Figure 1) demonstrate that DC-Seg effectively captures complex object boundaries and maintains a coherent hierarchy across diverse natural scenes.

Discussion and Conclusion

DC-Seg proves that global spectral analysis is not a prerequisite for high-quality segmentation. By injecting structural priors through a discrete-continuous estimation framework, we achieve massive gains in efficiency. While the current Matlab implementation is not yet real-time, porting the pipeline to a GPU could enable video-rate processing. Future work includes expanding the prototype library for specialized domains such as medical imaging or satellite surveillance.

Summary updated

BibTeX
@inproceedings{donoser2014discrete,
  author = {Michael Donoser and Dieter Schmalstieg},
  title = {{Discrete-Continuous Gradient Orientation Estimation for Faster Image Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.404},
}
Figure