Skip to main content
QUICK REVIEW

[Paper Review] Large-scale image segmentation based on distributed clustering algorithms

Ran Lu, Aleksandar Zlateski|arXiv (Cornell University)|Jun 21, 2021
Medical Image Segmentation TechniquesComputer Science11 references9 citations
TL;DR

This paper presents a distributed, recursive clustering algorithm for large-scale 3D image segmentation that processes supervoxels in parallel across non-overlapping or overlapping chunks while preserving global consistency. By deferring merge decisions for regions near chunk boundaries and reapplying the algorithm at larger scales, it achieves provably correct segmentation of a 135-billion supervoxel, 1.5-trillion-edge affinity graph from a whole-brain EM image, avoiding errors from per-chunk processing.

ABSTRACT

Many approaches to 3D image segmentation are based on hierarchical clustering of supervoxels into image regions. Here we describe a distributed algorithm capable of handling a tremendous number of supervoxels. The algorithm works recursively, the regions are divided into chunks that are processed independently in parallel by multiple workers. At each round of the recursive procedure, the chunk size in all dimensions are doubled until a single chunk encompasses the entire image. The final result is provably independent of the chunking scheme, and the same as if the entire image were processed without division into chunks. This is nontrivial because a pair of adjacent regions is scored by some statistical property (e.g. mean or median) of the affinities at the interface, and the interface may extend over arbitrarily many chunks. The trick is to delay merge decisions for regions that touch chunk boundaries, and only complete them in a later round after the regions are fully contained within a chunk. We demonstrate the algorithm by clustering an affinity graph with over 1.5 trillion edges between 135 billion supervoxels derived from a 3D electron microscopic brain image.

Motivation & Objective

  • To address the challenge of scaling 3D image segmentation to massive EM image stacks that exceed single-machine memory capacity.
  • To eliminate errors introduced by independent per-chunk segmentation in hierarchical clustering pipelines.
  • To enable provably correct segmentation of large-scale images using distributed, recursive clustering with minimal global coordination.
  • To support efficient processing on cloud or cluster architectures by allowing overlapping chunks and reducing residual fragments.

Proposed method

  • The algorithm divides the image into spatial chunks and applies hierarchical agglomeration recursively, doubling chunk size at each level until the entire image is covered.
  • Regions touching chunk boundaries are treated as 'residual' and not merged until later stages, ensuring decisions are based on complete local information.
  • The method relies on linkage criteria satisfying the reducibility condition, which allows safe out-of-order merging and enables distributed processing.
  • After initial clustering per chunk, residual clusters are collected and re-clustering is performed on larger-scale chunks, progressively merging until a single segmentation is formed.
  • Overlapping chunks are supported to reduce the number of residual fragments and improve load distribution, with stitching ensured via total ordering of segments in the dendrogram.
  • The algorithm uses a recursive octree-like structure to manage chunking and merging, with each level processing larger spatial regions and updating boundaries accordingly.

Experimental results

Research questions

  • RQ1Can hierarchical clustering of large 3D image stacks be performed in a distributed manner without introducing segmentation errors due to chunking?
  • RQ2How can global consistency be maintained when merging regions that span chunk boundaries in a recursive, distributed clustering pipeline?
  • RQ3What conditions on linkage criteria allow safe, out-of-order merging of clusters in a distributed setting?
  • RQ4To what extent can overlapping chunks reduce the number of residual fragments and improve scalability in large-scale segmentation?
  • RQ5Is it possible to achieve a globally correct segmentation using only local, chunk-wise processing followed by recursive merging?

Key findings

  • The algorithm successfully segmented a 3D electron microscopy image with 135 billion supervoxels and over 1.5 trillion edges, demonstrating scalability to whole-brain scale data.
  • The final segmentation is provably equivalent to a monolithic clustering of the entire image, regardless of chunking scheme, due to deferred merge decisions at boundaries.
  • Using overlapping chunks reduced the number of residual fragments in intermediate stages, particularly for large neuronal structures truncated by chunk boundaries.
  • The method outperformed nearest-neighbor chain approaches in terms of efficiency due to the high number of neighbors in large fragments, which made brute-force searches prohibitive.
  • The algorithm maintains correctness across distributed execution by ensuring that only fully contained clusters are merged at each stage, avoiding race conditions and fictitious splits or merges.
  • The approach generalizes to any linkage criterion satisfying the reducibility condition, enabling broad applicability across existing EM segmentation pipelines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.