Skip to content

② Detect

The Detect step finds cells in every frame. Each segmentation run has its own method, channel and parameters; add one with + Segmentation run.

Methods

trackpy
Fast spot finding (a Crocker–Grier variant): the image is band-pass filtered and local maxima whose integrated brightness passes a threshold become detections. Gives cell positions only.
Cellpose
Deep-learning segmentation that gives each cell's outline (a label mask). Slower, best on a GPU, and required for Contact, which works on the masks. Enable saving the mask in the run.

Key trackpy parameters

Cell diameter
Expected cell diameter in pixels (an odd number). Sets the filter size. Too small gives fragmented detections; too large merges neighbouring cells.
Min. cell intensity
Minimum integrated brightness of a detection. Raise it to drop background spots; lower it if dim cells are missed.

Running

  1. Apply to current frame detects on the frame you are viewing and draws the result. Use this to tune.
  2. Apply to frames… runs the whole movie (or a frame range) in the background, with progress in the status bar. ■ Cancel batch stops it.

Export Labels saves a Cellpose run's masks as an OME-TIFF.

Tuning

Tune on a frame that represents the whole movie. If the first frames show cells still settling, exclude them from the frame range.