An efficient hierarchical graph based image segmentation

Silvio Jamil Ferzoli Guimarães, Jean Cousty, Yukiko Kenmochi, Laurent NajmanarXiv 2012

TL;DR

This paper introduces a novel hierarchical image segmentation method that overcomes key limitations of existing graph-based approaches. By leveraging a criterion from Felzenszwalb and Huttenlocher, their method generates a complete hierarchy of segmentations, ensuring stable contours across scales and eliminating the need for difficult parameter tuning.

What Problem Does This Paper Address?

Image segmentation aims to partition an image into meaningful regions. Hierarchical image segmentation is particularly useful as it provides a multi-scale representation, where segmentations at finer levels are nested within coarser ones. Existing popular graph-based methods, like the one by Felzenszwalb and Huttenlocher (2004), rely on a merging criterion that, while effective for producing a single segmentation, suffers from two major drawbacks:

  1. Violation of Causality: The number of regions can increase as the "scale" parameter increases, which is counter-intuitive for a multi-scale analysis.
  2. Unstable Contours: Region boundaries can shift unpredictably as the scale parameter changes, violating a location principle.

These issues make tuning the single parameter in such methods a challenging task for users. The paper addresses the need for a hierarchical segmentation method that inherently satisfies causality and contour stability, thereby simplifying parameter selection and providing a more robust multi-scale representation.

Methods

The core of the proposed method is a hierarchical extension of the Felzenszwalb and Huttenlocher (FH) segmentation criterion. Instead of producing a single segmentation for a given parameter value, the authors aim to generate a complete hierarchy of segmentations.

The approach starts by building an edge-weighted graph from the image, where edge weights represent pixel dissimilarity. A Minimum Spanning Tree (MST) is computed on this graph. The algorithm then iteratively processes edges of the MST in increasing order of their weights. For each edge, it determines a "hierarchical observation scale" that represents the scale at which the two regions connected by the edge would merge.

The key innovation lies in how this hierarchical observation scale, denoted as $L(e)$, is computed. It's defined as the maximum of two values: $S'_{XY}(X)$ and $S'_{YX}(Y)$. These values represent the lowest observation scale at which a sub-region of $X$ (or $Y$) would merge with $Y$ (or $X$). This computation involves an iterative process of checking region memberships at increasing "internal" scale parameters until a merge condition is met.

This process effectively computes a weight map $L(e)$ for each edge in the MST. From this map, a hierarchy of partitions (segmentations) can be derived by considering different threshold values on $L(e)$. This approach ensures that the resulting segmentations form a true hierarchy, satisfying both causality and contour stability principles.

Datasets

The paper evaluates its method on:

  • Real Images: Illustrated with examples from Fig. 1(a) and Fig. 3.

  • Synthetic Images: Used in Fig. 6 to demonstrate perceptually distinct regions.

  • Berkeley's Database [9]: Used for performance evaluation in Fig. 7.

  • Random Impulse Noise Corrupted Images: Used in Fig. 10 to test robustness.

The paper does not introduce a new benchmark dataset but utilizes existing ones for comparison and demonstration.

Key Insights and Ideas

  • Hierarchy as a Solution to Parameter Tuning: The most significant insight is that by generating a complete hierarchy, the difficult task of tuning a single parameter (like $k$ in FH) is replaced by selecting a level from a stable, ordered structure.
  • Causality and Location Principles are Crucial for True Hierarchies: The paper emphasizes that a valid multi-scale representation must adhere to these principles. Their method's success is measured by its ability to satisfy them, unlike the original FH method.
  • "Hierarchical Observation Scale" as a Novel Concept: This metric, $L(e)$, is central to their approach. It quantifies the scale at which a merge would occur in a hierarchical context, providing a more principled way to build the scale-space.
  • Efficiency: The proposed method achieves a computational cost comparable to the original FH method, making it practical for real-world applications.

Key Results

  • Hierarchical Output: The method produces a complete hierarchy of segmentations, unlike the single-level output of the original FH method.
  • Stable Contours: Experiments (e.g., Fig. 2 vs. Fig. 4) demonstrate that contours remain stable across different levels of the hierarchy, a key improvement over FH.
  • Decreasing Number of Regions: As the scale parameter increases (moving up the hierarchy), the number of regions consistently decreases, satisfying the causality principle.
  • Comparable Efficiency: The algorithm's computational cost is similar to the original FH method. For a 321x481 image, their method takes 2.7 seconds, while FH takes 1.3 seconds (though FH produces only one segmentation).
  • Robustness: The method shows robustness to random impulse noise (Fig. 10).

Limitations and Future Work

  • Edge Cost Definition: The paper acknowledges that designing an adequate edge-cost function, well-adapted to image content, remains a challenge. They use a simple Euclidean distance in RGB space for color gradients.
  • Quantitative Comparison: While visual comparisons are provided, the authors note that more quantitative tests (like those proposed by [10]) are needed for definitive conclusions.
  • Future Work:
    • Investigating the use of more information in the definition of the observation scale.
  • Learning which information is pertinent for a given practical task.
  • Exploring more sophisticated edge-cost functions.

Summary updated

BibTeX
@misc{guimaraes2012efficient,
  author = {Silvio Jamil Ferzoli Guimarães and Jean Cousty and Yukiko Kenmochi and Laurent Najman},
  title = {{An efficient hierarchical graph based image segmentation}},
  year = {2012},
  eprint = {1206.2807},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1206.2807},
}
Figure