This repository contains Fiji (ImageJ) Groovy scripts designed to streamline the processing of image data exported from Incucyte live-cell imaging microscopes.
Generates image stacks from single-channel, single–time-point images exported by the Incucyte software. Works with single- and multi-plate experiments in the same input folder.
- Input:
Raw/directory containingPhase/,Green/, and/orRed/subfolders. - Parameters:
Time interval (minutes): Set the time interval between frames in minutes.
- Automatic detection: The script automatically detects:
- The vessel ID (e.g.
VID9955) from the exported filenames. - The available channels (e.g. Phase, Green, Red).
- The vessel ID (e.g.
- Output: One multidimensional image stack per (vessel, well, FOV), named
VID9955_B3_1.tif.
Applies XY drift correction to compensate for small position shifts across time points.
- Input: A multi-channel time-lapse image file previously generated with the
generate_stacks.groovyscript. - Parameters:
Channel 1–3: Choose the channels to include (Red,Green,Phase, orNone)Reference: Select which channel will be used to estimate drift.
- Correction method: Uses the MultiStackReg plugin, which depends on the BIG-EPFL update site.
- Fiji (latest release recommended)
- Install the following update sites:
MultiStackRegBIG-EPFL
To enable these:
- Go to
Help > Update... - Click
Manage update sites - Check MultiStackReg and BIG-EPFL
- Apply changes and restart Fiji.
- Drift correction works best when the reference channel contains high-contrast, stationary features (e.g. confluent cell layers or stable structures).
- Correction may fail or behave erratically when:
- Cells are not confluent (too sparse).
- Signal-to-noise is low.
- Phase images have poor contrast.
Correct export settings are essential for proper channel detection and time-lapse reconstruction. A quick summary of the key steps is below:
In the Incucyte Experiment Viewer:
- Click the “Export images and movies” icon.
- Under Export Type, select “As Stored”.
- Choose the image type (only one channel at a time):
- Phase: only one option (8-bit)
- Red and Green: choose Uncalibrated (16-bit) instead of calibrated
- Select the desired scan times, wells, and fields of view to export.
- The exported filenames must follow the Incucyte standard format, which includes the vessel ID automatically:
If your Incucyte version requires a manual prefix, set it to the channel name only (
VID9955_Phase_B3_1_00d00h00m.tifPhase,Red, orGreen) — the vessel ID will be prepended automatically by the software. - Save the files as TIFF (.tif).
- Organize the exported files in the following folder structure:
- Images/
- Raw/
- Phase/
- Green/
- Red/
- Raw/
The generate_stacks.groovy script should be run using the Raw folder as input.
All generated image stacks will be saved inside a new generated Stacks folder.
