Segmenting Time-lapse movies

Segmenting Time-lapse movies#

The plugin is designed to work not just with single images but also with stacks of images, in particular time-lapses. Here’s an example with a fluorescence microscopy time-lapse of a cell (see below for more details):

Step by step#

Here we explain the process step by step. First, we need to import the image. This can be done in the usual way (menu, drag and drop etc.). What is important is that the dimensions (which can be time, z, channel) needs to be three dimensional, the third dimension being accessible via the slider.

Now we can annotate one or more images in the stack. By default, when adding annotations/predictions layers, they will have the same dimensions as the currently opened dataset:

self.add_annotation_layer()
../_images/04bbee2bc49cd33ad0ce88e5bec2907aee7176f542698ddbeaa51f349ae45b53.png

If we now run click on Train, all annotations will be taken into account. Once training is done, we can verify the quality of the segmentation on a single frame, pressing Segment image.

If we are satisfied we can run Segment stack to get the full segmentation:

Ignoring dimensions#

Note that in certain cases, the additional dimension doesn’t represent time or Z but channels. In such as case, annotations should be done only in a single plane and corresponding features be extracted from all channels. This can be achieved by selecting the option Multichannel image in the Data dimensions box.