, , , , , ,

ROI Fitting Using the FLIM Analysis

Summary

This tutorial shows step-by-step, how the FLIM script of SymPhoTime 64 can be used to fit several regions of interest (ROIs), and how to extract and interpret the results. In details, the FLIM script is started using a daisy pollen image from the “Samples” – workspace, then three regions of interest are defined which are finally fitted.

Step-by-Step

Select a file and start the script

Note: The “Samples” workspace is delivered with the SymPhoTime 64 and on the CD-ROM drive and contains example data to show the function of the SymPhoTime data analysis. If you haven't installed it on your computer, copy it from the DVD onto a local drive before going through this tutorial.

Response: The files of the sample workspace are displayed in the workspace panel on the left side of the main window.

Note: The drop down menu can be opened and closed by clicking on the grey button on the left side of the header of the drop down menu:

Response: The FLIM script is applied to the file DaisyPollen_cells_FLIM.ptu. Thereby, a new Window opens:

Note: The window contains five different regions:

  1. Upper left: imaging analysis options.
  2. Upper center: Fast FLIM image, displayed in false color scale. The brightness encodes the intensity while the color encodes the average “Fast FLIM” lifetime, i.e. the mean arrival times of the photons after the laser pulse. When not defined otherwise, intensity and color scale stretch from minimum to maximum. As the mean arrival time of the background photons in the areas where no fluorescence is detected, is randomly spread over the TCSPC window, the mean photon arrival time of the dark background is usually very long (up to 1/2 of the TCSPC window), which makes the color scale loaded by default sometimes unsuited for displaying the lifetime contrast in the actual sample. In this case, the scale has to be adapted.
  3. Upper right: Fluorescence Lifetime Histogram. Here the frequency of photon counts corresponding to the individual mean lifetimes is plotted. The settings of the plot can be adapted using the controls on the right of the plot.
  4. Lower left: Lifetime fitting parameters. Here lifetime fitting models can be defined. Fitting is then applied to the lifetime graph(s) on the lower center (TCSPC histogram).
  5. Lower center/left: By default, this set shows the TCSPC histogram of all photons in the image in green (= dataset 0) and the TCSPC histogram of a single pixel in grey (= dataset 1). In red an estimation of the instrument response function (=IRF) is shown. The IRF reconstruction is deducted from the rising edge of the images TCSPC histogram.

Note: The default lifetime scale stretches from -0.5 to 41.6 ns. The physically impossible value of -0.5 ns is explained by the fact, that SymPhoTime places the 0 value at the rising edge of the decay in the TCSPC window. As a mean arrival time is calculated, it is possible that in dark regions only one or two photons caused dark count noise are detected which are randomly detected before the laser pulse in the TCSPC window.
Reasonable limits can either be found by dragging the limit bars in the color scale “Fast Lifetime” histogram or by considering the peaks of the “Lifetime Histogram”. Entering fixed values has the advantage that different images can be compared later.

Response: The color scale in the image adapts and lifetime contrasts in the pollen become visible.

Select 3 Regions of Interest (ROI)

Note: The different ROI tools are used in the following way:
Paint ROI: highlights the pixels the mouse cursor is guided over while the left mouse button is activated. The faster the cursor is moved the broader is the area of pixels highlighted around the mouse.
Free ROI: moving while keeping the left mouse button activated marks the area within the drawn shape.
Rectangle ROI: to draw rectangular ROIs.
Ellipse ROI: to draw elliptic ROIs.
Magic Wand ROI: when activated, clicking activates all neighboring pixels with a similar Fast Lifetime. Especially useful for marking spotted structures.

Response:

Response:

Response:

Response:

Response:

Note: The new decay wich stems from the last and smaller ROI contains considerably less photons. Ideally, decays selected for ROI fitting should contain ~10000 – 50000 photons in the peak.

Response:

Response: Now only the red dots of the pollen image are highlighted, everything else is greyed out. The decay corresponding to ROI 2 contains now the photons from all marked dots.

Note:
To review the different regions, go to the drop down menu “Regions of Interest” and change the number between 0 and 2. The image will display the corresponding image with the selected ROI.
To export the images with a marked ROI, keep the cursor over the image with the selected ROI, open the context menu with a right mouse click and select one of the export options:
Bitmap exports the image as a bmp file. If the scale bar is displayed, the image including the scale bar is exported.
Bitmap with color scale exports the image as a bmp file including the intensity and color scale next to the image.
1×1 bitmap exports the image as a bmp file with one pixel of the image being exported as one pixel in the image file. In the other bitmap export options, the image is exported as displayed.
ASCII exports the image as ASCII array using a text file format. Thereby one array encodes the intensity values, while a second array encodes the Fast Lifetime values. After removal of the header and the unwanted array, individual arrays can be imported in graphic programs, e.g. ImageJ as a text image. These images contain the full count resolution of the raw image.

Perform a Lifetime Fit on the Selected Regions (ROIs)

Response:

Note: The software offers the possibility to fit the data using a n-exponential tailfit or a n-exponential reconvolution fit. A tailfit can be used when the fitted lifetimes are significantly longer than the instrument response function. A reconvolution fit is usually preferable, because the complete decay is fitted, while for a tailfit, the start of the fitting range is usually a bit arbitrary.
For explanation about the fitting model and the used equations, click on the “Help” button next to the selected model. This opens a help window containing the fitting equation and the explanation of the different parameters.

Response:

Response:

Note: Usually, a decent fit is characterized by the following criteria:
The fitted curve overlays well with the decay curve. In the residual window, the values spread randomly around 0.
The χ²-value approaches 1.
The calculated fitting values are reasonable.
Usually the fitting model with least parameters is selected.
In this example it is obvious that the applied single exponential reconvolution fit is not suited to fit the decay curve.

Response:

Response:

Response:

Response:

Response:

Response:

Note: On the x-axis, the dataset name is plotted. The order is the same as in the decay menu:
1 = Overall decay, generated from all photons of the image.
2 = Pixel decay, including the photons from the last selected pixel.
3 = ROI 0
4 = ROI 1
5 = ROI 2

Response: A window opens, asking for a file name to store the fitting values. The data are stored as a .dat file.

Response:

Note:
This tutorial explains only a subset of the functions of the FLIM script. Also check the script explaining pixel fitting (Lifetime Fitting using the FLIM Analysis).