Home › Methods › Image reconstruction

Methods

Image Reconstruction in FLIM

How a stream of single photons becomes a lifetime image.

A detector does not see an image: it sees photons, one after another. To build a picture, each photon has to be put back in the place it came from.

In FLIM, two questions must be answered for every photon: where was the laser beam when it was detected, and when did it arrive after the laser pulse?

From a stream of photons to a lifetime image

The beam scans the sample pixel by pixel. Knowing where the beam was and when each photon arrived, every pixel collects its own decay, which becomes a lifetime image. Schematic.

01 Where and when

Two questions for every photon

In a laser-scanning microscope the sample is not illuminated all at once. A focused beam visits it one point at a time, like reading a page: along a line, then the next line, until the page is complete.

01

Pixel

One position of the beam, the smallest element of the image.

02

Line

A row of pixels, scanned one after the other.

03

Frame

All the lines together: one complete image.

The scanning system tells us where the beam is; the TCSPC electronics tell us when each photon arrived. Together they give the full FLIM dataset, I(x, y, t): for every pixel, a histogram of photon arrival times.

A pixel grid over the sample

Figure 1 · The image is a grid of pixels laid over the sample. The beam scans each line in turn until the frame is complete.

02 Scanning

How the beam moves

The beam is steered by two mirrors: a fast axis (X) that sweeps along each line and a slow axis (Y) that steps from one line to the next. In a 256 × 256 image, X sweeps 256 times, once per line, while Y moves through the 256 lines only once.

01

Galvo–galvo

Both mirrors are galvanometers: an electrical command sends each one to a precise angle, which the optics turn into a position in the sample. This gives full control of the path, but the mirrors have mass, so they must speed up and slow down at every move, which limits the scan speed.

02

Galvo–resonant

The fast mirror is a resonant scanner. Instead of being placed point by point, it swings back and forth at its natural frequency, like a tuning fork, while a galvo drives the slow axis. Lines are scanned much faster, but at a fixed rate and with a sinusoidal motion that must stay in step with the slow galvo.

03

Moving stage

Alternatively, the beam stays fixed and a motorized stage moves the sample underneath it.

Three scanning systems

Figure 2 · Three ways to scan: two galvo mirrors, a resonant fast mirror with a galvo slow mirror, or a moving stage under a fixed beam.

Scan patterns

Which path the beam follows

01

Unidirectional raster

Each line is acquired in one direction. At the end, the fast mirror jumps back to the start of the next line. This return, the flyback, collects no data and costs time. The X signal is a ramp followed by a fast return, while Y climbs line by line like a staircase.

02

Bidirectional (snake)

The return trip is used to acquire the next line, so the beam snakes through the image: line 1 left to right, line 2 right to left, and so on. Less time is spent moving without collecting data.

Scan patterns

Figure 3 · Unidirectional raster loses time in the flyback; bidirectional scanning acquires in both directions.

03 Synchronization

Keeping track of position

While scanning, the system sends three timing signals that mark its position: a frame clock when a new image starts, a line clock when a new line starts and a pixel clock when the beam moves to the next pixel.

The FLIM DAQ receives these clocks on three reference inputs, Ref 1 (frame), Ref 2 (line) and Ref 3 (pixel), together with the photons from the detector. By counting clock ticks, it knows exactly which pixel each photon belongs to. And because every photon is also timed against the laser pulse, it records both where and when.

System overview

Figure 4 · The FLIM DAQ brings everything together: laser sync, detected photons and the frame, line and pixel clocks from the scanning system on Ref 1–3.

Pixel, line and frame clocks

Figure 5 · Pixel, line and frame clocks over two frames. The green cross marks the start of each frame, which begins at the top-left pixel. A photon detected during the fifth pixel period is assigned to pixel 5, where the cell is.

04 Reconstruction

Building the image

In the software, a few spatial parameters complete the picture: the size of the scanned area, the image dimensions, and the X and Y offsets in pixels. Every photon is then sorted into its pixel. Counting photons gives the intensity image; their arrival times give a decay, and so a lifetime, for every pixel.

One pass is rarely enough. The same field of view is usually scanned many times and the photons are added up: frame 1 + frame 2 + frame 3 + … until each pixel has enough photons, typically from a few hundred to about a thousand, depending on the analysis and the precision needed.

From decay to lifetime image

Figure 6 · Each pixel collects its own decay, which is turned into a lifetime and color-coded into a FLIM image.

Reconstruction modes

Which clocks, which parameters

FLIM IMAGER can rebuild the image in four modes, depending on which scanning clocks are available.

PLF · pixel, line and frame

The standard mode

PLF is recommended for most applications.

PF · pixel and frame

No line clock needed

PF works without a line clock: the software counts pixel ticks and uses the scan area size to know where each line ends.

LF · line and frame, F · frame only

Simplified modes

LF and F are simplified modes for when a pixel clock is not available, or for quick tests: the software works out pixel (and line) timing from a pixel dwell time entered by the user.

Match the mode to your scanner

The selected mode must match the clocks your scanner provides, and an inaccurate dwell time can distort the image.

Scanned area and image size

Figure 7 · The image can be a smaller region of the scanned area, set by its size and position (offsets). Galvo scanners often distort the edges of the scan, so scanning a larger area and keeping only the centre is useful.

Parameter PLF
Pixel · line · frame
PF
Pixel · frame
LF
Line · frame
F
Frame
Pixel dwell time – – ✓ ✓
Scanned area size ✓ ✓ ✓ ✓
Image size ✓ ✓ ✓ ✓
X, Y offsets ✓ ✓ ✓ ✓

Minimum pixel dwell time: 0.1 µs in PLF mode, 1 µs in LF mode. The dwell time can be measured with the scanning diagnostic in FLIM IMAGER.

05 Applications

What does it enable?

01

Intensity images

Where the fluorophores are in the sample.

02

Lifetime images

How their molecular environment changes from pixel to pixel.

Read about TCSPC

03

Phasor maps

Lifetime populations selected on the phasor plot and painted back onto the image.

Read about phasor analysis

Further reading

References

1 Becker W. Advanced Time-Correlated Single Photon Counting Techniques. Springer; 2005. doi:10.1007/3-540-28882-1

2 Becker W. Fluorescence lifetime imaging – techniques and applications. Journal of Microscopy. 2012;247(2):119–136. doi:10.1111/j.1365-2818.2012.03618.x

3 Datta R, Heaster TM, Sharick JT, Gillette AA, Skala MC. Fluorescence lifetime imaging microscopy: fundamentals and advances in instrumentation, analysis, and applications. Journal of Biomedical Optics. 2020;25(7):071203. doi:10.1117/1.JBO.25.7.071203

From principle to measurement

Image reconstruction with FLIM LABS

The FLIM DAQ synchronizes scanner and detector, and FLIM IMAGER reconstructs intensity and lifetime images.