Open Access
17 November 2023 Multiplane HiLo microscopy with speckle illumination and non-local means denoising
Shuqi Zheng, Minoru Koyama, Jerome Mertz
Author Affiliations +
Abstract

Significance

HiLo microscopy synthesizes an optically sectioned image from two images, one obtained with uniform and another with patterned illumination, such as laser speckle. Speckle-based HiLo has the advantage of being robust to aberrations but is susceptible to residual speckle noise that is difficult to control. We present a computational method to reduce this residual noise without undermining resolution. In addition, we improve the versatility of HiLo microscopy by enabling simultaneous multiplane imaging (here nine planes).

Aim

Our goal is to perform fast, high-contrast, multiplane imaging with a conventional camera-based fluorescence microscope.

Approach

Multiplane HiLo imaging is achieved with the use of a single camera and z-splitter prism. Speckle noise reduction is based on the application of a non-local means (NLM) denoising method to perform ensemble averaging of speckle grains.

Results

We demonstrate the capabilities of multiplane HiLo with NLM denoising both with synthesized data and by imaging cardiac and brain activity in zebrafish larvae at 40 Hz frame rates.

Conclusions

Multiplane HiLo microscopy aided by NLM denoising provides a simple tool for fast optically sectioned volumetric imaging that can be of general utility for fluorescence imaging applications.

1.

Introduction

Camera-based widefield microscopy enables fluorescence imaging with larger field of view, higher speed, and higher sensitivity than standard scanning-based methods. However, in its most simple configuration, camera-based widefield microscopy fails to provide optical sectioning, which undermines imaging contrast particularly for thick samples.

Widefield optical sectioning techniques have been developed by engineering either the illumination1 or detection2,3 of a microscope or both.4,5 A commonly adopted technique is structured illumination microscopy (SIM),6 where a sequence of grid patterns (at least three) is projected into the sample and the emitted fluorescence is imaged by a camera. The modulations of the grid pattern are resolvable only when they are in focus, meaning that optical sectioning can be obtained by simple demodulation.6,7

HiLo microscopy810 is a variant of SIM. Instead of ensuring full illumination coverage from a sequence of structured illumination patterns, HiLo directly makes use of a uniform-illumination image, to which it adds sectioning information obtained from a single additional structured illumination (with either a grid10 or speckle pattern8,9), enabling optical sectioning with only two shots. Speckle has an advantage of providing intrinsically high contrast, with intensity standard deviations as large as the average intensity itself. Moreover, HiLo with speckle illumination is simpler to implement and much more resistant to aberrations than grid illumination. However, speckle is highly noisy, with substantial noise residing not only in the intensity but also in the variance of the intensity, from which the sectioning information is extracted. This higher-order noise is difficult to control, and in our original HiLo algorithm it produced considerable residual noise artifacts in our final processed images. The simplest way to mitigate this residual noise is with spatial filtering; however, this comes at the expense of reduced optical sectioning capacity.11 Alternatively, one could consider using speckle with customized intensity statistics.12 Here, to mitigate the tradeoff between image fidelity and sectioning strength, we propose a computational method based on a non-local means (NLM) denoising algorithm13 to reduce the speckle noise in our final HiLo reconstruction.

Denoising by NLM is different from local smoothing. Instead, it takes advantage of image redundancy and seeks out similar small windows, or patches, (not necessarily local) with different noise realizations, which can be matched and processed together through averaging. In practice, patch similarities are determined and then mapped into weights to effectively perform a weighted average of noisy pixels, providing a more robust estimate of a denoised image. NLM denoising has been applied to speckle reduction in coherent imaging systems,1417 where patches of the same underlying object but modulated by different speckle realizations are ensemble averaged. Somewhat more involved, transforms can be applied to the multiplicative speckle noise to adapt it to additive Gaussian-noise-based NLM for when determining patch similarity.18 Here, rather than seeking out non-local patch similarities within our speckle-illumination image, we seek them out within our uniform illumination image, rendering the similarity search more robust and enabling the use of an already well established denoising algorithm.19 The similarity weights obtained from our uniform illumination image are then applied to both the high and low frequency components in our HiLo processing algorithm, thus leading to reduced noise artifacts in our final HiLo reconstruction.

Another challenge in fluorescence microscopy is volumetric imaging. In conventional scanning- and camera-based methods, axial scanning is generally required to perform imaging over extended depth ranges, thus limiting acquisition speed. To address this challenge, multifocus imaging methods have been developed that simultaneously project images from multiple depths onto a single camera with the use of an engineered grating,20 or cascaded prisms and beam splitters,21,22 though without the benefit of background rejection. Variants incorporating optical sectioning have made use of structured illumination23,24 or light sheet illumination in multi-slit25,26 or multiplane27 geometry.

Here, we find that optically sectioned multiplane imaging can naturally be performed by HiLo. That is, in addition to conferring NLM-based denoising to our speckle-based HiLo algorithm, we enable the capacity of multiplane HiLo imaging by the use of a z-splitter prism.22 We demonstrate the performance of our system first with numerical simulations and then with both fixed and live samples. In particular, we perform simultaneous optically sectioned multiplane fluorescence imaging both of fast cardiac motion and of brain activity in larval zebrafish.

2.

HiLo Reconstruction and Denoising

2.1.

Basic Principle of HiLo

In our original speckle-based HiLo algorithm,9 two raw images Is(ρ) and Iu(ρ) are acquired with speckle and uniform illumination, respectively (ρ is the 2D spatial coordinate at the camera plane). A final optically sectioned image is synthesized from the fusion of the two, where sectioning of low spatial frequency components is based on the contrast decay of the imaged speckle as a function of defocus. This contrast decay can be accelerated with the help of a wavelet-type filter.9,28 Specifically, contrast can be defined as

Eq. (1)

Cδs(ρ)=σ[W(ρ)δI(ρ)]Is(ρ)=σ[W(ρ)δIρ)]Iu(ρ),
where W(ρ) is a wavelet filter, δI(ρ)=Is(ρ)Iu(ρ) is a difference image, denotes convolution, and σ[·] denotes standard deviation (see Material and methods).

Cδs(ρ) serves as a weighting function that preferentially extracts the optically-sectioned in-focus contributions in Iu(ρ). An estimate of these contributions is given by Icu(ρ)=Cδs(ρ)Iu(ρ); however, this estimate is noisy due to residual speckle noise. The simplest strategy to control this noise is by the use of a low-pass filter, leading to a smoothed estimate of the in-focus contributions for low spatial frequencies, given by ILo(ρ)=LP[Icu(ρ)]. The complementary high-frequency components, which are inherently optically-sectioned, are obtained by high-pass filtering the uniform image: IHi=HP[Iu], where HP(κ)=1LP(κ). The final HiLo image, optically sectioned over the full spatial frequency bandwidth, is synthesized by combining Hi and Lo components with a scaling factor η,

Eq. (2)

IHiLo=ηILo+IHi.

2.2.

HiLo with Non-local Means Denoising

2.2.1.

ILo with NLM denoising

The sectioning capacity of HiLo can be tuned by the cutoff frequency separating Hi and Lo. The larger the frequency, the tighter the optical sectioning, but also the more residual speckle noise becomes apparent in ILo because it is only weakly filtered from Icu [see Fig. 1(a)]. To aid this filtering, we incorporate the method of NLM denoising.13 The basic idea is to expand the regions over which filtering is performed without lowering the cutoff frequency. This is achieved by searching for similar patches throughout Icu (guided here by the uniform image) and performing a weighted average of these according to their similarity. The net result is that the residual speckle noise is substantially decreased while maintaining tight optical sectioning. Figure 1(a) illustrates this process using a numerically synthesized test target, where the out-of-focus background is simulated from the same target rotated by 180 deg. The algorithm takes two inputs, one Iu from uniform illumination and the other Icu from the pre-processed difference image according to Eq. (1).

Fig. 1

Diagram of NLM-assisted HiLo. (a) For input images Iu and Icu, weighted averagings of similar non-local patches obtained from Iu produce denoised I˜u and I˜cu. The intermediate results are then high-pass/low-pass filtered respectively to form IHi, ILo, which are then fused to synthesize a final optically sectioned HiLo image IHiLo. (b) Comparison of pixel intensity distributions in the circled regions in Icu and I˜cu.

JBO_28_11_116502_f001.png

First, similar patches are found in the uniform image Iu. The notion of similarity comes from treating a noisy patch as a realization of a random variable of given distribution (e.g., Poisson distribution in the case of shot noise), where the parameters of the distribution are determined by the underlying noise-free patch. A pair of noisy patches are considered similar when they obey the same distribution of common parameters.13 Consider a vectorized square patch x containing (2N+1)2 pixels centered on pixel x, where the center pixel has value Iu(x) and the remaining pixels have value Iu(x+dx), with dx being the pixel index across the patch x (dx[2N(N+1),2N(N+1)]). For a pair of patches (x1,x2) in the uniform image Iu corrupted by Poisson noise, the patch similarity is calculated based on the log likelihood,

Eq. (3)

L[Iu(x1),Iu(x2)]=dx=2  N(N+1)2  N(N+1)logLG[Iu(x1+dx),Iu(x2+dx)],
where LG is a pixel-wise implementation of the generalized likelihood ratio,29 which has been demonstrated to provide the best estimate in the case of strong noise levels and reasonably good estimates in the case of medium/low noise levels as compared to other metrics such as Euclidean distance,29

Eq. (4)

LG(I1,I2)=(I1+I2)I1+I22I1+I2I1I1I2I2.

Here, LG equals 1 for identical pixel values and varies between (0,1) for different pixels.

Following Eq. (3), the weights are calculated by introducing a filtering parameter h that controls the degree of averaging between non-local patches, obtaining

Eq. (5)

ωx1,x2=exp{L[Iu(x1),Iu(x2)]h}.

For a pixel x1 to be estimated, ωx1,x2 determines the contribution of pixel x2 in the weighted average. The number of patches used for calculation is further defined by a large search window y containing (2Ny+1)2 pixels [blue rectangle in Fig. 1(a)].

Finally, the same pixel location is found in Icu and the weighted average of Icu is performed for all pixels within y,

Eq. (6)

I˜cu(x1)=x2yωx1,x2Icu(x2)x2yωx1,x2.

We observe that Eq. (6) is essentially an incoherent averaging of speckle realizations in Icu, taking into account of sample variation, which is a common practice for suppressing speckle.30 Figure 1(b) compares the intensity distribution in Icu and I˜cu before and after the application of NLM denoising in the circled region in Fig. 1(a) where the intensity is uniform. NLM denoising significantly reduces the standard deviation of the residual speckle contrast, thus improving the local smoothness of ILo.

2.2.2.

IHi with NLM denoising

As noted above, tighter optical sectioning is obtained with higher cutoff frequency between Hi and Lo. In addition to exacerbating the problem of residual noise in ILo, a high cutoff frequency also leads to reduced signal to noise ratio (SNR) in IHi. Here, too, NLM denoising can be used to advantage, with little added computational burden. Specifically, the same weights are calculated from Eq. (5) with a second weighting parameter h and the weighted averages of patches from Iu are applied to obtain I˜u, which is a denoised version of the uniform image,

Eq. (7)

I˜u(x1)=ωx1,x2Iu(x2)ωx1,x2.

The denoised high-frequency component is then obtained by IHi=HP[I˜u].

3.

Materials and Methods

3.1.

Multiplane Imaging Setup

A schematic of the experimental setup is shown in Fig. 2. HiLo requires fast switching between speckle and uniform illumination in an otherwise conventional widefield microscope. This was obtained here with two separated beams combined by a polarizing beam splitter (PBS). The first beam was produced by a collimated blue light-emitting diode (LED) (SOLIS-470C); the second beam was from a continuous wave laser (Vortran Stradus, 488 nm) incident on a static diffuser conjugate to the back pupil of the microscope objective (Olympus UMPLFLN 20XW or LUMPLFLN 40XW). Both light sources were triggered by a data acquisition device (DAQ) (National Instruments, NI USB-6356) to produce alternating illumination synchronized to the camera exposure (PCO.edge 4.2). We note that in previous single-beam designs, the uniform illumination image was obtained by rapidly randomizing the speckle illumination patterns with a tilting or rotating diffuser.8,31 Our current two-beam design avoids two potential drawbacks. First, the toggling between speckle and uniform illumination is no longer slowed down by any need to average over multiple speckle patterns. Second, the speckle illumination pattern in our case remains fixed from frame to frame, meaning that it does not introduce temporal fluctuations from frame to frame that could perturb measurements of relative changes in fluorescence, as utilized, for example, with calcium imaging. Finally, to perform simultaneous multiplane imaging, the emitted fluorescence was directed into a nine-plane z-splitter prism22 and projected onto the single camera sensor with a relay lens pair (demagnification 250/90).

Fig. 2

Experimental setup. Light generated from LED and laser is recombined with a polarizing beamsplitter (PBS), providing uniform and speckle illumination of the sample. A z-splitter prism (here, shown as a three-plane prism) enables simultaneously imaging of multiple depths with a single camera.

JBO_28_11_116502_f002.png

3.2.

Sample Preparation

In-vivo imaging was performed of both the heart (isl2b:Gal4 UAS:Dendra, 8dpf) and brain (elavl3:H2B-GCaMP6f, 6dpf) of transgenic zebrafish larvae. To prepare for imaging, larvae were embedded in 1.5% low melting point agarose gelled on a petri dish. Larvae were positioned right-side down for heart imaging and ventral-side down for brain imaging. The solidified agarose and fish were immersed in fish water before being transferred onto the sample stage for imaging.

3.3.

Image Processing

The wavelet filter is defined in frequency space as

Eq. (8)

W(κ˜)=exp[π2κ˜2σw2]exp[2π2κ˜2σw2],
where |κ˜|1/2 is the normalized spatial frequency. Equation (8) corresponds to W(ρ) in the spatial domain,

Eq. (9)

W(ρ)=1πσω2exp(ρ2σw2)12πσω2exp(ρ22σw2).

The default value of σw was set such that the width of the wavelet filter was about one speckle-grain size. In the case of low signal level, the wavelet size was set to slightly larger than the speckle-grain size to improve SNR. Bias introduced by shot noise and readout noise was subtracted from the measured variance,9 presuming a camera gain of 0.46e/ADU and readout noise of 1.2e. The scaling factor η was determined either theoretically from system parameters9 or empirically based on intensity distributions.

For the implementation of NLM, the patch size was chosen to be 3×3  pixels in all experiments, corresponding to about one speckle grain per patch, and the search window size was chosen in the range 15×15 to 61×61  pixels depending on the speckle contrast. A larger search window allows the averaging of more patches (i.e., more uncorrelated speckle) but also takes longer to process. The filtering parameters h for ILo and h for IHi were empirically set to be around 5 to 20 and 0.4 to 0.6 to make allowances for different speckle and noise variances. The NLM implementation was performed with a compiled C++ mex-function in parallel. Other pre/post-processing was performed using MATLAB 2021a.

To characterize the quality of HiLo reconstructions, we made use of the peak SNR (PSNR), defined as

Eq. (10)

PSNR=10log10peakval2MSE,
where MSE is the mean square error between test and reference images.

4.

Results

4.1.

Simulation Results

We first simulated widefield imaging of a pollen grain under uniform and speckle illumination. The ground truth was obtained from a confocal image stack of an actual pollen grain obtained with Olympus FV3000 (60×, 1.2 NA). To simulate widefield images, the volume (323×323×35  pixels, 42×42×19.6  μm3) was convolved with a simulated 3D point spread function and the defocused planes produced the background for each focused slice. Shot noise and readout noise were introduced assuming a camera gain of 2.5 [ADU/e] and readout noise of 1.6e (rms).

Figure 3 shows the simulated uniform- [Figs. 3(a) and 3(f)] and speckle- [Figs. 3(b) and 3(g)] illumination of raw images at two different depths, where the in-focus information is corrupted by a strong out-of-focus background. HiLo was performed with a wavelet filter size equal to one speckle grain such that the sectioning is approximately one longitudinal speckle length. Our basic HiLo algorithm effectively suppressed background, as expected, but also manifestly suffered from residual low-frequency speckle noise [Figs. 3(c) and 3(h)]. In comparison, NLM HiLo benefited from the incoherent averaging of many more speckle grains, leading to largely denoised images that still preserved the intensity variations of the object itself [Figs. 3(d) and 3(i)], as evidenced by the higher structural similarity index measures (SSIMs). As a result, the fine details of the pollen grain are lost in the maximum-intensity projection (MIP) of the basic HiLo reconstruction [Fig. 3(l)], but they are well preserved in the MIP of the NLM denoised reconstruction [Fig. 3(m)], as verified by comparing with the ground-truth confocal MIP [Fig. 3(n)].

Fig. 3

Simulation of a pollen grain stack. Images of two different depths are selected for presentation. Uniform and speckle illuminated images at z1 (a,b) and z2 (f,g). Corresponding optically-sectioned reconstructions at two depths using basic HiLo (c,h) and NLM HiLo (d,i). (e,j) Confocal images serve as a ground truth. (l)–(n) MIPs and associated SSIMs of image stacks using basic (l) and NLM HiLo (m) compared to ground truth (n). (k) PSNR for different HiLo reconstructions as a function of signal strength. Solid line and shaded area indicate mean and standard deviation of 10 trials. Scale bar: 10  μm.

JBO_28_11_116502_f003.png

We further compared the reconstruction performance for different signal levels in Fig. 3(k), where PSNR was used to quantify the similarities between the reconstructions and ground truth. Basic HiLo was compared with NLM HiLo with denoising of ILo only (i), denoising of IHi only (ii), and denoising of both (iii). At each signal level, the PSNR of the full volume was calculated using the confocal stack as a reference. The resulting PSNR was plotted as a function of the maximum number of photons per pixel in the uniform stack. At low SNR, where shot-noise variance is stronger than speckle variance, denoising of IHi plays a more important role than denoising of ILo, whereas the roles are reversed at high SNR, where speckle noise becomes dominant.

4.2.

Experimental Results with Fixed Slide

Having demonstrated NLM HiLo with simulated data, we next evaluated its performance using our multiplane imaging setup with fixed samples. We imaged a Melittobia digitata slide (Carolina Biological) with a 20×, 0.5 NA objective and compared the multiplane reconstructions from basic HiLo and NLM HiLo with a confocal stack taken of the same volume. The wavelet parameter was set to be σw=1.5, meaning that the wavelet filter was slightly larger than a speckle grain in this case. Figures 4(a) and 4(b) show the raw speckle and uniform illumination images of a single plane. The high-frequency images derived from Iu without and with NLM denoising are shown in Figs. 4(c) and 4(f), confirming that NLM effectively attenuates noise while largely preserving image resolution. The low-frequency images derived from Icu and denoised I˜cu are shown in Figs. 4(d) and 4(g). The basic ILo was corrupted by strong speckle noise that ultimately propagated to the final HiLo image [Fig. 4(e)], overwhelming the object structure. In comparison, the speckle noise in ILo was significantly attenuated by NLM, allowing the object structure to be revealed [Figs. 4(g) and 4(h)]. We also compared multiplane HiLo reconstructions in Figs. 4(i) and 4(j), where the nine-plane projections were color-coded in depth. While both methods achieved optical sectioning comparable to confocal microscopy [Fig. 4(k)], basic HiLo suffered from deleterious speckle noise that became largely attenuated with NLM HiLo.

Fig. 4

Experimental result. Multiplane HiLo imaging of a fixed slide. Widefield imaging of single plane with speckle (a) and uniform (b) illumination. Intermediate IHi (c), ILo (d), and composite IHiLo (e) obtained with basic HiLo algorithm. Intermediate denoised IHi (f) and ILo (g) and composite IHiLo (h) obtained with NLM HiLo. (i,j) Depth-coded projections across nine planes from basic and NLM HiLo. (k) Depth-coded projections across a confocal stack. Scale bar: 100  μm.

JBO_28_11_116502_f004.png

4.3.

Fast Imaging of Beating Zebrafish Heart

The zebrafish larva is a popular animal model in cardiology.32 Real-time contraction measurements provide important information about cardiac function and enable correlation studies with Ca2+ transients in the heart.33 Such measurements benefit from fast, volumetric and high contrast imaging, as enabled here by multiplane HiLo microscopy which provides both optical sectioning and depth information.

A beating zebrafish heart was imaged with nine-plane HiLo at a frame rate of 41 Hz (exposure time 1 ms; total recording time 17 s), using a 40×, 0.8 NA objective that resulted in an axial separation of 5.5  μm between planes. The results are shown in Fig. 5. Stacks of raw uniform-illumination images and NLM HiLo reconstructions are shown in the left and middle panels of Fig. 5(a). The rightmost panel of Fig. 5(a) shows a zoomed-in region comparing uniform illumination (top), basic HiLo (middle), and NLM HiLo reconstructions (bottom). NLM HiLo effectively attenuates local non-uniformities arising from speckle as well as additional noise from detection (shot and readout noise).

Fig. 5

In-vivo imaging of beating larval zebrafish heart. (a) Multiplane stack of uniform illumination (left) and NLM HiLo reconstruction (middle). Comparison of regions outlined by rectangle for uniform illumination (top right), basic HiLo (middle right) and NLM HiLo (bottom right) images. (b) Representative snapshots of projections color-coded in depth showing cardiac contraction. (c) Kymogram obtained from line profile [dashed line in panel (b)] as a function of time. (d) Ventricle diameter as a function of time. Scale bar: 50  μm.

JBO_28_11_116502_f005.png

Representative frames showing depth color-coded projections at different times are displayed in Fig. 5(b), where the systole and diastole are easily distinguished by virtue of the fast imaging speed. Each cardiac cycle was sampled by at least 20 images, enabling analysis of cardiac function. Here, a kymogram was determined by tracking the fluorescence signal through the ventricle [dashed line in Fig. 5(b)] and displayed in Fig. 5(c). The local ventricle diameter was calculated based on position differences of the external wall33 and plotted as a function of time [Fig. 5(d)], illustrating different beating profiles throughout the ventricle. The heart rate was 1.8 Hz on average.

4.4.

In-Vivo Calcium Imaging of Zebrafish Brains

Finally, we illustrate the capabilities of multiplane HiLo when applied to imaging of neuronal activity in zebrafish larvae, which normally can be resolved only with confocal or two-photon. Three-plane widefield imaging of brain dynamics with optical sectioning has been demonstrated with HiLo and an electrically tunable lens.34 Here we make use of a passive z-splitter prism to simultaneously image nine planes with 22  μm interplane separation. Zebrafish larvae expressing nucleus-localized GCaMP6f were imaged using a 20×, 0.5 NA objective with 40 ms exposure time and 10 Hz frame rate. We recorded for a total duration of 73 seconds. The raw uniform and speckle illumination images were processed with NLM HiLo and the resulting video was post-processed using CaImAn35 for calcium dynamics analysis. The results are shown in Fig. 6.

Fig. 6

In-vivo multiplane calcium imaging of larval zebrafish brain. (a)–(c) Top: temporal MIP of HiLo frames at three different depths. Bottom: enlarged regions delimited by white rectangles showing neurons (left) and their corresponding calcium traces (right). (d) Comparison of uniform illumination (left) and HiLo (right) images for single neuron in panels (a)–(c) when active. (e) SBR for uniform illumination and HiLo images at different planes. (f) Number of identified neurons at different planes. (g) Depth color-coded neuron centroids overlaid on a HiLo MIP image. Scale bar: top panel in (a)–(c),(g): 100  μm; elsewhere 10  μm.

JBO_28_11_116502_f006.png

The top panels in Figs. 6(a)6(c) display temporal MIPs obtained over the full recording duration, showing all active neurons from three central planes. The activity of individual neurons can be resolved in both space and time [Figs. 6(a)6(c), bottom]. Single-frame widefield and HiLo images obtained from the zoomed-in rectangle regions at three depths are compared in Fig. 6(d). For the uniform illumination image, the in focus neuronal signal was easily overwhelmed by the strong background, resulting in a low signal-to-background ratio (SBR) that hampers the accuracy of neuronal segmentation. In comparison, NLM HiLo images feature lower noise and much higher contrast, by virtue of being optically sectioned. The SBR comparison of uniform illumination and HiLo images at each plane is shown in Fig. 6(e), where SBR was calculated from the ratio of the signal intensity within each neuron while active and the average background intensity within the associated circular surround region (radius 40  μm). HiLo increased SBR by nearly an order of magnitude owing to the rejection of background.

Figure 6(f) shows the total number of active neurons identified per plane over the full recording duration. Most of the neurons were identified in the three central planes (z=4 to 6) partly owing to the inherent distribution of neurons and partly owing to the increasing difficulty to resolve neurons at larger depths due to scattering. The identified neuron centroids, color-coded in depth, are shown in Fig. 6(g).

5.

Discussion

The NLM denoising is different from traditional local spatial filtering in that it takes advantages of image redundancy, aiming to perform incoherent averaging between uncorrelated image patches without undermining resolution. In the case of HiLo microscopy, two images are available for the seeking of patch similarity. We have found that the similarities are more robustly found using the uniform-illumination image, which contains less noise power than the speckle-illumination image, and where the noise is more generally guided by Poisson statistics. In our case, NLM denoising is applied in the spatial domain. Other variants are also possible, combining space and frequency domain filtering36 or spatial-temporal information,37 which could potentially further improve image quality.

While the application of NLM to HiLo largely solves the problem of residual speckle noise that can arise from our original speckle-based HiLo algorithm, it does come with a drawback, namely speed. The additional time required for NLM denoising depends on the sizes of the patch search windows and of the images themselves. For example, for a 571×571 image with patch search size 31×31  pixels, the additional time required for NLM processing was 9.4 s, compared to the 0.1 s required for basic HiLo processing on a desktop computer equipped with i7-6700K CPU, 64 GB RAM. That is, NLM denoising in our case was not performed in real time. On the other hand, the physical acquisition of the raw images was fast, limited only by our camera frame rate. In particular, our two-beam illumination configuration enabled rapid switching between uniform and speckle illumination on the order of 10  ms, no longer relying on the synthesis of uniform illumination by speckle averaging. This configuration also has the benefit of employing illumination patterns that are static from frame to frame. In other words, the illumination itself does not produce temporal fluctuations in the signals that could perturb measurements relying on ratios of fluorescence levels (e.g., as used in Ca2+ imaging).

Finally, the addition of a z-splitter prism to our setup allowed us to perform simultaneous multiplane HiLo imaging in a simple and versatile manner, using a single camera. An advantage of a z-splitter prism over alternative multiplane strategies involving the use of diffractive optical elements20 is that it is largely achromatic, avoiding the requirement of custom-built chromatic correctors. It is also more light efficient, which, in the case of fluorescence imaging, can be of critical importance.

In summary, we presented a multiplane HiLo microscope that provides high contrast optically sectioned imaging with depth resolution. We applied speckle-illumination HiLo with wavelet filtering to control the sectioning strength. The wavelet filter was chosen to be about the size of a speckle grain, though slightly larger when imaging in thicker samples to accommodate for blurring due to scattering. We also added NLM denoising to our speckle-illumination HiLo algorithm to achieve a significant reduction in residual speckle artifacts, making our imaging more accurate and robust. This was demonstrated with in-vivo imaging of both cardiac and brain activity in zebrafish larvae. Our device provides a simple solution for fast, volumetric fluorescence imaging, which can be of general interest.

6.

Appendix: Supplemental Material

  • Video 1. In-vivo imaging of a beating larval zebrafish heart. Video 1 shows a composite video of a nine-plane color-coded z stack acquired at 41 Hz frame rate. Left: basic HiLo. Right: NLM HiLo. Imaging volume: 230×230×44  μm3 (MP4, 4.58 MB [URL: https://doi.org/10.1117/1.JBO.28.11.116502.s1]).

  • Video 2. In-vivo calcium imaging of a larval zebrafish brain. Video 2 shows 3-plane in-vivo imaging of a GCaMP6f-labeled larval zebrafish brain over an FoV of 530×510  μm2 acquired at 10 Hz frame rate (MP4, 2.92 MB [URL: https://doi.org/10.1117/1.JBO.28.11.116502.s2]).

Disclosures

The authors declare no conflicts of interest.

Code and Data Availability

Associated code can be accessed at https://github.com/biomicroscopy/NLM-HiLo. Data are available from the corresponding author upon reasonable request.

Acknowledgments

Research reported in this publication was supported by the Boston University Micro and Nano Imaging Facility and the National Institutes of Health (Grant Nos. R01EB029171 and S10OD024993).

References

1. 

J. Mertz, “Optical sectioning microscopy with planar or structured illumination,” Nat. Methods, 8 (10), 811 –819 https://doi.org/10.1038/nmeth.1709 1548-7091 (2011). Google Scholar

2. 

Y. Zhang et al., “Computational optical sectioning with an incoherent multiscale scattering model for light-field microscopy,” Nat. Commun., 12 (1), 6391 https://doi.org/10.1038/s41467-021-26730-w NCAOBW 2041-1723 (2021). Google Scholar

3. 

J. Wu et al., “Iterative tomography with digital adaptive optics permits hour-long intravital observation of 3D subcellular dynamics at millisecond scale,” Cell, 184 (12), 3318 –3332.e17 https://doi.org/10.1016/j.cell.2021.04.029 CELLB5 0092-8674 (2021). Google Scholar

4. 

Z. Fu et al., “Light field microscopy based on structured light illumination,” Opt. Lett., 46 (14), 3424 –3427 https://doi.org/10.1364/OL.428562 OPLEDP 0146-9592 (2021). Google Scholar

5. 

H. Zhang, K. Vyas and G.-Z. Yang, “Line scanning, fiber bundle fluorescence hilo endomicroscopy with confocal slit detection,” J. Biomed. Opt., 24 (11), 116501 https://doi.org/10.1117/1.JBO.24.11.116501 JBOPFO 1083-3668 (2019). Google Scholar

6. 

M. A. Neil, R. Juškaitis and T. Wilson, “Method of obtaining optical sectioning by using structured light in a conventional microscope,” Opt. Lett., 22 (24), 1905 –1907 https://doi.org/10.1364/OL.22.001905 OPLEDP 0146-9592 (1997). Google Scholar

7. 

D. Karadaglić and T. Wilson, “Image formation in structured illumination wide-field fluorescence microscopy,” Micron, 39 (7), 808 –818 https://doi.org/10.1016/j.micron.2008.01.017 MICNB2 0047-7206 (2008). Google Scholar

8. 

D. Lim, K. K. Chu and J. Mertz, “Wide-field fluorescence sectioning with hybrid speckle and uniform-illumination microscopy,” Opt. Lett., 33 (16), 1819 –1821 https://doi.org/10.1364/OL.33.001819 OPLEDP 0146-9592 (2008). Google Scholar

9. 

D. Lim et al., “Optically sectioned in vivo imaging with speckle illumination HiLo microscopy,” J. Biomed. Opt., 16 (1), 016014 https://doi.org/10.1117/1.3528656 JBOPFO 1083-3668 (2011). Google Scholar

10. 

S. Santos et al., “Optically sectioned fluorescence endomicroscopy with hybrid-illumination imaging through a flexible fiber bundle,” J. Biomed. Opt., 14 (3), 030502 https://doi.org/10.1117/1.3130266 JBOPFO 1083-3668 (2009). Google Scholar

11. 

J. Mazzaferri et al., “Analyzing speckle contrast for HiLo microscopy optimization,” Opt. Express, 19 (15), 14508 –14517 https://doi.org/10.1364/OE.19.014508 OPEXFF 1094-4087 (2011). Google Scholar

12. 

N. Bender et al., “Customizing speckle intensity statistics,” Optica, 5 (5), 595 –600 https://doi.org/10.1364/OPTICA.5.000595 (2018). Google Scholar

13. 

A. Buades, B. Coll and J.-M. Morel, “A review of image denoising algorithms, with a new one,” Multiscale Model. Simul., 4 (2), 490 –530 https://doi.org/10.1137/040616024 (2005). Google Scholar

14. 

C. Cuartas-Vélez et al., “Volumetric non-local-means based speckle reduction for optical coherence tomography,” Biomed. Opt. Express, 9 (7), 3354 –3372 https://doi.org/10.1364/BOE.9.003354 BOEICL 2156-7085 (2018). Google Scholar

15. 

Y. Tounsi et al., “Speckle noise reduction in digital speckle pattern interferometric fringes by nonlocal means and its related adaptive kernel-based methods,” Appl. Opt., 57 (27), 7681 –7690 https://doi.org/10.1364/AO.57.007681 APOPAI 0003-6935 (2018). Google Scholar

16. 

P. Coupé et al., “Nonlocal means-based speckle filtering for ultrasound images,” IEEE Trans. Image Process., 18 (10), 2221 –2229 https://doi.org/10.1109/TIP.2009.2024064 IIPRE4 1057-7149 (2009). Google Scholar

17. 

C.-A. Deledalle et al., “NL-SAR: a unified nonlocal framework for resolution-preserving (pol)(in) sar denoising,” IEEE Trans. Geosci. Remote Sens., 53 (4), 2021 –2038 https://doi.org/10.1109/TGRS.2014.2352555 IGRSD2 0196-2892 (2014). Google Scholar

18. 

S. Parrilli et al., “A nonlocal sar image denoising algorithm based on llmmse wavelet shrinkage,” IEEE Trans. Geosci. Remote Sens., 50 (2), 606 –616 https://doi.org/10.1109/TGRS.2011.2161586 IGRSD2 0196-2892 (2011). Google Scholar

19. 

B. Mandracchia et al., “Fast and accurate sCMOS noise correction for fluorescence microscopy,” Nat. Commun., 11 (1), 94 https://doi.org/10.1038/s41467-019-13841-8 NCAOBW 2041-1723 (2020). Google Scholar

20. 

S. Abrahamsson et al., “Fast multicolor 3D imaging using aberration-corrected multifocus microscopy,” Nat. Methods, 10 (1), 60 –63 https://doi.org/10.1038/nmeth.2277 1548-7091 (2013). Google Scholar

21. 

S. Geissbuehler et al., “Live-cell multiplane three-dimensional super-resolution optical fluctuation imaging,” Nat. Commun., 5 (1), 5830 https://doi.org/10.1038/ncomms6830 NCAOBW 2041-1723 (2014). Google Scholar

22. 

S. Xiao et al., “High-contrast multifocus microscopy with a single camera and z-splitter prism,” Optica, 7 (11), 1477 –1486 https://doi.org/10.1364/OPTICA.404678 (2020). Google Scholar

23. 

S. Abrahamsson et al., “Multifocus structured illumination microscopy for fast volumetric super-resolution imaging,” Biomed. Opt. Express, 8 (9), 4135 –4140 https://doi.org/10.1364/BOE.8.004135 BOEICL 2156-7085 (2017). Google Scholar

24. 

W. Lin et al., “Multi-focus microscope with hilo algorithm for fast 3-D fluorescent imaging,” PloS One, 14 (9), e0222729 https://doi.org/10.1371/journal.pone.0222729 POLNCL 1932-6203 (2019). Google Scholar

25. 

J.-M. Tsang et al., “Fast, multiplane line-scan confocal microscopy using axially distributed slits,” Biomed. Opt. Express, 12 (3), 1339 –1350 https://doi.org/10.1364/BOE.417286 BOEICL 2156-7085 (2021). Google Scholar

26. 

F. Ströhl et al., “Multifocus microscopy with optical sectioning and high axial resolution,” Optica, 9 (11), 1210 –1218 https://doi.org/10.1364/OPTICA.468583 (2022). Google Scholar

27. 

Z. Jiao et al., “Simultaneous multi-plane imaging light-sheet fluorescence microscopy for simultaneously acquiring neuronal activity at varying depths,” Optica, 10 (2), 239 –247 https://doi.org/10.1364/OPTICA.472674 (2023). Google Scholar

28. 

C. Ventalon, R. Heintzmann and J. Mertz, “Dynamic speckle illumination microscopy with wavelet prefiltering,” Opt. Lett., 32 (11), 1417 –1419 https://doi.org/10.1364/OL.32.001417 OPLEDP 0146-9592 (2007). Google Scholar

29. 

C.-A. Deledalle, L. Denis and F. Tupin, “How to compare noisy patches? Patch similarity beyond Gaussian noise,” Int. J. Comput. Vis., 99 (1), 86 –102 https://doi.org/10.1007/s11263-012-0519-6 IJCVEQ 0920-5691 (2012). Google Scholar

30. 

J. W. Goodman, Speckle Phenomena in Optics: Theory and Applications, Roberts and Company Publishers( (2007). Google Scholar

31. 

M. A. Lauterbach et al., “Fast calcium imaging with optical sectioning via hilo microscopy,” PloS One, 10 (12), e0143681 https://doi.org/10.1371/journal.pone.0143681 POLNCL 1932-6203 (2015). Google Scholar

32. 

J. Bakkers, “Zebrafish as a model to study cardiac development and human cardiac disease,” Cardiovasc. Res., 91 (2), 279 –288 https://doi.org/10.1093/cvr/cvr098 CVREAU 0008-6363 (2011). Google Scholar

33. 

J. Salgado-Almario et al., “Simultaneous imaging of calcium and contraction in the beating heart of zebrafish larvae,” Theranostics, 12 (3), 1012 https://doi.org/10.7150/thno.64734 (2022). Google Scholar

34. 

R. Shi et al., “Multi-plane, wide-field fluorescent microscopy for biodynamic imaging in vivo,” Biomed. Opt. Express, 10 (12), 6625 –6635 https://doi.org/10.1364/BOE.10.006625 BOEICL 2156-7085 (2019). Google Scholar

35. 

A. Giovannucci et al., “Caiman an open source tool for scalable calcium imaging data analysis,” elife, 8 e38173 https://doi.org/10.7554/eLife.38173 (2019). Google Scholar

36. 

K. Dabov et al., “Image denoising with block-matching and 3D filtering,” Proc. SPIE, 6064 606414 https://doi.org/10.1117/12.643267 PSISDG 0277-786X (2006). Google Scholar

37. 

J. He et al., “Spatial-temporal low-rank prior for low-light volumetric fluorescence imaging,” Opt. Express, 28 (25), 40721 –40733 https://doi.org/10.1364/OE.443936 OPEXFF 1094-4087 (2021). Google Scholar

Biographies of the authors are not available.

CC BY: © The Authors. Published by SPIE under a Creative Commons Attribution 4.0 International License. Distribution or reproduction of this work in whole or in part requires full attribution of the original publication, including its DOI.
Shuqi Zheng, Minoru Koyama, and Jerome Mertz "Multiplane HiLo microscopy with speckle illumination and non-local means denoising," Journal of Biomedical Optics 28(11), 116502 (17 November 2023). https://doi.org/10.1117/1.JBO.28.11.116502
Received: 6 September 2023; Accepted: 3 November 2023; Published: 17 November 2023
Advertisement
Advertisement
KEYWORDS
Speckle

Light sources and illumination

Denoising

Microscopy

Cameras

Fluorescence imaging

Tunable filters

Back to Top