Diffeomorphic Motion Priors For Robust Cell Tracking in Dense, Non-Linear Migration Regimes: A Kalman-LDDMM framework

Bishal Neupane, Niharika SharmaarXiv 2026

TL;DR

Tracking red blood cells as they squeeze through narrow microfluidic channels is a nightmare for standard tracking algorithms, which assume cells move in straight lines at constant speeds. This paper pairs a classic Kalman filter with LDDMM—a mathematical technique that warps one video frame smoothly onto the next—to give the tracker an image-driven sense of how the fluid is actually moving. The result? Over 44% fewer identity switches in dense, chaotic flows, without needing any task-specific training data.

What Problem Does This Paper Address?

To study blood flow and cell mechanics, researchers record time-lapse microscopy videos of red blood cells (RBCs) navigating microfluidic channels and track individual cells over time.

In sparse, gentle flows, simple tracking methods (like nearest-neighbor matching or constant-velocity Kalman filters) work fine. But in densely packed, high-shear regimes, cells crowd together, deform dramatically, and follow curved, non-linear paths dictated by fluid dynamics. Standard trackers lose track of who is who, causing frequent identity switches. While deep learning trackers can learn complex motion patterns, they require large, expensive annotated datasets that don't always generalize to new microscopes or cell types.

Methods

The authors combine standard detection and filtering tools with a physics-inspired motion prior:

  1. Cell Detection (Standard): Each frame is segmented using Cellpose, a pre-trained generalist U-Net model, to extract cell masks and their intensity-weighted centroids.
  2. Diffeomorphic Motion Prior (New): Between consecutive frames $I_t$ and $I_{t+1}$, the authors run Large Deformation Diffeomorphic Metric Mapping (LDDMM). LDDMM finds a smooth, invertible, topology-preserving deformation field ($\phi_t$) that warps frame $t$ onto frame $t+1$. Because mature RBCs don't divide, this warping cleanly captures how cells stretch and flow.
  3. Kalman-LDDMM Coupling (New): Instead of letting a standard Kalman filter predict a cell's next position using constant velocity, the authors replace the position prediction with the LDDMM-warped position and update the velocity estimate accordingly.
  4. Data Association (Standard): Predicted positions are matched to new detections using the Hungarian algorithm based on Mahalanobis distance.

The authors also test two different ways to measure image similarity inside LDDMM:

  • MSE: Standard pixel-by-pixel squared error.
  • Sinkhorn: An entropic-regularized optimal transport (Wasserstein) distance.

Datasets

The framework is evaluated on two time-lapse microscopy benchmarks:

  • Channel with Slits (FourSlits subset): 150 frames (~6,000 ground-truth detections, 255 trajectories) of densely packed RBCs undergoing highly non-linear, constrained flow through narrow slits.
  • U-Shaped Channel: A 300-frame sequence with lower cell density and more directionally consistent flow.

Key Insights and Ideas

  • Motion priors fix association, not detection: Across both datasets, MOTP (localization precision) and MT/ML (mostly tracked/lost counts) stayed completely identical. The LDDMM prior doesn't make cell centroids more accurate or recover missed detections—instead, it dramatically improves who gets matched to whom over time.
  • The harder the flow, the bigger the payoff: In the dense, chaotic Channel with Slits dataset, MOTA jumped by +21.5 percentage points. In the calmer U-Shaped Channel, the gain was a modest +1.4 percentage points. The diffeomorphic prior shines specifically when linear assumptions break down.
  • Optimal transport didn't beat simple MSE: Despite its richer geometric theory, the Sinkhorn optimal transport variant performed virtually identically to plain MSE (differing by just 1 identity switch out of 1,562). At the scale of cell centroid tracking, simple $L^2$ image matching is enough.

Key Results

On the Channel with Slits dataset (vs. the CellTracker nearest-neighbor baseline):

  • MOTA: Improved from 33.8% to 55.3% (+21.5 pp).
  • Identity Switches: Dropped from 2,793 to 1,562 (MSE) and 1,563 (Sinkhorn)—a >44% reduction.
  • IDF1: Increased from 35.8% to 54.6%.
  • MOTP: Unchanged at 0.164.

On the U-Shaped Channel dataset (vs. a Kalman-filter-only baseline):

  • MOTA: Improved from 56.6% to 58.0%.
  • Identity Switches: Dropped from 640 to 426 (a 33.4% reduction).
  • IDF1: Increased from 37.0% to 48.5%.
  • MOTP: Unchanged at 0.210.

Limitations and Future Work

  • Speed: LDDMM is computationally heavy, scaling as $\mathcal{O}(|\Omega| \cdot N_{\text{iter}})$ per frame pair. Faster approximations like optical flow or learned deformation networks would be needed for real-time tracking.
  • Linearity & Cell Division: The Kalman filter still assumes linear Gaussian dynamics, and the pipeline doesn't model cell division. Future work could swap in Extended or Unscented Kalman Filters (EKF/UKF) and add division-hypothesis nodes for proliferating cell types.
  • Upstream Detection Limits: In the U-Shaped Channel dataset, 32% of trajectories were "mostly lost" due to detection-level fragmentation—something a motion prior alone cannot fix.
  • Generalization: Broader testing on standardized benchmarks (like the Cell Tracking Challenge) is still needed.

Summary updated

BibTeX
@misc{neupane2026diffeomorphic,
  author = {Bishal Neupane and Niharika Sharma},
  title = {{Diffeomorphic Motion Priors For Robust Cell Tracking in Dense, Non-Linear Migration Regimes: A Kalman-LDDMM framework}},
  year = {2026},
  eprint = {2611.40878},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40878},
}
Figure