NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Parallel algorithms for image enhancement and segmentation by region growing with an experimental study

David A. Bader, Joseph F. JáJá, David Harwood, L.s. Davis2002

Abstract

This paper presents efficient and portable implementations of a useful image enhancement process, the symmetric neighborhood filter (SNF), and an image segmentation technique which makes use of the SNF and a variant of the conventional connected components algorithm which we call $\delta$-connected components. We use efficient techniques for distributing and coalescing data as well as efficient combinations of task and data parallelism. The image segmentation algorithm makes use of an efficient connected components algorithm based on a novel approach for parallel merging. The algorithms have been coded in Split-C and run on a variety of platforms, including the Thinking Machines CM-5, IBM SP-1 and SP-2, Cray Research T3D, Meiko Scientific CS-2, Intel Paragon, and workstation clusters. Our experimental results are consistent with the theoretical analysis and provide the best known execution times for segmentation, even when compared with machine-specific implementations. Our test data include difficult images from the Landsat Thematic Mapper (TM) satellite data.

Introduction

In the mid-1990s, the landscape of parallel computing was highly fragmented, characterized by competing architectures such as SIMD, MIMD, and systolic arrays. Most image processing algorithms during this era were hand-tuned for specific hardware, making them notoriously difficult to port without a total rewrite. Furthermore, real-world imagery—particularly satellite data—often contains noise, blur, and intensity gradients that challenge traditional segmentation methods.

This research addresses two primary challenges: developing a robust segmentation pipeline capable of handling "fuzzy" boundaries and noise, and creating a programming framework that allows these algorithms to run efficiently across diverse supercomputing platforms without sacrificing performance. By leveraging the Block Distributed Memory (BDM) model and the Split-C language, the authors demonstrate that portable code can indeed outperform machine-specific optimizations.

The Segmentation Pipeline

The proposed image processing pipeline consists of three main stages designed to prepare raw imagery for accurate segmentation.

Flowchart of the image enhancement and segmentation pipeline.
  1. Symmetric Neighborhood Filter (SNF): This is an iterative, edge-preserving smoothing filter. It inspects symmetric pairs of neighbors around a pixel and selects the one closest in intensity to the center. This process effectively flattens the interior of regions while simultaneously sharpening boundaries. The pipeline utilizes specific SNF configurations for deblurring, flattening interiors (using a calculated $\sigma$), and sharpening edges.
  2. 1-Nearest Neighbor (1-NN): A simple filter used to remove single-pixel outliers, or "singularities," that may survive the SNF process.
  3. $\delta$-Connected Components ($\delta$-CC): A generalization of standard connected components. Rather than requiring identical pixel values for merging, it joins adjacent pixels if their intensity difference is less than or equal to a threshold $\delta$. This allows for the unification of regions with slight gradients.

Parallel Implementation Strategy

The core of the paper's performance lies in its utilization of the Block Distributed Memory (BDM) model. Images are tiled across processors, with "ghost cells" (shadow copies of neighboring tile borders) used to handle boundary conditions efficiently.

A significant contribution is the parallel merging strategy for $\delta$-CC. Instead of performing expensive global relabeling at every step, the algorithm employs a "group manager/client" hierarchy and a novel data structure called "tile hooks." These hooks track connectivity only at the borders during the merge phase, delaying the computationally intensive interior pixel relabeling until the final stage of the process. This approach drastically reduces inter-processor communication, which is typically the primary bottleneck in parallel computing.

Experimental Results and Performance

The algorithms were evaluated using both synthetic benchmarks (such as the DARPA II Image Understanding Benchmark) and high-complexity real-world data, including Landsat Thematic Mapper (TM) satellite imagery of South America and New Orleans.

Key findings include:

  • State-of-the-Art Speed: On a 32-processor CM-5, the SNF took less than 165 milliseconds per iteration for a 512x512 image. This significantly outperformed specialized hardware like the 10-processor CMU Warp, which required 4.76 seconds for a similar task.
  • Near-Linear Scalability: The algorithms demonstrated excellent scaling. For instance, on the Cray T3D, increasing the processor count from 4 to 32 reduced the $\delta$-CC execution time for a 1024x1024 image from 3083ms to 1083ms.
  • Adaptive Efficiency: The SNF implementation tracks the percentage of "fixed" pixels. As the image stabilizes, the algorithm stops re-calculating those pixels, allowing execution time per iteration to drop significantly (e.g., from 165ms to 26ms).

Conclusion

The study proves that portability does not necessitate a performance penalty. By using a high-level parallel language (Split-C) and a formal communication model, the authors achieved results that surpassed previous machine-specific implementations. While the "tile hook" method introduces some memory overhead and performance is still subject to the maturity of compilers, the $\delta$-CC approach successfully segmented complex structures in satellite data that traditional methods failed to unify. Future work suggests automating the selection of $\delta$ and $\kappa$ parameters based on image statistics to further enhance the system's autonomy.

Summary updated

BibTeX
@misc{bader2002parallel,
  author = {David A. Bader and Joseph F. JáJá and David Harwood and L.S. Davis},
  title = {{Parallel algorithms for image enhancement and segmentation by region growing with an experimental study}},
  year = {2002},
  doi = {10.1109/ipps.1996.508089},
}
Figure