Zhe
Wang
ab,
Vittorio
Bianco
*b,
Pier Luca
Maffettone
ab and
Pietro
Ferraro
b
aDipartimento di Ingegneria Chimica, dei Materiali e della Produzione Industriale, Università degli Studi di Napoli “Federico II”, P.le Tecchio 80, 80125, Napoli, Italy
bInstitute of Applied Sciences and Intelligent Systems “E. Caianiello” (ISASI-CNR), via Campi Flegrei 34, 80078 Pozzuoli, Napoli, Italy. E-mail: v.bianco@isasi.cnr.it
First published on 11th April 2023
Space-time digital holography (STDH) maps holograms in a hybrid space-time domain to achieve extended field of view, resolution enhanced, quantitative phase-contrast microscopy and velocimetry of flowing objects in a label-free modality. In STDH, area sensors can be replaced by compact and faster linear sensor arrays to augment the imaging throughput and to compress data from a microfluidic video sequence into one single hybrid hologram. However, in order to ensure proper imaging, the velocity of the objects in microfluidic channels has to be well-matched to the acquisition frame rate, which is the major constraint of the method. Also, imaging all the flowing samples in focus at the same time, while avoiding hydrodynamic focusing devices, is a highly desirable goal. Here we demonstrate a novel processing pipeline that addresses non-ideal flow conditions and is capable of returning the correct and extended focus phase contrast mapping of an entire microfluidic experiment in a single image. We apply this novel processing strategy to recover phase imaging of flowing HeLa cells in a lab-on-a-chip platform even when severely undersampled due to too fast flow while ensuring that all cells are in focus.
Collecting a statistically relevant amount of data from each patient is necessary to provide a reliable diagnostic response, and high-throughput volumetric DH imaging is suitable to meet such requirement. In order to solve the trade-off existing in microscopy between object magnification and field of view (FoV), scanning approaches have been proposed.19–26 These create a synthetic enlarged FoV while keeping the desired object magnification. Lensless object scanning holography and synthetic aperture holography acquire multiple holograms while scanning the object or the 2D sensor to enlarge the FoV along the scanning axis and to counteract the effects of coherent noise.22,24,26,27 However, proper hologram stitching has to be performed in the Fourier domain. This is a non-trivial and time-consuming procedure whose performance may severely depend on the object spectrum shape. In scanning-based imaging, the price to pay for the FoV extension is the need to mechanically scan the object. Hence, the more natural application for scanning approaches is microfluidics, where the object motion is an intrinsic feature of the system and can be used to achieve unlimited FoV. The optofluidic microscope (OFM) was the first breakthrough that fully exploited the accurate microfluidic flow control.19 The sample was allowed to flow along a device where skewed apertures provided optical access. Proper design of the inter-aperture spacing allowed increasing the resolution while taking advantage of the FoV extension. The main limit of OFM is the need to keep the sample in close contact with the apertures which prevents one from using it for high-throughput imaging onboard deep LoC devices. Light diffraction from a slit and a cylindrical collecting lens were coupled to achieve in-flow tomographic imaging.7,21,28 A microlens array added to the illumination arm of an epifluorescence microscope was also used to obtain a multi-focal excitation pattern while the sample was allowed to flow along a microfluidic path.29 Image deconvolution was demonstrated to provide optofluidic intensity microscopy beyond the resolution limit.29 Lensless near-field imaging using three LEDs has been also introduced.27 In this case, iterative phase retrieval algorithms are needed to reconstruct the object. In a recent work, ptychographic imaging has been adapted to operate in flow cytometry mode.30 In order to avoid iterative phase retrieval and related convergence problems, off-axis or slightly off-axis DH configurations should be used. In addition, the combination of deep learning and holographic flow cytometry creates several new possibilities.5,17 Nevertheless, cell imaging in microfluidic channels (MFC) based on deep learning usually requires a large amount of experimental data during the training process. As a general rule of thumb, a deep net cannot outperform the quality of the dataset it has been fed with. The proposed approach, adaptive imaging flow cytometry, can be realized without AI-training and is robust against unexpected situations that would require retraining deep nets. Space-time digital holography (STDH) and space-time scanning interferometry (STSI) replace the 2D sensors with a more compact and faster linear sensor array (LSA) to augment the throughput and promote miniaturization.20,23,31,32 In both cases, the samples are mapped in a hybrid space-time domain, which corresponds to a projection of the modulated fringes. In the case of STSI, three lines of the LSA are sufficient to create synthetic interferograms shifted in phase of the desired offsets, and thus three-step phase shifting algorithms can be applied to directly recover the phase with custom FoV along the scanning axis, without using piezoelectric actuators.20 A general problem with piezo transducer-based phase-shifting methods is a strong lack of temporal resolution. Moreover, accurate phase shifts have to be generated, while the appearance of nonlinear response induced by a piezoelectric transducer33 can affect the measurements. Essentially, the main use condition of generalized phase-shifting interferometry (PSI) lies in static cell imaging,34 a limitation that STDH can overcome to embed all the cases of moving objects. STSI has been also used with an LED source to image cells, blood smears and tissue slides.32,35 In the case of STDH, conventional back-propagation methods are demonstrated to properly refocus the object and to retrieve its phase map with enlarged FoV when these are applied to the projected fringe pattern.23,32,33 Thanks to the object motion, STDH has been recently demonstrated to enhance spatial resolution beyond the limits of the employed optical system by self-assembling the object spatial frequencies, acting just like a synthetic aperture radar. In the case of oblique STDH, resolution can be improved in two dimensions by a 1D scan.36 Thus, STDH is a very promising method well suited for imaging cells onboard LoC devices, and has been recently coupled to hydrodynamic focusing and a high frame rate LSA to achieve high-throughput mapping of human colorectal-tumour cell lines.33 However, in order to ensure undistorted STDH imaging, a proper matching has to be provided between the sample speed and the recording frame rate.20,23,37 This may be hard to achieve in the case of non-perfect flow control of the LoC system and its microfluidic pump.31,32 Besides, even in the case of ideal flow control,38 the velocity distribution inside the channel makes the matching dependent on the sample position. Hence, some cells might be undersampled if they flow too fast, which results in a squeezed shape in the STDH,31 or oversampled and mapped as elongated if they flow too slowly.32 When the object shape is known, the shape factor and sample libraries can be used for particle image velocimetry and 3D tracking.31 However, imaging has never been recovered in these cases. On the other hand, in the case of long microfluidic experiments, it is desirable to get in focus in one single gigapixel DH reconstruction all the samples flowing inside the 3D channel volume.39,40 This makes the related issues more difficult to handle, since the mismatch between sampling and cell velocities also depends on the propagation plane. Moreover, automatic refocusing based on 2D regions of interest can fail in the case of high-density samples.
In this paper, we show an improved spatio-temporal scanning strategy, hereafter called adaptive space-time digital holography (ASTDH). The proposed approach and related processing pipeline have been specifically conceived for managing STDH experiments in non-ideal flow conditions and thus for attaining correct quantitative phase-contrast maps despite the non-uniformities in the microflow. We introduce two correction parameters, P and α, during the hologram self-assembly and numerical reconstruction process. The P parameter acts on the assembling process of the space-time hologram, it allows compensating the main mismatch between the nominal speed and the actual speed established inside a channel, provided that the mismatch difference is an integer multiple of the pixel in the image plane. The α factor acts in the DH propagation kernel and allows mitigating the effects of undersampling due to residual subpixel mismatches. Actually, we noted that the aforementioned subpixel mismatch can be thought as a sort of anamorphic aberration in the scanning digital hologram.41 This analogy allowed us to find a systematic solution to the problem. We show how this factor depends on the propagation plane and the sample position along the time axis, and we propose a criterion to estimate its distribution. Moreover, by correcting the disturbances due to subpixel mismatches, an extended focus imaging (EFI) criterion40,42,43 is applied to obtain also in sharp focus all the samples within the microfluidic volume corresponding to a long ASTDH experiment, independently on their position. We test the ASTDH processing pipeline by imaging, in amplitude and phase-contrast, HeLa cells flowing with a speed higher than the velocity imposed by the matching constraint. We demonstrate the correct recovering of the undersampled information and we show that a 1D automatic refocusing criterion applied to small STDH strips efficiently returns all the cells in best focus in the same extended FoV image, thus also saving computational time.
H = |R + O|2 = |R|2 + |O|2 + 2|R||O|cos[2πv(x + y) − ϕ], | (1) |
H(t, y) = [H(x0, y; t1), …, H(x0, y; tK)], | (2) |
CA(t′, y′; z) ∝ {Hd(t, y)e[iπ(y2+t2)/λz]}, | (3) |
vx = (Δx/Mz)Fr, | (4) |
However, the presence of mismatches that are less than the pixel size, herein called subpixel mismatches, is still an issue to be solved. In the following section we show a method to mitigate the undersampling condition due to subpixel mismatches and to obtain a synthetic complex amplitude where all the flowing samples are undistorted and in sharp focus at the same time.
H0(t, y; x = x0), Hπ/2(t, y; x = xi), Hπ(t, y; x = xj), | (5) |
CA(t, y; z = 0) = (1 + i)[(H0 − Hπ/2) + i(Hπ − Hπ/2)]/4. | (6) |
The result of eqn (6) is a complex object wavefront that can be backpropagated to any plane along the optical axis through the operator Pz{…} as described in the previous section. The PSI-STDH processing has the advantage of being computationally more efficient in eliminating the twin image and the zero-th order of diffraction than the Fourier demodulation. Moreover, it avoids eventual resolution losses that might occur when band-pass filtering the first diffraction order in the hybrid Fourier domain. For these reasons we chose to adopt this method and we will refer to it in the following sections.
CA(t′, y′; z, α) ∝ {CA(t, y; z = 0)e[iπ(y2+(αt)2/λz)]}, | (7) |
In other words, the problems of recovering the best focus for a sample and compensating for the subpixel mismatches are coupled, so that for each propagation plane and sample position in the hybrid domain an optimal α exists that minimizes the anamorphic aberration. The problem of finding the best couple (α, z) for a STDH portion can be solved by joint minimization of a proper contrast metrics, e.g. the Tamura coefficient of the amplitude reconstruction |CA(t′, y′; z, α)|. In practice, the optimum α weakly depends on the z coordinate. This information is exploited to reduce the computational burden while selecting the search intervals for the optimization. Besides, instead of propagating the long STDH, we propagate shorter STDH strips, and we measure the Tamura coefficient over selected sub-strips within the propagated strip, i.e. at the end of the process we estimate an optimal α(z) for each sub-strip. The substrip-based Tamura optimization is more accurate than the 2D ROI-based optimization in locking on to the specific cell present in a portion of the FoV. This is an important advantage whenever samples flow with high density inside the LoC. In fact, in such cases, it is hard to define a ROI that contains only one single cell and its diffraction pattern, since the cells would be too close to each other, and the 2D Tamura optimization might fail. Once the best z focus positions are determined for each sub-strip, the extended DoF complex amplitude map is synthesized by concatenating the in-focus reconstructions of all the anamorphism-compensated sub-strips. Then, the amplitude and phase-contrast maps are trivially obtained from the extended FoV-DoF, mismatch-corrected complex amplitude. In conventional DH, a reference hologram is usually reconstructed in order to compensate for eventual optical system aberrations or the curvature induced by the microfluidic channel. At this scope, the ratio between the object complex amplitude and the complex amplitude of the reference DH is calculated. In STDH, such reference STDH is easily obtainable by acquiring a time sequence without samples flowing inside the channel at the beginning of the experiment, or replicating an “empty” strip until matching the length of the STDH.
A sequence of 1201 holograms was captured by the system. Fig. 2(b) shows one of the holograms of the sequence. The phase-contrast map of z = 0 plane is shown in Fig. 2(c), it highlights that only one HeLa cell out of four can be considered in sharp focus. This condition occurs for all the holograms captured during the experiment, due to the absence of hydrodynamic focusing. Fig. 3(a) shows the STDH corresponding to the reference sampling column x0 after demodulation of the horizontal fringes. In particular, the map H0,P with P = 5 is shown. This is a 2D map that encodes 4D information, since the position of the cells in the STDH depends on time and their diffraction pattern encodes their 3D shape and position inside the LoC volume. The three-step phase shifting method is applied as described in eqn (6) to obtain the complex amplitude in the plane z = 0. The zoom-in details in Fig. 3(b) show the corresponding phase-contrast maps for the portions of STDH indicated by coloured boxes in (a). Further zoom-in details of the single cells in the white boxes in Fig. 3(b) are reported in Fig. 3(c). These show that, depending on each cell position inside the volume and its speed, four imaging cases can occur. Cells can be well sampled and in sharp focus as in the rightmost blue box in (c), meaning that they flowed in the channel centre at the nominal velocity matching eqn (4). Thanks to the use of the equivalent pixel Δxp, 78% of the cells have been found to be well-sampled by the STDH remapping. However, most of the samples have been found to be out of focus, and a non-negligible percentage of undersampled cells has been found as well. Moreover, in all the cases an unwanted strip-like pattern corrupts the images. This is a mosaicking artefact inherently due to the use of an equivalent pixel, since two neighbour sets of P lines might correspond to capture times in which the illumination or the mean background value slightly changed. We used the proposed processing pipeline to remove all the above mentioned artefacts and to return a complex amplitude map where all the objects flowing in the LoC volume are mapped simultaneously in sharp focus and well sampled.
In order to show the processing results, we selected a test portion of the long STDH FoV, where four Hela cells can be found, named here as C1, …, C4. Fig. 4 shows the selected portion of demodulated STDH, which corresponds to |CA(t, y; z = 0)|. We applied the Tamura coefficient analysis to the four cells we found, to show that these occupy different positions along the optical axis. Fig. 4(a)–(e) respectively show the estimated z positions for the cells under test and the corresponding Tamura optimization curves.
It is worth noticing that the Tamura coefficient has been optimized here by measuring it over a non-empty 90 × 270 sub-strip, while strip propagation at different distances is performed with a 201 × 270 strip size. In the ESI† we discuss the reason for choosing this strip size. Applying the backpropagation formula to short non-empty strips instead of the entire STDH allows saving computational time significantly, and optimizing the Tamura metric over a sub-strip ensures that the optimum focus distance is well tailored to each specific cell.
From Fig. 4(b–e) it is apparent that this choice provides Tamura plots with one single, well-defined minimum. A similar optimization process has to be carried out to remove undersampling-induced artefacts from the reconstructions using the correction factor α, after the focal planes of the cells are determined. Fig. 5 shows the (c and d) amplitudes and (a and b) phase-contrast maps for the cells C1, C3, and C4. In these cases, it is apparent that conventional backpropagation (α = 1) returns images corrupted both in the sample region and the background, which is due to a residual subpixel mismatch that should be compensated for. In order to estimate the optimal value for α, we used the standard deviation of the phase-contrast values across the cell. The optimal α minimizes the standard deviation. In the ESI† we discuss the criterion behind the use of the standard deviation to estimate the α factor.
Fig. 5(e and f) plot the standard deviation vs. α for the cells C1 and C3, measured over the coloured lines in (a) and (b), respectively. The reconstructions obtained using the optimal correction factors (i.e. α = 0.44 for C1 and α = 0.47 for C3) in the diffraction propagation kernel are reported in the rightmost subfigure in Fig. 5(a–d). It is apparent that the reconstruction took benefit from the introduction of the anamorphic propagation process, as the artefacts are removed in both the amplitude and phase-contrast images. In order to make the correction process automatic for the entire STDH, we measured the optimum alpha value for each strip. As discussed before, using strips instead of the entire STDH allows speeding up the estimation process, so that we are able to estimate the optimal α for each propagation distance. Fig. 5(g) shows |CA(t, y; z = 0)| where one of the strips is highlighted with a red box.
Fig. 5(h–j) show a 3D view, and top and side views respectively of the estimated correction factor map. In Fig. 5, α is plotted as a function of the strip under test and the depth of the channel where the strip is propagated, i.e. the reconstruction distance z. By inspecting the behaviour of the correction map as a function of the channel depth, we note that the distribution of the correction factor almost symmetrically follows the distribution of the expected velocity inside the channel. In particular, we found α values approaching unity for propagation distances that image in focus objects flowing close to the top and the bottom of the channel. On the contrary, the objects flowing close to the channel middle section require much smaller α values, i.e. the equivalent pixel should be stretched more to match their speed. This result can be interpreted by considering the typical distribution of velocity that establishes inside microfluidic channels. Indeed, the cells flowing close to the middle section of the LoC are typically faster than the cells flowing close to the channel faces due to the frictional force exerted by the channel top and bottom walls.
Moreover, it is less likely to find cells flowing close to the walls, so that for those propagation distances in many strips applying a correction factor is not necessary and α can be set to unity. Since the α factor is inserted in the numerical propagation kernel, it would have no effect without propagation. For this reason, we did not report any α value when depth = 0 μm in Fig. 5(h–j). We believe that this result is a clear indication of the effectiveness of the strip-based estimation procedure, since the correction values we found well match the expected behaviour of the laminar flux establishing inside the LoC.
The result of the processing pipeline we propose is the extended DoF, extended FoV, corrected phase-contrast map shown in Fig. 6. This is an image that maps all the cells that flowed inside the chip during the experiment, in sharp focus and well sampled. In particular, the full FoV phase-contrast map is shown in Fig. 6(a) along with a plot of the correction factor applied to each strip at the best focus propagation distance. This map contains the lossless compressed information of all the cells flowing inside the channel during the 88.96 s experiment and corresponds to a video consisting of 1201 conventional digital holograms. In other words, conventional DH would require 1201 holograms to store the cells' temporal and spatial information, including phase information, velocity, and three-dimensional position. Storing these holograms would require 826 MB space. In ASTDH, just one space-time hologram is required for saving the same information, which only requires 14.3 MB space for saving.
Fig. 6(b and c) show zoom-in details corresponding to the coloured sections in (a). It is apparent that all the HeLa cells are returned in sharp focus and well sampled although they occupied different uncontrolled positions inside the LoC and they flowed at uncontrolled speed. In particular, the cells that in Fig. 3(b and c) were undersampled and out-of-focus (see e.g. the areas marked with A and B in Fig. 3(a) and the white boxes in Fig. 3(b)) are correctly imaged in Fig. 6(b and c) (see the areas marked in yellow and red). The effect of the proposed processing is more evident from Fig. 6(d–i), where we compare the conventional STDH phase mapping (Fig. 6(d, f and h)) to the novel ASTDH (Fig. 6(e, g and i)), applied to the cells marked with I–III in Fig. 6(b and c). It is worth mentioning that, in the related experiments, we did not precisely control the flow rate of the injected cells. The cells were injected freely by a syringe and thus different concentrations and velocities of cell flow are established inside the MFC. In the area of 9.63 s to 24.32 s, severe cell packing occurred due to a cell concentration exceeding 437000 cells per ml. This caused clogging of the microfluidic channel once the cells arrive at the channel exit, which was not the expected concentration of cells in the MFC. Essentially, as for conventional DH, STDH imaging has certain limitation in terms of cell concentration. This upper concentration limit mainly depends on the size of the microfluidic channel and the cell type. For HeLa cells flowing in the 58 mm × 40 μm × 25 μm MFC, the maximum allowable cell concentration is 255000 cells per ml. In the experiments we have shown, the initially prepared cell concentration was 155000 cells per ml. Since the rate of cell injection was not controlled, this resulted in uneven distribution of cell concentration in the MFC. The actual concentration of cells flowing through the channel in the experiments we show goes from 38000 to 437000 cells per ml. Once the cell concentration exceeds the limit, the cell edge recognition as well as its reconstruction process is negatively affected. For instance, the high-density cell clusters prevent the autofocusing algorithm from giving the correct focus plane.
ASTDH is a solution for minimizing the artifacts of STDH while keeping all its benefits. Thus, the pixel correction factor and the extended focus optimization process are means that lead to more accurate representations of the cells' phase imaging. For the cells with different velocities and focal lengths, ASTDH allows them to be reconstructed with the same quality of cells flowing all in focus and well-sampled. This overcomes the main limitation of conventional STDH that would require a uniform flow rate. In the processing pipeline of ASDTH, we recover the subpixel mismatches by introducing a correction factor through a change of variables in the hologram back-propagation kernel. This has the effect of correcting the mismatch-induced distortion that shows up when eqn (4) does not stand for a sample. We estimate the best correction factor and propagation distance for each sample, which depend on its position inside the channel volume. These are based on the minimization of a contrast metrics measured over “sub-strips” of the longer STDH, which allows estimating optimal values tailored to each specific sample even for high density volumes. Besides, we investigated the possibility to propagate STDH-strips instead of the entire STDH to reduce the computational cost and to permit parallel computing, GPU-based, fast multicore implementations. We found that using strips of size 201 pixels allows efficient propagation while preserving the image resolution. Experiments have been carried out by imaging a bulk flow of HeLa cells flowing inside a LoC without making use of accurate flow control systems. We successfully recovered the extended FoV-DoF amplitude and phase contrast maps of all the flowing samples, which are simultaneously imaged in sharp focus. In the presented experimental results, as shown in Fig. 6, 88.96 s conventional DH recording took 826 MB space to save 1201 holograms. The ASTDH allows compressing all information included in these holograms in one single space-time hologram with 14.3 MB space. Data compression also results in saving computational time. In the case of the experiments shown in this work, we obtained a reduction of a 9.81 factor in computational time (see the ESI† for details).
Further improvements could be made to the processing pipeline to tackle the case of samples that belong to the same strip of the STDH but in different focus positions. For such cases, hologram stretching in the spatial direction or the introduction of a cubic phase plate38,40 could solve the problem, which will be object of further investigations from our group. Moreover, deep learning-based processing could enable faster ASTDH reconstructions.44,45 In this sense, the algorithms developed here could serve as a basis for creating an input output dataset for AI-training. We believe that ASTDH will bring benefit to all MFC-based cell imaging experiments, especially for cell identification and classification of multi-types, cell 3D tracking and counting. For most MFC-based holographic flow cytometry experiments, ASTDH can provide a stable and reliable data compression process without special setting of the recording setup. It is also worth highlighting that although the camera we used for the proposed manuscript was an area array CCD camera (this choice is discussed above), STDH allows the use of linear sensor arrays, which creates the possibility for very high-speed acquisitions of cell flow.
Footnote |
† Electronic supplementary information (ESI) available. See DOI: https://doi.org/10.1039/d3lc00063j |
This journal is © The Royal Society of Chemistry 2023 |