Hierarchical image simplification and segmentation based on Mumford-Shah-salient level line selection

Yongchao Xu, Thierry Géraud, Laurent Najman

TL;DR

This paper introduces a fast, hierarchical method for image simplification and segmentation by combining the "tree of shapes" representation with the classic Mumford-Shah energy functional. By calculating how long specific image structures (level lines) persist during energy minimization, the authors create a multiscale "saliency map" that outperforms or matches state-of-the-art methods while being significantly more computationally efficient.

What Problem Does This Paper Address?

Image segmentation—the process of partitioning an image into meaningful regions—is a cornerstone of computer vision. Traditionally, this is often treated as an optimization problem using energy functionals like the Mumford-Shah functional, which balances region smoothness against data fidelity.

However, traditional energy-based methods face two major hurdles:

  1. Computational Complexity: Finding the global optimum is often NP-hard or extremely slow.
  2. Scale Inflexibility: Most methods produce a single "best" partition based on a fixed parameter ($\lambda_s$). In reality, images contain structures at many scales (e.g., a tree, its branches, and its leaves), and a single partition often misses this hierarchy.

The authors aim to bridge the gap between high-quality energy-based optimization and the need for fast, multiscale hierarchical representations.

Methods

The authors' approach relies on three main pillars:

  1. The Tree of Shapes (ToS): Instead of looking at pixels, they represent the image as a hierarchy of connected components of level sets. This representation is "self-dual" (treating light and dark objects equally) and invariant to contrast changes.
  2. Energy-Based Attribute Function ($A_{\lambda_s}$): The core innovation is a novel attribute function derived from the piecewise-constant Mumford-Shah functional. For every "shape" in the tree, they calculate the specific value of the regularization parameter $\lambda_s$ at which that shape would be merged into its parent to decrease the total energy. This value acts as a measure of the shape's "persistence" or importance.
  3. Extinction Values and Saliency Maps: To ensure the results follow the "causality principle" (where structures at a coarse scale must have a "cause" at a finer scale), they apply a hierarchy transformation using extinction values. This results in a saliency map—a single image where pixel values represent the "strength" of the boundaries. Thresholding this map at different levels yields segmentations at different scales.

What's new? Unlike previous greedy energy-minimization algorithms that are often quadratic ($O(N^2)$) in complexity, this method uses a specific sorting order (based on gradient magnitude along level lines) to achieve near-linear ($O(N)$) time complexity.

Datasets

The method was evaluated on two primary benchmarks:

  • Weizmann Segmentation Evaluation Database: Specifically the subset of 100 images containing two objects. This was used for quantitative evaluation (F-measure).
  • BSDS500 (Berkeley Segmentation Dataset): Used for qualitative illustrations of the hierarchical simplification and saliency maps.
  • Cellular Images: Used to demonstrate the method's effectiveness in specialized domains like biological imaging.

Key Insights and Ideas

  • Level Lines as Boundaries: The authors lean on the observation that meaningful object contours in natural images almost always coincide with segments of the image's level lines. By operating on the Tree of Shapes, they restrict the search space to these naturally occurring boundaries.
  • Meaningfulness-Driven Optimization: A major "aha moment" is the realization that sorting level lines by a simple attribute (like average gradient magnitude) before performing energy minimization makes the greedy optimization much more robust and efficient.
  • Hierarchy over Partitioning: By computing an attribute function rather than fixing a global parameter, the method avoids the "causality violation" where a structure might appear at a coarse scale but disappear at a finer one.

Key Results

  • State-of-the-Art Performance: On the Weizmann "two objects" dataset, the method achieved an F-measure of 0.80, putting it on par with the highly regarded gPb-owt-ucm method (0.79) and significantly ahead of standard techniques like MeanShift (0.61) or N-Cuts (0.58).
  • Speed: The algorithm is remarkably fast. For a standard $512 \times 512$ image (like "Lena"), the proposed method takes roughly 0.92 seconds, compared to 27.77 seconds for previous greedy Mumford-Shah implementations.
  • Flexibility: The method produces high-quality "simplified" images that look like paintings, where small noise is removed but sharp, salient boundaries are perfectly preserved.

Limitations and Future Work

  • Texture Handling: The current implementation uses a simple piecewise-constant model, which doesn't explicitly account for texture. While it performs well, the authors note that incorporating texture features (as seen in gPb-owt-ucm) could further improve results.
  • Greedy Nature: While the sorting strategy makes the greedy approach robust, it is still a local optimization rather than a global one.
  • Future Directions: The authors suggest exploring more complex energy functionals (like those used in hyperspectral imaging or video compression) and integrating machine learning to "learn" the best gradients for specific types of imagery (e.g., satellite or medical photos).

Summary updated

BibTeX
@article{xu2016hierarchical,
  author = {Yongchao Xu and Thierry Géraud and Laurent Najman},
  title = {{Hierarchical image simplification and segmentation based on Mumford-Shah-salient level line selection}},
  journal = {Pattern Recognition Letters},
  year = {2016},
  url = {https://openreview.net/forum?id=4o1sjvWItZE},
}
Figure