Optical analog computing offers high-throughput low-power-consumption operation for specialized computational tasks. Traditionally, optical analog computing in the spatial domain uses a bulky system of lenses and filters. Recent developments in metamaterials enable the miniaturization of such computing elements down to a subwavelength scale. However, the required metamaterial consists of a complex array of meta-atoms, and direct demonstration of image processing is challenging. Here, we show that the interference effects associated with surface plasmon excitations at a single metal–dielectric interface can perform spatial differentiation. And we experimentally demonstrate edge detection of an image without any Fourier lens. This work points to a simple yet powerful mechanism for optical analog computing at the nanoscale.
Differentiation is a fundamental mathematical operation used in any field of science or engineering. In image processing, spatial differentiation enables edge detection, which extracts important information about the boundary of objects in an image1,2. Edge detection is the essential first step in object detection, feature classification and data compression3. However, in many applications that require real-time processing of images, such as in medical and satellite applications, essential high-throughput edge detection demands time-consuming computation and represents a key challenge4,5.
Over the past few years, optical analog computing has attracted particular attentions and offers high-throughput low-power-consumption operation for specialized computational tasks. In the temporal domain, such computing allows direct and coherent transformation of pulse waveforms that are too short to be processed directly electronically for applications from analog computing6,7,8,9,10,11,12,13 and optical memory14 to differential equation solvers15,16 and photonic neural networks17. In the spatial domain, such computing enables massively parallel processing of entire images with no energy cost, which provides significant advantages against standard digital processing of images. Traditionally, optical analog computing in the spatial domain uses a bulky system of lenses and filters18. Recently, there are significant efforts seeking to miniaturize such computing elements down to a single wavelength or even subwavelength scale19,20,21,22,23,24,25,26,27,28,29. In particular, Silva et al.19 theoretically showed that through a complex array of meta-atoms both phase and magnitude of the transmitted wave can be engineered to realize desired spatial transfer functions of mathematical operations such as spatial differentiation. However, due to the structure complexity of the metamaterials, direct experimental demonstration of image processing is challenging21,24. There are also several other theoretical proposals, including one discussed by Silva et al.19, where one seeks instead to achieve spatial differentiation with layer structures26,27,28. None of these structures, however, have been demonstrated experimentally neither.
Here, we experimentally demonstrate an optical spatial differentiator based on the simplest surface plasmonic structure, a single layer of thin metal film, and without any Fourier lens. In contrast to the metamaterial approach for spatial differentiation, which relies on a complex array of meta-atoms, the proposed plasmonic differentiator consists of a single ultra-thin metal film29, which is far simpler and greatly simplifies the fabrication process and reduces the influence of fabrication imperfection. Moreover, such a plasmonic structure enables the differentiator to have the thickness of the film reduced into the subwavelength scale about 50 nm, which represents a tremendous miniaturization as compared to lens-based Fourier optical systems or even the dielectric slab approaches. Also we exploit such a differentiator to detect the edges for sharp changes in either amplitude or phase of the incident field. With standard thin-film deposition technology, the plasmonic differentiator can be fabricated on a large scale. Therefore, we have demonstrated an ultrafast optical computing scheme with sufficient space-bandwidth product that is capable of processing an entire image on a single shot, which is critically important for high-throughput real-time image processing.
Surface-plasmon-based scheme for spatial differentiation
To achieve spatial differentiation, we consider the Kretschmann prism configuration as schematically shown in Fig. 1a. Here, we consider that a p-polarized wave obliquely illuminates the metal surface from the glass side with an incident angle θ0. Suppose that the incident and the reflected beams have the field profiles Sin(x) and Sout(x), respectively, where x is the beam profile coordinate which is perpendicular to the beam propagation direction and the magnetic field. By spatial Fourier transform, the incident (reflected) beam can be written as the superposition of plane waves, that is , where kx is the wavevector component of the plane wave along x direction, and sin(out)(kx) are the corresponding amplitudes. Therefore, the field-profile transformation from the incident to the reflected light is described by a spatial spectral transfer function H(kx) where H(kx) ≡ sout(kx)/sin(kx).
In the special case when the incident angle θ0 satisfies the phase matching condition, that is when the plane wave has a wavevector component parallel to the interface that matches with the wavevector of a propagating surface plasmon polariton (SPP) at the metal–air interface, the incident plane wave then strongly excites the SPP30,31. Due to material loss, the decaying SPP results in a dip of the transfer function spectrum H(kx) at kx=0. Furthermore, as the excited SPP propagates along the metal surface it leaks out and radiates. Therefore, the reflected amplitude is determined through the interference between the direct reflection at the glass–metal interface and the radiation from the SPP leakage. Using the spatial coupled mode theory formalism32,33, which accounts for the general behaviour of this system using the constraints of energy conservation, time-reversal symmetry and mirror symmetry, the spatial spectral transfer function around kx=0 can be expressed as
where corresponds to the phase change during the direct reflection at the glass–metal interface. A=(αspp−αl)/cos θ0 and B=(αspp+αl)/cos θ0, where αl is the radiative leakage rate of the SPP, and αspp is the intrinsic material loss rate (for the details of derivation see Supplementary Note 1 and Supplementary Fig. 1).
We note that A=0 when the critical coupling condition αl=αspp is satisfied. Near kx=0 equation (1) can then be approximated as
Equation (2) is the transfer function of a first-order spatial differentiator. Correspondingly, in the spatial domain, the reflected field profile becomes
Equation (3) shows that spatial differentiation can be realized by exploiting the interference effect associated with the surface plasmon excitation without the need of any lens that performs Fourier transform.
As a few remarks, we note that here we are able to demonstrate the first-order derivative since the plasmonic differentiator operates away from the normal incidence. This is in contrast to ref. 19, where with a multilayer film a second-order derivative is demonstrated for normal incidence due to the symmetry constraint on both the flat structure and the light source. Also, with a relatively low quality factor of the plasmonic resonance, when maintaining the incident angle, the reflection remains low with a terahertz bandwidth at the resonant frequency. Therefore, the spatial differentiator proposed here should have enough frequency bandwidth for ultrafast image processing.
Design of SPP-based differentiator
To experimentally realize the spatial differentiation, in the Kretschmann configuration as shown in Fig. 1a, we control the thickness of the metal film to satisfy the critical coupling condition. We note that the leakage rate αl of the SPP at the metal–air interface monotonically decreases to zero as the metal film thickness increases to infinity. On the other hand, the intrinsic material loss rate αspp is mainly determined by the metal loss and thus is insensitive to the thickness. Therefore, the critical coupling condition can be realized with an appropriate choice of the metal film thickness. By the transfer matrix method34 we determined that the critical coupling condition is satisfied with the silver film thickness around 50 nm for an incident laser beam with a wavelength of 532 nm.
We deposited silver on a BK7 glass substrate (see the sample photo in Fig. 1b and the detailed information in the Methods) and measured the reflectance with the Kretschmann configuration in order to obtain the spatial transfer function spectrum. Figure 1c–e show the experimental spatial transfer function spectra of three samples with different thicknesses. All three films show a pronounced dip in the transfer spectrum that arises from the phase-matched coupling to the SPP on the metal–air interface. By fitting the experimental data with the numerical calculation, the thicknesses of the silver layers were estimated as 46.0, 50.0 and 55.5 nm. Here the dielectric constant of the silver is ɛAg=−11.51+0.55i, which is close to the literature values35,36 with a small deviation that is reasonable, given the depositing methods and conditions.
For the film with the thickness of 50.0 nm, the lowest value of the magnitude of the transfer function is as low as 0.0170, indicating that the structure is close to the critical coupling condition. Moreover, in consistency with the theoretical prediction above, Fig. 1d shows that the spatial spectral transfer function indeed exhibits linear dependency on kx around kx=0. After fitting with equation (2), we determine the parameter B=0.0075k0, where k0 is the wavevector in air. We note that the relatively small value of B enhances the output signal obtained from the spatial differentiation (see equation (3)). On the other hand, such a small value also means that the linear dependency is preserved only near kx=0 within a narrow spatial bandwidth (Fig. 1d). For the rest of the paper we use this sample for the demonstration of spatial differentiation and edge detection.
As the first example of spatial differentiation we consider an incident field generated by sending a beam through a slit with an adjustable width. The incident and reflected beam intensities are shown in Fig. 2a,b, respectively. The reflected beam indeed shows sharp peaks located at the edges of the incident beam, providing a direct demonstration of spatial differentiation and edge detection.
As a quantitative illustration of the performance of spatial differentiation, we input the beam profiles with different slit widths as illustrated in Fig. 2c, and in Fig. 2d compare the resulting experimental reflected beam profiles with the results from numerical differentiation of the input beam profiles. For ease of presentation, for each x-value we perform an average along the y-direction. The solid lines in Fig. 2c,d correspond to the averaged intensities of the experimental incident and reflected ones after normalization. In Fig. 2c, the input beams correspond to slit widths 321.65, 504.20 and 738.70 μm, respectively. We numerically differentiate the incident field amplitudes. We assume that the incident field amplitude has a uniform spatial phase distribution and the numerical aperture of the imaging system is 0.02. The theoretical differentiation calculations are presented as the dashed lines in Fig. 2d. As shown in Fig. 2d, there is a very good agreement in the peak position between the experimental measurements and the numerical results of the spatial differentiation. Moreover, between the two peaks the experimental measurement shows very low field intensity, again in agreement with the numerical differentiation results since the incident field has much slower spatial variation between the two edges. We calculate the Pearson’s correlation coefficient between the reflected intensity and theoretical differentiation calculation. For the three cases, the correlation coefficients are 93.9%, 93.3% and 90.6%, respectively, which show the good performance of the plasmonic spatial differentiator.
We now demonstrate various aspects of our plasmonic differentiator that are important for high-throughput image processing. For this purpose, we generate various images with a spatial light modulator (SLM: Holoeye PLUTO-NIR-011) and project the incident fields on the plasmonic differentiator with a conjugate imaging system (see Supplementary Note 2 and Supplementary Fig. 2). As the first illustration, since the spatial spectral transfer function of our plasmonic differentiator is linear only in the vicinity of kx=0 as shown in Fig. 1d, there is a finite spatial bandwidth of our plasmonic differentiator: The differentiator will not be able to resolve two edges that are very close to each other. As an experimental measurement of the spatial resolution of our plasmonic differentiator, we generate slot test patterns on the SLM (Fig. 3a), and the corresponding reflected intensity is measured and shown in Fig. 3b. As equation (3), the differentiation only operates along the x-direction. As a result, Fig. 3b only shows bright lines for the horizontal edges of each slot, corresponding to the x-direction differentiation. We also numerically simulate the reflected intensity as shown in Fig. 3c, which agrees well with the experimental results. We observe that the performance of the edge detection degrades as the width reduces. Figure 3b shows that the resolution of our plasmonic differentiator, that is the minimum separation between the two edges that can be resolved, is about 7.2 μm. Such a resolution should be sufficient for most image processing applications.
We note that in our device the differentiation operates on the field rather than the intensity. Therefore the device can be used to detect an edge either in the intensity or in the phase distribution of the incident field. To show such an effect, we use the SLM to generate incident fields with amplitude and phase modulations, respectively. Figure 4a shows an incident image field of the ZJU eagle logo and letters generated with amplitude modulation, where the inside and the outside of the letters and the eagle have different intensities. Figure 4b shows the reflected intensity from our plasmonic differentiator, which clearly exhibits the outlines of the logo and the letters. Figure 4c shows the incident image field consisting of the Stanford tree logo and letters generated with phase modulation, where the inside and the outside of the letters and the logo have different phases but the same intensity. We note that here we have rotated the incident image to demonstrate that we can detect the vertical edges. Again, the reflected light clearly exhibits the outline of the letters and logo (Fig. 4d). Since the differentiation is along the x-direction, the edges perpendicular to the x-direction are most visible. Nevertheless, as long as the edge is not along the x-direction, it can be detected in the reflected beam (e.g., the letter S in Fig. 4d).
We experimentally demonstrate that the single subwavelength metal film can compute spatial differentiation of the incident beam field during the light reflection. We exploit this feature to detect the edges that are formed by sharp variations of either the phase or the amplitude distributions in the incident field. The resolution of the edge detection is about 7 μm. Therefore, we have demonstrated an ultrafast optical computing scheme with sufficient space-bandwidth product that is capable of processing an entire image on a single shot, which is critically important for high-throughput real-time image processing. The structure used here can be fabricated at large scale with standard thin-film deposition technology. The thickness of the film is on the order of 50 nm, which tremendously miniaturizes the element as compared to lens-based edge detection schemes. Our results indicate that macroscopic-scale optical analog computing can be performed using simple nanoscale thin-film devices.
The plasmonic differentiator demonstrated here performs spatial differentiation along only in a single direction. Such a feature is already useful for image processing purposes for feature detection and classification3. As demonstrated in Fig. 4, one can simply perform differentiation along a perpendicular direction by rotating the beam. Alternatively, instead of the prism coupling method, by using a two-dimensional grating coupler that simultaneously excites two propagating SPP, one can construct plasmonic differentiators that simultaneously perform differentiation along two perpendicular directions.
Here, we control the interference by tuning the deposition thickness of the metal film. Fundamentally, with the technology of metamaterials, the interference process can be locally controlled through electrical, optical, thermal or magnetic approaches37,38,39. Therefore, the present plasmonic differentiator can be extended to a local dynamical spatial field converter with nanoscale modulation.
Sample fabrication and optical measurement
A thin silver layer was deposited on a clean BK7 glass substrate using a magnetron sputtering system (Kurt J. Lesker) with a 40W radio frequency sputtering power. The substrate temperature was fixed at room temperature. The thickness of the silver film was monitored by a quartz oscillator during the deposition. To measure the spatial spectral transfer function in a Kretschmann configuration, the sample was pasted on the waist surface of a BK7 prism with the aid of the index matching oil. The prism was mounted on a rotating stage. A collimated green (532 nm) continuous-wave laser beam was expanded and illuminated on the metal surface with the polarization controlled by an adjustable polarizer. By rotating the prism to scan the incident angle, the intensities of the incident and reflected light were respectively measured by two silicon photo-diode powermeters (Thorlabs Inc.). The spatial spectral transfer function was obtained by normalizing the data. We used a beam profiler (Ophir SP620) to measure the incident and the reflected field profiles. We note that here the beam profiler is used instead of conventional charge-coupled devices because the charge-coupled device uses gamma correction and cannot accurately measure the field intensity.
The authors declare that the data supporting the findings of this study are available within the paper and its Supplementary Information files.
How to cite this article: Zhu, T. et al. Plasmonic computing of spatial differentiation. Nat. Commun. 8, 15391 doi: 10.1038/ncomms15391 (2017).
Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This work was supported by the Thousand Youth Talents Plan, Fundamental Research Funds for the Central Universities (2014QNA3007) and the National Natural Science Foundation of China (NSFC 61675179). H.Y. was supported by the National Basic Research Program of China (2013CB632104) and the NSFC (61575176). M.Q. was supported by the NSFC (61425023). S.F. was supported by the U.S. Air Force Office of Scientific Research (FA9550-12-1-0024 and FA9550-17-1-0002).