Abstract
Time stretch imaging offers real-time image acquisition at millions of frames per second and subnanosecond shutter speed, and has enabled detection of rare cancer cells in blood with record throughput and specificity. An unintended consequence of high throughput image acquisition is the massive amount of digital data generated by the instrument. Here we report the first experimental demonstration of real-time optical image compression applied to time stretch imaging. By exploiting the sparsity of the image, we reduce the number of samples and the amount of data generated by the time stretch camera in our proof-of-concept experiments by about three times. Optical data compression addresses the big data predicament in such systems.
Introduction
Big data is a broad and popular topic today. The traditional definition refers to the massive amount of data generated in banking, social media, healthcare, and by networked sensors known as the “internet of things”. However, big data is also a challenge in biomedical and scientific instruments [1]. High-throughput real-time instruments are needed to acquire large data sets and to detect and classify rare events. Examples include the time stretch camera [2–12]—a MHz-frame-rate bright-field imager, and the fluorescence imaging using radio frequency-tagged excitation (FIRE)—an ultra-high-frame-rate fluorescent camera for biological imaging [13]. The record throughputs of these instruments have enabled the discovery of optical rogue waves [14], the detection of cancer cells in blood with false positive rate of one cell in a million [15], and the highest performance analog-to-digital converter ever reported [16].
These instruments produce a torrent of data that overwhelms their data acquisition and processing backend. For example, the time stretch imager captures images at roughly one hundred million scans per second with each scan containing about one thousand samples [17, 18]. Assuming each of these samples is digitized with a typical 8 bits of accuracy, time stretch microscopy (STEAM) produces 0.8 Tbit of data per second. Detecting rare events such as cancer cells or rogue signals requires that data be recorded continuously and for a long time to catch the rare events. The need to compress massive volumes of data in real-time has fueled interest in nonuniform time stretch transformation that takes advantage of sparsity in physical signals to achieve both bandwidth compression as well as reduction in the temporal length [1, 19–22]. The aim of this technique is to transform a signal such that its intensity matches not only the digitizer’s bandwidth, but also its temporal record length. The latter is typically limited by the digitizer’s storage capacity.
Methods
The basic principle of time stretch imaging (STEAM) involves two steps both performed optically. In the first step, the spectrum of a broadband optical pulse is converted by a spatial disperser into a rainbow that illuminates the target. Therefore, the spatial information (image) of the object is encoded into the spectrum of the resultant reflected or transmitted rainbow pulse. A one-dimensional rainbow is used to acquire a line-scan and two-dimensional image is obtained by scanning the rainbow in the second dimension. For imaging of particles in flow, the motion causes scanning in the second dimension while the rainbow position is fixed (Fig 1A).
In the second step, the spectrum of the image-encoded pulse is mapped into a serial temporal signal that is stretched in time to slow it down such that it can be digitized in real-time [23]. This optically-amplified time-stretched serial stream is detected by a single-pixel photodetector, and the image is reconstructed in the digital domain. Subsequent pulses capture repetitive frames. The laser pulse repetition rate corresponds to the frame rate, and the temporal width of the pulses corresponds to camera’s shutter speed (exposure time). The key innovations in STEAM that enable high-speed real-time imaging are photonic time stretch for digitizing fast images in real-time and optical image amplification for compensating the low number of photons collected during the ultra-short shutter time [24].
Using warped group delay dispersion, it has been shown that one can reshape the spectro-temporal profile of optical signals such that signal envelope’s time-bandwidth product is compressed [1, 19–22]. The compression is achieved through time-stretch dispersive Fourier transform in which the frequency-to-time mapping is intentionally warped, using an engineered group delay dispersion profile, to match the sparsity of the image. This operation causes a frequency-dependent reshaping of the input waveform. Reconstruction (decoding) method depends on whether the information is in the spectral domain amplitude, or in the complex spectrum. In the time stretch camera, the image is encoded into the amplitude of the spectrum of a broadband optical pulse, and reconstruction consists of a time-to-frequency mapping using the inverse of the measured or simulated group delay profile followed by a frequency-to-space mapping. The compression ratio depends on the group delay characteristics and the sparsity of the image [21, 22]. This method offers similar functionality as compressive sampling [25–31] albeit it achieves it via an entirely different approach, namely by reshaping the analog image using warped time-stretch dispersive Fourier transform.
To illustrate the concept in the context of time stretch imaging, we can consider a microscopic field of view consisting of a cell against a background such as a flow channel or a microscope slide (Fig 1). In the time stretch imaging, the object is illuminated by an optical pulse that is diffracted into a one-dimensional rainbow. This encodes one dimension of space into the optical spectrum. The spectrum is then linearly mapped into time using a dispersive optical fiber with a linear group delay. The mapping process from space-to-frequency-to-time is shown in Fig 1A. The linearly stretched temporal waveform is then sampled by a digitizer resulting in uniform spatial sampling. This uniform sampling (also depicted in Fig 1A) generates redundant data by oversampling the sparse peripheral sections of the field of view.
Such a situation evokes comparison to the mammalian eye where central vision requires high resolution while coarse resolution can be tolerated in the peripheral vision (Fig 1B). In the eye, this problem is solved through nonuniform photoreceptor density in the retina. The Fovea section of the retina has a much higher density of photoreceptors than the rest of the retina and is responsible for the high resolution of central vision.
We solve this problem by nonuniform mapping of spectrum into time via a warped group delay. An example of the warped space-to-frequency-to-time mapping is illustrated in the dotted box in Fig 1C. After uniform sampling in time (by a conventional digitizer), this leads to higher sampling density in the central field of view and lower density in the sparse peripheral regions. This is often desirable in cell screening and imaging in microfluidic channels with focusing mechanisms. In these channels, the cells arrive along a few predetermined lanes. By far the most common case is a single lane aligned to the center of the channel, which is typically achieved via hydrodynamic focusing [32]. However, cells or particles may occasionally appear in peripheral regions of the flow channel. Since the probability of this occurring is low, it would be wasteful to assign high sample density to these peripheral regions. One does need to image these regions albeit with coarse resolution for monitoring rare or abnormal events. In the meantime, the higher sample density in central part of the field of view improves the accuracy of determining cellular morphology, and that of biophysical cell measurements such as cellular protein concentration, which have been previously demonstrated with the time stretch imaging modality [3, 6].
The reconstruction is a simple unwarping using the inverse of the group delay. This operation is analogous to the anamorphic art, where the drawn shape is a stretched and warped version of the true object, yet, the viewer sees the true object upon reflection of the painting from a curved mirror (Fig 1D [33]). In the case where the sparsity characteristic of the target is not known, or changes dynamically, a shift of central field of view is needed. Similar to the movement of the eyeball in the mammalian eye, an active mechanism such as a beam steering mirror can be used to relocate the central field of view, and perform the dense sampling in the region of interest.
Different nonlinear group delay profiles result in various types of warped frequency to time mappings. Fig 2A shows a nonuniform group delay profile, which has the same dispersion (slope) as the linear profile in the center of the spectrum, but reduced dispersion at wings. This profile results in data compression by reduction of the overall time duration of the stretched pulses and the number of samples at the expense of lowered spectral resolution in peripheral regions of the spectrum. Fig 2B shows another nonuniform group delay profile, which has the same overall time duration and number of samples as the linear case. This profile redistributes the spectral samples to achieve higher spectral resolution in information-rich central region of the spectrum and lower resolution in sparse peripherals.
To help visualize the analog image reshaping performed by warped dispersive stretch and to show how it leads to data compression in imaging, we emulate its effect on a two-dimensional image. As shown in Fig 3A, the image is first stretched and then uniformly down-sampled to achieve data compression, followed by reconstruction (unstretch). By using a nonlinear stretch, the reconstructed image is equivalent to a nonuniformly down-sampled image. Fig 3B shows the original image as if it was generated by a linear dispersion and uniform stretch, and Fig 3C is after nonuniform stretching of the original image in the horizontal direction. The chosen image has higher density of features in the central portion than in the periphery. The warp profile is as indicated in Fig 2B where the peripheral regions are stretched less than the center. Fig 3D is the linearly stretched image after 14:1 down-sampling and reconstruction. As it can be seen in the zoomed-in image 3e, down-sampling has resulted in a loss of resolution. On the other hand, Fig 3F is the nonuniformly stretched image after 14:1 down-sampling followed by reconstruction. Although the final image size is the same, the nonuniformly stretched image has much higher quality in the non-sparse center of field of view (Fig 3G).
Big data problems also appear in light scattering based flow cytometry. There the instrument measures the angular dependence of laser light scattered by particles in flow. The angular scattering profile of microscopic particles significantly depends on their morphological parameters, such as size and shape, and this dependency is widely used in flow cytometry for particle classification [34]. Recently a new spectrally encoded angular light scattering method capable of measuring the continuous angular spectrum has been reported [35]. The warped time-stretch optical data compression technique demonstrated here can also be used for real-time data compression in such optical systems.
Results
The experimental setup used for our proof-of-principle demonstration of optical image compression is shown in Fig 4. A mode-locked fiber laser generated pulses at around 1550 nm with a repetition rate of 36.129 MHz and a pulse width slightly less than 100 fs. A short dispersion compensating fiber with an overall dispersion of 10 ps/nm was used to temporally broaden pulses to about 1 ns, so that an erbium-doped fiber amplifier (EDFA) can amplify them without any distortion. Since the output spectrum of EDFA is sensitive to the input polarization, a polarization controller was used to change the polarization of the input pulses to EDFA. The polarization was tuned in such a way that the output amplified pulses had relatively symmetric spectrum around 1550 nm. Amplified pulses then entered a coarse wavelength-division multiplexing (WDM) filter, and the output of 1551 nm channel was used to shape laser pulses with a considerably low noise floor over 1541 nm to 1561 nm bandwidth. These pulses passed through an optical circulator and were coupled to free-space with a fiber collimator.
Free-space laser pulses were linearly polarized with quarter- and half-wave plates, and then, they were spatially dispersed with a pair of reflection diffraction gratings, so that each wavelength component of the collimated beam was positioned at a different lateral point similar to a rainbow. The width of the rainbow depended on the size of the second diffraction grating and the distance between two diffraction gratings, and the height of the rainbow depended on the beam size from the fiber collimator. In this setup, the total bandwidth of the pulses interrogating the target is limited to about 10 nm centered at 1551 nm because of the clipping of the rainbow at the edges of the second diffraction grating. The horizontal field of view, which was dictated by the width of the rainbow, was 5 cm. Different wavelength components of the rainbow reached a reflective object. Each pulse of the mode-locked laser generates one rainbow, which captures one line image across the field of view. The rainbow components located at the target were reflected back (Fig 5A) and returned all the way back to the fiber, where they were directed with the optical circulator to an amplified time-stretch system (Fig 4). The nonlinearly dispersed pulses with chirped group delay profile are captured by a 10 GHz-bandwidth single-pixel photodetector and digitized in real-time. An analog-to-digital convertor (ADC) with a sampling rate of 20 GSps and 7 GHz bandwidth was used to digitize the output signal of the photodetector. To achieve warped stretch, we used a fiber Bragg grating with customized chirp profile, whose performance was studied in [20] and is shown in Fig 5B.
The two-dimensional image was reconstructed by stacking spectrally-encoded horizontal line images at different steps of the vertical scan. If instead of the fiber Bragg grating, a dispersive fiber with linear group delay was used, the reconstructed image from one pulse per horizontal line was as shown in Fig 5C. But, for the case of a fiber Bragg grating, since each line-scan is warped, the warping of the image is observed in the horizontal direction (Fig 5D). This effectively means that the central area (letter “S”) is sampled with higher resolution than the peripherals (letters “A” and “T”). With the unwarping algorithm derived from the reverse dispersion profile, the uniform image was successfully reconstructed with a reduced data acquisition time and number of samples (Fig 5E). Compared to the case of the linear group delay (Fig 5C), an image with comparable quality is generated with only one-third of the data size (Fig 5E). We note that the reconstruction is an intensity-only operation and does not require optical phase retrieval. Images with improved quality can be generated by averaging many pulses to form each horizontal line image. However, this reduces the frame rate of the time stretch camera. Fig 5F, 5G, and 5H show such images formed by averaging 722 pulses for each horizontal line. Although the image quality is slightly better using averaging, but in our demonstration, the signal-to-noise ratio even in single-pulse acquisition mode (Fig 5C, 5D, and 5E) is high enough that the target features are clearly recognizable, and there is no need for averaging. This is due to the relatively high pulse-to-pulse stability of the STEAM setup.
Warped group delay profiles used here are only a few cases of the unlimited variety of nonlinear space-to-frequency-to-time mappings that can be integrated into time stretch imaging, each corresponding to their unique nonuniform sampling patterns. As another example, Fig 6 shows the nonlinear frequency-to-time mapping profile that is designed for a microfluidic channel with two focal regions (cell flow lanes), a common case in inertial focusing [36, 37]. The profile shown here is designed to have two high-resolution sampling areas corresponding to where the cells are confined. Three low-resolution sampling regions provide coarse resolution in the peripherals regions between the cell flow lanes. The nonuniform mappings can even be reshaped dynamically based on relatively slower transitions in the sparsity characteristics of the image, in other words, alterations in the information rich areas of the image. To achieve such a functionality, the group delay profile of the dispersive element should be tunable and controlled by a feedback mechanism. In terms of tunable dispersion, Chromo-Modal Dispersion (CMD) offers wide tunability, broad spectrum, and low loss [38].
Furthermore, warped stretch imaging is not limited to using warped group delay to perform nonlinear space-to-frequency-to-time mapping. It can also be achieved by nonuniform space-to-frequency mapping, eg. warped rainbows, where rainbow frequency components are not equally spaced. This can be implemented by frequency-dependent spatial dispersers such as custom-designed diffraction gratings and virtually imaged phased arrays.
Conclusion
Real-time optical image compression is needed to address the fundamental challenges in acquiring and storing the large amount of data generated in high-speed imaging. Here, we have demonstrated one such technique applied to time stretch imaging. Using warped group delay dispersion, we achieved warped stretch imaging in such a way that the information-rich central vision is sampled at a higher sample density than the sparse peripheral vision. Most notably, this was done using a uniform electronic sampler, i.e. without adaptive or dynamic control over the electronic sampling rate. A three-time image compression was achieved in experimental proof of concept demonstration. Our nonuniform sampling technique could offer one route to taming the capture, storage, and transmission bottlenecks associated with big data.
Acknowledgments
This work was partially supported by the Office of Naval Research (ONR) MURI Program on Optical Computing and by Nantworks LLC. We are grateful to Jacky Chan in Jalali-Lab at UCLA for helpful discussions and suggestions regarding signal processing. We are also thankful of Dr. Mohammad Asghari for the chirped fiber Bragg grating used in the experiments.
Data Availability
The full database analyzed in this study is deposited in Data Dryad (www.datadryad.org) at http://dx.doi.org/10.5061/dryad.2h7d2.
Funding Statement
This work was partially supported by the Office of Naval Research (ONR) MURI Program on Optical Computing and by Nantworks LLC. The funder had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1. Jalali B, Asghari MH. Anamorphic Stretch Transform: Putting the squeeze on Big Data. Opt Photonics News. 2011; 5 (2): 24–31. [Google Scholar]
- 2. Goda K, Tsia KK, Jalali B. Serial time-encoded amplified imaging for realtime observation of fast dynamic phenomena. Nature. 2009; 458: 1145–1149. 10.1038/nature07980 [DOI] [PubMed] [Google Scholar]
- 3. Mahjoubfar A, Chen CL, Niazi KR, Rabizadeh S, Jalali B. Label-free high-throughput cell screening in flow. Biomed Opt Express. 2013; 4: 1618–1625. 10.1364/BOE.4.001618 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Mahjoubfar A, Goda K, Ayazi A, Fard A, Kim SH, Jalali B. High-speed nanometer-resolved imaging vibrometer and velocimeter. Appl Phys Lett. 2011; 98: 101107. [Google Scholar]
- 5. Mahjoubfar A, Goda K, Wang C, Fard A, Adam J, Gossett DR, et al. 3D ultrafast laser scanner. Proc SPIE. 2013; 8611: 86110N. [Google Scholar]
- 6. Mahjoubfar A, Chen CL, Niazi K, Rabizadeh S, Jalali B. Label-free high-throughput imaging flow cytometry. Proc SPIE. 2014; 8972: 89720F. [Google Scholar]
- 7.Chen CL, Mahjoubfar A, Huang A, Niazi K, Rabizadeh S, Jalali B. Hyper-dimensional analysis for label-free high-throughput imaging flow cytometry. Conf Lasers Electro Optics. 2014; Applications and Technology: AW3L.2.
- 8. Qian F, Song Q, Tien EK, Kalyoncu SK, Boyraz O. Real-time optical imaging and tracking of micron-sized particles. Opt Commun. 2009; 282 (24): 4672–4675. [Google Scholar]
- 9. Wong TTW, Lau AKS, Ho KKY, Tang MYH, Robles JDF, Wei X, et al. Asymmetric-detection time-stretch optical microscopy (ATOM) for ultrafast high-contrast cellular imaging in flow. Sci Rep. 2013; 4: 3656. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Lau AKS, Wong TW, Ho KY, Tang MTH, Chan ACS, Wei X, et al. Interferometric time-stretch microscopy for ultrafast quantitative cellular and tissue imaging at 1 μm. J Biomed Opt. 2014; 19 (7): 076001. [DOI] [PubMed] [Google Scholar]
- 11. Zhang C, Xu Y, Wei X, Tsia KK, Wong KKY. Time-stretch microscopy based on time-wavelength sequence reconstruction from wideband incoherent source. Appl Phys Lett. 2014; 105: 041113. [Google Scholar]
- 12. Wei X, Lau AKS, Xu Y, Zhang C, Mussot A, Kudlinski A, et al. Broadband fiber-optical parametric amplification for ultrafast time-stretch imaging at 1.0μm. Opt Lett. 2014; 39: 5989–5992. 10.1364/OL.39.005989 [DOI] [PubMed] [Google Scholar]
- 13. Diebold ED, Buckley BW, Gossett DR, Jalali B. Digitally synthesized beat frequency multiplexing for sub-millisecond fluorescence microscopy. Nat Photonics. 2013; 7: 806–810. [Google Scholar]
- 14. Solli DR, Ropers C, Koonath P, Jalali B. Optical rogue waves. Nature. 2007; 450: 1054–1057. [DOI] [PubMed] [Google Scholar]
- 15. Goda K, Ayazi A, Gossett DR, Sadasivam J, Lonappan CK, Sollier E, et al. High-throughput single-microparticle imaging flow analyzer. Proc Natl Acad Sci U S A. 2012; 109 (29): 11 630–11 635. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Ng W, Rockwood T, Reamon A. Demonstration of Channel-Stitched Photonic Time-Stretch Analog-to-Digital Converter with ENOB ≥ 8 for a 10 GHz Signal Bandwidth. GOMACTech-14, Charleston, South Carolina, 3/31/2014-4/3/2014.
- 17. Goda K, Mahjoubfar A, Wang C, Fard A, Adam J, Gossett DR, et al. Hybrid Dispersion Laser Scanner. Sci Rep. 2012; 2:445 10.1038/srep00445 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Yazaki A, Kim CK, Chan J, Mahjoubfar A, Goda K, Watanabe M, et al. Ultrafast dark-field surface inspection with hybrid-dispersion laser scanning. Appl Phys Lett. 2014; 104 (25): 251106. [Google Scholar]
- 19. Asghari MH, Jalali B. Anamorphic transformation and its application to time bandwidth compression. Appl Opt. 2013; 52: 6735–6743. 10.1364/AO.52.006735 [DOI] [PubMed] [Google Scholar]
- 20. Asghari MH and Jalali B. Experimental demonstration of real-time optical data compression. Appl Phys Lett. 2014; 104: 1–4. [Google Scholar]
- 21. Jalali B, Chan J, Asghari MH. Time bandwidth engineering. Optica. 2014; 1: 23–31. [Google Scholar]
- 22. Chan J, Mahjoubfar A, Asghari MH, Jalali B. Reconstruction in Time-Bandwidth Compression Systems. Appl Phys Lett. 2014; 105 (22), 221105. [Google Scholar]
- 23. Goda K, Jalali B. Dispersive Fourier transformation for fast continuous single-shot measurement. Nat Photonics. 2013; 7: 102–112. [Google Scholar]
- 24. Mahjoubfar A, Goda K, Betts G, Jalali B. Optically amplified detection for biomedical sensing and imaging. J Opt Soc Am. 2014; 30 (10): 2124–2132. 10.1364/JOSAA.30.002124 [DOI] [PubMed] [Google Scholar]
- 25.Chen H, Weng Z, Liang Y, Lei C, Xing F, Chen M, et al. High speed single-pixel imaging via time domain compressive sampling. Conf Lasers Electro Optics. 2014; OSA Technical Digest: JTh2A.132.
- 26.Bosworth BT, Foster MA. High-speed flow imaging utilizing spectral-encoding of ultrafast pulses and compressed sensing. Conf Lasers Electro Optics. 2014; OSA Technical Digest: ATh4P.3.
- 27. Nichols JM, Bucholtz F. Beating Nyquist with light: a compressively sampled photonic link. Opt Express. 2011; 19: 7339–7348. 10.1364/OE.19.007339 [DOI] [PubMed] [Google Scholar]
- 28. Valley GC, Sefler GA, Shaw TJ. Compressive sensing of sparse radio frequency signals using optical mixing. Opt Lett. 2012; 37: 4675–4677. [DOI] [PubMed] [Google Scholar]
- 29. Bosworth BT, Foster MA. High-speed ultrawideband photonically enabled compressed sensing of sparse radio frequency signals. Opt Lett. 2013; 38: 4892–4895. 10.1364/OL.38.004892 [DOI] [PubMed] [Google Scholar]
- 30. Liang Y, Chen M, Chen H, Lei C, Li P, and Xie S. Photonic-assisted multi-channel compressive sampling based on effective time delay pattern. Opt Express. 2013; 21: 25700–25707. 10.1364/OE.21.025700 [DOI] [PubMed] [Google Scholar]
- 31. Chen Y, Yu X, Chi H, Jin X, Zhang X, Zheng S, et al. Compressive sensing in a photonic link with optical integration. Opt Lett. 2014; 39: 2222–2224. 10.1364/OL.39.002222 [DOI] [PubMed] [Google Scholar]
- 32. Gupta V, Jafferji I, Garza M, Melnikova VO, Hasegawa DK, Pethig R, et al. ApoStream, a new dielectrophoretic device for antibody independent isolation and recovery of viable cancer cells from blood. Biomicrofluidics. 2012; 6(2): 024133. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.http://commons.wikimedia.org/wiki/File:Istv%C3%A1n_Orosz_cylinder_painting.jpg
- 34. Shapiro HM. Practical flow cytometry 4th ed. John Wiley & Sons; 2003. [Google Scholar]
- 35. Adam J, Mahjoubfar A, Diebold ED, Buckley BW, and Jalali B. Spectrally encoded angular light scattering. Opt Express. 2013; 21 (23): 28960–28967. 10.1364/OE.21.028960 [DOI] [PubMed] [Google Scholar]
- 36. Di Carlo D, Irimia D, Tompkins RG, Toner M. Continuous inertial focusing, ordering, and separation of particles in microchannels. Proc Natl Acad Sci U S A. 2007; 104: 18892–7 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37. Di Carlo D. Inertial microfluidics. Lab Chip. 2009; 9: 3038–3046 10.1039/b912547g [DOI] [PubMed] [Google Scholar]
- 38. Diebold ED, Hon NK, Tan Z, Chou J, Sienicki T, Wang C, et al. Giant tunable optical dispersion using chromo-modal excitation of a multimode waveguide. Opt Express. 2011; 19: 23809–23817. 10.1364/OE.19.023809 [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The full database analyzed in this study is deposited in Data Dryad (www.datadryad.org) at http://dx.doi.org/10.5061/dryad.2h7d2.