Optical phase mining by adjustable spatial differentiator

. Phase is a fundamental resource for optical imaging but cannot be directly observed with intensity measurements. The existing methods to quantify a phase distribution rely on complex devices and structures and lead to difficulties of optical alignment and adjustment. We experimentally demonstrate a phase mining method based on the so-called adjustable spatial differentiation, by analyzing the polarization of light reflection from a single planar dielectric interface. Introducing an adjustable bias, we create a virtual light source to render the measured images with a shadow-cast effect. From the virtual shadowed images, we can further recover the phase distribution of a transparent object with the accuracy of 0 . 05 λ RMS . Without any dependence on wavelength or material dispersion, this method directly stems from the intrinsic properties of light and can be generally extended to a broad frequency range.


Introduction
Phase distribution plays the key role in biological and x-ray imaging, where the information on objects or structures is mainly stored in phase rather than intensity variations. Phase distribution cannot be directly retrieved from conversional intensity measurements. Zernike invented the phase contrast microscopy 1 to render the transparent objects but without the ability to quantify the phase distribution. Later, in order to enhance the image contrast, Nomarski prisms were created for differential interference contrast (DIC) imaging, 2 which offers the phase gradient information. Based on Fourier optics, a differentiation filter [3][4][5] or spiral phase filter [6][7][8][9] in 4f system can visualize the phase of optical wavefront. Further, various quantitative phase measurement technologies 10 based on the beam interference [11][12][13][14][15][16] and propagation [17][18][19][20] were developed for mapping the optical thickness of specimens. However, these methods usually rely on complex modulation devices in the spatial or spatial frequency domains, resulting in the difficulties of optical alignment and adjustment.
In recent years, optical analog computing of spatial differentiation has attracted great attention, which enables an entire image process on a single shot. [21][22][23][24][25][26][27][28][29][30][31] Various optical analog computing devices were designed for edge detection. [32][33][34][35][36][37][38][39][40][41][42][43][44] In particular, Silva et al. theoretically proposed realization of optical mathematical operations with metamaterials, as well as the Green's function slabs. 21 Later, a subwavelength-scale plasmonic differentiator of a 50-nm-thick silver layer was experimentally demonstrated and applied for real-time edge detection. 32 Most recently, spatial differentiation methods were developed based on the geometric phases, including the Rytov-Vladimirskii-Berry phase 40 and the Pancharatnam-Berry phase. 41,45 So far, the current application of optical spatial differentiation is only limited to edge detection. As the fundamental difficulty to determine the phase of electric fields by measuring their intensities, one cannot determine the sign of the differentiation signal and hence recover the phase distributions.
In this article, we propose an adjustable spatial differentiation to characterize and quantitatively recover the phase distribution, just by simply analyzing the polarization of light reflection from a single planar dielectric interface. By investigating the field transformation between two linear cross polarizations, we experimentally demonstrate that the light reflection enables an optical analog computing of spatial differentiation with adjustable direction. We show that this effect is related to the angular Goos-Hänchen (GH) shift [46][47][48] and the Imbert-Fedorov (IF) shift. 49,50 Furthermore, by tuning a uniform constant background as the bias, we create a virtual light source to render the measured images with a shadow-cast effect and further quantify the phase distribution of a coherent field within 0.05λ accuracy. Without complex modulation devices, 3-9,11-14 our method offers great simplicity and flexibility, which can circumvent the fabrication of complex structures and also the difficulties of optical alignment and adjustment. Importantly, since the proposed method is irrelevant to resonance or material dispersion, it works at general wavelengths with large temporal bandwidths, which is very suitable for high-throughput real-time image processing.

Adjustable Spatial Differentiation
Schematically shown as Fig. 1, the proposed phase mining scheme only includes a dielectric interface as a planar reflector and two polarizers P1 and P2, where the incident light is S in ¼ e −iψðx;yÞ assuming a phase distribution ψðx; yÞ. Next we show that such a light reflection process can transform the original uniform intensity image with invisible phase structure into a structured contrast image, by optical computing of spatial differentiation to the incident electric field. Moreover, the direction of the spatial differentiation can be further adjusted with different combinations of the polarizer orientation angles.
To specifically depict the transformation, we decompose the incident (output) beam into a series of plane waves as S inðoutÞ ¼ RRS inðoutÞ ðk x ; k y Þ expðik x xÞ expðik y yÞdk x dk y according to spatial Fourier transform. Then, the spatial transformation between the measured field and the original one is determined by a spatial spectral transfer function H ≡S out ðk x ; k y Þ∕S in ðk x ; k y Þ. We denote the orientation angles of the polarizers P1 and P2 as γ 1 and γ 2 , respectively. The spatial spectral transfer function can be written as (see Sec. 1 in the Supplemental Material) H ¼ r p sin γ 1 sin γ 2 þ r s cos γ 1 cos γ 2 þ δðr p þr s Þ sinðγ 2 −γ 1 Þ 2 k y ; (1) where r p and r s are the Fresnel reflection coefficients of the pand s-polarized plane waves, respectively. In Eq. (1), the third term is induced by the opposite y-directional displacements δ ¼ 2 cot θ 0 ∕k 0 for left-and right-handed circularly polarized beams, which is known as the IF shift. 40,51 By considering the GH effect, we expand the r a (a ¼ p; s) around the incident angle θ 0 as r a ¼ r a0 þ ∂r a ∂θ k x k 0 , where r a0 is the Fresnel reflection coefficient for the central plane wave, and k 0 is the wavevector number in vacuum. We note that here such a spatial dispersion during partial reflection on the dielectric interface purely leads to an angular GH shift. [46][47][48] For a partial reflection process on a dielectric interface, we can control the orientation angle of the polarizers P1 and P2 to satisfy the cross-polarization condition r p0 sin γ 1 sin γ 2 ¼ −r s0 cos γ 1 cos γ 2 : (2) In such a condition, the P2 polarizer is oriented orthogonally to the polarization of the reflected central plane wave, which is first polarized by P1 and then reflected by the dielectric interface with an incident angle θ 0 . Under the cross-polarization condition, the spatial spectral transfer function becomes where C 1 and C 2 are two coefficients as C 1 ¼ −ðsin γ 1 sin γ 2 ∂r p ∕∂θ þ cos γ 1 cos γ 2 ∂r s ∕∂θÞ∕k 0 and C 2 ¼ δðr p0 þ r s0 Þ sinðγ 1 − γ 2 Þ∕2. Equation (3) shows that the spatial spectral transfer function is linearly dependent on the spatial frequencies k x and k y , which corresponds to the computation of a directional differentiation in the spatial domain: We note that the directional spatial differentiation occurs in every oblique partial reflection case on a dielectric interface, but hardly in total internal reflection or metallic reflection cases where the complex r p0 and r s0 prevent the satisfaction of Eq. (2). Besides, since C 1 and C 2 in Eq. (3) are also complex, the directional differentiation no longer exists unless C 1 ∕C 2 is purely real.
Considering the original field S in ¼ e −iψðx;yÞ , the output field S out is which offers a differential contrast image of the phase object along directionl defined asl ¼ ðC 1 ; C 2 Þ. Besides, the coefficient A ¼ jlj in Eq. (4) varies with different directionsl (see Sec. 3 in the Supplemental Material), which is a quantitatively important coefficient when utilizing spatial differentiation along different directions in the meantime. We note that the directionl, described by an angle φ as shown in Fig. 1, is continuously adjustable with different values Fig. 1 Schematic of the phase-mining method based on polarization analysis of light reflection on a dielectric interface, e.g., an air-glass interface. A phase object S is uniformly illuminated and then the light is polarized by a polarizer P1 and reflected on the surface of a glass slab G. By analyzing the polarization of the reflected light with a polarizer P2, the differential contrast image of S appears at the imaging plane of the system and can exhibit a shadow-cast effect. The polarizers P1 and P2 are orientated at the angles γ 1 and γ 2 . The direction of the spatial differentiation is along l and indicated with an angle φ.
of C 1 and C 2 . Under a certain incident angle, the direction angle φ varies with different pairs of γ 1 and γ 2 that satisfy the crosspolarization condition. We note that only when the incident angle is smaller than Brewster angle, φ can cover a complete range from 0 deg to 180 deg. However, when the incident angle is larger than Brewster angle, both r p0 and r s0 become negative, and hence the coefficients C 1 and C 2 are always negative and in a limited range so that the corresponding values of φ are also limited.

Bias Introduction and Phase Mining
We note that even though the edges of phase objects can be detected through the directional differentiation along directionl, the sign of the differentiation ∂ψ∕∂l cannot be distinguished since the measured intensity is proportional to I out ≡ jS out j 2 ¼ jA∂ψ∕∂lj 2 . It means the edges cannot be determined as the ridges or the troughs in the phase structure. In order to determine the sign of the differentiation, we add a uniform constant background as a bias into the proposed spatial differentiation and generate contrast images with shadow-cast effect. We show that the bias can be easily introduced and adjusted in the proposed phase quantifying scheme, in comparison to the other methods, such as traditional DIC microscopy 2,52 or spiral phase contrast microscopy.
The uniform constant background is introduced by breaking the spatial differentiation requirement of Eq. (2), that is, by rotating the polarizers for a small angle deviating from the crosspolarization condition. In this case, Eq. (2) is changed to where b is a constant and continuously adjustable with γ 1 and γ 2 . Following the same way as Eqs. (3) and (4), after introducing the uniform constant background, the measured reflected image is changed to I out ¼ jA∂ψ∕∂l þ bj 2 (see the details in Sec. 4 of the Supplemental Material) and becomes shadow-cast. The sign of ∂ψ∕∂l can be determined from the change of intensity. For example, with a positive bias b, the intensity appears brighter (darker) in the areas with positive (negative) directional derivative ∂ψ∕∂l. The biased image exhibits a shadow-cast effect, which appears as illuminated by a virtual light source, as schematically shown in Fig. 4(c).
Finally, we can recover the phase distribution ψðx; yÞ with both the determined sign and the absolute value of ∂ψ∕∂l. We implement the retrieval of phase distribution through a two-dimensional (2-D) Fourier method. 53 It first requires two orthogonal directional derivatives, for example, the partial derivatives ∂ψ∕∂y and ∂ψ∕∂x. Then, we combine them as a complex distribution gðx; yÞ ¼ ∂ψ∕∂x þ i∂ψ∕∂y. In spatial frequency domain, its 2-D Fourier transform is F ½gðx; yÞ ¼ iðk x þ ik y ÞF ½ψðx; yÞ. Therefore, the phase distribution ψðx; yÞ can be recovered as

Experimental Demonstration
To demonstrate the proposed phase quantifying, we use a green laser source with wavelength λ ¼ 532 nm and a BK7 glass slab with refractive index 1.5195 for reflection. According to Eqs. (1)-(3), we first simulate the adjustable range of φ under every different incident angle and the chosen orientation angle of P1. As shown in Fig. 2(a), the direction angle φ can be fully adjustable from 0 deg to 180 deg only when the incident angle is smaller than the Brewster angle (black dashed line).
In order to show a complete adjustable range from 0 deg to 180 deg, we select an incident angle θ 0 ¼ 45 deg [the white dashed line in Fig. 2(a)]. We next experimentally demonstrate spatial differentiation for the direction angles φ ¼ 45 deg,  54, even though the bandwidth and gain of spatial differentiation vary with the differentiation direction, the FOM of the vertical one is 0.679. We note that specifically when γ 1 ¼ 0 deg or 90 deg, the spatial differentiation is only from the IF shift and exhibits vertically as φ ¼ 0 deg or 180 deg. It becomes totally horizontal for γ 1 ¼ γ 2 , where the spatial differentiation is purely induced by the angular GH shift since the coefficient of the vertical spatial differentiation is C 2 ¼ 0.
Next, we experimentally demonstrate the biased imaging for a transparent phase object, by introducing a uniform constant background as the bias. According to Eq. (5), we first simulate the bias value b as shown in Fig. 4(a), where the black dashed line corresponds to b ¼ 0, i.e., the cross-polarization condition is satisfied. In order to demonstrate the biased effect, we generate the phase distribution of the incident light with a reflective phase-only spatial light modulator (SLM). An epithelial cell's image 55 in Fig. 4(b) is loaded into SLM, with a prior quantitative phase distribution. We introduce the bias by only controlling the value of γ 2 deviating from the black dashed line to red triangle points in Fig. 4 Fig. 4(c)]. These shadow-cast images result from the positive biases that render the ridges and the troughs in phase distribution as the bright edges and the shadowed ones, respectively. With a positive and very small bias as a perturbation, we can determine the sign of the spatial differentiation ∂ψ∕∂l. The absolute value of ∂ψ∕∂l can be obtained from the nonbias case, and therefore we experimentally acquire the first-order directional derivatives of ψðx; yÞ (see the details in Sec. 6 in the Supplemental Material). Figures 5(a) and 5(b) show two directional derivatives of the incident phase distribution shown as Fig. 4(b) along yand x-directions, respectively. For comparison, the ideal spatial differentiations along yand x-directions are calculated as Figs. 5(c) and 5(d), respectively. These experimental results clearly coincide well with the calculated ones, indicating great accuracy of the performance. Finally, we recover the phase from the obtained directional derivatives through the 2-D Fourier algorithm. Figure 5(e) shows the result of the recovered phase distribution, which coincides with the original incident one [ Fig. 5(f)]. The root mean square (RMS) between the recovered result and the original distribution is calculated as 0.05λ, which can be further reduced with an optimized image system. In this way, we not only enhance the contrast to make transparent objects visible but also successfully recover its original phase distribution.

Conclusion
We experimentally demonstrated a phase mining method only by analyzing the polarization of light reflection from a single planar dielectric interface. The direction of the spatial differentiation is continuously adjustable assuring differential contrast enhancement along different directions. Importantly, the method easily introduces a bias and generates shadow-cast differential contrast images. Based on this bias scheme, we determine the sign of the spatial differentiation of the phase distribution and finally recover the original phase information for a uniformintensity image.
We note that the present method is also suitable for birefringent specimens with advantages over conventional DIC, because the illumination happens before polarization analysis in light reflection on a dielectric interface. This planar-interface scheme is much simpler and almost costless in comparison to the methods with complex Nomarski prisms or SLMs. Without the requirement of rotating the objects, the adjustability of differentiation direction works in situ and hence circumvents the difficulties and errors by using image registration. This method also works under a partially coherent illumination. For example, here a partially coherent beam is used for illumination of the phase object, in order to eliminate speckles and enhance the image quality. Our experimental results confirm that the proposed method is independent of material and wavelength, and therefore, by x-ray or electron polarization analysis, 56,57 it opens a new avenue to quantify the phase in x-ray or electron microscopy imaging.