Abstract
Mapping brain-wide neuronal connectivity requires sectioning tissue into serial 3D blocks, which inevitably severs long-range neurites. Reconnecting these fragments manually is a significant bottleneck in high-throughput brain mapping. This paper presents NeuronStitcher, an open-source software suite designed for the semi-automated assembly of fragmented neuron reconstructions across serial sections. Utilizing a triangle-matching algorithm on reconstructed skeletons, NeuronStitcher achieves high accuracy and efficiency, maintaining robustness even in the presence of tissue loss and mechanical distortion.
Introduction
To image a whole brain at high resolution, researchers must typically section tissue into thin slices, image them individually, and then stack them back together. During this process, long, spindly neuronal structures—dendrites and axons—are physically severed at the boundaries of each slice. Reconnecting these fragments is a major challenge due to tissue loss (gaps) and mechanical distortions like stretching or shifting. While software exists to stitch overlapping image tiles within a single slice, stitching non-overlapping fragments across different physical slices has historically been a manual, labor-intensive process. NeuronStitcher aims to solve this "broken string" problem by automating the alignment and connection of neuronal skeletons.
Methods
NeuronStitcher shifts the focus from raw 3D image data to digital reconstructions (traced skeletons) of neurons within each section. This approach minimizes the impact of background tissue noise. The core of the software is a triangle matching algorithm that follows a four-step process:
- Preprocessing: Identifying "severed neurites" at slice boundaries and applying noise-reduction filters to ensure endpoint legitimacy.
- Initial Matching: Using the relative locations and orientations of these endpoints to estimate matches between adjacent sections.
- Iterative Alignment: Refining the alignment through an iterative process until matched neurites are smoothly connected.
- Human-in-the-Loop: Providing a graphical interface via a Vaa3D plugin for visual inspection, parameter fine-tuning, and manual correction.
Results
The software was validated using ground truth mouse hippocampal data, simulated stress tests with artificial gaps (up to 8 µm), and real-world confocal and bright-field microscopy datasets from mouse and human neurons.
Key findings include:
- High Fidelity: 98% of bifurcations (branching points) were correctly maintained in ground truth tests.
- Robustness to Tissue Loss: The algorithm correctly matched 75% of neurites even with an 8 µm gap between sections, demonstrating resilience to physical slicing artifacts.
- Expert Validation: 86.6% of automatically generated matches were accepted by expert neuroanatomists without modification in real-world tests.
- Significant Speedup: The average time to stitch a pair of sections was reduced to approximately 13 minutes, including automated computation and manual tweaks. This represents a massive improvement over manual methods that can take hours or days.
Discussion and Conclusion
NeuronStitcher provides a lightweight, efficient solution for a critical bottleneck in neuroanatomy. By operating on reconstructed skeletons rather than raw pixels, the algorithm remains computationally inexpensive, requiring less than 100 MB of memory. While its performance is sensitive to the quality of the initial reconstruction, it offers a scalable path forward for brain mapping projects. Future developments will focus on enhancing automated noise removal and integrating the tool into fully automated pipelines requiring minimal human intervention. NeuronStitcher is available as a plugin for the Vaa3D platform.
Summary updated