<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Spatial- and Fourier-domain ptychography for high-throughput bio-imaging</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>07/01/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10438531</idno>
					<idno type="doi">10.1038/s41596-023-00829-4</idno>
					<title level='j'>Nature Protocols</title>
<idno>1754-2189</idno>
<biblScope unit="volume">18</biblScope>
<biblScope unit="issue">7</biblScope>					

					<author>Shaowei Jiang</author><author>Pengming Song</author><author>Tianbo Wang</author><author>Liming Yang</author><author>Ruihai Wang</author><author>Chengfei Guo</author><author>Bin Feng</author><author>Andrew Maiden</author><author>Guoan Zheng</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[First envisioned for determining crystalline structures, ptychography has become a useful imaging tool for microscopists. However, ptychography remains underused by biomedical researchers due to its limited resolution and throughput in the visible light regime. Recent developments of spatial-and Fourier-domain ptychography have successfully addressed these issues and now offer the potential for high-resolution, high-throughput optical imaging with minimal hardware modifications to existing microscopy setups, often providing an excellent trade-off between resolution and field of view inherent to conventional imaging systems, giving biomedical researchers the best of both worlds. Here, we provide extensive information to enable the implementation of ptychography by biomedical researchers in the visible light regime. We first discuss the intrinsic connections between spatial-domain coded ptychography and Fourier ptychography. A stepby-step guide then provides the user instructions for developing both systems with practical examples. In the spatialdomain implementation, we explain how a large-scale, high-performance blood-cell lens can be made at negligible expense. In the Fourier-domain implementation, we explain how adding a low-cost light source to a regular microscope can improve the resolution beyond the limit of the objective lens. The turnkey operation of these setups is suitable for use by professional research laboratories, as well as citizen scientists. Users with basic experience in optics and programming can build the setups within a week. The do-it-yourself nature of the setups also allows these procedures to be implemented in laboratory courses related to Fourier optics, biomedical instrumentation, digital image processing, robotics and capstone projects.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Introduction</head><p>Phase information characterizes how much a light wave is delayed by propagation through a sample. However, light detectors can only measure intensity variations of the light wave, leading to the loss of the associated phase information, referred to as the 'phase problem'. This term originates from the field of crystallography <ref type="bibr">1</ref> , where the phase problem needs to be solved to determine the structure of a crystal from diffraction measurements. Ptychography was originally developed in 1969 to solve the phase problem of electron crystallography <ref type="bibr">2</ref> . By measuring diffraction data as a narrow coherent probe beam translated across a crystalline specimen, it aimed to extract the phase of the crystal's Bragg peaks-the interference maxima caused by crystal lattice scattering-and thereby recover a real-space image of the crystal structure. The name 'ptychography' (pronounced tie-KOH-gra-fee) was derived from the Greek ptycho, meaning to fold in English and convolution in German <ref type="bibr">3</ref> . It was chosen to highlight the spatial-domain interaction between the probe beam and the crystalline specimen, which can be modeled by a Fourier-domain convolution between the Bragg peaks and the probe's Fourier spectrum. Although the experimental and computational implementations of ptychography have changed considerably since its inception, convolution in reciprocal space remains a key aspect of the technology and the name remains appropriate today.</p><p>Since its conceptualization in 1969, it has taken several developments to make ptychography a practical and appealing imaging technique. One notable advance was the adoption of an iterative phase retrieval framework for image reconstruction, which brought the technique to its modern form <ref type="bibr">4</ref> . The experimental procedure remains the same: the object under testing is translated through a spatially confined probe beam and the corresponding diffraction patterns are recorded in reciprocal space (Fig. <ref type="figure">1a</ref>). Unlike the original concept, however, which used an analytic inversion method that required an impractically large number of measurements, modern ptychography iteratively recovers the object from a substantially smaller dataset by imposing two sets of constraints. In real space, the translation of the object through the probe beam results in a patchwork of overlapping illumination areas on the object surface, and the reconstructed object image must be consistent in these overlapping areas. In reciprocal space, the diffraction measurements serve as constraints on the reconstructed object image, whose Fourier transform must match the measured diffraction data for each position of the probe beam. The iterative reconstruction process of ptychography in Fig. <ref type="figure">1b,</ref><ref type="figure">c</ref> essentially looks for an object estimate that satisfies both constraints. As shown in the right panel of Fig. <ref type="figure">1b</ref>, the overlapping areas of illumination during adjacent measurements is the key innovation offered by ptychography over other phase retrieval methods, since it both avoids ambiguities in the solution and accelerates the convergence speed of the phase retrieval process.</p><p>With the help of the iterative phase retrieval framework, ptychography has since evolved into an enabling microscopy technique where image-forming optics are replaced by computational reconstructions. Over the past decades, ptychography has attracted considerable attention from different research communities <ref type="bibr">3,</ref><ref type="bibr">[5]</ref><ref type="bibr">[6]</ref><ref type="bibr">[7]</ref> . For coherent X-ray imaging, it has become an indispensable imaging tool at most synchrotrons and national laboratories worldwide <ref type="bibr">8</ref> . For electron microscopy, recent work has pushed imaging resolution to record-breaking deep subangstrom levels <ref type="bibr">9</ref> . For visible light imaging, new developments in spatial-and Fourier-domain ptychography <ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref><ref type="bibr">[13]</ref><ref type="bibr">[14]</ref> has offered unique solutions for high-resolution, high-throughput optical imaging with minimal hardware modifications.</p><p>To facilitate the uptake of ptychography by biomedical researchers in different fields, here we provide a comprehensive protocol detailing the implementation of both spatial-domain coded ptychography (CP) and Fourier-domain ptychography (FP) in the visible light regime <ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref><ref type="bibr">[13]</ref><ref type="bibr">[14]</ref> . We present alternative methods, examine the advantages and limitations of different ptychographic implementations, and identify the critical steps and pitfalls that may occur during experiments. Users with basic experience in optics and programming can complete the setups and perform ptychographic reconstructions in ~1 week. The do-it-yourself nature of the setups also allows this protocol to be implemented in laboratory courses related to Fourier optics, biomedical instrumentation, digital image processing, robotics and capstone design projects.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Development of the protocol</head><p>Built upon the modern form of ptychography, FP and CP are two variants that are designed to achieve high-resolution, high-throughput imaging with visible light. The FP approach was developed in 2013 to improve the resolution of a regular lens-based microscope beyond the diffraction limit set by the objective lens <ref type="bibr">10</ref> . A typical FP setup consists of a programmable light-emitting diode (LED) array and a regular microscope with a low numerical aperture (NA) objective lens. The system configuration in Fig. <ref type="figure">2</ref> defines three planes for the FP setup: the specimen at the object plane (x,y), the pupil aperture at the Fourier plane (k x ,k y ) and the detector at the image plane (x,y). The objective lens performs a Fourier transform to convert the light waves from the object plane (x,y) to the aperture plane (k x ,k y ). The tube lens performs a second Fourier transform to convert the light waves from the Fig. <ref type="figure">1</ref> | The modern form of ptychography. a, The complex-valued object O(x,y) is translated through a spatially confined probe beam P(x,y). The product between the object profile and the probe beam propagates to the far-field via a Fourier transform. The diffraction measurement can be expressed as</p><p>, where (k x ,k y ) are the coordinates of the Fourier plane, (x i , y i ) is the ith translated position of the object and FT denotes the Fourier transform. The resulting dataset I i (i = 1,2,3&#8230;) is a collection of diffraction measurements for all translated positions of the object. b, The reconstruction process iteratively imposes two constraints to recover the object profile. The first constraint imposes consistency in the overlapping illumination areas on the object surface and is implemented by updating the object estimate in real space. The second constraint is the Fourier magnitude constraint imposed in reciprocal space. It is implemented by replacing the modulus of the estimated diffraction pattern with the square-root of the corresponding measured intensity whilst keeping the phase unchanged. c, The iterative process converges to an object image with both intensity and phase properties.</p><p>aperture plane (k x ,k y ) to the image plane (x,y). In this imaging model, the pupil aperture in the Fourier plane effectively serves as a low-pass filter for the measurement in the image plane.</p><p>In the operation of FP, the LED array illuminates the object with plane waves at different incident angles and the system records the corresponding low-resolution intensity images I i (x,y) (i = 1,2,&#8230;). Each measurement corresponds to the information from a circular aperture region in Fourier space (see the 'Spectrum &#212; k x ; k y &#192; &#193; ' image in Fig. <ref type="figure">2</ref>). The size of the aperture is determined by the NA of the objective whilst its offset from the origin is determined by the illumination wavevector (k xi ,k yi ) of the ith LED element. Following the iterative phase retrieval process, we can synthesize the measurements in the Fourier domain and recover the object spectrum &#212; k x ; k y &#192; &#193; . The high-resolution object image O(x,y) can then be obtained by transforming the synthesized spectrum back to the spatial domain (see the 'Imaging model' section in Fig. <ref type="figure">2</ref>). The resolution of this recovered image is no longer limited by the employed objective lens. Instead, it is determined by the maximum incident angle of the LED array: the larger the maximum incident angle, the better the resolution. On the other hand, this image retains the original large field of view of the low-NA objective lens. Since its first demonstration, FP has Measurements th At the detector plane, the captured image: th Fig. <ref type="figure">2</ref> | Spatial-domain CP and FP. Left: in the Fourier-domain implementation, a programmable LED array is used to illuminate the object with anglevaried plane waves. The captured images are used to recover the object spectrum in the Fourier domain. The recovered spectrum is then transformed back to the spatial domain to obtain a complex-valued object image. Right: in the spatial-domain implementation, a coded surface on the image sensor (e.g., a blood-cell layer) is used to modulate the diffracted light waves from the object. By translating the object (or the coded sensor) to different lateral positions, the corresponding captured images are used to recover the object's exit wavefront at the coded surface plane. This wavefront is then propagated to the object plane to obtain a high-resolution complex-valued object image.</p><p>evolved from a simple microscope tool to a general technique for different research communities <ref type="bibr">[15]</ref><ref type="bibr">[16]</ref><ref type="bibr">[17]</ref><ref type="bibr">[18]</ref> . For example, the FP concept has been integrated with diffraction tomography for high-resolution 3D microscopy imaging <ref type="bibr">19,</ref><ref type="bibr">20</ref> . It has also been adopted in long-range synthetic aperture remote sensing <ref type="bibr">[21]</ref><ref type="bibr">[22]</ref><ref type="bibr">[23]</ref><ref type="bibr">[24]</ref> and implemented with coherent X-ray for dose-efficient nanoscopy <ref type="bibr">25</ref> .</p><p>Unlike the lens-based FP system, spatial-domain CP was developed to perform high-resolution, high-throughput imaging without using any optical lenses. It takes a downstream modulation scheme for coded detection <ref type="bibr">[26]</ref><ref type="bibr">[27]</ref><ref type="bibr">[28]</ref> , where the information encoding process is performed at the detection path. Compared with FP, CP replaces the lens system with a simple blood-cell layer coated on the image sensor. The system configuration in Fig. <ref type="figure">2</ref> defines three planes for a typical CP setup: the specimen at the object plane (x,y), the blood-cell layer at the modulation plane (x&#8242;,y&#8242;), and the detector at the image plane x 00 ; y 00 &#240; &#222;. The light waves propagate for a distance d 1 from the object plane (x,y) to the modulation plane (x&#8242;,y&#8242;), and a distance d 2 from the modulation plane x 0 ; y 0 &#240; &#222; to the image plane x 00 ; y 00 &#240; &#222;. The blood-cell layer redirects light diffracted at a large angle by the object to smaller angles that can be detected by the pixel array. Therefore, previously inaccessible high-resolution object details can now be acquired using the image sensor <ref type="bibr">11,</ref><ref type="bibr">13</ref> . To this end, the blood-cell layer serves as a high-resolution bio-lens with a theoretically unlimited field of view. It can unlock an optical space with spatial extent (x,y) and spatial frequency content (k x ,k y ) that is inaccessible using conventional lens-based optics. We also note that a disorder-engineered surface can replace the blood-cell layer in a CP setup <ref type="bibr">11</ref> . However, preparation of the disorder-engineered surface often requires specialized tools and chemicals. In contrast, smearing blood on the sensor's coverglass offers a simple yet effective solution for developing a CP setup. With proper cell fixation, the blood-cell layer can preserve its morphology for a relatively long period of time.</p><p>In the operation of CP, a laser is coupled to a single-mode fiber and used to illuminate the object under imaging. By translating the object (or the blood-coated sensor) to different lateral positions, the system records a set of intensity images I i x 00 ; y 00 &#240; &#222;(i = 1,2,&#8230;). Following the iterative phase retrieval process, the complex object exit wavefront W x 0 ; y 0 &#240; &#222; at the modulation plane is recovered. This wavefront is then propagated to the object plane to obtain the high-resolution object profile O(x,y).</p><p>The intrinsic connections between FP and CP are summarized in the 'Imaging model' and 'Operation' sections of Fig. <ref type="figure">2</ref>. With FP, the object locates in real space, and the two optical lenses transform it to reciprocal space and then back to real space again. The pupil aperture serves as the effective ptychographic probe in the Fourier plane. With CP, the object locates in real space, and the two propagation operations transform it to the modulation plane and then to the image plane. The blood-coated layer in CP serves as the effective ptychographic probe in the modulation plane. We can see that the two Fourier transform operations in FP are replaced by two free-space propagation operations in CP. Both FP and CP illuminate the specimen using an extended beam that covers a large area for image acquisition. This is a key consideration for high-throughput microscopy imaging.</p><p>One distinction between FP and CP is the employed light source: low-coherence LEDs for FP and a laser for CP. This difference can be explained by the temporal coherence requirements of the systems. With FP, chromatic dispersion can be partially compensated by the lenses of the microscope: light with a small spectral bandwidth (~15 nm for LEDs) can be brought to the same image plane. With CP, on the other hand, light at different wavelengths will be dispersed to different axial planes after free-space propagation. Therefore, CP has a more stringent requirement on the temporal coherence of the light source and the monochromatic laser is a more appropriate choice. However, it is also possible to model the captured images from an LED source as coherent state mixtures <ref type="bibr">29,</ref><ref type="bibr">30</ref> in a CP experiment <ref type="bibr">31</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Alternative methods</head><p>Drawing connections and distinctions between the two ptychographic implementations and other microscopy techniques helps to further clarify their advantages and working principles. In the following, we discuss four related techniques: (1) the traditional ptychography approach, (2) structured illumination microscopy (SIM), (3) common lensless microscopy techniques and (4) lens-based robotic microscopes.</p><p>The traditional ptychography approach uses a spatially confined probe beam for object illumination (Fig. <ref type="figure">1a</ref>). Such a probe beam often varies between different experiments due to the sample alignment or light-source instability issues. For example, it is challenging to place different specimens in the exact same position of the confined probe beam. As a result, one often needs to jointly recover both the object and the probe beam for each experiment <ref type="bibr">[32]</ref><ref type="bibr">[33]</ref><ref type="bibr">[34]</ref> , a problem referred to as blind ptychography. Unlike the confined probe used in traditional ptychography, FP uses the pupil aperture and CP uses the blood-cell layer as the effective probe. These probes are hardcoded into the imaging systems and once characterized they remain unchanged for subsequent experiments. The pupil aperture in FP does vary at different spatial locations of the object's field of view <ref type="bibr">35,</ref><ref type="bibr">36</ref> and characterizing these spatially varying pupil aberrations can require expert knowledge of aberration modes <ref type="bibr">36</ref> . In contrast, CP has the advantage that it does not use any optical lenses in the setup and as a result, its ptychographic probe (the blood-cell layer) remains spatially invariant for different regions of the object.</p><p>SIM uses nonuniform intensity patterns (e.g., sinusoidal and random speckle patterns) to modulate high-frequency object information into the passband of the optical system <ref type="bibr">37</ref> . In contrast, different plane waves are used for sample illumination in FP. The real-space product of the object and the plane wave corresponds to a shift of the object spectrum in the Fourier space. Therefore, the otherwise undetectable high-frequency object details can now be seen by the detector. Similarly, CP uses the blood-cell layer to redirect light waves with large diffraction angles into smaller angles for detection. As such, the blood-cell layer serves the role of a nonuniform illumination pattern similar to that used in SIM. We note that, however, the intensity-based nature of SIM allows it to be implemented for incoherent fluorescence microscopy. On the other hand, FP and CP are coherent imaging modalities and cannot be directly applied to incoherent imaging. When the same objective lens is used for both pattern projection and object detection in SIM, the resolution enhancement factor is limited to 2. The resolution enhancement factor of FP can well exceed 2 by using a low-NA lens for image acquisition. The highest synthetic NA demonstrated for FP is 1.9 in free space <ref type="bibr">38</ref> , close to the maximum possible synthetic NA of 2. The resolution of CP is determined by the largest diffraction angle that can be detected and this angle corresponds to an NA of 1 in free space, with the highest resolution currently achieved equivalent to an NA of ~0.8 (ref. <ref type="bibr">11</ref> ). We note that it is also possible to perform angle-varied illumination in CP to synthesize a maximum possible synthetic NA of 2.</p><p>Conventional multiheight lensless microscopy introduces different object-to-detector distances (or equivalently, different illumination wavelengths) to obtain multiple measurements for phase retrieval. The concept was first proposed in 1968 for electron microscopy <ref type="bibr">39</ref> and has shown great potential for lensless imaging in the visible light regime <ref type="bibr">[40]</ref><ref type="bibr">[41]</ref><ref type="bibr">[42]</ref> . However, it is challenging for this technique to recover the correct phase of the object. The reason can be explained by the concept of the phase transfer function, which characterizes the transfer of phase content at different spatial frequencies through an optical system <ref type="bibr">43</ref> . For low-frequency content, the phase transfer function is close to 0 for multiheight measurements. Therefore, the low-frequency content is lost during the image acquisition process and cannot be restored from the subsequent phase retrieval process. A simple example helps to better illustrate this problem. In this thought experiment, an optical prism is placed on top of the image sensor and illuminated with a plane wave. The resulting multiheight measurements would be a constant value at each height and the phase delay introduced by the prism cannot be distinguished from free space. Thus, it is impossible to algorithmically restore the linear phase ramp from these measurements. The issue raised by this thought experiment also applies to other conventional lensless microscopy techniques, including the support-constraint approach <ref type="bibr">44,</ref><ref type="bibr">45</ref> , digital in-line holography <ref type="bibr">46</ref> , the transport-of-intensity approach <ref type="bibr">43</ref> and blind ptychography with a unknown probe beam. With CP, on the other hand, the blood-cell layer can effectively convert the object phase information into distortions in the diffraction patterns. Thus, CP enables true quantitative phase recovery for all spatial frequency content with high sensitivity <ref type="bibr">11</ref> . Also, the field of view of conventional lensless techniques is often limited to the area of the sensing surface, typically 20-40 mm 2 . In contrast, the lateral translation operation of CP naturally expands the field of view beyond the sensor size. With these combined advantages, time-lapse monitoring of bacterial growth with a 120 mm 2 field of view, a 15 s per frame temporal resolution and a nanometer-range phase sensitivity has been demonstrated recently <ref type="bibr">14</ref> . It should be noted that the concept of CP can be adopted for multiheight lensless imaging, although the resolution achieved is generally lower than that of CP due to the insufficient measurement diversity provided by the multiheight data <ref type="bibr">47</ref> .</p><p>Lens-based robotic microscopes have advanced notably in recent years, with a key milestone accomplished in 2017 when a whole-slide scanner was approved for primary diagnostic use in the United States <ref type="bibr">48</ref> . However, such systems are costly and often have demanding requirements on mechanical stability. Images of microscope slides often fall out of focus due to the small depth of field of the employed high-NA objective lenses <ref type="bibr">49</ref> . Similarly, in culture-based experiments, one often needs to constantly adjust the focus knob in a time-lapse experiment. Current autofocusing systems in robotic microscopes (e.g., the Nikon Perfect Focus) perform real-time tracking of a reference surface at the interface between the air and Petri dish. The user can then specify an offset distance related to the reference surface for image acquisition. However, the thickness of the dish substrate is not uniform, and the offset distance varies when the user scans different regions of the dish. Thus, it is challenging to perform large-scale monitoring of Petri dishes or multiwell plates over time. With both FP and CP, one can perform postmeasurement refocusing, which eliminates the need to maintain a precise distance between the sample and the imaging system. With CP, the recovered wavefront can be digitally propagated to any position along the optical axis postmeasurement. The translated x-y positions of the object can also be directly recovered from the CP measurements <ref type="bibr">50</ref> , allowing openloop optical acquisition without requiring any feedback from the mechanical stage. To improve the imaging throughput, lens-based robotic microscopes scan the samples at high speed. The resultant motion blur needs to be addressed using pulsed illumination or time-delay-integration detection. In contrast, the scanning step size between adjacent CP measurements is at the micron level, therefore the sample can be in continuous motion without extra pulsed-illumination hardware. Lastly, it is challenging to perform parallel imaging using conventional robotic microscope systems. The scaling of complexity in array microscopy is an obstacle that prevents large-scale, high-throughput imaging for biomedical applications. For example, in drug screening, it is challenging to monitor cell culture growth in real time across all wells simultaneously. In contrast, parallel optical processing using both FP and CP has been demonstrated using multiple image sensors <ref type="bibr">11,</ref><ref type="bibr">51,</ref><ref type="bibr">52</ref> . With FP, a parallel microscope system can simultaneously image all wells on a 96-well plate <ref type="bibr">51</ref> . With CP, gigapixel highresolution microscopic images with a 240 mm 2 effective field of view can be acquired in 15 s using an array of eight coded sensors <ref type="bibr">11</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Advantages and limitations</head><p>The competition between resolution and field of view is a long-standing problem in conventional microscopy systems. FP and CP can address this intrinsic trade-off, offering a unique solution for high-resolution, high-throughput optical imaging with minimal hardware modifications. The imaging acquisition speed can be orders of magnitude higher than conventional robotic microscopes at a small fraction of the cost <ref type="bibr">11</ref> . Unlike holography, both FP and CP do not require a stable reference beam for interferometric measurement, enabling the use of partially coherent light sources such as LEDs for sample illumination. Additionally, they eliminate the isolated object requirement in conventional phase retrieval approaches <ref type="bibr">44,</ref><ref type="bibr">45</ref> , allowing contiguously connected samples to be imaged over an extended area. The lensless nature of CP further allows it to be implemented in the extreme ultraviolet and X-ray regimes, where high-resolution lenses are costly and challenging to make. Both FP and CP also produce a quantitative complex-valued image that reveals the absorption and phaseshift properties of the specimen. The capability for quantitative phase imaging enables high-contrast, label-free imaging of transparent biospecimens and is one motive for visible light and electron microscopy implementations. The richness of the datasets acquired by FP and CP further enables characterization of optical components in the experimental setup, such as measuring and correcting the effects of partial spatial and temporal coherence in light sources <ref type="bibr">53</ref> and computationally compensating for optical aberrations in microscope systems <ref type="bibr">35,</ref><ref type="bibr">36,</ref><ref type="bibr">54</ref> . In recent years, the unique benefits of FP and CP have led to various biomedical imaging applications, including high-throughput digital pathology <ref type="bibr">11,</ref><ref type="bibr">12,</ref><ref type="bibr">[55]</ref><ref type="bibr">[56]</ref><ref type="bibr">[57]</ref> , 2D and 3D quantitative phase imaging <ref type="bibr">19,</ref><ref type="bibr">20,</ref><ref type="bibr">54,</ref><ref type="bibr">[58]</ref><ref type="bibr">[59]</ref><ref type="bibr">[60]</ref><ref type="bibr">[61]</ref><ref type="bibr">[62]</ref> , large-scale live-cell monitoring with subcellular resolution <ref type="bibr">13,</ref><ref type="bibr">51,</ref><ref type="bibr">52,</ref><ref type="bibr">63</ref> , microbial growth detection with nanometer topographic sensitivity <ref type="bibr">14</ref> , antimicrobial susceptibility testing <ref type="bibr">14</ref> , urine sediment screening <ref type="bibr">13</ref> , differential blood count <ref type="bibr">11,</ref><ref type="bibr">64</ref> , cytometric analysis <ref type="bibr">13,</ref><ref type="bibr">52</ref> , optofluidic ptychographic screening <ref type="bibr">65</ref> and depth-multiplexed imaging of stacked biosamples on a chip <ref type="bibr">63</ref> , among others.</p><p>Despite these many benefits, there are also several limitations associated with both implementations. First, a successful reconstruction in FP and CP relies on an accurate imaging model of the system. With FP, the imaging model discussed in Fig. <ref type="figure">2</ref> (the product between the object and the plane wave) assumes that the object section is infinitesimally thin. For any practical specimen with a certain thickness, tilting the illumination plane wave would also change the object spectrum in addition to shifting it in the Fourier space. Therefore, it is challenging for FP to image 3D thick samples such as an optical lens or a large bacterial colony. While it is possible to partially address this issue by implementing diffraction tomography <ref type="bibr">19</ref> or multislice modeling <ref type="bibr">66</ref> in FP, the resulting computational cost may still be prohibitively high for biomedical researchers. In contrast, CP recovers the object exit wavefront at the blood-cell layer plane, avoiding the direct modeling of the light-object interaction process, and so is better suited to imaging thick specimens. This has been demonstrated by imaging inch-size optical lenses, large bacterial colonies and thick cytology smears from fine needle aspiration <ref type="bibr">11,</ref><ref type="bibr">12,</ref><ref type="bibr">14</ref> . By integrating CP with multislice modeling, it is also possible to image multiple stacked biosamples on a chip <ref type="bibr">63</ref> .</p><p>Second, the LED light source used in FP has a low optical flux. A longer exposure time is often required to achieve an adequate signal-to-noise ratio when capturing darkfield images. The laser source for CP, on the other hand, has a high optical flux for a much shorter exposure time, allowing continuous sample motion during the image acquisition process. The laser source in CP, however, introduces coherent artefacts to the captured images. One prominent artifact is the interference fringe pattern caused by multiple reflections between different glass-air interfaces. To reduce the impact of this artifact, we can use a dense monolayer of blood cells on the image sensor and increase the number of acquisitions. Another solution is to coat a thin light-absorbing layer on the sensor's coverglass. Light beams undergoing multiple reflections will be absorbed multiple times, thereby minimizing the coherent artifacts. The third solution is to use a laser with low spatial coherence but high temporal coherence. Such a light source could be the optimal choice for both FP and CP.</p><p>Third, both FP and CP are coherent imaging modalities. Their native forms cannot be used for incoherent fluorescence imaging, although it is possible to extend the concepts for incoherent imaging, in a way similar to SIM <ref type="bibr">[67]</ref><ref type="bibr">[68]</ref><ref type="bibr">[69]</ref><ref type="bibr">[70]</ref> .</p><p>Fourth, in a time-lapse experiment, both FP and CP necessitate substantial computational resources for storing, transferring and processing a large amount of data (measured in terabytes). One strategy is to alleviate this is take advantage of the temporal correlation of the specimens and reduce the number of acquisitions by using the reconstruction from the previous timepoint as the initial guess of the current timepoint <ref type="bibr">14,</ref><ref type="bibr">65</ref> .</p><p>Fifth, the distance between the object and the coded sensor is often less than 1 mm in CP. Therefore, the heat generated by the sensor may affect the specimen, especially for cell culture experiments. We can use heatsinks and small fans to partially address this issue. However, this passive solution is suboptimal as the temperature of the coded sensor surface is still higher than that of the surrounding environment. If the temperature is a critical consideration for the experiment, active thermoelectric cooling and temperature sensor feedback are needed for heat management, which is beyond the scope of this protocol.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Overview of the procedure</head><p>Figure <ref type="figure">3</ref> shows the overall workflow of this protocol: Procedure 1 in the left panel covers the FP system and Procedure 2 in the right panel covers the CP system. Procedure 1 for the FP system begins with the development of a programmable light source (Steps 1-8, Procedure 1). We discuss two designs of the light source: (1) a custom planar LED matrix built with small-pitch surface mount elements and (2) an assembled planar LED array built with off-the-shelf LED matrixes. Next, the light source module is attached to a regular light microscope for system integration (Steps 9-27, Procedure 1). With a properly aligned LED source, we discuss two options to calibrate the incident angles of different LED elements (Steps 28-43, Procedure 1). The first option relies on the brightfield-to-darkfield transition features of the captured image and can be used to calibrate the LED matrix with a well-defined grid pattern (Box 1 and Fig. <ref type="figure">4</ref>). The second option is to place a calibration target at a defocused plane and use a high-NA objective lens to acquire a set of images under illumination with different LED elements. Cross-correlation analysis is then performed to obtain the incident angle information from the captured images. This second angle-calibration option can be used for any planar LED illuminator. Next, we calibrate the pupil aberration of the objective lens (Steps 44-51, Procedure 1). In this process, we use a blood smear slide as the calibration object and acquire a set of images under illumination with different LED elements. The pupil aberration is then jointly recovered with the calibration object. Once the system is fully calibrated, FP imaging experiments can run for different biospecimens (Steps 52-60, Procedure 1). Two approaches are adopted to shorten the acquisition time: (1) different camera gains are applied according to the illumination NAs and (2) a portion of the LED elements are skipped in the acquisition process.</p><p>Procedure 2 for the CP system begins with the preparation of the blood-cell layer on the image sensor (Steps 1-8, Procedure 2). A good CP imaging result can be obtained with a dense and uniform monolayer of goat blood cells on the sensor. Next, the development of a motorized stage for sensor translation is discussed (Steps 9-21, Procedure 2). A low-cost XYZ three-axis stage is modified by replacing its x and y manual actuators with stepper motors. Once the hardware development is completed, system calibration using a blood smear slide as the calibration object is described (Steps 22-39, Procedure 2). The goal of this calibration process is to recover the transmission profile of the blood-cell coded layer on the image sensor. In this calibration experiment, we scan the coded sensor to different lateral positions and acquire the corresponding images for the joint recovery of the coded layer and the calibration object. The positional shift of the coded sensor is obtained using an iterative correlation-analysis approach (Box 2). With the recovered coded layer profile, CP imaging experiments can then be run for different biospecimens (Steps 40-49, Procedure 2).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Experimental design</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Hardware implementation of FP</head><p>We consider the following four experimental aspects for developing the FP setup (an FP setup built using a regular upright microscope (Nikon, Eclipse Ci) and a programmable LED array is shown in Fig. <ref type="figure">5</ref>). k, Selected bio-imaging applications for both implementations. k adapted with permission from ref. <ref type="bibr">13</ref> , American Chemical Society, and ref. <ref type="bibr">14</ref> , Elsevier.</p><p>Microscope selection for FP: an upright microscope system can be configured to image a biospecimen mounted on a regular microscope slide. For imaging cell cultures on a Petri dish or multiwell plate, an inverted microscope can be used instead <ref type="bibr">20,</ref><ref type="bibr">60,</ref><ref type="bibr">61</ref> .</p><p>Objective lens selection for FP: if the targeted application is to perform large-field-of-view imaging, we recommend the following low-NA objective lenses: (1) 2&#215;, 0.1 NA objective lens (Nikon, Plan Apo), (2) 4&#215;, 0.2 NA objective lens (Nikon, Plan Apo), (3) 2&#215;, 0.1 NA objective lens (Thorlabs, TL2X-SAP) and (4) 4&#215;, 0.2 NA objective lens (Thorlabs, TL4X-SAP). If the targeted application is to push the resolution limit to the theoretical maximum <ref type="bibr">38,</ref><ref type="bibr">71,</ref><ref type="bibr">72</ref> , one can choose an objective lens with a high NA, for example, a 40&#215;, 0.95 NA objective lens in free space (Nikon, Plan Apo).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Box 1 | Incident angle calibration and alignment for FP</head><p>We discuss two approaches for obtaining the incident wavevectors of different LED elements. The first is for the planar LED matrix with a welldefined pitch and the second is for planar LED elements arranged at arbitrary 2D locations. In the first approach, we use a blank glass slide as the object and visually select an LED element underneath the blank glass slide as the reference point. On the basis of this reference point, we then select four adjacent centrosymmetric LEDs such that their incident angles are close to the maximum acceptance angle of the objective lens. By turning on these four LEDs, the captured image in Fig. <ref type="figure">4a</ref> exhibits centrosymmetric brightfield-to-darkfield transition features <ref type="bibr">15</ref> . To facilitate the alignment process, we display a cross marker on top of the captured image in Fig. <ref type="figure">4a</ref>. The position of the LED matrix can be adjusted so that the brightfield-to-darkfield transition features are aligned with the cross marker. The spatial position (x i ,y i )s of different LED elements can then be calculated on the basis of the pitch of the matrix and the detector pixel size at the object plane. The red dots in Fig. <ref type="figure">4a</ref> denote the recovered positions of the LED elements with respect to the reference point at the center. For a given position (x c ,y c ) on the captured image, the incident wavevector (k xi , k yi ) can be calculated via:</p><p>where h is the measured distance between the object and the planner LED matrix. Figure <ref type="figure">4b</ref> shows the recovered wavevectors of the planar LED matrix in Fig. <ref type="figure">5b</ref>.</p><p>In the second approach, we use a high-NA objective lens to infer the incident wavevectors of the freeform LED elements located at arbitrary 2D positions <ref type="bibr">88</ref> . First, we place a calibration target (e.g., a blood smear slide) at an out-of-focus plane with a defocused distance &#916;z. We then select and turn on a reference LED element underneath the sample and capture the corresponding image I ref (x,y). Second, a set of defocused images </p><p>where '&#9733;' denotes the cross-correlation operation. On the basis of Fig. <ref type="figure">4d</ref>, the spatial location x i ; y i &#240; &#222;of the ith LED element can be obtained via</p><p>The incident wavevector (k xi , k yi ) of this element can then be calculated by equation ( <ref type="formula">1</ref>), and Fig. <ref type="figure">4e</ref> shows the recovered wavevectors of the illuminator in Fig. <ref type="figure">5c</ref>. In the image acquisition process, CP translates the blood-coated sensor to different x-y positions and records a set of intensity images I i x &#8242;&#8242; ; y &#8242;&#8242; &#192; &#193; s i &#188; 1; 2; &#240; &#222;of the object. The translated positions of the coded sensor need to be recovered for the subsequent reconstruction process. The captured images, however, contain information about both the object and the coded surface. To track the positional shift of the coded sensor, we need to minimize the impact of the coded surface. Since the coded surface remains stationary during the sensor translation process, the modulation effect can be approximated by the sum of all measurements P T t&#188;1 I t x &#8242;&#8242; ; y &#8242;&#8242; &#192; &#193; . Dividing this term can thus effectively reduce the modulation effect of the coded surface <ref type="bibr">50</ref> :</p><p>If we use the first image as the reference, the translational shift between the first and the ith image (x i ,y i ) can be estimated by locating the maximum point of the following cross-correlation map (Fig. <ref type="figure">8a</ref>):</p><p>where '&#9733;' denotes the cross-correlation operation. With the initially estimated shifts (x i ,y i ) in Fig. <ref type="figure">8b</ref>, a reference image can be generated as follows (Fig. <ref type="figure">8c</ref>):</p><p>where the measurements are shifted back to the first translated position and summed to remove the modulation effect of the coded surface. This reference image then replaces the term I &#8242; 1 in equation ( <ref type="formula">5</ref>) for generating a set of updated positional shifts (x i ,y i )s. The correlation analysis procedures of equations ( <ref type="formula">5</ref>) and ( <ref type="formula">6</ref>) are typically repeated one to three times to obtain a motion estimate of the coded sensor with deep subpixel accuracy <ref type="bibr">50</ref> (Fig. <ref type="figure">8c</ref>). Camera selection for FP: we recommend choosing the camera pixel size for FP <ref type="bibr">73</ref> according to the following formula:</p><p>where Mag is the magnification factor of the microscope system, NA obj is the NA of the objective lens and &#955; is the illumination wavelength. The right-hand side of equation ( <ref type="formula">7</ref>) is the sampling condition for the coherent imaging system. If the camera pixel size is larger than this limit, it will cause aliasing issues for the measurements and require a subsampling scheme in the phase retrieval process. The left-hand side of equation ( <ref type="formula">7</ref>) comes from the sampling condition for the incoherent imaging system. A pixel size smaller than this limit leads to data redundancy: no additional object information can be obtained compared with the image captured using a pixel size of (&#955;&#215;Mag)/(4&#215;NA obj ). Instead, a smaller pixel size than this limit often implies a lower full well capacity of the pixel and a higher level of noise. For the FP system discussed in this protocol, we have &#955; = 470 nm, Mag = 2 and NA obj = 0.1, giving a preferred pixel size from 2.34 &#181;m to 4.7 &#181;m according to equation (7). Illuminator selection for FP: we recommend using small and bright surface-mounted LED elements for building the illuminator. For the same illuminator-to-sample distance, a smaller pitch implies a larger spectrum overlap in the Fourier space, thereby enabling a well-constrained and faster FP construction process. One can also bring the illuminator closer to the object to increase the optical flux per area. Other effective illuminators for FP include dome-shape LED arrays <ref type="bibr">74,</ref><ref type="bibr">75</ref> and LED ring array <ref type="bibr">76</ref> . Figure <ref type="figure">4b</ref>,c shows two different planar LED illuminators discussed in this protocol.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Software implementation of FP</head><p>A successful FP reconstruction relies on accurate estimation of the illumination angle and recovery of the spatially variant pupil aberration. Box 1 discusses how to obtain the incident wavevectors of different LED elements using a calibration experiment. Further refinement of the incident wavevectors can be performed in the iterative phase retrieval process <ref type="bibr">77</ref> . For pupil aperture recovery, we model the pupil aberration as a summation of different Zernike modes as follows:</p><p>where circ(NA&#8226;2&#960;/&#955;) represents a circular mask with a radius of NA&#8226;2&#960;/&#955;, corresponding to the aperture size of the microscope system. The term Z n (k x ,k y ) in equation ( <ref type="formula">8</ref>) represents the nth Zernike mode and w n represents the weight of this mode. In the pupil calibration experiment, we use a blood smear as the calibration object and recover the weight w n via gradient descent <ref type="bibr">36</ref> . Once the weights w n (n = 1,2,&#8230;) are recovered from the calibration experiment, we can generate the corresponding pupil using equation ( <ref type="formula">8</ref>) and use it as the initial pupil for all subsequent imaging experiments. Figure <ref type="figure">6</ref> shows the reconstruction pipeline of the FP approach. It consists of three major steps: object initialization, iterative reconstruction and postprocessing transformation. To further refine the pupil aberration, we can jointly update the object and pupil using the rPIE algorithm <ref type="bibr">78</ref> in lines 11-12 of Fig. <ref type="figure">6</ref>. The intensity variation of the captured image can be corrected in the iterative phase retrieval process <ref type="bibr">79</ref> . Other effective algorithms for object and pupil update include the second-order Gauss-Newton method <ref type="bibr">77</ref> and first-order altering direction methods of multipliers <ref type="bibr">80</ref> , among others <ref type="bibr">6</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Hardware implementation of CP</head><p>Figure <ref type="figure">7a</ref> shows a CP setup built using a blood-coated image sensor, a modified low-cost motorized stage and a fiber-coupled laser light source. We consider the following three experimental aspects for developing the CP setup. Blood-coated image sensor for CP: the selection of the image sensor is critical to the image quality of the CP reconstruction. We recommend a monochrome image sensor with a pixel size of 1.85 &#181;m in this protocol (Sony IMX 226, The Imaging Source, DMM 37UX226). Other sensors with smaller pixel sizes can also be selected for implementing CP. Figure <ref type="figure">7b,</ref><ref type="figure">c</ref>  blood-coated surface on the image sensor. We recommend using goat blood as it can be purchased at a low cost and has the smallest blood cell size (of 2-3 &#956;m) among all animals. An alternative to this blood-cell layer is the disorder-engineered surface with both phase scatters and intensity absorbers <ref type="bibr">11</ref> .</p><p>Mechanical stage selection for CP: we choose a low-cost XYZ three-axis manual stage for the CP setup. As shown in Fig. <ref type="figure">7a</ref>, the x and y manual actuators are replaced by two stepper motors for motorized control. The z actuator allows users to adjust the distance between the coded sensor and the specimen. The scanning positions of the modified motorized stage can be inferred from the captured raw images (Fig. <ref type="figure">8</ref>), allowing open-loop operation without requiring any position feedback. However, if the sample itself does not have any feature (e.g., a blank glass slide), the positional tracking process may not work and we may need to pair another image sensor for tracking the features from the sample holder <ref type="bibr">12</ref> .</p><p>Light source selection for CP: an off-the-shelf fiber-coupled 405 nm laser is adopted for the CP setup in Fig. <ref type="figure">7a</ref>. A low-cost alternative is to obtain a 405 nm laser diode from a Blu-ray player and couple the light to a single-mode fiber for CP <ref type="bibr">13</ref> . Unlike the FP approach, where chromatic dispersion can be partially compensated by the lens system, the free-space propagation process in CP disperses light at different wavelengths to different axial planes of the system. This dispersion can be compensated algorithmically, using multiple mutually incoherent states to model different wavelengths within the spectrum of the low-coherence source <ref type="bibr">31,</ref><ref type="bibr">53,</ref><ref type="bibr">81</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Software implementation of CP</head><p>In parallel with the incident angle calibration process in FP, we need to estimate the positional shifts of the coded sensor during the image acquisition process. If the system does not contain the coded Replace the amplitude and keep the phase unchanged 10.</p><p>11. Update the subregion using the rPIE algorithm:</p><p>12.</p><p>(Optional) refine the aberration using the rPIE algorithm:</p><p>13.</p><p>Update the corresponding subregion of the Fourier spectrum: surface, one can directly track the positional shifts via cross-correlation analysis. Box 2 discusses an iterative motion-tracking procedure that minimizes the modulation effect of the coded surface <ref type="bibr">50</ref> . It can precisely track the positional shifts of the coded sensor with deep subpixel accuracy. In addition to the solution provided in Box 2, other alternatives can also be taken for tracking the motion of the coded sensor. For example, one can generate a clear region on the coded surface by removing parts of the blood-cell layer. Object diffraction patterns passing through this clear region can then be used for cross-correlation analysis <ref type="bibr">11,</ref><ref type="bibr">82</ref> . A precise motorized stage with an encoder can also be adopted for hardware-based motion tracking.</p><p>In parallel with the pupil recovery process in FP, we need to recover the transmission profile of the blood-cell layer and use it as the ptychographic probe for subsequent experiments. To this end, we use a blood smear slide as the calibration object and acquire 1,500 images for the joint recovery of both the object exit wavefront and the coded surface profile at the modulation plane. Figure <ref type="figure">9</ref> shows the reconstruction pipeline of the CP approach, which consists of three major steps: object initialization, iterative reconstruction and postmeasurement refocusing. With the prerecovered coded surface, we then acquire ~300 raw images for each subsequent experiment, with an acquisition time of ~12 s. By using this strategy, CP can recover the phase wrapping information of different types of thick objects, including optical lens, prism, bacterial colonies on an uneven agar plate, urine crystals and cytology smears <ref type="bibr">[11]</ref><ref type="bibr">[12]</ref><ref type="bibr">[13]</ref> . The phase profiles of these objects contain slow-varying contents with many 2&#960; wraps, and they are challenging to recover using conventional lensless imaging techniques.  Install CUDA driver (CUDA Toolkit v11.7) for the Nvidia graphics card. System integration (Steps 12-16). Prepare an optical breadboard (Thorlabs, MB18) as the base for the FP system. Mount the microscope (Nikon, Eclipse Ci-S) on the optical breadboard using four clamping forks (Thorlabs, CF175). Mount the 2&#215;, 0.1 NA objective lens (Nikon, Plan APO) and the 20&#215;, 0.75 NA objective lens to the microscope. Mount the XYZ three-axis manual stage on the optical breadboard using four optical posts (Thorlabs, TR1) and four post holders (Thorlabs, UPH1). Mount the LED illuminator on the XYZ three-axis manual stage. Use the XY stage to translate the illuminator laterally so that the central element of the illuminator is visually under the objective lens. Use the Z stage to adjust the distance between the illuminator and the sample stage to be ~5 cm.</p><p>? TROUBLESHOOTING Mount the camera to the photo port of the Nikon microscope. Connect the camera to the computer with the USB 3.0 cable (The Imaging Source, CA-USB30-AmB-BLS). c CRITICAL STEP The camera needs to be connected to a USB 3.0 port (or above) of the computer. If connected to a USB 2.0 port, the camera cannot be operated at its maximum framerate. System alignment for a planar LED matrix with a well-defined pitch (Steps 17 -22). Use a level to check whether the planar illuminator is in parallel with the sample stage. If needed, attach the illuminator to a precision kinematic mirror mount (Thorlabs, KS1T) and then mount the mirror mount on the XYZ three-axis manual stage. Put the 2&#215;, 0.1 NA objective lens in place for system alignment. Use a blank glass slide as the sample and select an LED element at the center of the illuminator as the reference point. Turn on four adjacent centrosymmetric LED elements for system alignment. c CRITICAL STEP The four centrosymmetric LEDs are chosen so that their incident angles are close to the maximum acceptance angle of the objective. As a result, the captured image corresponding to these four LEDs exhibits centrosymmetric brightfield-to-darkfield transition features. A dashed cross marker from these features can then be used to align the LED matrix, as shown in Fig. <ref type="figure">4a</ref>. Initialize the image sensor, generate a cross pattern on the captured image and display it on the computer screen. The related code is provided in lines 29-55 in Supplementary Software 'FP_imageAcquisition.m'. Adjust the position of the LED matrix so that the cross pattern overlaps with the brightfield-todarkfield transition features of the captured image (Box 1). ? TROUBLESHOOTING Turn off all the LEDs. System alignment for nonperiodic illuminators (Steps 23-27). Put the 2&#215;, 0.1 NA objective lens in place for system alignment. Place a blood smear slide (Carolina, 313158) on the sample stage. Turn on the central LED element of the illuminator for sample illumination. Open the IC Capture software. Adjust the exposure time in the IC Capture software. Adjust the focus knob to bring the sample into focus. Adjust the focus knob to bring the sample to different defocus planes. Translate the LED illuminator using the XYZ manual stage. This step is completed if the blood smear image does not shift laterally when the blood smear is moved to a defocus plane. Turn off the LED and close the IC Capture software. 31 Align the orientation of the grid lines to the vertical direction of the captured image. 32 Measure the number of pixels across the 1 mm width of all grid lines. Calculate the magnification factor of the objective lens: mag = (pSize &#215; pNum)&#8260;(1 mm), where 'pSize' represents the pixel size of the camera (2.4 &#181;m) and 'pNum' represents the measured pixel number covering the width of all grid lines. The measured magnification factor is usually slightly different from the value labeled on the objective lens. ? TROUBLESHOOTING 33 Incident angle calibration for planer LED matrix with a well-defined pitch (Steps 33-35). Place the blood smear slide on the sample stage and adjust the focus knob to bring the captured image into focus. 34 Measure the distance between the sample and the LED board using a ruler. c CRITICAL STEP If needed, we can test different distance values in the FP reconstruction process and select the one with the best reconstruction quality. 35 Calculate the incident wavevector based on the LED position and the distance between the sample (Box 1). The related code is provided in Supplementary Software 'FP_calibrateAngle.m'. c CRITICAL STEP We assume the central position of the field of view is (0, 0). For different regions of the field of view, the incident wavevector will be different according to equation ( <ref type="formula">1</ref>). 36 Incident angle calibration for non-periodic illuminators (Steps 36-43). Put the 20&#215;, 0.75 NA objective lens (Nikon, Plan APO) in place for the calibration process. c CRITICAL STEP A high-NA objective lens is used so that all incident angles of the LED elements are within the detection NA of the lens. Other high-NA objective lenses can also be used here. 37 Place the blood smear slide on the sample stage and adjust the focus knob to bring the captured image into focus. Move the sample stage towards the objective lens by 80 &#181;m. Close the IC Capture software. c CRITICAL STEP Each division on the fine focus knob represents a 1 &#956;m shift in the axial direction. If the defocus distance is too short, the lateral shift induced by different LED elements will be too small for accurate incident angle estimation. If the defocus distance is too large, the defocus effect would compromise the correlation analysis process. A distance of 80 &#181;m is a good choice considering these factors. c CRITICAL STEP Close the IC Capture software before running any MATLAB code that includes camera communication commands. 38 Adjust the exposure time. The related code is provided in lines 63-75 in Supplementary Software 'FP_imageAcquisition.m'. c CRITICAL STEP The percentage of overexposed pixels will be printed in the command window using the provided code. We recommend setting an exposure time so that the ratio of overexposed pixels is 0.01%. 39 Capture a reference image 'referenceImg'. Turn off the central LED element of the illuminator. 40 Turn on all LEDs sequentially and capture a set of images 'imageCalibration'. Recover the pupil aberration &#8226; Timing 2-3 h c CRITICAL In this section, we discuss how to acquire a calibration dataset to recover the pupil aberration of the FP platform. Since it is a one-time process, the acquisition time does not need to be optimized. In our implementation, we set a long exposure time for darkfield image acquisition and sequentially turn on all LED elements for increasing the data redundancy of the ptychographic dataset. c CRITICAL STEP In the calibration experiment, we recommend using a thin and uniform sample with rich spatial details. The blood smear slide is an ideal choice. An improper calibration sample (e.g., a sparse sample) may lead to failure of the joint object-pupil recovery process. 46 Adjust the exposure time as in Step 38. Sequentially turn on all LEDs for image acquisition. The related code is provided in lines 91-137 in Supplementary Software 'FP_imageAcquisition.m' (under the 'calibration' mode). c CRITICAL STEP To reduce the impact of the limited dynamic range of the camera, we repeat the acquisition process with three different exposure times. c CRITICAL STEP We recommend using a dark room to minimize the impact of ambient light. 47 Process the three sets of images from Step 46 via high dynamic range (HDR) combination. The related code is provided in Supplementary Software 'FP_hdrCombine.m'. The combined HDR images are divided into segments with 256-by-256 pixels. For each small segment, the region containing brightfield-to-darkfield transition features is excluded from the dataset. ? TROUBLESHOOTING 48 Define the system parameters in MATLAB, including the NA, the magnification factor of the objective lens, the illumination wavelength, the camera pixel size and the final desired pixel size of the reconstruction. Initialize the object and the pupil function. The related code is provided in lines 34-39 and 105-110 in Supplementary Software 'FP_simulationRecover.m'. c CRITICAL STEP For object initialization, we average all captured images to obtain an incoherent image and up-sample it to the same size as that of the reconstruction. The initial pupil function is defined as a circular aperture as in equation ( <ref type="formula">8</ref>). The weights for Zernike modes are set to zeros. 49 Recover the pupil aberration. The related code is provided in lines 112-180 in Supplementary Software 'FP_simulationRecover.m'. The 'methodType' in the code is set as 'GD' for the recovery process. Refer to the section 'Software implementation of FP'. 50 Check whether the reconstruction quality of the object is comparable to the typical results. The left panel of Fig. <ref type="figure">6</ref> shows the typical recovered images of blood cells. 51 Save the recovered pupil as a .mat file. j PAUSE POINT Load the .mat file and set this pupil as the initial guess when performing subsequent FP reconstructions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Incident angle calibration</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Image acquisition and reconstruction &#8226; Timing 0.5-1 h c</head><p>CRITICAL Different from the previous pupil calibration section, we aim to shorten the acquisition time in a regular FP experiment. We take two approaches as follows. First, we set the camera's digital gain to 26 dB for darkfield image acquisition. As such, we can substantially shorten the acquisition time (originally 1 s now becomes 0.05 s). Second, we skip some of the LED elements that have high-illumination NAs (corresponding to darkfield images). Nonuniform sampling according to the illumination NAs is an effective strategy for reducing the number of acquisitions <ref type="bibr">76,</ref><ref type="bibr">84</ref> . For all selected LED elements, we capture three sets of images of the same object with different camera gains and exposures. These three sets of images are then combined into one HDR dataset. We also note that multiple LED elements can be turned on at the same time to shorten the acquisition time <ref type="bibr">81,</ref><ref type="bibr">85,</ref><ref type="bibr">86</ref> . The captured image can be modeled as an incoherent mixture of different coherent states <ref type="bibr">29,</ref><ref type="bibr">30</ref> . 52 Select a portion of the LED elements for the image acquisition process. c CRITICAL STEP As most signal energy concentrates in the central region of the Fourier spectrum, a higher density of sampling points can be adopted for the central region of the Fourier space. For dark-field images with large incident angles, the aperture overlap between adjacent acquisitions can be reduced. To this end, we keep all brightfield LEDs while skipping every other darkfield LED in the acquisition process. related code is provided in lines 91-137 in Supplementary Software 'FP_imageAcquisition.m' (under the 'experiment' mode). c CRITICAL STEP We note that we do not need to capture all three sets of images for some of the LEDs. For example, the second and the third sets of images will be overexposed under brightfield illumination. Similarly, the first set of images will be underexposed under darkfield illumination. Excluding these over-and underexposed images can further reduce the acquisition time. 57 Perform HDR combination of the captured three sets of images as in Step 47.</p><p>? TROUBLESHOOTING 58 Recover the object and update the pupil as in Steps 48-49. c CRITICAL STEP In this refinement step, the pupil is initialized as the prerecovered pupil in Step 49. The 'methodType' in the code is set as 'rPIE' for the refinement process. ? TROUBLESHOOTING 59 Check whether the image quality is comparable to the typical results. The left panel of Fig. <ref type="figure">6</ref> shows the recovered images of blood cells. 60 Save the results and close MATLAB.</p><p>Procedure 2: spatial-domain CP Prepare the blood-coated sensor &#8226; Timing 1 h c CRITICAL In the CP setup, a dense monolayer of blood cells severs as a high-performance computational bio-lens for the ptychographic reconstruction process. We recommend using goat blood for its low cost (US$29 per 50 ml) and the smallest cell size (2-3 &#956;m) among all animals. c CRITICAL The goat blood can be smeared on the image sensor and then fixated with methanol (Steps 2-3). Alternatively, it can be smeared on a thin coverslip (Thorlabs, CG00C2) followed by methanol fixation. This blood-coated coverslip can then be attached to the image sensor, with the blood cells sandwiched in between the coverslip and the sensor's coverglass (Steps 4-8). For both options, blood fixation is critical to preserve cell morphology over a long period. 1 Take 1 ml of goat blood (Lampire, 7202501) with a pipette and put it into a centrifuge tube.</p><p>Centrifuge the tube at 1,500 rpm for 5 min to separate the blood cells from the plasma. Alternatively, leave the tube in the refrigerator at 4 &#176;C for 1 d. Blood cells can be separated from plasma by gravity. 2 Option 1: smear blood on the image sensor (Steps 2-3). Use a pipette to transfer 2 &#181;l blood cells to one end of the image sensor (The Imaging Source, DMM 37UX226-ML). Position a glass slide at an angle of 30-45&#176;to the image sensor. Drag the slide backward carefully to smear the blood over the image sensor, as shown in Fig. <ref type="figure">7b</ref>. c CRITICAL STEP If the blood-cell layer is too thin or too thick, use alcohol and tissue paper to remove the layer and repeat the smearing process. An ideal coded surface contains a dense and uniform monolayer of blood cells covering the entire image sensor. Figure <ref type="figure">3i</ref> shows a sample image of the blood-cell layer profile. ? TROUBLESHOOTING 3 Air dry the blood-cell layer and fixate it with methanol for 2 min. 4 Option 2: smear blood on a coverslip (Steps 4-8). Use a pipette to transfer 2 &#181;l of goat blood on one end of a thin coverslip (Thorlabs, CG00C2). 5 Use a clean glass slide positioned at an angle of 30-45&#176;to the coverslip. Drag the slide backward carefully to smear the blood over the entire coverslip, as shown in Fig. <ref type="figure">7c</ref>. 6 Air dry the blood-cell layer and fix it with methanol for 2 min. 7 Prepare 2 ml silicone (Dow, SYLGARD 184 silicone elastomer kit) following a 10 (base) to 1 (curing agent) mixing ratio. c CRITICAL STEP If needed, use a vacuum desiccator (Amazon, SP Bel-Art 420200000) to remove the air bubbles in the mixed liquid. 8 Use a pipette to transfer 2 &#181;l silicone liquid to the center of the image sensor. For the bloodcoated coverslip, use a microscope to select a 7 &#215; 7 mm region with a dense monolayer of blood cells. If such a region cannot be found, repeat Steps 4-6. Align this region with the image sensor.</p><p>Attach the coverslip to the image sensor with the blood-cell layer and silicone liquid sandwiched in between. Press the coverslip to the image sensor and hold it for 1 d until they stick firmly with each other. Motorized stage development and system integration &#8226; Timing 1 d c CRITICAL We modify a compact XYZ three-axis manual stage for translating the blood-coated image sensor in the lateral directions. Figure <ref type="figure">10</ref> shows the overall stage assembling process, where we replace the manual actuators with stepper motors for motorized control. Figure <ref type="figure">11</ref> shows the assembling process of the CP platform, where we integrate the baseboard (Fig. <ref type="figure">11a</ref>), the slide holder (Fig. <ref type="figure">11b</ref>), the motorized stage (Fig. <ref type="figure">11c</ref>), the coded sensor (Fig. <ref type="figure">11d</ref>) and the control board (Fig. <ref type="figure">11e</ref>) into a compact system (Fig. <ref type="figure">11f</ref>). c CRITICAL In general, we do not need to collimate the laser light from the single-mode fiber for sample illumination (Step 18). However, the image quality of reconstruction may be degraded if the fiber is placed too close to the sample (&lt;10 cm). If needed, one can collimate the laser light using a lens (Steps 19-20). A key consideration is to generate a large, collimated beam so that the intensity is uniform across the entire image sensor. 9 Attach two heat sinks (Alpha, LPD40-3B) to the integrated circuit chips of the image sensor board, as shown in Fig. <ref type="figure">11d</ref>. 10 Mount the 405 nm fiber-coupled laser (Thorlabs, LP405-SF10) using the laser diode mount (Thorlabs, LDM9LP) and connect the laser with the driver (Thorlabs, ITC4001). c CRITICAL STEP We need only &lt;5 mW output laser power and the corresponding exposure time is in the submillisecond range. The temperature controlling module is optional for the laser diode module. 11 Prepare the 3D-printed parts for building the motorized stage. The related SolidWorks design files are provided in Supplementary Data 'CP_stageSolidWorks.zip'. Assemble the motorized stage according to Fig. <ref type="figure">10</ref>. Another option is to use a commercially available motorized stage for translating the blood-coated sensor. 12 Prepare the acrylic base with holes using the drilling machine (Delta, 12 drill press). Figure <ref type="figure">11a</ref> shows the design of the acrylic base. The SolidWorks design file is provided in Supplementary Data 'CP_base.SLDPRT'. 13 Make a sample holder using the milling machine (Roland, monoFab SRM-20). Attach the sample holder to the acrylic base using four optical posts (Thorlabs, TR3). Figure <ref type="figure">11b</ref> shows the dimension of the sample holder and the detailed assembling process. The SolidWorks design file is provided in Supplementary Data 'CP_sampleHolder.SLDPRT'. 14 Attach the motorized stage from Step 11 to the acrylic base, as shown in Fig. <ref type="figure">11c</ref>. 15 Make a sensor holder using the milling machine. Assemble the blood-coated sensor onto the sensor holder. Attach the sensor holder onto the motorized stage using screws, as shown in Fig. <ref type="figure">11d</ref>. The SolidWorks design file is provided in Supplementary Data 'CP_sensorHolder.SLDPRT'. 16 Place the GRBL three-axis control board (Amazon, ASIN: B083BFBBVY) at the side of the acrylic base. Connect the wires from the motorized stage to the control board, as shown in Fig. <ref type="figure">11e</ref>. The SolidWorks design files are provided in Supplementary Data 'CP_motorHolderSolidWorks.zip'. 17 Attach an optical post (Thorlabs, TR4) to the corner of the slide holder. 18 Option 1: noncollimated beam from the fiber (Step 18). Attach a 1 inch tube slip ring (Thorlabs, SM1RC) to the post on the slide holder. Attach a fiber adaptor (Thorlabs, S120-FC) to an optical tube (Thorlabs, SM1L20) and mount the assembly to the tube slip ring. Adjust the axial position of the assembly. Connect the single-mode fiber to the fiber adaptor, as shown in Fig. <ref type="figure">11f</ref>. c CRITICAL STEP In the calibration process, the illumination beam information is coded into the blood-cell layer profile on the image sensor. Therefore, we can simply model the spherical wave from the fiber as a plane wave for both the calibration and the subsequent CP experiments. However, if the fiber source is placed too close to the sample (&lt;10 cm), this plane-wave approximation may fail, and the resulting image quality will be degraded. We recommend a distance of &gt;15 cm between the fiber source and the coded sensor. ? TROUBLESHOOTING 19 Option 2: collimated beam (Steps 19-20). Connect the single-mode fiber to the fiber adaptor (Thorlabs, S120-FC). Turn on the laser. Collimate the fiber-coupled light source using a 2 inch, 200 mm bi-convex lens (Thorlabs, LB1199) mounted on an adjustable lens tube (Thorlabs, SM2V15). Turn off the laser after the collimation process. ! CAUTION Wear eye protection goggles when working with the laser. Proper laser safety training is also required. 20 Attach a 2 inch tube slip ring (Thorlabs, SM2RC) to the post on the slide holder. Attach the collimated light source to the tube slip ring. Adjust the axial position of the assembly. We recommend a distance of 5-10 cm between the collimated lens to the image sensor.</p><p>21 For both options, turn on the laser and align the beam so that the image sensor locates at the beam center. Turn off the laser after the alignment process.</p><p>Motion tracking based on the captured images &#8226; Timing 0.5-1 h c CRITICAL We estimate the positional shifts of the coded sensor via the iterative correlation analysis approach discussed in Box 2. Precise mechanical scanning is not required in our implementation. 22 Install MATLAB with the Image Acquisition Toolbox. 23 Install IC Capture and the driver for the 33U series (Version 5.1.0.1719) of the image sensor (The Imaging Source, DMM 37UX226-ML). 24 Install CUDA driver (CUDA Toolkit v11.7) for the Nvidia graphics card. 25 Install the driver for GRBL motor control board. The driver is provided in Supplementary Software 'CP_CH340SER.EXE'. 26 Connect the motor control board to the computer. Connect the control board with a 24 V/2 A power source. 27 Connect the image sensor to the computer using a USB 3.0 type C cable. Open MATLAB, initialize the parameters of the image sensor. The related code is provided in lines 15-24 in Supplementary Software 'CP_image AcquisitionCalibration.m'. 28 Use a stained blood smear slide (Carolina, 313158) as a calibration object. Attach this slide to the sample holder (with the blood cells and the coverslip facing the coded sensor). Adjust the axial position of the coded sensor using the Z stage. We recommend a small distance of &lt;0.5 mm between the object and the coded surface. c CRITICAL STEP The blood smear slide is an ideal calibration object as it contains fine spatial features over the entire microscope slide. 29 Turn on the laser. Adjust the exposure time of the image sensor. The related code is provided in lines 26-33 in Supplementary Software 'CP_imageAcquisitionCalibration.m'. The ratio of overexposed pixels should be kept &lt;0.01%. c CRITICAL STEP A proper exposure time is needed to avoid capturing severely overexposed raw images. A darkroom is also recommended to reduce the signals generated by ambient light. ? TROUBLESHOOTING 30 Turn on the stage motor and initialize the stage scanning parameters. The related code is provided in lines 35-45 in Supplementary Software 'CP_imageAcquisitionCalibration.m'. 31 Capture 1,500 raw images by translating the sensor in a spiral route. The related code is provided in lines 66-91 in Supplementary Software 'CP_imageAcquisitionCalibration.m'. We recommend a step size of 1-2 &#956;m in the scanning process. 32 Turn off the laser and save the captured raw images. 33 Convert the captured image format to 'single' and crop a subregion for each image. Generate the initial reference image 'imRefInitial'. Estimate the subpixel shifts by locating the maximum point of the cross-correlation maps between the reference image and all cropped tiles (Supplementary Fig. <ref type="figure">3a</ref>). The related code is provided in lines 125-126 in Supplementary Software 'CP_simulationRecover.m', where the function 'dftregistration' is used for cross-correlation analysis <ref type="bibr">83</ref> (for the discussion, also refer to Box 2). ? TROUBLESHOOTING 34 Shift back the cropped tiles on the basis of the estimated shifts and generate the refined reference image 'imRefRefine'. Refine the translational shifts via a cross-correlation analysis between the reference image and all cropped tiles. The related code is provided in lines 127-130 in Supplementary Software 'CP_simulationRecover.m'. 35 Repeat Step 34 until the estimated route converges (Supplementary Fig. <ref type="figure">3b</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>? TROUBLESHOOTING</head><p>Recover the coded surface profile &#8226; Timing 1-2 h c CRITICAL We use the calibration blood smear slide to recover the coded surface profile on the image sensor.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Troubleshooting</head><p>For FP imaging, we summarize the representative problems in Fig. <ref type="figure">12</ref>. The typical raw FP measurements of a blood smear slide are shown in Fig. <ref type="figure">12a</ref> and the corresponding FP recovered images are shown in Fig. <ref type="figure">12b</ref>. In comparison, Fig. <ref type="figure">12c-k</ref> shows FP reconstructions with different underlying problems. For lensless CP imaging, we summarize the representative problems in Fig. <ref type="figure">13</ref>. The raw image and the correct CP reconstruction are shown in Fig. <ref type="figure">13a</ref>. In comparison, Fig. <ref type="figure">13b-f</ref> shows the raw images and their CP reconstructions with different underlying problems. Table <ref type="table">1</ref> discusses the causes of these imaging problems in both systems. It also provides corresponding troubleshooting advice.</p><p>We note that, for both FP and CP, it is important to obtain the ptychographic probe from calibration experiments. Figure <ref type="figure">14</ref> shows the reconstructions with and without using the precalibrated ptychographic probes. With FP, the solution often falls to a local minimum with a large and unknown pupil aberration. With CP, the slow-varying object phase often results in solution ambiguities when the coded surface is unknown in the reconstruction process.  Poor quality for the recovered phase in Fig. <ref type="figure">12c</ref> The LED array is placed too close to the sample, resulting in insufficient spectrum overlapping in the Fourier space Increase the distance between the sample stage and the illuminator Procedure 1,</p><p>Step 21</p><p>The recovered phase exhibits shadow effects in Fig. <ref type="figure">12d</ref> The incident wavevectors of different LED elements are not accurate Recalibrate the incident wavevectors for the reconstruction process Procedure 1, Step 32   Degraded reconstruction quality in Fig. <ref type="figure">12e</ref> The magnification factor of the system has not been calibrated Follow Procedure 1, Steps 29-32 to calibrate the magnification factor of the objective lens and obtain the correct detector pixel size at the object plane Procedure 1, Step 47   As shown in Fig. <ref type="figure">12f</ref>, the recovered phase has low contrast and the background of the phase is not uniform Exclude too many images at the brightfieldto-darkfield transition zone When the illumination NA is close to the objective NA, the captured image contains low-frequency phase information that is critical for phase recovery <ref type="bibr">60</ref> . Instead of excluding the entire image in Procedure 1, Step 47, we can generate a binary mask to only exclude the pixels in the brightfield-to-darkfield transition zone <ref type="bibr">15,</ref><ref type="bibr">87</ref> . Similarly, we can exclude pixels exposed to the system stray light (refer to Supplementary Fig. Artifacts are presented in the recovered images, as shown in Fig. <ref type="figure">12k</ref> The iterative process uses a random order of the measurements Use a recovery sequence ranked by the illumination NAs of the LED elements 76 Degraded reconstruction quality at the edge of the field of view, as shown in Fig. <ref type="figure">14c</ref> The pupil is not correctly initialized from the calibration experiment Repeat the calibration experiment. Properly initialize the pupil aberration Procedure 2,</p><p>Step 2</p><p>Degraded reconstruction quality as shown in Fig. <ref type="figure">13b</ref> The blood-cell layer is nonuniform and sparse</p><p>Use alcohol and tissue paper to remove the blood-cell layer on the sensor. Repeat the smearing process as in Procedure 2, Step 2 Procedure 2, Step 2</p><p>Fail to recover the images as shown in Fig. <ref type="figure">13c</ref> The blood-cell layer is too thick in certain regions Use alcohol and tissue paper to remove the blood-cell layer on the sensor. Repeat the smearing process as in Procedure 2, Step 2 Procedure 2, Step 18   Degraded reconstruction quality as shown in Fig. <ref type="figure">13d</ref> The laser fiber is placed too close to the sample Place the fiber head at least 15 cm away from the coded sensor Procedure 2, Step 29</p><p>The raw image has too many overexposed pixels, as shown in Fig. <ref type="figure">13e</ref> The exposure time is not properly set, or the output power of the laser fluctuates over time The estimated scanning route deviates considerably from the preset route, as shown in Fig. <ref type="figure">13f</ref> The estimated positions are inaccurate Repeat Procedure 2, Step 34 to further refine the estimated route. If the problem still exists, select another region for motion tracking Procedure 2, Step 46</p><p>The phase wraps cannot be properly recovered, as shown in Fig. <ref type="figure">14d</ref> The coded surface profile is jointly updated with the object in the reconstruction process </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Anticipated results for FP</head><p>The successful implementation of the protocol yields an FP system capable of imaging different biospecimens with high resolution and a large field of view. Figure <ref type="figure">15a</ref> shows a recovered gigapixel image of a blood smear slide <ref type="bibr">36</ref> . The insets of Fig. <ref type="figure">15a</ref>  d,e, The recovered color and phase images of a blood smear slide (d) and a stained tissue section (e). f, The recovered phase image of HeLa cells on a Petri dish. g, Monitoring the cell culture growth in a longitudinal study. a-c adapted from ref. <ref type="bibr">36</ref> under Creative Commons license CC BY 4.0; d and e from ref. <ref type="bibr">15</ref> , Springer Nature Ltd; and f and g from ref. <ref type="bibr">60</ref> , Springer Nature Ltd.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>PROTOCOL NATURE PROTOCOLS</head><p>of the field of view. These pupils are recovered by updating the weights of Zernike modes. Figure <ref type="figure">15b,</ref><ref type="figure">c</ref> shows the zoomed-in views of the recovered blood smear slide, where we can see notable resolution improvement from the raw images to the FP results. Since the employed LED illuminator contains red, green and blue LEDs, we can also perform sequential FP acquisitions under these wavelengths for color imaging. Figure <ref type="figure">15d</ref>,e shows the raw images and the color FP reconstructions of stained blood smear and tissue section samples <ref type="bibr">15</ref> . FP can also be used for label-free live-cell imaging over a long period. Figure <ref type="figure">15f</ref> shows the recovered phase image of live human cervical adenocarcinoma epithelial (HeLa) cells on a Petri dish <ref type="bibr">60</ref> . Cell mitosis and apoptosis events can be monitored in a time-lapse experiment in Fig. <ref type="figure">15g</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Anticipated results for lensless CP</head><p>CP shares the same benefits with FP of large-field-of-view and high-resolution imaging. The lensless nature and its modulation strategy provide additional benefits for imaging thick biospecimens with nanometer sensitivity. Figure <ref type="figure">16a</ref> shows the recovered whole slide image of a blood smear slide <ref type="bibr">11</ref> . The zoomed-in views are shown in Fig. <ref type="figure">16b-e</ref>, where we can clearly resolve the detailed structures of the white blood cells. Figure <ref type="figure">16f</ref> shows the recovered images of different crystals of a urine sediment slide <ref type="bibr">13</ref> . The phase profiles of these crystals before the unwrapping process contain many 2&#960; wraps that are difficult to recover using other common phase retrieval approaches. Figure <ref type="figure">16g</ref> shows the recovered whole slide phase image of an unstained thyroid smear <ref type="bibr">12</ref> and Fig. <ref type="figure">16h</ref> shows the recovered height map of a zoomed-in region.</p><p>In addition to imaging fixed biospecimens, we can also use CP to perform high-resolution live-cell monitoring over a large field of view. Figure <ref type="figure">17a</ref> shows the recovered phase images of bacterial cells at different timepoints <ref type="bibr">14</ref> . Figure <ref type="figure">17b</ref> shows the 3D phase map of the microcolonies, where we can directly observe the forming of layered structures. In particular, the projected line traces in Fig. <ref type="figure">17b</ref> show two-layer and three-layer structures, with ~0.5 radians of phase accumulation for each layer. The multilayer forming  b-e, Zoomed-in views of the white blood cells in a. f, The recovered unwrapped phase images of different crystals in a urine sediment slide <ref type="bibr">13</ref> . g, The recovered whole-slide phase image of an unstained thyroid smear <ref type="bibr">12</ref> . h, The recovered height map of a zoomed-in region of g. a-e adapted with permission from ref. <ref type="bibr">11</ref> , American Chemical Society; f from ref. <ref type="bibr">13</ref> , American Chemical Society; and g and h from ref. <ref type="bibr">12</ref> , Royal Society of Chemistry.</p><p>process occurs at the center while the monolayer remains in the outer regions. Figure <ref type="figure">17c</ref> shows the recovered phase image of live human embryonic kidney 293 (HEK 293) cells over a large field of view. A zoomed-in view of the raw image is provided in Fig. <ref type="figure">17d</ref>. The corresponding recovered phase images at different timepoints are shown in Fig. <ref type="figure">17e</ref>-g, where we can clearly observe the cell proliferation process.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Reporting summary</head><p>Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article. </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>NATURE PROTOCOLS | VOL 18 | JULY 2023 | 2051-2083 | www.nature.com/nprot</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_1"><p>in the discussion here.3. Initialize the pupil aberrationwith the prerecovered pupil.</p></note>
		</body>
		</text>
</TEI>
