Skip to content

Tracker

Tools > Tracker > Settings, and Tools > Tracker > Show Traces to draw the tracks.

Tracker window Tracker window

Linking joins the detections of one cell in successive frames into a track.

Settings

  • Method: see the table below. A new preset starts with Nearest predicted position.
  • Search range: how far a cell may move from one frame to the next, in pixels (a length; with a calibration also shown in µm per frame). Too small breaks tracks, too large joins neighbors.
  • Memory: for how many frames a cell may go undetected and still keep its track.
  • Buffer frames: frames at the start that only train the background and are not tracked.
  • Trace length and thickness: how the tracks are drawn.
Method What it does
Nearest position Each cell is linked to the nearest detection in the next frame, for all cells at once (Crocker and Grier)
Nearest predicted position The same, searching around where the cell's last step says it will be. Better in fast flow
Flow assignment Written for flow in one direction along the picture's horizontal axis; links against the flow are not made
Flow assignment with gap closing The same, plus a second pass that joins track pieces across longer gaps

The folder button loads a linking method from a Python file. Help > Example Scripts opens a folder with a working example, linker_script.py, to copy and change. A preset that names a linking script runs that file when it is loaded, so load such presets only from people you trust.

Auto-tune

Auto-tune measures on the tracked cells how far they move per frame, how close neighbors come and how long a cell goes undetected, and proposes a search range and a memory next to your current values. Apply takes them; track again to use them. With nothing tracked yet it first tracks 300 frames from the frame on screen.

It also says when the frame rate is too low for the cells: when a cell's step reaches past its neighbors, no setting keeps the tracks apart. Edit > Experiment gives the same numbers before you record.

Auto-tune does not change the mask or the contour limits. Set those first: it can only measure cells that are detected.

Tracking a recorded video

Set the frame range in the Chopper (the two marks on the slider show it), then press Track. The status bar shows the progress; Esc stops and keeps the frames tracked so far.

A frame range of more than 20,000 frames is questioned first: narrow it in the Chopper, or choose Track all.

Cell IDs can differ between two runs of the same video; the tracks are the same.