## 1.

## Introduction

Fluorescence lifetime imaging and fluorescence lifetime imaging microscopy (FLIM) are molecular imaging techniques that are useful for preclinical and clinical studies in living cells, small animals, and human tissues, with fluorophore excited-state lifetime providing image contrast.^{1}

However, low fluorescence signals from biological samples can be a challenge, causing poor lifetime precision, and this will affect, to a great extent, the quantitative applications of FLIM, such as the detection of Förster resonance energy transfer for molecular interactions and the sensing of fluorophore microenvironments.^{2, 3, 4, 5} When endogenous fluorophores are imaged, low fluorescence signals may result from low intrinsic fluorophore concentrations and/or unfavorable optical properties of fluorophores (e.g., fluorescence excitation and emission wavelengths, quantum yield, photobleaching rate). When exogenous fluorophores are imaged, low signals can result from the low fluorophore concentrations that are required to minimize effects on sample physiology and/or from the low transfer efficiency of fluorophores/fluorophore precursors (genes or different forms of fluorophores) from extracellular media into live cells. To increase measured fluorescence signals from biological samples, high-intensity excitation sources, such as lasers, can be used in FLIM, but this may cause unexpected cell responses and sample damage,^{6, 7} and may also increase photobleaching rates. Another way to increase fluorescence signals is to use lower excitation intensity coupled with longer image acquisition times, but sample movement will be a major concern of this approach in live-cell imaging.^{8} Considering the above challenges, a combination of low fluorescence signals, low excitation light intensity, and fast image acquisition can make FLIM data very imprecise in biological applications.

In this study, we focused on lifetime precision improvements in time-gated FLIM, where fluorescence intensities at different delay times along a decay curve were integrated by a detector, as in Fig. 1
. To improve the precision of lifetime determination in FLIM, error analysis with Monte Carlo (MC) simulations may be used to determine optimal gating schemes.^{8, 9, 10, 11, 12} Optimal gating schemes of rapid lifetime determination (RLD) for single-exponential decays (a two-gate protocol) with respect to relative standard deviation [(RSD), also commonly known as coefficient of variation] of lifetime have been reported,^{10, 12} and an error analysis of RLD for double-exponential decays has also been addressed.^{11}
Recently, optimization of fluorescence lifetime sensing in frequency domain was studied.^{13} In our laboratory, we constructed optimal gating schemes for double-exponential decays with several different lifetime determination methods.^{14} In this report, because of the robustness^{15} of the single-exponential four-gate protocol (Sec.
3.2), we used this protocol and determined its optimal gating schemes with both MC simulations and analytical solutions (Sec.
4.1) for the first time, and then used the optimal schemes to improve the precision of time-gated FLIM (Sec.
4.2) under low-light and fast imaging (up to
$20\phantom{\rule{0.3em}{0ex}}\mathrm{Hz}$
). The approach presented here helps avoid sample damage, photobleaching, and unwanted sample movement detection in fluorescence lifetime imaging applications.

In addition, we combined optimal gating with image “denoising” (Sec.
3.5), which also has the potential to improve FLIM precision. The term “to denoise” means “to remove noise,” especially the noise introduced by imaging systems. The image-processing algorithms commonly used to denoise images can be either local or global. Local denoising algorithms [such as Gaussian smoothing, Tikonov denoising, and total variation (TV) model denoising] are sometimes preferred because they only need neighboring pixels to implement smoothing of a certain region in an image and work well in most cases.^{16} Global denoising (such as Fourier–Wiener filtering), on the other hand, might be best used for images with repeated patterns, in which fine structures may be preserved because the information of the whole image is adopted to determine the value of a certain pixel in the processed image. A summarized classification of currently used image denoising algorithms, as well as some comparisons among them, has been reported.^{16}

In this study, we demonstrate, for the first time, how optimal gating (a method applied to the temporal dimension of a FLIM image) and TV denoising (a method applied to the spatial dimension of a FLIM image) can be used in combination to improve the precision of lifetime determination in time-gated FLIM. Because the two methods apply to different dimensions, we assume that they can work either independently or in combination. We demonstrate that lifetime precision can be improved in a regime pertinent to live-cell FLIM studies. In addition, both Poisson- and non-Poisson-distributed noise were taken into consideration (Sec. 2) because although Poisson-distributed noise is a common form of noise for photon-counting devices, other forms of noise may appear due to nonunity gain and nonideal behaviors of real imaging systems, as well as image-processing procedures, such as lifetime determination. The models reported here can remove Poisson-distributed noise and other forms of noise with high flexibility and speed.

## 2.

## Theoretical Background

TV models are constructed with the definition of their “energy,” or $E$ , through minimization of which the processed image $\left(u\right)$ evolves to a stable state that should be close to the original image without noise corruption. The basic form of the energy [Eq. 1] includes a regularization term, which utilizes total variation (defined as the integral of the absolute value of the gradient of the image, assuming the image is a continuous function) to denoise the input image $\left(f\right)$ , and a fidelity term, which implements fitting of the processed image to the input image and decides how large the “distance” can be between these two images. A favorable property of TV models is that they perform selective smoothing and hence are edge-preserving,

## Eq. 1

$$\text{Energy}\phantom{\rule{0.3em}{0ex}}\left(E\right)=\text{Total}\phantom{\rule{0.3em}{0ex}}\text{variation}\phantom{\rule{0.3em}{0ex}}\text{of}\phantom{\rule{0.3em}{0ex}}u+\text{Fidelity}\phantom{\rule{0.3em}{0ex}}\text{of}\phantom{\rule{0.3em}{0ex}}u\phantom{\rule{0.3em}{0ex}}\text{to}\phantom{\rule{0.3em}{0ex}}f.$$The Rudin–Osher–Fatemi model^{17} is a commonly used TV model, but it assumes that the noise level, or magnitude, is constant. To deal with varying magnitude of noise, which usually occurs in real imaging systems, Le
^{18} developed a TV model that was suitable for Poisson noise. They demonstrated that Poisson noise in artificial images could be removed with their model, while low-contrast features were preserved in regions of low intensity. Other TV or non-TV denoising methods have also been developed either to handle Poisson noise or to have varying regularization parameters that can potentially be used to remove Poisson noise.^{19, 20, 21, 22}

However, although Poisson-distributed noise is a common form of noise for photon-counting devices, other forms of noise may appear due to nonunity gain and sometimes nonideal behaviors of real imaging systems. In addition, to directly denoise FLIM lifetime maps, the deformed noise distribution after lifetime determination and the dependence of this distribution on intensity and lifetime need to be considered as well. This produces an entirely different form of noise. The novel TV models we used in this study^{14} not only can deal with Poisson noise, but also can be easily and flexibly adapted to take into consideration any forms of intensity-dependent, lifetime-dependent, or even spatially dependent noise introduced by imaging systems and image-processing procedures.

The novel TV models we developed for this study have the general form, denoted as variance-weighted TV (VWTV),

## Eq. 2

$$E={\int}_{\Omega}|\nabla u|dxdy+\lambda {\int}_{\Omega}\frac{{(f-u)}^{2}}{\mathrm{Var}\left(f\right)}dxdy,$$^{18}which requires the fidelity term evaluated with $f$ and the final $u$ to be the same as that evaluated with $f$ and the estimated uncorrupted image.

^{14}For the specific application of denoising intensity images, we further developed a novel, modified $f$ -weighted TV (FWTV) model

^{14}based on an $f$ -weighted fidelity term,where $G$ represents the ratio of the signal variance to the mean intensity counts. $G$ can be either a constant (for imaging systems with constant gain values) or a function of local mean intensity, in which case $G=G\left(f\right)$ , which can be evaluated for real imaging systems.

^{14}

To implement VWTV and FWTV denoising, the gradient descent method was used to obtain the time derivative of $u$ . The processed image $u$ , with initial guess as $f$ , then evolved through iterations (time steps) to minimize energy.

## 3.

## Methods

## 3.1.

### Time-Gated FLIM

To implement time-gated FLIM, we employed a novel time-domain, wide-field FLIM system for picosecond time-resolved imaging for biological applications [Fig. 1].^{5, 23} A dye laser (GL-301, Photon Technology International, Lawrenceville, New Jersey) pumped by a nitrogen laser (GL-3300, Photon Technology International, Lawrenceville, New Jersey) for UV–visible–near-infrared (NIR) excitation provided a wide-field, less expensive, and potentially portable alternative to multiphoton excitation for subnanosecond FLIM of biological specimens.^{23} A sample was illuminated by an excitation pulse, and the fluorescence emission was recorded by an intensified charge-coupled device (ICCD) camera (Picostar HR, LaVision, Germany) at a gate delay controlled by the intensifier, with emission intensities integrated during a gate width. The ICCD had variable intensifier gain and gate width settings varying from
$200\phantom{\rule{0.3em}{0ex}}\mathrm{ps}\phantom{\rule{0.3em}{0ex}}\text{to}\phantom{\rule{0.3em}{0ex}}10\phantom{\rule{0.3em}{0ex}}\mathrm{ms}$
and could be used to implement high-speed imaging in other applications as well.^{24} In addition, this system had a large temporal dynamic range (
$750\phantom{\rule{0.3em}{0ex}}\mathrm{ps}$
to ∞),
$50\phantom{\rule{0.3em}{0ex}}\mathrm{ps}$
lifetime discrimination, and spatial resolution of
$1.4\phantom{\rule{0.3em}{0ex}}\mu \mathrm{m}$
, which made it very suitable for studying a variety of endogenous and exogenous fluorophores in biological samples.^{2, 4, 25, 26, 27, 28} Fluorescence lifetime maps were determined by first acquiring fluorescence intensity images at four delays and then calculating the lifetime values from the intensity images on a pixel-by-pixel basis (described in Sec.
3.2).

The gating parameters [the gate width,
$g$
, and the time interval between the starting points of two consecutive gates,
$dt$
, see Fig. 1] can be optimized by using MC simulations^{10, 11, 12} or applying error propagation (described in Sec.
3.4).

## 3.2.

### Four-Gate Lifetime Mapping

To create fluorescence lifetime maps rapidly, a four-gate protocol with a linearized least-squares lifetime determination method was used on a pixel-by-pixel basis. This method is more precise than the two-gate protocol while still easy to implement,^{11, 29, 30}

## Eq. 4

$${\tau}_{\mathrm{p}}=-\frac{N(\sum {t}_{i}^{2})-{(\sum {t}_{i})}^{2}}{N\sum {t}_{i}\phantom{\rule{0.2em}{0ex}}\mathrm{ln}\phantom{\rule{0.2em}{0ex}}{I}_{i,\mathrm{p}}-(\sum {t}_{i})(\sum \phantom{\rule{0.2em}{0ex}}\mathrm{ln}\phantom{\rule{0.2em}{0ex}}{I}_{i,\mathrm{p}})},$$Additional steps in data processing are needed for more accurate lifetime map production. Before lifetime calculation, the step “background subtraction” takes average of the intensities of pixels within a specified background region and subtracts that average value from all pixels. After background subtraction, the step “reject” sets intensities to zero for all pixels with intensities below a certain value (assigned as the parameter “reject”). After lifetime calculation, the step “ $\tau $ range” sets lifetimes to zero for all pixels with lifetimes above a certain value (assigned as the parameter “taurange”) to remove lifetime values in physically meaningless regions. In this study, “reject” was set to 10 and “taurange” was set to 15.

## 3.3.

### Sample Preparation and Imaging

Fluorescent beads with diameters of $10\phantom{\rule{0.3em}{0ex}}\mu \mathrm{m}$ (Cat. no. 18140, Polysciences, Warrington, Pennsylvania) were suspended in distilled water to produce a solution with a final concentration of $1.5\times {10}^{6}\phantom{\rule{0.3em}{0ex}}\text{beads}\u2215\mathrm{mL}$ . Before imaging, $200\phantom{\rule{0.3em}{0ex}}\mu \mathrm{L}$ of the solution was placed on a $\delta $ T dish (Bioptechs, Butler, Pennsylvania), and the imaging process with the time-gated FLIM system was begun after the beads had settled to the bottom of the dish. All beads had excitation/emission maxima of $441\u2215486\phantom{\rule{0.3em}{0ex}}\mathrm{nm}$ , as specified by the manufacturer. A 40× microscope objective was used. The voltage across the microchannel plate of the intensifier was set at $800\phantom{\rule{0.3em}{0ex}}\mathrm{V}$ . The beads were excited at ${\lambda}_{\mathrm{ex}}=436\pm 10\phantom{\rule{0.3em}{0ex}}\mathrm{nm}$ using the laser dye coumarin 440 and the fluorescence was collected at ${\lambda}_{\mathrm{em}}=480\pm 20\phantom{\rule{0.3em}{0ex}}\mathrm{nm}$ .

## 3.4.

### Optimal Gating

In this study, single-exponential gating optimization was utilized. The optimal gating of the four-gate protocol [Eq. 4] was first determined by MC simulations, in which the relative standard deviation (RSD) (defined as the standard deviation divided by the mean value) of the determined lifetime values was minimized by changing the gate width $\left(g\right)$ and the time interval between the starting points of two consecutive gates $\left(dt\right)$ , assuming that only Poisson noise was present (Fig. 2 ). In addition, $g$ and $dt$ did not vary with different gates, meaning that once $g$ and $dt$ are chosen for a simulation, the $g$ values for all the four gates are the same and the $dt$ values between the first and second, second and third, and third and fourth gates are the same as well. For a different simulation, new $g$ and $dt$ values will be chosen. Because these distributions were constructed by MC simulations with the repetitive addition of noise, RSD provided a quantitative measurement of the precision of the determination of a certain parameter, such as lifetime. Because this study considered only a single-exponential decay, the intensity profile could be written as $I\left(t\right)=\alpha \phantom{\rule{0.2em}{0ex}}\mathrm{exp}(-t\u2215\tau )$ , and the RSD of either $\alpha $ (the pre-exponential term) or $\tau $ (the lifetime) could be minimized. In this study, we optimized the gating scheme for the best precision of $\tau $ determination.

Alternatively, the RSD of the lifetime determined by the four-gate protocol could be analytically determined by applying error propagation to Eq. 4, with the assumption that the variance of the fluorescence intensity was the same as the intensity magnitude, which is a characteristic of Poisson noise. Again, the optimal gating parameters were determined when the minimal RSD was achieved.

As mentioned above, other forms of noise in addition to Poisson noise may appear in real imaging systems. This will be considered in our future studies and should further improve FLIM precision with optimal gating.

## 3.5.

### Total Variation Denoising

Two approaches were used with TV denoising to improve the precision of lifetime determination in FLIM. In “lifetime denoising” [Fig. 3 ], a lifetime map was first constructed by four-gate lifetime mapping. Because the variance of lifetime was not proportional to the lifetime values, VWTV [Eq. 2] was used. The variance estimation, as a function of $\tau $ , $g$ , $dt$ , and total photon counts [(TC), the photon counts integrated under the entire decay curve, see Fig. 1], was performed by analytically solving the error propagation of Eq. 4, which led to the following equation:

## Eq. 5

$$\mathrm{Var}\left(\tau \right)=\frac{{\tau}^{2}}{400\mathit{TC}{(dt\u2215\tau )}^{2}\{1-\mathrm{exp}[-(g\u2215\tau )]\}}\{36+\frac{4}{\mathrm{exp}[-(dt\u2215\tau )]}+\frac{4}{\mathrm{exp}[-2(dt\u2215\tau )]}+\frac{36}{\mathrm{exp}[-3(dt\u2215\tau )]}\}.$$^{14}

## 4.

## Results and Discussion

## 4.1.

### Determining Optimal Gating

The RSD values as a function of lifetime-scaled $dt$ and $g$ were consistent (Fig. 4 ) whether obtained from the MC simulation (Fig. 2) or the analytical solution [derived from Eq. 4], especially for high total photon counts (or $\mathrm{TC}=\mathrm{10,000}$ ). The analytical solution suggests that the RSD of lifetime is inversely proportional to ${\left(\mathrm{TC}\right)}^{1\u22152}$ , which can be observed in Figs. 4 and 4: The contours had exactly the same shapes with tenfold differences in their values. When TC was large enough $(\mathrm{TC}=\mathrm{10,000})$ , the MC simulation and analytical results were consistent. When TC was small $(\mathrm{TC}=100)$ , higher RSD values were predicted by MC simulation in the outer nonoptimal regions.

Indeed, we do not expect the results from both methods to be exactly the same. The accuracy of the analytical solution may suffer from the linearization approximation in error propagation derivation, therefore underestimating the RSD when the errors were highly nonlinear at low photon counts [Fig. 4 versus Fig. 4]. On the other hand, the MC simulation should be more accurate at low photon counts, but the accuracy may suffer from the limited number of simulations and the usually more discretized parameter values used as inputs for the simulations.

In spite of the differences in the results of the two methods, both results from the MC simulations and the analytical solutions suggested the same optimal gating scheme, which was independent of TC: The optimal $dt$ was $\sim 0.75$ of the lifetime value and the optimal $g$ should be greater than at least threefold of the lifetime value (only negligible improvement exists once $g\u2a7e4\tau $ ). In this case, the gates actually overlap. Although the determination of the optimal gating scheme requires the lifetime value of the sample, an approximate lifetime value is usually available from previous knowledge of the sample, or a test experiment with arbitrary gating.

Therefore, for the fluorescent bead sample mentioned above (Sec. 3.3) with lifetime value of $\sim 3.3\phantom{\rule{0.3em}{0ex}}\mathrm{ns}$ (determined with the time-gated FLIM system), the optimal gating should be around $dt=2.5\phantom{\rule{0.3em}{0ex}}\mathrm{ns}$ and $g\u2a7e10\phantom{\rule{0.3em}{0ex}}\mathrm{ns}$ . This prediction was validated experimentally, as shown in Fig. 5 .

What can also be observed in Fig. 4 is that apparently RSD had a greater dependence on $dt$ than on $g$ . Therefore, in our experimental validation of the optimal gating (Fig. 5), we only changed $dt$ (the open circles in Fig. 4) around its optimal value, $2.5\phantom{\rule{0.3em}{0ex}}\mathrm{ns}$ , while having $g$ fixed at $10\phantom{\rule{0.3em}{0ex}}\mathrm{ns}$ (the dashed lines in Fig. 4).

Figure 5 shows that the RSD curve from analytical solution $(\mathrm{TC}=100)$ overlapped with that from MC simulation $(\mathrm{TC}=\mathrm{10,000})$ multiplied by 10. This means that when TC was high, the curves from two approaches were consistent. As mentioned previously, the MC simulation at low TC predicted higher RSD when the gating was not optimal. All these three curves had the minimal RSD at $dt=2.5$ ns, which was confirmed by the RSD curve from the experimental data.

The above approach assumed single-exponential decay. If the number of components in the sample is unknown, then the suggested procedure will be to use the optimal gating of single-exponential decay first, aiming at the averaged lifetime value, to acquire the least noisy overall decay behavior. This curve can then be fitted with single- and double-exponential decay to determine which one fits the curve better. For a decay curve with more than two components, however, more than four gates will be needed (see below).

As for the optimal gating with more than one decay component, first, we can further apply the optimal gating schemes of double-exponential decays, which have been constructed in our laboratory, for lifetime precision improvement, either independently or in combination with image denoising.^{14} More than two components can also be considered in the future, using the same procedure shown in Fig. 2. However, in this case, at least
$2\times \left(\text{the}\phantom{\rule{0.3em}{0ex}}\text{number}\phantom{\rule{0.3em}{0ex}}\text{of}\phantom{\rule{0.3em}{0ex}}\text{decay}\phantom{\rule{0.3em}{0ex}}\text{components}\right)$
gates are needed to fit the intensity profile and solve all the parameters (there are one lifetime and one pre-exponential term for each component), and the computational work for the optimal gating determination will become much more complicated.

## 4.2.

### Improving Precision of Lifetime Determination in Time-Gated FLIM

## 4.2.1.

#### Reduction in relative standard deviation

Optimal gating, lifetime denoising, and intensity denoising all improve FLIM precision. This is demonstrated in Fig. 6 , where the noise distribution within the FLIM maps of fluorescent beads is illustrated. We note that this is a fairly low-light case with total photon counts only around 100. The holes inside the fluorescent beads [Fig. 6] came from one of the lifetime calculation steps, in which the $\tau $ values above a certain threshold were set to zero. Because this threshold was set to $\tau =15\phantom{\rule{0.3em}{0ex}}\mathrm{ns}$ , random fluctuations in low-light imaging caused some pixels to have lifetime values more than four times larger than the expected values if the gating scheme was not optimal. After intensity denoising [Fig. 6], the image became smoother and the RSD value dropped to 46%, but the extremely high $\tau $ values above the threshold still could not be removed. This was similar to the lifetime-denoised map [ $\mathrm{RSD}=49\mathrm{\%}$ , Fig. 6]. Optimal gating [Fig. 6] removed these artifacts and further decreased the RSD value to 20.1%, as well as reducing the diameter of the beads so that it became closer to the actual bead size of $10\phantom{\rule{0.3em}{0ex}}\mu \mathrm{m}$ . This effect on the spatial pattern was actually due to the fact that more pixels were properly “rejected” in data processing (Sec. 3.2) after denoising. Further improvement was then achieved by denoising the optimally gated image with either the denoising approach [ $\mathrm{RSD}=14.7\mathrm{\%}$ and 13.7%, Figs. 6 and 6, for lifetime denoising and intensity denoising, respectively]. A comparison of Fig. 6 to Fig. 6 [or to Fig. 6] shows that most of the remaining lifetime random variations within the beads in the optimally gated image could be removed by denoising. Here, the combination of optimal gating and TV denoising resulted in about a fourfold improvement in precision. In addition, the results in Fig. 6 suggested that the improvement from the intensity denoising ( $\sim 6\mathrm{\%}$ , in this case) could be independent of that from optimal gating ( $\sim 32\mathrm{\%}$ , in this case). Although 6% may seem small relative to an RSD of 51.5% (nonoptimal gating), it is quite large relative to an RSD of 20.1% (optimal gating), because it is a one-third reduction in RSD. Therefore, image denoising is particularly important when optimal gating is also applied.

The nonoptimally and optimally gated intensity images, their gating schemes, and their corresponding FWTV-denoised images are shown in Fig. 7 . We can clearly see that, because the optimal gating had a larger $dt$ value [Fig. 7 versus 7], the intensity decay trace could be more easily observed in Fig. 7 compared to Fig. 7. This was also true for Fig. 7 compared to Fig. 7. On the other hand, after denoising, the removal of noise [Fig. 7 versus Fig. 7 and Fig. 7 versus Fig. 7] was obvious while the geometry of the beads was not affected.

In this section, we conclude that optimal gating and image TV denoising can be employed either independently or in combination to improve precision in low-light time-gated FLIM. When these two methods are combined, their overall fourfold (from 51.5 to 13.7%) improvements in precision can be easily observed in our low-light example (Fig. 6).

## 4.2.2.

#### Lifetime denoising versus intensity denoising

We note that when comparing lifetime denoising and intensity denoising in terms of RSD, intensity denoising had a greater influence on the precision of lifetime determination than lifetime denoising. However, it is obvious that they actually produced somewhat different denoised lifetime maps [Fig. 6 versus 6, and Fig. 6 versus 6]. Their individual strengths and weaknesses arise from their different denoising mechanisms. Lifetime denoising appeared to be worse for removing the irregularities in the geometry of objects arising from noise [such as the noisy edges in Figs. 6 and 6]. This was probably because TV denoising is edge preserving, and therefore, the irregular edges could not be easily removed once they were already introduced into the lifetime map by noise. On the other hand, lifetime denoising appeared to be better for smoothing off-edge, internal pixels for pattern revealing because it worked directly on the lifetime map and therefore could remove the overall uncertainties from the intensity images at once (as long as they were not on the edges). These uncertainties may have a better chance to remain unremoved after individual and independent intensity image denoising.

## 4.3.

### Broader Applications

Our techniques can be further applied to time-correlated single-photon counting (TCSPC) FLIM, which is a commonly used method for live-cell lifetime imaging. Optimal gating could be applied to TCSPC FLIM by virtual gating, in which the values of data points within each virtual gate were summed up to form an intensity image. The four-gate protocol can again be used for virtually gated TCSPC FLIM. Similarly, denoising approaches, including both intensity denoising and lifetime denoising, can also be applied to TCSPC FLIM. It has been demonstrated that a greater than fivefold improvement in lifetime precision can be achieved in TCSPC FLIM images when optimal virtual gating and TV denoising are applied in combination.^{31}

As for the image denoising methods alone, it will be interesting and useful to employ, optimize, and compare other image denoising techniques specifically for the applications of FLIM, either independently or in combination with optimal (virtual) gating.

Finally, because optimal denoising improves other advanced image processing techniques such as image deconvolution,^{32} segmentation, and object tracking, the combination of denoising and these techniques can also be studied specifically for FLIM use.

## 5.

## Conclusions

We report promising techniques that can remove uncertainties and improve precision in time-domain FLIM maps. With time-gated FLIM, notable fourfold improvements in lifetime precision (RSD from 51.5 to 13.7%) can be easily observed in our low-light (total photon $\text{counts}=100$ ) example.

Theoretically, optimal signal gating is generally applicable because the relative RSD reduction is independent of feature geometry and total photon counts and, therefore, it should work for all kinds of samples (different lifetime values will have different optimal schemes, though, according to the results in Sec.
4.1). Furthermore, our novel TV denoising models have been tested on artificial images with different geometries and lifetime values,^{14} and the results indicated that our TV models could always improve local lifetime determination while still preserving lifetime fidelity. The algorithms reported here have been encoded in Matlab for ease of implementation.

In conclusion, the approach presented here helps improve FLIM data while increasing imaging speed and minimizing sample light exposure to avoid biological sample damage, photobleaching, and unwanted sample movement detection in FLIM applications.

## Acknowledgments

This work was supported in part by a research grant from National Institutes of Health (No. NIH CA-114542).

## References

**,” Methods Cell Biol., 81 495 –524 (2007). https://doi.org/10.1016/S0091-679X(06)81024-1 0091-679X Google Scholar**

*Fluorescence lifetime imaging microscopy***,” J. Biomed. Opt., 14 (6), 060502 (2009). https://doi.org/10.1117/1.3257254 1083-3668 Google Scholar**

*Physiological fluorescence lifetime imaging microscopy improves Förster resonance energy transfer detection in living cells***,” Microsc. Res. Tech., 70 (5), 410 –419 (2007). https://doi.org/10.1002/jemt.20427 1059-910X Google Scholar**

*Towards metabolic mapping of the human retina***,” J. Biomed. Opt., 14 (2), 020506 (2009). https://doi.org/10.1117/1.3116714 1083-3668 Google Scholar**

*Calibration and validation of an optical sensor for intracellular oxygen measurements***,” Opt. Express, 15 (26), 18220 –18235 (2007). https://doi.org/10.1364/OE.15.018220 1094-4087 Google Scholar**

*Picosecond-resolution fluorescence lifetime imaging microscopy: a useful tool for sensing molecular interactions in vivo via FRET***,” Opt. Lett., 24 (2), 113 –115 (1999). https://doi.org/10.1364/OL.24.000113 0146-9592 Google Scholar**

*Pulse-length dependence of cellular response to intense near-infrared laser pulses in multiphoton microscopes***,” Appl. Phys. Lett., 84 (15), 2940 –2942 (2004). https://doi.org/10.1063/1.1705728 0003-6951 Google Scholar**

*Investigation of laser-induced cell lysis using time-resolved imaging***,” New J. Phys., 6 180 (2004). https://doi.org/10.1088/1367-2630/6/1/180 1367-2630 Google Scholar**

*Real-time time-domain fluorescence lifetime imaging including single-shot acquisition with a segmented optical image intensifier***,” Proc. SPIE, 7370 7370091 (2009). 0277-786X Google Scholar**

*Improving precision in time-gated FLIM for low-light live-cell imaging***,” Anal. Chem., 61 (1), 30 –33 (1989). https://doi.org/10.1021/ac00176a007 0003-2700 Google Scholar**

*An error analysis of the rapid lifetime determination method for the evaluation of single exponential decays***,” Anal. Chem., 71 (5), 947 –952 (1999). https://doi.org/10.1021/ac981050d 0003-2700 Google Scholar**

*Error analysis of the rapid lifetime determination method for double-exponential decays and new windowing schemes***,” Appl. Spectrosc., 47 (1), 111 –115 (1993). https://doi.org/10.1366/0003702934048622 0003-7028 Google Scholar**

*Optimized gated detection for lifetime measurement over a wide-range of single exponential decays***,” J. Opt. Soc. Am. A, 24 (10), 3261 –3273 (2007). https://doi.org/10.1364/JOSAA.24.003261 0740-3232 Google Scholar**

*Optimizing frequency-domain fluorescence lifetime sensing for high-throughput applications: photon economy and acquisition speed***,” University of Michigan, (2009). http://deepblue.lib.umich.edu/bitstream/2027.42/63765/1/chingwei_1.pdf Google Scholar**

*Improving accuracy and precision in biological applications of fluorescence lifetime imaging microscopy***,” J. Microsc., 206 218 –224 (2002). https://doi.org/10.1046/j.1365-2818.2002.01031.x 0022-2720 Google Scholar**

*Fluorescence lifetime imaging in scanning microscopes: acquisition speed, photon economy and lifetime resolution***,” Multiscale Model. Simul., 4 (2), 490 –530 (2005). https://doi.org/10.1137/040616024 1540-3459 Google Scholar**

*A review of image denoising algorithms, with a new one***,” Physica D, 60 (1–4), 259 –268 (1992). https://doi.org/10.1016/0167-2789(92)90242-F 0167-2789 Google Scholar**

*Nonlinear total variation based noise removal algorithms***,” J. Math. Imaging Vision, 27 (3), 257 –263 (2007). https://doi.org/10.1007/s10851-007-0652-y 0924-9907 Google Scholar**

*A variational approach to reconstructing images corrupted by Poisson noise***,” Int. Statist. Rev., 72 (2), 209 –237 (2004). https://doi.org/10.1111/j.1751-5823.2004.tb00234.x 0306-7734 Google Scholar**

*A comparative simulation study of wavelet shrinkage estimators for Poisson counts***,” IEEE Trans. Image Process., 3 (3), 319 –324 (1994). https://doi.org/10.1109/83.287028 1057-7149 Google Scholar**

*Optimal space-varying regularization in iterative image-restoration***,” IEEE Trans. Pattern Anal. Mach. Intell., 26 (6), 804 –809 (2004). https://doi.org/10.1109/TPAMI.2004.15 0162-8828 Google Scholar**

*Self-adaptive regularization***,” J. Electron. Imaging, 7 (1), 211 –221 (1998). https://doi.org/10.1117/1.482639 1017-9909 Google Scholar**

*Adaptive regularization in image restoration by unsupervised learning***,” Appl. Phys. B, 76 (5), 483 –496 (2003). 0946-2171 Google Scholar**

*A UV-visible-NIR fluorescence lifetime imaging microscope for laser-based biological sensing with picosecond resolution***,” IEEE Trans. Ultrason. Ferroelectr. Freq. Control, 54 (10), 2091 –2101 (2007). https://doi.org/10.1109/TUFFC.2007.504 0885-3010 Google Scholar**

*High speed imaging of bubble clouds generated in pulsed ultrasound cavitational therapy-histotripsy***,” J. Biomed. Opt., 11 (5), 050504 (2006). https://doi.org/10.1117/1.2355665 1083-3668 Google Scholar**

*Optical imaging in microfluidic bioreactors enables oxygen monitoring for continuous cell culture***,” Opt. Express, 14 (10), 4412 –4426 (2006). https://doi.org/10.1364/OE.14.004412 1094-4087 Google Scholar**

*Time-resolved optical imaging provides a molecular snapshot of altered metabolic function in living human cancer cell models***,” Handbook of Biomedical Fluorescence, Marcel Dekker, New York (2003). Google Scholar**

*Fluorescence lifetime imaging microscopy of endogenous biological fluorescence***,” J. Phys. D, 36 (14), 1689 –1695 (2003). https://doi.org/10.1088/0022-3727/36/14/306 0022-3727 Google Scholar**

*Imaging fluorescence lifetime modulation of a ruthenium-based dye in living cells: the potential for oxygen sensing***,” Lasers Life Sci., 3 (1), 47 –53 (1989). 0886-0467 Google Scholar**

*Investigation of cell by fluorescence laser scanning microscopy with subnanosecond time resolution***,” Appl. Spectrosc., 45 (3), 360 –366 (1991). https://doi.org/10.1366/0003702914337182 0003-7028 Google Scholar**

*A two-dimensional fluorescence lifetime imaging system using a gated image intensifier***,” Opt. Express, 18 (8), 8688 –8696 (2010). https://doi.org/10.1364/OE.18.008688 1094-4087 Google Scholar**

*Precise fluorophore lifetime mapping in live-cell, multi-photon excitation microscopy***,” Opt. Express, 16 (23), 19192 –19200 (2008). https://doi.org/10.1364/OE.16.019192 1094-4087 Google Scholar**

*Image restoration for fluorescence lifetime imaging microscopy (FLIM)*