Skip to main content
Biomedical Optics Express logoLink to Biomedical Optics Express
. 2021 Jun 21;12(7):4293–4307. doi: 10.1364/BOE.427532

Histogram clustering for rapid time-domain fluorescence lifetime image analysis

Yahui Li 1,2,6, Natakorn Sapermsap 3, Jun Yu 4, Jinshou Tian 1,2, Yu Chen 3, David Day-Uei Li 5,7
PMCID: PMC8367240  PMID: 34457415

Abstract

We propose a histogram clustering (HC) method to accelerate fluorescence lifetime imaging (FLIM) analysis in pixel-wise and global fitting modes. The proposed method’s principle was demonstrated, and the combinations of HC with traditional FLIM analysis were explained. We assessed HC methods with both simulated and experimental datasets. The results reveal that HC not only increases analysis speed (up to 106 times) but also enhances lifetime estimation accuracy. Fast lifetime analysis strategies were suggested with execution times around or below 30 μs per histograms on MATLAB R2016a, 64-bit with the Intel Celeron CPU (2950M @ 2GHz).

1. Introduction

Fluorescence lifetime imaging (FLIM) [1] is a crucial technique for assessing microenvironments of fluorophores, such as pH, Ca2+, O2, viscosity, or temperature [25]. Combining with Förster Resonance Energy Transfer (FRET) techniques [6], FLIM can be a powerful "quantum ruler" to measure protein conformations and interactions [7]. In contrast to fluorescence intensity imaging, FLIM is independent of fluorescence intensities and fluorophore concentrations, making FLIM a robust quantitative imaging technique for life sciences applications [8,9], medical diagnosis [10], drug developments [11,12], and flow diagnosis [1315].

A fluorescence decay is usually modeled as a sum of exponential decay functions:

f(t)=Ap=1Pqpexp(t/τp),p=1Pqp=1, (1)

where A is the amplitude, qp and τp are the fraction and lifetime of the pth component, p=1,,P. In vector forms, q=[q1,,qP]T and τ=[τ1,,τP]T. In reality, the measured signal is a convolution of f(t) and the instrument response function (IRF) irf(t),

h(t)=irf(t)f(t)+ϵ(t), (2)

where ϵ(t) is noise.

FLIM analysis is equivalent to solving the inverse problem from Eq. (2) with the measured h(t) to obtain q and τ. FLIM experiments can be conducted either in time- or frequency-domain manners [8]. In time-domain approaches, samples are illuminated with ultrashort laser pulses. h(t) is measured using a time-correlated single-photon counting (TCSPC) system [16,17] with photomultiplier tubes, delay line anode detectors [18] or single-photon avalanche diodes [19] in scanning or widefield modes. h(t) can also be measured with time-gated cameras [20,21] and streak cameras [22,23]. There are also frequency-domain approaches [24,25], but we will focus on time-domain approaches in this report.

A fluorescence decay histogram measured by a TCSPC system can be:

hm=k=0mirfkmfm+ϵm, (3)

where

irfm=mΔt(m+1)Δtirf(t)dt,fm=mΔt(m+1)Δtf(t)dt,m=0,,M1. (4)

M is the number of time-bins, and Δt is the bin width (the TCSPC’s temporal resolution). We can express Eq. (3) in a vector form with h=[h0,,hM1]T, irf=[irf0,,irfM1]T, and f=[f0,,fM1]T.

With h and irf already measured, A, q and τ can be extracted with a lifetime determination algorithm by solving a nonlinear minimization problem argminhhˆ2, where hˆ is the estimated histogram. The iterative convolution (IC) is commonly used with the least-squared method (LSM) [26,27] for solving the inverse problem, denoted as IC-LSM. Still, IC-LSM suffers from low photon efficiency and slow analysis. Several deconvolution approaches have been developed to enhance the analysis, such as the Laguerre expansion [2830], the non-fitting and the global fitting [31,32] methods. The Laguerre expansion methods speed up deconvolution procedures by converting the nonlinear-fitting problem to a linear-fitting problem estimating a Laguerre basis set’s expansion coefficients. The non-fitting methods, including the centre-of-mass method (CMM) [3335], the integral extraction method (IEM) [36,37], the phasor method [38,39], or the rapid lifetime determination method [40,41], can provide rapid average lifetime analysis [42]. The global fitting methods can accelerate analysis by changing the estimation mode from the pixel-wise mode to a global fitting mode and using spatial lifetime invariances of fluorescent species in an image to reduce the degree of freedom significantly. There are two strategies, IC [31] and the variable projection (VP) method [32], for implementing global fitting.

However, the Laguerre expansion, the non-fitting and the global fitting methods are not fast enough for growing demands for real-time FLIM. This work presents a histogram clustering (HC) method for improving FLIM analysis in analysis speed and accuracy. Section 2 (Methods) summarizes the workflows for decay parameter image reconstructions with and without HC. We will then introduce and demonstrate the HC method. Besides the algorithms used in this work, HC can also accelerate other algorithms, such as the maximum likelihood method [43], Bayesian methods [44], and deep-learning methods [45]. In Section 3 (Results and Analysis), synthetic and experimental TCSPC datasets will be used to evaluate the HC method’s performances. Suggestions of the fastest algorithms for different outcomes will be given.

2. Methods

2.1. Modes for decay parameter image reconstructions

Figure 1(a) shows the Pixel-Wise (PW) mode’s workflow. Nvp is the number of valid pixels in a TCSPC dataset whose intensities are beyond a threshold. Histogram s, denoted as h(s), is sent into an algorithm for PW along with irf, s=1,,Nvp. After Nvp histograms are analyzed pixel-by-pixel, decay parameter images are produced. The total execution time texePW=Nvp×tAPW, tAPW is the adopted algorithm’s execution time for PW.

Fig. 1.

Fig. 1.

Flow diagrams of (a) the pixel-wise (PW) mode and (b) the global fitting mode for all pixels (GF-P).

Figure 1(b) shows the workflow of the Global Fitting mode for all Pixels, denoted as GF-P. Instead of estimating decay parameters individually for each pixel, GF-P assumes lifetimes τ are constants, and A and q vary across the image. texeGFP=tAGF. tAGF is the adopted algorithm’s execution time for GF.

Figure 2 shows the workflows where the HC method is embedded. Figure 2(a) shows the Cluster-Wise (CW) mode, which combines PW and HC; likewise, Fig. 2(b) shows the Global Fitting mode for all Clusters (GF-C), which combines GF-P and HC.

Fig. 2.

Fig. 2.

Flow diagrams of (a) the cluster-wise mode (CW) and (b) the global fitting mode for all clusters (GF-C).

In CW, Nvp histograms are first sorted by HC, whose execution time is tHC, into Nc classes with Nc cluster-histograms h¯(s), s=1,,Nc. h¯(s) is used to estimate decay parameters for Cluster s. Then, the decay parameters are assigned to the corresponding cluster’s pixels with a parameter assignment function, whose execution time is tPA. Therefore, texeCW=tHC+Nc×tAPW+tPA.

In GF-C, Nvp histograms are processed with HC first, and the output Nc histograms are sent into an algorithm for GF. Decay parameters for all clusters are obtained and assigned to the pixels in corresponding clusters with the parameter assignment function. Therefore, texeGFC=tHC+tAGF+tPA.

The algorithms used in this work are reviewed in Supplement 1 (1,005.4KB, pdf) .

2.2. Histogram clustering

In reality, there are always many pixels within the field of view showing similar histogram profiles, and it’s unnecessary to analyze them individually because it would be time-consuming. The idea of HC is to sort histograms with similar profiles and to divide them into Nc clusters. If histograms have similar decay profiles, they are supposed to show similar decay parameters. Therefore, we can average similar decay profiles in a cluster into one profile to estimate decay parameters and then assign them to all pixels. With this arrangement, we only need to process Nc instead of Nvp histograms. HC significantly speedups FLIM analysis.

For simplicity, we only discuss bi-exponential decays widely used in practice. Figure 3(a) shows an IRF and normalized signal profiles h(t) following a bi-exponential decay model, and Fig. 3(b) shows corresponding cumulative signals, H(t)=0th(t)dt, which is not sensitive to Poisson noise due to the integration. Signal decay parameters are also labelled in Fig. 3(a). If we choose an intensity bound, Ibound, then each signal has a corresponding time delay, tIb, to reach Ibound, as shown in Fig. 3(b).

Fig. 3.

Fig. 3.

Illustrations of (a) an IRF and normalized signal profiles h(t) following a bi-exponential decay model and (b) cumulative signal profiles H(t).

It is straightforward for mono-exponential decays, f(t)=Aexp(t/τ), that tIb has an approximately linear relationship with τ. Figure 4 shows tIb curves with different IRFs which introduce time-shifts (assuming that IRFs for all histograms are the same in a scanning system). If a multichannel sensor is used, IRF alignments are required before using HC.

Fig. 4.

Fig. 4.

tIb of signals following mono-exponential models depending on τ under different irf(t).

However, it is less straightforward for bi-exponential decays. Thus, we used numerical methods to conduct analysis, as shown in Fig. 5, in which three cases were simulated to explain how the proposed concept works. Case A has q1 = 0.5, 0.1τ13 ns, and τ2 = 3 ns as shown in Fig. 5(a); Case B has 0q11, τ1 = 0.5 ns, and τ2 = 3 ns as shown in Fig. 5(b); Case C has q1 = 0.5, τ1 = 0.5 ns, and 0.5τ210 ns as shown in Fig. 5(c). The IRF follows a Gaussian distribution with an FWHM of 0.5 ns.

Fig. 5.

Fig. 5.

tIb for (a) Case A: q1 = 0.5, τ1 = 0.1 3 ns, and τ2 = 3 ns, (b) Case B: q1 = 0 1, τ1 = 0.5 ns, and τ2 = 3 ns, (c) Case C: q1 = 0.5, τ1 = 0.5 ns, and 0.5τ210 ns with different Ibound.

For Case A, tIb is not monotonic with τ1, and the monotonic range and the slope are functions of Ibound. As Ibound increases, the slope increases with a smaller monotonic range. The profiles with τ1 outside the range are wrongly sorted into a cluster with a larger τ1. The monotonic ranges for Ibound = 0.2 and 0.6 are 0.4 3 ns and 1 3 ns, respectively. For Cases B and C, tIb is monotonic (decreasing and increasing) with q1 and τ2 for all Ibound, respectively. For the signals like Cases A C (which only have one variable), we can cluster the signals by tIb with a proper Ibound considering the monotonic range. For example, for Case A, if the shortest lifetime is around 0.5 ns, Ibound = 0.2 is a proper choice; for Cases B and C, Ibound can be set arbitrarily in 0.1 1. We use Ibound = 0.2 hereafter.

However, it is not realistic that the signals in a dataset have one variable and two constant decay parameters. For instance, in FRET-FLIM applications, donors without FRET have a constant lifetime and donors interacting with acceptors have shorter lifetimes due to FRET. Therefore, the short and long lifetimes, τ1 and τ2, are donors’ lifetimes with and without FRET, and q1 is the portion of the donors undergoing FRET among all donors. q1 and τ1 are variables depending on FRET efficiency.

For FRET-FLIM datasets, such as Case D: q1 = 0 1, τ1 = 0.5 3 ns, and τ2 = 3 ns, with two variables, it is not enough to divide the histograms only depending on tIb, as histograms with different profiles would have the same tIb and be wrongly divided into one cluster. Figure 6(a) shows the resulting clusters ( N1 = 15) in different colors for Case D with M = 256 depending on tIb. Figures 6(b) and (c) show the cumulative signals in Clusters 14 and 7 in red, respectively, and the averaged cumulative histograms H¯ for the clusters (green dash lines). When q1 0 (or q1 1) or τ1 τ2 (such as Clusters 14 and 15), the signals are nearly mono-exponential and have similar profiles, as shown in Fig. 6(b). However, the signals for other clusters (for example, Cluster 7) have the same tIb, but the profiles after tIb diverge. At t=tbound in Fig. 6(c), the cumulative intensity Itb in Cluster 7 is within [0.7, 0.9]. Therefore, we can further divide each cluster into N2 sub-clusters depending on Itb.

Fig. 6.

Fig. 6.

For Case D with M = 256, (a) clusters, cumulative signals (red solid lines) and averaged cumulative signals (green dash lines) for (b) Cluster 14 and (c) Cluster 7.

Setting a larger N2 can result in a higher clustering precision, which means histogram profiles in one cluster are more similar. Another way to increase clustering precision is interpolating h with M time-bins to hinterp with MNinterp time-bins. Ninterp ( 1) is an interpolation factor, and hinterp can be expressed as

hmNinterp+ninterp=hm/Ninterp,n=0,,Ninterp1,m=0,,M1. (5)

Figure 7(a) shows the clusters for Case A with M = 256, Ninterp = 1, and N1 = 6. Figure 7(b) shows the clusters for M = 256, Ninterp = 2, and N1 = 11. The histograms in each cluster have a smaller range of τ1, leading to a higher clustering precision.

Fig. 7.

Fig. 7.

For Case A, clusters with (a) M = 256 and Ninterp = 1 and (b) M = 256 and Ninterp = 2.

The HC workflow is summarized in Fig. 8(a). There are three steps: 1) depending on tIb, Nvp histograms are divided into N1 clusters, which can be adjusted by setting Ninterp; 2) depending on Itb, histograms in each of the N1 clusters are further divided into N2 sub-clusters, and Nc=N1×N2 clusters are finally produced; 3) Nc histograms are generated by obtaining the averaged histogram in each cluster.

Fig. 8.

Fig. 8.

(a) Workflow of the HC method. (b) Boxplot of χ2 for Case D with different Ninterp and N2.

To assess HC in terms of Ninterp and N2, we can define:

χ2(s)=1Mm=0M1|hm(s)h¯m(s)|2/hm(s), (6)

where h¯m(s) is the cluster histogram produced with HC for the cluster including Pixel s. Figure 8(b) shows the boxplot of χ2(s) for Case D for various combinations of Ninterp and N2. Poisson noise is included in each signal with a total intensity of I=104 photon counts. The higher Ninterp and N2 are, the lower χ2(s) becomes, meaning higher accuracy. We set Ninterp = 2 and N2 = 4 for HC used in CW and GF-C modes in this work.

3. Results and analysis

Synthetic and experimental TCSPC datasets were used to assess the performances of HC. Table 1 summarizes different output types of algorithms: (1) the fitting method LE-LSM in PW and CW modes can produce q, τ, τA, and τI images; (2) the non-fitting methods LE-IEM and CMM in PW and CW modes can produce τA and τI images; (3) the global fitting methods IC and VP in GF-P and GF-C modes can produce q, τA, and τI images and constant τ. τA and τI are two types of average lifetimes, amplitude- and intensity-weighted average lifetimes,

τA=p=1Pqpτp,τI=p=1Pqpτp2/p=1Pqpτp. (7)

Table 1. Outputs of algorithms for different modes.

Mode Algorithm Output variablesa
q τ τI τA
Pixel-Wise (PW)/Cluster-Wise (CW) Least-Squared Method with Laguerre Expansion LE-LSM I I I I
Integral Extraction Method with Laguerre Expansion LE-IEM X X X I
Centre-of-Mass Method CMM X X I X
Global-Fitting for all Pixels (GF-P)/Global-Fitting for all Clusters (GF-C) Iterative Convolution IC I C I I
Variable Projection VP I C I I
a

Letters I and C represent that the outputs are images and constants, respectively.

Letter X stands for no output.

Using IEM to calculate τA requires conducting the deconvolution first. The Laguerre expansion method is employed for deconvolution when IEM is used; therefore, we denote the whole process as LE-IEM.

3.1. Simulated data

The synthetic TCSPC dataset has an image size of 150 × 150 pixels and M = 256. The simulated signals are bi-exponential (P = 2). Figure 9(a) shows the log10(Ii) image consisting of three regions with integrated intensities of I1 = 500, I2 =1000, and I3 = 10000, respectively. Possion noise is included in the dataset. Figures 9(b), 9(c), and 9(d) shows the q1, τ1, and τ2 images, respectively. The q1 image has three regions with mean values of [0.2, 0.5, 0.8] and relative standard deviations of 10%; the τ1 image has two regions with mean values of [0.5, 1] ns and relative standard deviations of 10%; the τ2 image has a mean value of 3 ns and a relative standard deviation of 10%.

Fig. 9.

Fig. 9.

(a) log10(Ii), (b) q1, (c) τ1, and (d) τ2 images of the synthetic TCSPC dataset.

The execution times (texe) and the mean squared errors (MSE) of the results evaluated by different algorithms without and with HC are summarized in Table 2. MSE is defined as:

MSE=s=1Nvp|a(s)aˆ(s)|2/Nvp, (8)

where aˆ represents the estimated a (a=q1,τ1,τ2,τA,τI). The results for the fitting and non-fitting methods in PW and CW modes and the global fitting methods in GF-P and GF-C modes are illustrated and analyzed in the following sections.

Table 2. texe and MSE evaluated by algorithms without and with HC.

Mode Algorithm texe (s) MSE
q1 τ1 (ns2) τ2 (ns2) τA (ns2) τI (ns2)
Without HC
PW LE-LSM 389.45 0.019 0.173 0.198 0.110 0.027
LE-IEM 62.30 X X X 0.102 X
CMM 0.20 X X X X 0.185
GF-P IC 724.82 0.100 X X 0.678 1.098
VP 3.34 0.033 X X 0.122 0.178
With HC
CW LE-LSM 3.36 0.011 0.102 0.104 0.037 0.025
LE-IEM 0.63 X X X 0.038 X
CMM 0.20 X X X X 0.180
GF-C IC 11.85 0.017 X X 0.102 0.050
VP 0.31 0.014 X X 0.048 0.093

3.1.1. Fitting method LE-LSM in PW and CW modes

Figure 10 shows qˆ1, τˆ1, τˆ2, τˆA, and τˆI images estimated with LE-LSM in (a1) – (a5) PW (without HC) and (b1) – (b5) CW (with HC) modes, respectively. The pixel brightness of each image represents the intensity. The parameter histograms (qˆ1, τˆ1, τˆ2, τˆA, and τˆI) of different intensity regions (blue, red, and magenta lines for I1, I2, and I3 respectively) and the true histogram (black dash line) are attached to each image. HC improves the estimated images, especially for Regions I1 and I2, as the histograms are closer to the truth than those estimated without HC. MSEs are reduced from 0.019 to 0.011 for q1, from 0.173 ns2 to 0.102 ns2 for τ1, from 0.198 ns2 to 0.104 ns2 for τ2, from 0.110 ns2 to 0.037 ns2 for τA, and from 0.027 ns2 to 0.025 ns2 for τI. texe is significantly reduced from 389.45 s to 3.36 s.

Fig. 10.

Fig. 10.

qˆ1, τˆ1, τˆ2, τˆA, and τˆI images with LE-LSM in (a1) – (a5) PW (without HC) and (b1) – (b5) CW (with HC) modes. Histograms of different intensity regions (blue, red, and magenta for I1, I2, and I3, respectively) and the true histogram (black dash line).

3.1.2. Non-fitting methods LE-IEM and CMM in PW and CW modes

Figure 11 shows τˆA and τˆI images and histograms produced by LE-IEM and CMM (a) – (b) without and (c) – (d) with HC. LE-IEM is for estimating τˆA. MSE(τA) is improved from 0.102 ns2 to 0.038 ns2, and texe is reduced from 62.30 s to 0.63 s with HC.

Fig. 11.

Fig. 11.

τˆA and τˆI images and histograms produced by LE-IEM and CMM (a) – (b) without and (c) – (d) with HC.

CMM is for estimating τˆI with the shortest texe either in PW or CW, around 0.20 s, but it has a bias, as shown in Figs. 11(b) and 11(d). MSE(τI) is around 0.180 ns2. There is a way to correct the bias, as described in [46].

3.1.3. Global fitting methods IC and VP in GF-P and GF-C modes

Figure 12 shows qˆ1, τˆA, and τˆI images estimated with (a1) – (a3) IC and (a4) – (a6) VP in GF-P (without HC) mode and with (b1) – (b3) IC and (b4) – (b6) VP in GF-C (with HC) mode. The estimated constants (τˆ1, τˆ2) are labelled in corresponding qˆ1 images. The estimations of q1 in Region I1 with IC in GF-P are mostly inaccurate, as shown in Fig. 12(a1) and (τˆ1, τˆ2) = (0.59, 2.74) ns. As a result, τˆA and τˆI are also not correct in Region I1, as shown in Figs. 12(a2) and (a3). In GF-C, IC performs better with a successfully estimated Region I1, a significantly reduced texe from 724.82 s to 11.85 s, and a reduced MSE(q1) from 0.100 to 0.017, a reduced MSE(τA) from 0.678 to 0.102, and a reduced MSE(τI) from 1.098 to 0.050, as shown in Figs. 12(b1) - (b3).

Fig. 12.

Fig. 12.

qˆ1, τˆA, and τˆI images and histograms with (a1) – (a3) IC and (a4) – (a6) VP in GF-P mode and with (b1) – (b3) IC and (b4) – (b6) VP in GF-C mode. Constants (τˆ1, τˆ2) are labelled in corresponding qˆ1 images.

HC also accelerates VP from 3.34 s to 0.31 s with a reduced MSE(q1) from 0.033 to 0.014, a reduced MSE(τA) from 0.122 to 0.048, and a reduced MSE(τI) from 0.178 to 0.093, as shown in Figs. 12(b4) – (b6).

Although VP has some invalid estimations with qˆ1 < 0 (pixels in white) when q1 is small, as shown in Figs. 12(a4) and (b4), its τˆA and τˆI images are accurately evaluated without invalid pixels, as shown in Figs. 12(a5), (a6), (b5), and (b6). Thus, VP in GF-C is a promising choice for fast average lifetime estimations for its short execution time (texe = 0.31 s).

In conclusion, HC not only accelerates analysis but also enhances accuracy (MSE). HC sorts histograms with similar profiles into a cluster and takes the average of histograms for lifetime determination, equivalent to increasing the number of photon counts and reducing noise. Therefore, the decay parameters estimated with the average cluster histogram by lifetime determination algorithms have higher accuracy than those of individual histograms. Although the decay parameters of the histograms in one cluster have a deviation from those estimated with the average cluster histogram, the results indicate that the error introduced by HC is smaller than that introduced by processing original histograms with a relatively lower photon count.

3.2. Experimental data

Mouse raw macrophage cells were routinely cultured in DMEM (Dulbecco’s Modified Eagle Medium) supplemented with 10% FCS (Fetal Calf Serum) under 5% CO2 at 3737oC. Cells were seeded on glass cover slips in 24-well plates and cultured overnight for bacterial infection. Bacteria engineered to express GFP (Green Fluorescent Protein) were harvested from an early exponential phase and added to the cells with an MOI (Multiplicity of Infection) = 100. Cells were washed with PBS (Phosphate-Buffered Saline) and stained for actin with phalloidin Alexa Flour 546 (Thermo Fisher Scientific). The scanning FLIM used in this work is LSM510 (Carl Zeiss), equipped with a TCSPC module (SPC-830, Becker & Hickl GmbH). The sample was excited by a tunable femtosecond Ti: Sapphire laser (Chameleon, Coherent) at 850 nm as a two-photon excitation source. The repetition rate is 80 MHz, and the pulse width is less than 200 fs. The emitted photons were collected through a 63× water-immersion objective lens (N.A. = 1.0) and a 500 550 nm bandpass filter and transferred into a photomultiplier tube.

Figure 13 shows the intensity image and texe for all algorithms without or with HC for a TCSPC dataset. The estimations of three output types are shown as follows.

Fig. 13.

Fig. 13.

Intensity image and texe for all algorithms without and with HC.

3.2.1. Type 1: qˆ1, τˆ1, and τˆ2 images with LE-LSM in PW and CW modes

Figure 14 shows (a) qˆ1, (b) τˆ1, and (c) τˆ2 images with LE-LSM in PW, (d) - (f) the results with LE-LSM in CW, and the histograms of (g) qˆ1, (h) τˆ1, and (i) τˆ2 in PW (blue) and CW (red) modes. LE-LSM shows similar lifetime estimation performances in PW and CW, whereas LE-LSM in CW (texe = 5.87 s) is faster than LE-LSM in PW (texe = 632.32 s). Therefore, LE-LSM used in CW is a better choice for Type 1.

Fig. 14.

Fig. 14.

qˆ1, τˆ1, and τˆ2 images from LE-LSM (a) - (c) without and (d) – (f) with HC. Histograms of (g) qˆ1, (h) τˆ1, and (i) τˆ2 in PW (blue) and CW (red) modes.

3.2.2. Type 2: qˆ1 image and constants (τˆ1, τˆ2) with IC and VP in GF-P and GF-C modes

Figure 15 shows qˆ1 images with (a) IC and (b) VP in GF-P, (c) IC and (d) VP in GF-C. Figure 15(e) shows histograms of qˆ1 with IC (dash blue) and VP (dash red) in GF-P and IC (solid blue) and VP (solid red) in GF-C. The constants (τˆ1, τˆ2) of each approach are attached in qˆ1 images.

Fig. 15.

Fig. 15.

qˆ1 images from IC and VP (a) – (b) without and (c) – (d) with HC. (e) Histograms of qˆ1 with IC (dash blue) and VP (dash red) in GF-P and IC (solid blue) and VP (solid red) in GF-C.

3.2.3. Type 3: τˆA and τˆI images

Figure 16 shows τˆA images (a) – (d) without and (e) – (h) with HC. Figure 16(i) shows the histograms of τˆA with LE-LSM and LE-IEM in PW and CW. Figure 16(j) shows the histograms of τˆA with IC and VP in GF-P and GF-C. Figure 17 shows τˆI images (a) – (d) without and (e) – (h) with HC. Figure 17(i) shows the histograms of τˆI with LE-LSM and CMM in PW and CW. Figure 17(j) shows the histograms of τˆI with IC and VP in GF-P and GF-C.

Fig. 16.

Fig. 16.

τˆA images from the algorithms (a) – (d) without and (e) – (h) with HC. (i) Histograms of τˆA with LE-LSM and LE-IEM in PW and CW. (j) histograms of τˆA with IC and VP in GF-P and GF-C.

Fig. 17.

Fig. 17.

τˆI images from the algorithms (a) – (d) without and (e) – (h) with HC. (i) Histograms of τˆI with LE-LSM and CMM in PW and CW. (j) histograms of τˆI with IC and VP in GF-P and GF-C.

Like the conclusions drawn from simulations, LE-LSM in CW is the fastest for Type 1 with texe = 5.87 s; VP in GF-C is the fastest for Type 2 with texe = 0.41 s. For average lifetime images, VP in GF-C is the fastest for both τA and τI with texe = 0.41 s, LE-IEM in CW is the second one for τA with texe = 0.94 s; meanwhile, CMM in CW is the fastest for τI with texe = 0.20 s.

4. Conclusion

We developed a histogram clustering (HC) method to accelerate FLIM analysis. HC can improve both the speed and the accuracy for FLIM analysis by sorting histograms with similar profiles in a dataset into several clusters and significantly reducing the number of histograms to be analyzed. The HC method implements clustering with two features of a histogram. Several commonly used lifetime determination algorithms’ performances for producing decay parameter images without and with HC were compared using synthetic and experimental datasets. For different output types, the fastest FLIM analysis methods are suggested: 1) LE-LSM with HC for all lifetime component images with an execution time (texe) of 5.87 s, 106-fold shorter than texe without HC; 2) VP with HC for constant lifetimes, q1, τA, and τI images with texe = 0.41 s, 32-fold shorter than texe without HC; 3) LE-IEM with HC as the second choice for τA with texe = 0.94 s, 78-fold shorter than texe without HC, and CMM as the second choice for τI with texe = 0.2 s without or with HC (biased if the largest lifetime > T/4). The analysis was conducted in Matlab, and it can be translated to C or other environments to speed up the analysis. We believe the proposed HC method can benefit applications demanding real-time FLIM such as clinical diagnosis and fast screening.

Acknowledgments

N. Sapermsap acknowledges the Development and Promotion of Science and Technology Talents (DPST) Project under the Institute for the Promotion of Teaching Science and Technology (IPST), Thailand, for a PhD scholarship.

Funding

Science Foundation of the Chinese Academy of Sciences (CXJJ-21S006); Strategic Priority Research Program of Chinese Academy of Sciences (XDA25030900); National Natural Science Foundation of China10.13039/501100001809 (12075312); Medical Research Scotland10.13039/501100000294 (1179-2017); Engineering and Physical Sciences Research Council10.13039/501100000266 (EP/L01596X/1).

Disclosures

The authors declare no conflicts of interest.

Data availability

Data underlying the results presented in this paper are not publicly available and can be made available by the authors without undue reservation.

Supplemental document

See Supplement 1 (1,005.4KB, pdf) for supporting content.

References

  • 1.Lakowicz J. R., Principles of Fluorescence Spectroscopy (Springer, 2006). [Google Scholar]
  • 2.Fornasiero E. F., Mandad S., Wildhagen H., Alevra M., Rammner B., Keihani S., Opazo F., Urban I., Ischebeck T., Sakib M. S., Fard M. K., Kirli K., Centeno T. P., Vidal R. O., Rahman R. U., Benito E., Fischer A., Dennerlein S., Rehling P., Feussner I., Bonn S., Simons M., Urlaub H., Rizzoli S. O., “Precisely measured protein lifetimes in the mouse brain reveal differences across tissues and subcellular fractions,” Nat. Commun. 9(1), 4230 (2018). 10.1038/s41467-018-06519-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Okabe K., Inada N., Gota C., Harada Y., Funatsu T., Uchiyama S., “Intracellular temperature mapping with a fluorescent polymeric thermometer and fluorescence lifetime imaging microscopy,” Nat. Commun. 3(1), 705 (2012). 10.1038/ncomms1714 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Ma C., Sun W., Xu L., Qian Y., Dai J., Zhong G., Hou Y., Liu J., Shen B., “A minireview of viscosity-sensitive fluorescent probes: design and biological applications,” J. Mater. Chem. B 8(42), 9642–9651 (2020). 10.1039/D0TB01146K [DOI] [PubMed] [Google Scholar]
  • 5.Aigner D., Dmitriev R. I., Borisov S. M., Papkovsky D. B., Klimant I., “pH-sensitive perylene bisimide probes for live cell fluorescence lifetime imaging,” J. Mater. Chem. B 2(39), 6792–6801 (2014). 10.1039/C4TB01006J [DOI] [PubMed] [Google Scholar]
  • 6.Gadella T., FRET and FLIM Techniques (Elsevier B.V., 2009). [Google Scholar]
  • 7.Levitt J. A., Poland S. P., Krstajic N., Pfisterer K., Erdogan A., Barber P. R., Parsons M., Henderson R. K., Ameer-Beg S. M., “Quantitative real-time imaging of intracellular FRET biosensor dynamics using rapid multi-beam confocal FLIM,” Sci. Rep. 10(1), 5146 (2020). 10.1038/s41598-020-61478-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Becker W., “Fluorescence lifetime imaging - techniques and applications,” J. Microsc. 247(2), 119–136 (2012). 10.1111/j.1365-2818.2012.03618.x [DOI] [PubMed] [Google Scholar]
  • 9.Suhling K., Hirvonen L. M., Levitt J. A., Chung P. H., Tregidgo C., Le Marois A., Rusakov D. A., Zheng K., Ameer-Beg S., Poland S., Coelho S., Henderson R., Krstajic N., “Fluorescence lifetime imaging (FLIM): Basic concepts and some recent developments,” Medical Photonics 27, 3–40 (2015). 10.1016/j.medpho.2014.12.001 [DOI] [Google Scholar]
  • 10.Poulon F., Pallud J., Varlet P., Zanello M., Chretien F., Dezamis E., Abi-Lahoud G., Nataf F., Turak B., Devaux B., Abi Haidar D., “Real-time Brain Tumor imaging with endogenous fluorophores: a diagnosis proof-of-concept study on fresh human samples,” Sci. Rep. 8(1), 14888 (2018). 10.1038/s41598-018-33134-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Hirmiz N., Tsikouras A., Osterlund E. J., Richards M., Andrews D. W., Fang Q., “Highly multiplexed confocal fluorescence lifetime microscope designed for screening applications,” IEEE J. Sel. Top. Quantum Electron. 27(5), 1–9 (2021). 10.1109/JSTQE.2020.2997834 [DOI] [Google Scholar]
  • 12.Garciá C., Losada A., Sacristán M. A., Martínez-Leal J. F., Galmarini C. M., Lillo M. P., “Dynamic cellular maps of molecular species: Application to drug-target interactions,” Sci. Rep. 8(1), 1140 (2018). 10.1038/s41598-018-19694-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Ehn A., Zhu J., Li X., Kiefer J., “Advanced laser-based techniques for gas-phase diagnostics in combustion and aerospace engineering,” Appl. Spectrosc. 71(3), 341–366 (2017). 10.1177/0003702817690161 [DOI] [PubMed] [Google Scholar]
  • 14.Jonsson M., Ehn A., Christensen M., Aldén M., Bood J., “Simultaneous one-dimensional fluorescence lifetime measurements of OH and CO in premixed flames,” Appl. Phys. B 115(1), 35–43 (2014). 10.1007/s00340-013-5570-7 [DOI] [Google Scholar]
  • 15.Ehn A., Johansson O., Bood J., Arvidsson A., Li B., Aldén M., “Fluorescence lifetime imaging in a flame,” Proc. Combust. Inst. 33(1), 807–813 (2011). 10.1016/j.proci.2010.05.083 [DOI] [Google Scholar]
  • 16.Becker W., Advanced Time-Correlated Single Photon Counting Techniques (Springer, 2005). [Google Scholar]
  • 17.Becker W., “Fluorescence lifetime imaging by multi-dimensional time correlated single photon counting,” Medical Photonics 27, 41–61 (2015). 10.1016/j.medpho.2015.02.001 [DOI] [Google Scholar]
  • 18.Hirvonen L. M., Becker W., Milnes J., Conneely T., Smietana S., Le Marois A., Jagutzki O., Suhling K., “Picosecond widefield time-correlated single photon counting fluorescence microscopy with a delay line anode detector,” Appl. Phys. Lett. 109(7), 071101 (2016). 10.1063/1.4961054 [DOI] [Google Scholar]
  • 19.Li D. D.-U., Arlt J., Richardson J., Walker R., Buts A., Stoppa D., Charbon E., Henderson R., “Real-time fluorescence lifetime imaging system with a 32 × 32 0.13μm CMOS low dark-count single-photon avalanche diode array,” Opt. Express 18(10), 10257 (2010). 10.1364/OE.18.010257 [DOI] [PubMed] [Google Scholar]
  • 20.Dowling K., Hyde S., Dainty J., French P., Hares J., “2-D fluorescence lifetime imaging using a time-gated image intensifier,” Opt. Commun. 135(1-3), 27–31 (1997). 10.1016/S0030-4018(96)00618-9 [DOI] [Google Scholar]
  • 21.Yu S., Yao T., Yuan B., “An ICCD camera-based time-domain ultrasound-switchable fluorescence imaging system,” Sci. Rep. 9(1), 10552 (2019). 10.1038/s41598-019-47156-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Krishnan R. V., Biener E., Zhang J. H., Heckel R., Herman B., “Probing subtle fluorescence dynamics in cellular proteins by streak camera based fluorescence lifetime imaging microscopy,” Appl. Phys. Lett. 83(22), 4658–4660 (2003). 10.1063/1.1630154 [DOI] [Google Scholar]
  • 23.Camborde L., Jauneau A., Brière C., Deslandes L., Dumas B., Gaulin E., “Detection of nucleic acid–protein interactions in plant leaves using fluorescence lifetime imaging microscopy,” Nat. Protoc. 12(9), 1933–1950 (2017). 10.1038/nprot.2017.076 [DOI] [PubMed] [Google Scholar]
  • 24.Chen H., Gratton E., “A practical implementation of multifrequency widefield frequency-domain fluorescence lifetime imaging microscopy,” Microsc. Res. Tech. 76(3), 282–289 (2013). 10.1002/jemt.22165 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Verveer P. J., Hanley Q. S., “Chapter 2 Frequency domain FLIM theory, instrumentation, and data analysis,” in Laboratory Techniques in Biochemistry and Molecular Biology, Gadella T. W. J., ed. (Elesvier B.V., 2009), pp. 59–94. [Google Scholar]
  • 26.Ware W. R., Doemeny L. J., Nemzek T. L., “Deconvolution of fluorescence and phosphorescence decay curves. A least-squares method,” J. Phys. Chem. 77(17), 2038–2048 (1973). 10.1021/j100636a003 [DOI] [Google Scholar]
  • 27.Apanasovich V. V., Novikov E. G., “Deconvolution method for fluorescence decays,” Opt. Commun. 78(3-4), 279–282 (1990). 10.1016/0030-4018(90)90361-V [DOI] [Google Scholar]
  • 28.Liu J., Sun Y., Qi J., Marcu L., “A novel method for fast and robust estimation of fluorescence decay dynamics using constrained least-squares deconvolution with Laguerre expansion,” Physics in Medicine and Biology 57(4), 843–865 (2012). 10.1088/0031-9155/57/4/843 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Zhang Y., Chen Y., Li D. D.-U., “Optimizing Laguerre expansion based deconvolution methods for analyzing bi-exponential fluorescence lifetime images,” Opt. Express 24(13), 13894 (2016). 10.1364/OE.24.013894 [DOI] [PubMed] [Google Scholar]
  • 30.Jo J., Fang Q., Marcu L., “Ultrafast method for the analysis of fluorescence lifetime imaging microscopy data based on the Laguerre expansion technique,” IEEE J. Sel. Top. Quantum Electron. 11(4), 835–845 (2005). 10.1109/JSTQE.2005.857685 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Pelet S., Previte M., Laiho L., So P. C., “A fast global fitting algorithm for fluorescence lifetime imaging microscopy based on image segmentation,” Biophys. J. 87(4), 2807–2817 (2004). 10.1529/biophysj.104.045492 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Warren S. C., Margineanu A., Alibhai D., Kelly D. J., Talbot C., Alexandrov Y., Munro I., Katan M., Dunsby C., French P. M. W., “Rapid Global Fitting of Large Fluorescence Lifetime Imaging Microscopy Datasets,” PLoS One 8(8), e70687 (2013). 10.1371/journal.pone.0070687 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Xu J., Zhang A., Gao Z., Nie K., Qiao J., “A low data-rate fluorescence lifetime imaging system with CMM pre-processed in-pixel,” Microelectron. J. 69, 28–34 (2017). 10.1016/j.mejo.2017.09.003 [DOI] [Google Scholar]
  • 34.Li D. D.-U., Rae B., Andrews R., Arlt J., Henderson R., “Hardware implementation algorithm and error analysis of high-speed fluorescence lifetime sensing systems using center-of-mass method,” J. Biomed. Opt. 15(1), 017006 (2010). 10.1117/1.3309737 [DOI] [PubMed] [Google Scholar]
  • 35.Poland S. P., Erdogan A. T., Krstajić N., Levitt J., Devauges V., Walker R. J., Li D. D.-U., Ameer-Beg S. M., Henderson R. K., “New high-speed centre of mass method incorporating background subtraction for accurate determination of fluorescence lifetime,” Opt. Express 24(7), 6899–6915 (2016). 10.1364/OE.24.006899 [DOI] [PubMed] [Google Scholar]
  • 36.Li D. D.-U., Bonnist E., Renshaw D., Henderson R., “On-chip, time-correlated, fluorescence lifetime extraction algorithms and error analysis,” Journal of the Optical Society of America A 25(5), 1190 (2008). 10.1364/JOSAA.25.001190 [DOI] [PubMed] [Google Scholar]
  • 37.Li D. D.-U., Walker R., Richardson J., Rae B., Buts A., Renshaw D., Henderson R., “Hardware implementation and calibration of background noise for an integration-based fluorescence lifetime sensing algorithm,” Journal of the Optical Society of America A 26(4), 804–814 (2009). 10.1364/JOSAA.26.000804 [DOI] [PubMed] [Google Scholar]
  • 38.Digman M. A., Caiolfa V. R., Zamai M., Gratton E., “The phasor approach to fluorescence lifetime imaging analysis,” Biophys. J. 94(2), L14–L16 (2008). 10.1529/biophysj.107.120154 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Ranjit S., Malacrida L., Jameson D. M., Gratton E., “Fit-free analysis of fluorescence lifetime imaging data using the phasor approach,” Nat. Protoc. 13(9), 1979–2004 (2018). 10.1038/s41596-018-0026-5 [DOI] [PubMed] [Google Scholar]
  • 40.Collier B. B., McShane M. J., “Dynamic windowing algorithm for the fast and accurate determination of luminescence lifetimes,” Anal. Chem. 84(11), 4725–4731 (2012). 10.1021/ac300023q [DOI] [PubMed] [Google Scholar]
  • 41.Chan S. P., Fuller Z. J., Demas J. N., DeGraff B. A., “Optimized gating scheme for rapid lifetime determinations of single-exponential luminescence lifetimes,” Anal. Chem. 73(18), 4486–4490 (2001). 10.1021/ac0102361 [DOI] [PubMed] [Google Scholar]
  • 42.Li Y., Natakorn S., Chen Y., Safar M., Cunningham M., Tian J., Li D. D.-U., “Investigations on average fluorescence lifetimes for visualizing multi-exponential decays,” Frontiers in Physics 8, 576862 (2020). 10.3389/fphy.2020.576862 [DOI] [Google Scholar]
  • 43.Laurence T. A., Chromy B. A., “Efficient maximum likelihood estimator fitting of histograms,” Nat. Methods 7(5), 338–339 (2010). 10.1038/nmeth0510-338 [DOI] [PubMed] [Google Scholar]
  • 44.Rowley M. I., Coolen A. C. C., Vojnovic B., Barber P. R., “Robust Bayesian fluorescence lifetime estimation, decay model selection and instrument response determination for low-intensity FLIM imaging,” PLoS One 11(6), e0158404 (2016). 10.1371/journal.pone.0158404 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Smith J. T., Yao R., Sinsuebphon N., Rudkouskaya A., Un N., Mazurkiewicz J., Barroso M., Yan P., Intes X., “Fast fit-free analysis of fluorescence lifetime imaging via deep learning,” Proc. Natl. Acad. Sci. 116(48), 24019–24030 (2019). 10.1073/pnas.1912707116 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Li D. D.-U., Yu H., Chen Y., “Fast bi-exponential fluorescence lifetime imaging analysis methods,” Opt. Lett. 40(3), 336–339 (2015). 10.1364/OL.40.000336 [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Data underlying the results presented in this paper are not publicly available and can be made available by the authors without undue reservation.


Articles from Biomedical Optics Express are provided here courtesy of Optica Publishing Group

RESOURCES