Rainbow Tracker

A single-cell tracking pipeline designed to preserve identity relationships through cell interactions and support interpretable motion analysis.

Research need and development

I designed, developed, and iteratively tested a single-cell tracking pipeline around the difficulties visible in our videos: bacteria touch, their segmented images merge, and their identities can be lost when they separate. I combined existing segmentation and matching components with logic for identity continuity, movement through the field boundary, and temporary missing detections. Development involved repeated inspection of intermediate labels, trajectories, and cases where filtering removed real bacteria or matching linked incompatible observations.

Tracking logic

A central design decision was to distinguish identity continuity from evidence of motion. The pipeline can retain identity relationships through ambiguous encounters while excluding uncertain links from motion measurements. This allows a possible identity connection to be retained without interpreting an unobserved interval as a measured trajectory. Trajectory images, measurement tables, and diagnostic outputs make these decisions available for inspection.

Iteration and current status

I compared tracking variants across nine complete microscopy videos comprising 6,750 frames. These internal comparisons examined continuity, identity counts, and the consequences of different filtering and matching choices. They provided a basis for revising the pipeline, while measurement of identity-switch rates and tracking accuracy still requires systematic comparison with manual identity annotations.