A fast algorithm for MDL-based multi-band image segmentation

Tapas Kanungo, Byron Dom, Wayne Niblack, David SteeleCVPR 1994

Abstract

Image segmentation is a fundamental yet ill-posed problem in computer vision, often requiring manual parameter tuning to balance detail and noise. This paper presents a parameter-free approach based on the Minimum Description Length (MDL) principle. By treating segmentation as a data compression task and utilizing an efficient "incremental regression" technique, the proposed algorithm automatically determines optimal region boundaries and counts. The method effectively handles multi-band data and significantly reduces computational overhead compared to previous MDL-based techniques.

Introduction

The primary challenge in image segmentation lies in avoiding both overfitting (where every pixel is its own region) and underfitting (where critical details are merged). Traditional methods often rely on heuristic thresholds that lack generalizability across different image types. Furthermore, many existing methods struggle with "multi-band" data (e.g., RGB or combined optical/range images) or are computationally expensive because they require re-fitting complex models every time a boundary moves.

This research introduces a mathematically grounded framework that treats segmentation as an optimization problem: finding the simplest model that accurately describes the image data. The goal is a method that is fast, robust, and requires no "magic numbers" from the user.

Methodology

The core of this approach is the Minimum Description Length (MDL) principle, a formalization of Ockham’s Razor. The objective is to minimize the total "code length" required to represent the image, which comprises three components:

  1. Boundary Description: The bits needed to define region shapes.
  2. Model Parameters: The coefficients for polynomial surfaces (0th, 1st, or 2nd order) representing each region.
  3. Residual Noise: The difference between the model and the actual pixel values.

Optimization via Region Merging

The algorithm begins with a highly over-segmented image and iteratively merges adjacent regions. A merge is only accepted if it results in a net reduction of the total description length. This process naturally penalizes complexity, eliminating the need for arbitrary smoothing parameters. By modeling regions as polynomial surfaces rather than flat colors, the algorithm can capture gradients and curved surfaces effectively.

Incremental Regression

To address the computational bottleneck of re-fitting models after every merge, the authors developed an incremental regression technique. Instead of performing a full least-squares fit for a newly merged region, the algorithm updates the polynomial model using only the summary statistics of the constituent regions. This innovation provides a substantial speedup, making the MDL approach practical for real-world applications.

Experimental Results

The algorithm was evaluated on diverse datasets, including multi-band electronic circuit fragments and grayscale architectural images.

Segmentation of a multi-band electronic circuit image using the MDL-based algorithm.

Multi-Band Analysis

In tests on a two-band (red and blue) circuit image, the algorithm successfully integrated information across spectral bands. This allowed it to identify boundaries that were ambiguous or invisible in a single channel, demonstrating the robustness of the multi-band formulation. The model explicitly accounts for inter-band correlation, a more sophisticated approach than processing each channel independently.

Architectural Geometry

The "House" image test highlighted the algorithm's ability to handle complex geometry and lighting. The method successfully partitioned the roof, walls, and sky into distinct regions while maintaining the linear perspective of the building.

MDL-based segmentation of a grayscale house image, showing effective region grouping and boundary preservation.

Key Insights and Discussion

  • Parameter-Free Operation: The MDL framework inherently balances model fit and complexity. The algorithm "stops" merging when the cost of a more complex boundary exceeds the benefit of a better fit, removing the need for arbitrary thresholds.
  • Topological Integrity: Unlike edge-based methods that may produce disconnected lines, this region-merging approach ensures all regions are closed, solid shapes.
  • Adaptive Modeling: The algorithm can automatically select the appropriate polynomial order for each region. It might choose a simple flat model for uniform areas and a quadratic model for curved gradients, provided the extra parameters are justified by the data compression gain.

Limitations and Future Work

While efficient, the current implementation uses a "greedy" search strategy, which may converge to local minima rather than a global optimum. Additionally, the parameter cost formulas are asymptotic, potentially leading to biases in very small regions. Future research could explore more refined cost functions for small-scale features and the integration of explicit texture models as additional data bands.

Summary updated

BibTeX
@inproceedings{kanungo1994fast,
  author = {Tapas Kanungo and Byron Dom and Wayne Niblack and David Steele},
  title = {{A fast algorithm for MDL-based multi-band image segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {1994},
  doi = {10.1109/cvpr.1994.323792},
}
Figure