Tracking Activity In a Deformable Nervous System With Motion Correction and Point-Set Registration

Thibault Lagache, Benjamin Lansdell, Jerry Tang, Rafael Yuste, Adrienne L. FairhallbioRxiv 2018

Abstract

The combination of fluorescent probes with time-lapse microscopy allows for the visualization of the entire neuronal activity of small animals, such as worms or cnidarians, over a long period of time. However, large deformations of the animal combined with the natural intermittency of neuronal activity make robust automated tracking of firing fluorescent neurons challenging. Here we present a hybrid approach where (i) a subset of very bright neurons is used as moving reference points (fiducials) to estimate the elastic deformation of the animal; (ii) deformation is frame-by-frame corrected, and firing neurons are aligned at each time with the initial mask; and (iii) point-set registration is used to robustly track the intermittent activity of all the immobilized neurons. We compare different registration strategies with manual tracking performed over ≈620 neurons over 100 time frames in the cnidarian Hydra vulgaris.

Introduction

To understand how nervous systems produce behavior, scientists need to record the activity of every neuron in a freely moving animal. While calcium imaging allows researchers to visualize neurons "glowing" during firing events, tracking these individual light sources is exceptionally difficult in highly deformable organisms like the Hydra.

Unlike the C. elegans worm, which primarily moves along a 1D axis, the Hydra is a 2D organism that undergoes massive elastic deformations. Furthermore, neurons only fluoresce when active (intermittency). If a neuron goes dark while the Hydra contracts and then reappears after it stretches, traditional tracking algorithms often lose the identity of that neuron. This paper addresses the need for a robust, automated pipeline capable of maintaining neuron identity across large deformations and intermittent signals.

The Hybrid Tracking Pipeline

The proposed solution is a multi-step hybrid pipeline designed to "immobilize" the animal's movement in the data before tracking individual activity. The process begins with Detection, using a wavelet-based algorithm (via the "Spot Detector" plugin in the Icy software) to locate active neurons in every frame.

Overview of the tracking pipeline, including the Icy software protocol and in vivo results.

The core innovation lies in Motion Correction. The system identifies a subset (roughly 30%) of the brightest, most consistently visible neurons to act as fiducials (reference points). Using these anchors, a Thin-Plate Spline (TPS) transform is applied to mathematically warp each frame back to a reference shape. Once the body motion is corrected, the Coherent Point Drift (CPD) algorithm is used for Point-Set Registration. CPD is a probabilistic method that matches sets of points by treating one set as a Gaussian Mixture Model (GMM) and moving it toward the other, which proves more computationally efficient for the sparse distribution of neurons in Hydra.

Quantitative Evaluation

The pipeline was evaluated using a 100-frame video of Hydra vulgaris containing approximately 620 neurons. To establish a gold standard, experts created a manually curated dataset using the TrackMate tool. The researchers compared different algorithmic configurations, specifically testing the impact of motion correction and the use of "soft" probabilistic representations versus "hard" binary assignments.

Comparison of tracking performance across different algorithmic configurations.

As shown in the results, elastic motion correction was the single most critical factor in improving tracking accuracy. The best-performing configuration—combining motion correction, soft representation, and sequence splicing—successfully tracked approximately 350 out of 620 neurons with over 80% detection match against the manual ground truth. The use of soft assignments allowed the system to maintain uncertainty about a neuron's identity during complex movements rather than making a forced, potentially incorrect choice.

Conclusion and Future Work

This hybrid approach significantly advances the ability to monitor neuronal activity in deformable organisms. By simplifying the problem—tracking the "brightest stars" first to calculate the underlying deformation of the "galaxy"—the system achieves robust results even with intermittent firing.

However, challenges remain regarding the "intermittency wall," where neurons silent for extended periods result in incomplete tracks. Future work may involve integrating this point-set approach with optic flow techniques to recognize specific physical poses, allowing the system to identify when an animal returns to a known configuration for even more robust long-term tracking.

Summary updated

BibTeX
@misc{lagache2018tracking,
  author = {Thibault Lagache and Benjamin Lansdell and Jerry Tang and Rafael Yuste and Adrienne L. Fairhall},
  title = {{Tracking Activity In a Deformable Nervous System With Motion Correction and Point-Set Registration}},
  year = {2018},
  doi = {10.1101/373035},
  howpublished = {bioRxiv},
}
Figure