Abstract
Automatic segmentation of neuronal topology is critical for handling large scale neuroimaging data, as it can greatly accelerate neuron annotation and analysis. However, the intricate morphology of neuronal branches and the occlusions among fibers pose significant challenges for deep learning based segmentation. To address these issues, we propose an improved framework: First, we introduce a deep network that outputs pixel level embedding vectors and design a corresponding loss function, enabling the learned features to effectively distinguish different neuronal connections within occluded regions. Second, building on this model, we develop an end to end pipeline that directly maps raw neuronal images to SWC formatted neuron structure trees. Finally, recognizing that existing evaluation metrics fail to fully capture segmentation accuracy, we propose a novel topological assessment metric to more appropriately quantify the quality of neuron segmentation and reconstruction. Experiments on our fMOST imaging dataset demonstrate that, compared to several classical methods, our approach significantly reduces the error rate in neuronal topology reconstruction.
Introduction
Mapping the brain's wiring requires tracing incredibly tangled, microscopic neuronal fibers. To understand the brain's microscale connectome, researchers need to map the 3D topology of individual neurons. Modern imaging techniques like fMOST (Fluorescence Micro-Optical Sectioning Tomography) can capture whole mouse brains at single-cell resolution, generating massive datasets (up to 16TB per brain). Manual tracing is the gold standard but is far too slow to keep up with data acquisition.
Challenges in Neurite Segmentation
Automated deep learning methods, such as standard 3D U-Nets, struggle with two major issues in this domain:
- Fiber crossing and self-entanglement: Dendrites and axons are densely packed. When they cross paths or wrap around each other, standard binary segmentation networks tend to merge them into a single blob, destroying the topological map.
- Boundary ambiguity: Due to optical diffraction and background noise, the edges of these tiny structures (often just a few pixels wide) are blurry, leading to broken branches or spurious connections during skeleton extraction.
Proposed Methodology
The authors tackle these issues by reformulating neuron reconstruction from a simple binary classification task into a pixel embedding problem.
Pixel Embedding U-Net
The architecture is a modified 3D U-Net featuring a dual-branch output. One branch performs standard foreground/background segmentation to produce a probability map. The second branch outputs an $n$-dimensional embedding vector for every voxel.
Discriminative Loss and Pipeline
To train the embedding branch, a custom metric-learning loss function forces voxels belonging to the same fiber segment to cluster tightly in the high-dimensional space, while pushing the embeddings of different (crossing) fibers far apart.
The network's output is converted directly into a standard 3D skeleton (SWC format). If the Euclidean distance between adjacent foreground voxels in the embedding space exceeds a certain threshold, the algorithm recognizes it as a crossing point and keeps the fibers separate.
Novel Connectivity Metric
Recognizing that standard metrics (like Dice scores or Betti numbers) don't capture the biological reality of neural projections, the authors created a graph-topology-driven metric. It evaluates connectivity by matching the endpoints of predicted branches against ground-truth branches to specifically count "Disconnections" (Type I) and "Overconnections" (Type II).
Evaluation and Results
The authors built an in-house fMOST dataset by imaging the prefrontal cortex of mice at a resolution of $0.35 \times 0.35 \times 1.0 \mu m$/voxel. Expert annotators manually traced skeletons in 180 subvolumes, resulting in 33,000 fully annotated $128^3$-voxel blocks for training and evaluation.
Key Findings
- Topological Accuracy: The embedding method reduced Type II errors (overconnections/spurious merges) by nearly 50% compared to the best baseline (3D U-Net), dropping the error ratio from 0.232 to 0.106. Type I errors (disconnections) remained exceptionally low.
- Standard Metrics vs. Topology: The segmentation performance (Accuracy: 99.93%, Dice: 0.8553) was virtually identical to the vanilla 3D U-Net. This illustrates that standard metrics completely miss the massive topological improvements achieved by the embedding approach.
- Efficiency: The addition of the embedding branch added almost no computational overhead. The model has 90.4M parameters (vs 90.3M for 3D U-Net) and an inference time of 0.054s (vs 0.039s).
Conclusion
By projecting voxels into a higher-dimensional space, fibers that physically touch in 3D space can be separated in embedding space, preventing erroneous fusion. While the method significantly reduces errors, challenges remain in "exceedingly complex fiber-entanglement scenarios," suggesting a need for further innovation in network architectures for robust 3D neuron reconstruction.
Summary updated