Gradient-Domain Processing for Large EM Image Stacks

Michael M. Kazhdan, Randal C. Burns, Bobby Kasthuri, Jeff Lichtman, R. Jacob Vogelstein, Joshua T. VogelsteinarXiv 2013

Abstract

In connectomics, reconstructing large-scale neural volumes from Electron Microscopy (EM) images is often hindered by inter-slice artifacts such as lighting variations and physical misalignments. We present a gradient-domain processing framework that utilizes anisotropic diffusion and screened-Poisson blending to harmonize these volumes. Our novel out-of-core multigrid solver enables the processing of tera-voxel datasets on a single workstation in under 60 hours, maintaining sharp cellular details while eliminating disruptive seams.

Introduction

Mapping the brain's intricate wiring requires stacking thousands of ultra-high-resolution EM images. However, because each slice is imaged independently, the resulting stack is often riddled with artifacts. Variations in lighting, camera settings, or physical positioning create "seams" or discontinuities between slices. These artifacts impede both manual and automated structural tracing. The primary challenge is to smooth these inter-slice jumps without blurring the intra-slice high-frequency details—such as synaptic vesicles and membranes—that are vital for biological analysis.

Methodology

The proposed approach employs a two-phase gradient-domain pipeline:

  1. Anisotropic Diffusion: Smoothing is applied specifically along the z-axis (the slice axis) to mitigate inter-slice discontinuities. While effective at "melting" seams, this step can blur fine details within each slice.
  2. Screened-Poisson Blending: To recover blurred details, a screened-Poisson equation is solved. This step generates a new volume that takes its low-frequency (broad) information from the smoothed version and its high-frequency (fine detail) information from the original raw images.

Out-of-Core Multigrid Solver

To handle tera-voxel datasets exceeding available RAM, we developed an out-of-core solver that streams data from disk through a sliding memory window. A key innovation is the Hybrid Discretization strategy. While a 26-point Laplacian stencil offers superior mathematical convergence, it is computationally intensive. Our solver uses a simple 6-point stencil at the finest resolution for speed and the 26-point stencil at coarser levels to ensure robust convergence.

Results and Discussion

The system was evaluated on the Mouse S1 Dataset, a massive 1-teravoxel EM stack of the mouse cortex consisting of 1,850 images at a resolution of 21,496 × 25,792 pixels.

Visual Quality and Continuity

The processing successfully removed global lighting shifts and "striping" artifacts present in the raw data. As shown in the comparison below, the resulting volume exhibits high 3D continuity while preserving the sharp edges of cellular membranes necessary for connectomic reconstruction.

Comparison of raw EM slices (top) showing artifacts versus processed slices (bottom) demonstrating improved continuity and detail preservation.

Computational Efficiency and Convergence

The entire tera-voxel dataset was processed in less than 60 hours using a single 12-core workstation with 45GB of RAM. The solver demonstrated classic multigrid behavior, with the residual error decaying exponentially. The hybrid stencil approach proved particularly effective, balancing computational speed with mathematical accuracy.

Convergence plots showing residual norm vs. V-cycles and time, highlighting the superior performance of the Hybrid stencil compared to Constant and Linear methods.

Conclusion

Our gradient-domain framework provides a scalable solution for cleaning massive EM datasets. By separating frequency components and utilizing an efficient out-of-core solver, we achieve high-quality volume reconstruction suitable for large-scale connectomics. Future work will focus on implementing edge-aware smoothing weights and extending the solver to distributed multi-machine environments to handle upcoming peta-scale datasets.

Summary updated

BibTeX
@misc{kazhdan2013gradient,
  author = {Michael M. Kazhdan and Randal C. Burns and Bobby Kasthuri and Jeff Lichtman and R. Jacob Vogelstein and Joshua T. Vogelstein},
  title = {{Gradient-Domain Processing for Large EM Image Stacks}},
  year = {2013},
  eprint = {1310.0041},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1310.0041},
}
Figure