Introduction
Advancements in light-sheet microscopy have enabled the capture of entire embryos over extended periods, generating multi-terabyte datasets with millions of cell instances. However, tracking these cells remains a significant computational challenge. Traditional pipelines typically follow a "segment-then-track" approach, which is prone to error propagation: a single segmentation mistake, such as an incorrect merge, cannot be rectified by the subsequent tracking step. Furthermore, deep learning-based segmentation often requires extensive 3D ground-truth annotations, which are difficult to obtain for volumetric data.
To address these issues, researchers have developed a framework for joint cell segmentation and tracking that scales to terabyte-sized 3D+t datasets. By leveraging Ultrametric Contour Maps (UCM) to generate multiple segmentation hypotheses and an efficient Integer Linear Programming (ILP) solver, this method achieves state-of-the-art performance without requiring massive 3D annotated training sets.
Methodology
Hierarchical Hypotheses via Ultrametric Contour Maps
Instead of committing to a single segmentation per frame, the approach generates a hierarchy of candidate segments. Using a hierarchical watershed algorithm, the system constructs an Ultrametric Contour Map where each node in the resulting tree represents a potential cell segment at a specific scale.
As shown in Figure 1, a single cell may be represented by multiple candidate shapes across different levels of the hierarchy. This "multi-hypothesis" approach allows the tracker to resolve segmentation errors by selecting the most consistent segment over time. If a high-level segment fails to track well, the solver can reach into a finer level of the hierarchy to find a better fit.
Maximum Total Intersection over Union (MTIoU)
The tracking problem is formulated as an Integer Linear Program (ILP) designed to maximize the total Intersection over Union (IoU) between segments in adjacent frames. The goal is to select a set of disjoint segments from the hierarchy across all time points that maximizes global temporal overlap while adhering to biological constraints, such as ensuring a cell can divide but cannot merge.
Figure 2 illustrates how the ILP evaluates associations between candidate segments. By maximizing the sum of IoU weights, the solver effectively acts as a "super-voter," picking the best segments from the hierarchy—or even from an ensemble of different segmentation models like Cellpose and StarDist—that provide the most coherent track.
Scalability and Optimization
To handle the millions of variables inherent in terabyte-scale datasets, the framework implements several optimizations:
- KDTree Search: Association weights are only calculated for the nearest neighbors, significantly reducing the search space.
- Interleaved Scheduling: A two-pass parallel processing strategy splits the timelapse into overlapping windows. This allows the global problem to be solved in manageable chunks without sacrificing track continuity.
Experimental Results
The framework was validated across diverse datasets, including the Cell Tracking Challenge (CTC) and a massive 3.4 TB zebrafish embryo dataset.
Performance on Benchmarks
The method ranked 1st in the Cell Tracking Challenge for three out of five 3D datasets (CE, TRIF, and DRO) at the time of submission. Notably, it is the first approach to achieve top-tier results in both nuclei-based (dot-like) and membrane-based (mesh-like) tracking scenarios, demonstrating exceptional versatility.
Real-World Scalability
On the 3.4 TB zebrafish dataset, the system successfully processed over 21.5 million cell instances in approximately 9.5 hours using distributed computing. The ILP formulation demonstrated superior scaling properties, with a lower runtime-to-window-size slope (1.37) compared to previous state-of-the-art methods (1.75–1.84), proving it scales more gracefully as problems grow.
Conclusion
The MTIoU framework provides a robust, scalable solution for joint cell segmentation and tracking. By treating segmentation as a set of hypotheses and optimizing for temporal overlap, the system can correct local errors and handle the immense scale of modern developmental biology datasets. Future work will explore using machine learning to predict ILP weights directly, further enhancing robustness to noisy imaging data.
Summary updated