• Photonics Research
  • Vol. 4, Issue 6, 240 (2016)
Le Wang* and Shengmei Zhao
Author Affiliations
  • Institute of Signal Processing and Transmission, Nanjing University of Posts and Telecommunications (NUPT), Nanjing 210003, China
  • show less
    DOI: 10.1364/PRJ.4.000240 Cite this Article Set citation alerts
    Le Wang, Shengmei Zhao. Fast reconstructed and high-quality ghost imaging with fast Walsh–Hadamard transform[J]. Photonics Research, 2016, 4(6): 240 Copy Citation Text show less

    Abstract

    In this paper, we propose a ghost imaging scheme with fast Walsh–Hadamard transform, named GIFWHT. In the scheme, Walsh–Hadamard pattern pairs are used to illuminate an object to generate pairs of detection results, and the corresponding differential detection result is used as the result as that from the conventional bucket detector. By performing the fast Walsh–Hadamard transform on 2k (k is a positive integer) differential detection results, the image of the object can be recovered. The experimental and numerical simulation results show that the reconstruction time of GIFWHT is greatly reduced, and the quality of the recovered image is noticeably improved. In addition, GIFWHT is robust against interference from environmental illumination and could savememory.Network Technology, Ministry of Education (NYKL2015011).

    1. INTRODUCTION

    Ghost imaging (GI), also referred to as single-pixel imaging, is an intriguing optical imaging technique that allows the imaging of objects located in optically harsh or noisy environments [1], and presents the possibility of imaging with special wavelengths, such as x ray and infrared [2]. Commonly, there are two optical beams in a GI system. One beam, called the signal beam, crosses an object and is detected by a bucket detector without any spatial resolution. The other beam, called the reference beam, is detected by a spatially resolving detector. The image is retrieved at the reference beam by correlating the signals from the two detectors.

    Since the characteristics obtained with quantum entangled photons [3,4] are also found to be realized by using a classical pseudo-thermal light source [5], GI has been explored in the classical domain [613]. Later, a new configuration, called computational ghost imaging (CGI) [14], was introduced. It makes one detector system available, and enlarges the applications of GI [15,16]. However, shorter reconstruction time and higher quality of imaging is still the objective of GI.

    Recently, a novel GI scheme with Fourier transform, called GIFT, was proposed to significantly decrease reconstruction time, and to achieve imaging even in the presence of noisy environmental illumination [17]. Noticeably, the sinusoidal patterns, instead of the random speckle patterns, are used to illuminate the object, and Fourier transform, instead of the second-order correlation algorithm or the compressed sensing algorithm, is employed to retrieve the image of the object. However, commonly used digital devices inevitably introduce some quantization errors for the sinusoidal patterns. Furthermore, only approximate Fourier coefficients can be achieved in the realization of GIFT.

    On the other hand, Walsh–Hadamard patterns can be generated by digital devices without any quantization errors. More importantly, Walsh–Hadamard transform (WHT) has a fast implementation algorithm, called fast Walsh–Hadamard transform (FWHT) [18,19], that can significantly reduce computational complexity. In addition, inverse WHT is equal to WHT due to the orthogonal and symmetric properties of the natural order WHT, and that makes the reconstruction procedure exact.

    In this paper, we propose a GI scheme with FWHT, called GIFWHT, which can realize fast reconstruction and high-quality imaging. In the scheme, Walsh–Hadamard pattern pairs, from a WHT matrix, are used to illuminate the object to generate detection pairs, and the differential detection result instead of the result of a conventional bucket detector is recorded to efficiently remove interference caused by the environmental illumination. After 2k (k is a positive integer) differential detections are achieved, FWHT is performed to exactly recover the image of the object. The advantage of the proposed scheme is that it can greatly reduce reconstruction time comparing to the GIFT and CGI schemes. In addition, different from GIFT and CGI, the imaging is exactly recovered by GIFWHT and the quality of the recovered image is noticeably improved. Moreover, GIFWHT can significantly reduce memory that is required to record illumination patterns. This is because the image of the object can be recovered by using the differential signals without the illumination patterns, whereas both the differential signals and the illumination patterns must be recorded to be used in the reconstruction process of existing CGI schemes.

    The organization of the paper is as follows. In Section 2, GIFWHT is presented. In Section 3, the performance of GIFWHT is discussed and compared to CGI with random speckle patterns [15], CGI with Walsh–Hadamard patterns [16], and GIFT [17]. Finally, Section 4 concludes the paper.

    2. GI USING FWHT

    In this section, we first present details of the proposed scheme, along with the natural order WHT matrix and the computational complexity analysis of the proposed scheme.

    A. Scheme Description

    Figure 1 shows the schematic diagram of the proposed GIFWHT scheme. The light is modulated by a digital micromirror device (DMD) or other digital light projector, which is controlled by a computer to produce pairs of Walsh–Hadamard patterns, including Walsh–Hadamard pattern Ii(x,y) and its inverse pattern I˜i(x,y), where the value of Ii(x,y) is either black (0) or white (+1) for each coordinate (x,y), and I˜i(x,y)=1Ii(x,y). The ith Walsh–Hadamard pattern Ii(x,y) is obtained by reshaping the ith row of the natural order WHT matrix Hk. Thus a set of the pairs of Walsh–Hadamard patterns, ,Ii(x,y),I˜i(x,y), Ii+1(x,y),I˜i+1(x,y),, is obtained and displayed on the DMD to modulate the light in turn. After beam expansion with a projector lens, the light with the pattern interacts with an object and is detected by a bucket detector after a converging lens. The pairs of detection results Bi and B˜i are obtained for each pair of Walsh–Hadamard patterns, and the differential signal Di=BiB˜i is recorded. After N=2k (k is a positive integer) differential signals {Di}i=1N are achieved, and the image can be recovered by using FWHT.

    Schematic diagram of the GIFWHT scheme.

    Figure 1.Schematic diagram of the GIFWHT scheme.

    The differential acquisition method [16,20] can efficiently remove the interference of environmental illumination. The system displays each pair of a Walsh–Hadamard pattern Ii(x,y) and its inverse pattern I˜i(x,y), and obtains a differential signal between the two corresponding detection results from the bucket detector. Corresponding to a pattern Ii(x,y), a detection result Bi could be expressed as [16] Bi=ηIi(x,y)T(x,y)dxdy+n,where η is the bucket detector responsivity, T(x,y) is the distribution function of the object, and n represents the environmental illumination. Similarly, corresponding to I˜i(x,y), a detection result B˜i could be expressed as B˜i=ηI˜i(x,y)T(x,y)dxdy+n.Therefore, a differential signal Di between the two corresponding detection results Bi and B˜i is Di=BiB˜i=η(Ii(x,y)I˜i(x,y))T(x,y)dxdy=ηΔIi(x,y)T(x,y)dxdy,where ΔIi(x,y)=Ii(x,y)I˜i(x,y). It is shown that the interference of environmental illumination can be efficiently removed.

    For N=2k differential signals, Eq. (3) can be written in a matrix form: [D1D2DN]=η[ΔI1(1,1)ΔI1(1,2)ΔI1(Nx,Ny)ΔI2(1,1)ΔI2(1,2)ΔI2(Nx,Ny)ΔIN(1,1)ΔIN(1,2)ΔIN(Nx,Ny)][T(1,1)T(1,2)T(Nx,Ny)],where T=[T(1,1),T(1,2),,T(Nx,Ny)]T is the one-dimensional reformation of the two-dimensional object T(x,y), and N differential signals {Di}i=1N can construct an N×1 column vector D. It is shown that {ΔIi(x,y)}i=1N can exactly construct the natural order WHT matrix Hk: Hk=[ΔI1(1,1)ΔI1(1,2)ΔI1(Nx,Ny)ΔI2(1,1)ΔI2(1,2)ΔI2(Nx,Ny)ΔIN(1,1)ΔIN(1,2)ΔIN(Nx,Ny)],where N=Nx×Ny. Therefore, the matrix form of Eq. (4) can be rewritten as D=ηHkT.Because of the orthogonal and symmetric properties of the natural order Walsh–Hadamard matrix [18], Hk1=λHk,where λ is a constant and (·)1 is the inverse of a matrix. The image of the object, T(x,y), can be recovered by T=1ηHk1D=ληHkD.It is shown that T is equivalent to the coefficients of the natural order WHT operating on the N-point vector D.

    Importantly, there exists a fast algorithm of natural order WHT [18], i.e., FWHT, to recover the image of the object with a shorter reconstruction time in GIFWHT. This is realized by a butterfly structure and recursively breaks down an N-point natural order WHT into two smaller N2-point natural order WHTs, and needs only Nlog2N real-number addition or subtraction operations, which greatly decreases the computational time of natural order WHT [18,19].

    B. Natural Order WHT

    It is important to obtain the pairs of Walsh–Hadamard patterns in the proposed scheme. Equation (5) shows the Walsh–Hadamard patterns can be produced from the natural order WHT matrix Hk. When the value of Hk for the coordinate (x,y) is +1, the corresponding intensity value of Ii(x,y) is white (+1), and when the value of Hk for the coordinate (x,y) is 1, the corresponding intensity value of Ii(x,y) is black (0). Because a general base-p natural order WHT matrix can be achieved as a generalization of the base-2 natural order WHT matrix [19], the base-2 natural order WHT matrix is considered in the scheme for simplification. The base-2 natural order WHT matrix of dimension 2, H1, is H1=[1111].The base-2 natural order Hadamard transform matrix of dimension 2k (k is a positive integer and k2), is given by the following recursive formula: Hk=[Hk1Hk1Hk1Hk1].It is shown that Hk is a square and symmetric matrix whose elements are either +1 or 1. Furthermore, each row is mutually orthogonal. Alternatively, Hk can be rewritten as Hk=[h(i,j)],i=0,1,,N1;j=0,1,,N1, and the element h(i,j) can be expressed as h(i,j)={1if  i=0;0jN1(1)jif  i=1;0jN1h(i2,j2)h(i2i2,j)if  2iN1;0jN1,where · represents to round the elements to the nearest integers toward minus infinity.

    C. Computational Complexity Analysis

    In this subsection, the computational complexity of the proposed scheme is analyzed. Because FWHT is used in GIFWHT to recover the image of the object, the computational complexity of GIFWHT depends on that of FWHT, and only Nlog2N real-number additions or subtractions are needed [18,19].

    Since the fast Fourier Transform algorithm (FFT) is used as the reconstructed method in GIFT [17], the computational complexity of GIFT is determined by that of FFT, which needs Nlog2N complex-number additions and 12Nlog2N complex-number multiplications [19]. Therefore, the computational complexity of GIFWHT can be significantly reduced in comparison with that of GIFT.

    On the other hand, the image of the object T(x,y) can be reconstructed by a second-order correlation algorithm in CGI [15,16], which can be expressed as T(x,y)=1Ni=1N(DiD)Ii(x,y),where D=1Ni=1NDi and Ii(x,y) has N pixels. Based on Eq. (12), there exists N2+N1 real-number additions and N2 real-number multiplications in the reconstruction process. It is also shown that the computational complexity of GIFWHT is much lower than that of CGI [15,16].

    3. RESULTS DISCUSSION

    In this section, we discuss the performance of the proposed scheme by experiments and numerical simulations.

    The experimental system of GIFWHT is shown in Fig. 2. The DMD (TI DLPC350) is controlled by a computer to modulate the light from LEDs to generate a binary Walsh–Hadamard pattern pair, Ii(x,y) and I˜i(x,y). After expanding with a projector lens, the beams with the Walsh–Hadamard pattern pairs are projected onto an object. Here, transmission objects with frontal illumination are adopted and the images of the “NUPT” logo, a ghost, and a face (18  mm×18  mm) printed on a transparent plastic thin sheet are used as objects. The transmissive beam is collected by a lens (focal length is 250 mm) and then detected by a bucket detector (Thorlabs S120C and PM100USB), which is positioned in the focal plane of the lens, to generate a pair of detection results Bi and B˜i. The operation is repeated N=2k (k is 12 in the experiment) times. Finally, FWHT is adopted to recover the image of the object. The recovery process is conducted on a Dell computer with Intel i7-4790 CPU, 8G RAM, and a 64 bit Windows 7 system.

    Schematic diagram of the GIFWHT scheme experimental system.

    Figure 2.Schematic diagram of the GIFWHT scheme experimental system.

    To compare the quality of the recovered image quantitatively, mean square error (MSE) is used as an objective evaluation, and is defined as [15] where T(x,y) and T(x,y) denote the intensity values of the original and the recovered image, respectively. N is the number of pixels of the image.

    At first, we verify the feasibility of GIFWHT by experiments and numerical simulations in Fig. 3. The results are compared with those results using CGI with random patterns, CGI with Walsh–Hadamard patterns, and GIFT. In the GIFWHT scheme, 4096 64×64 pixel binary Walsh–Hadamard patterns pairs (total of 8192 patterns) are modulated by DMD to illuminate onto the object both in the experiment and the numerical simulation. Simultaneously, CGI with random patterns is implemented with 8192 64×64 pixel random binary patterns (2 times the image pixels). CGI with Walsh–Hadamard patterns is realized with the same patterns as GIFWHT, and GIFT is implemented with 8192 64×64 pixel four-step phase-shifting sinusoid patterns. The results show that the images of the objects can be recovered by GIFWHT. The recovered images are very clear, and the reconstruction time is shortest. Comparing with the results using CGI with random patterns, the reconstructed images using GIFWHT are much better, and the corresponding MSEs are smaller, because the random patterns usually used in CGI [5,14] contain overlap information, whereas the Walsh–Hadamard patterns are spatially orthogonal without any redundancy. The reconstruction time of GIFWHT noticeably decreases and is 2.5% of the reconstruction time of using CGI with random patterns. Comparing with the results using GIFT, GIFWHT can recover higher quality images without the appearance of fringes and periodic noise, because GIFWHT can avoid quantization errors in implementation. Additionally, the reconstruction time of GIFWHT reduces to 16% of the reconstruction time of GIFT. It is also shown that the reconstruction quality of GIFWHT is the same as that of CGI with Walsh–Hadamard patterns, whereas GIFWHT can reduce the reconstruction time to 5.6% of the reconstruction time of CGI with Walsh–Hadamard patterns. In addition, the reconstruction quality of the experiment results is lower than that of the numerical simulation results because the projector cannot create perfectly binary patterns in the experiment. The imperfections of the projectors, such as fluctuations of the light source, result in degradation of the experimental results. Moreover, GIFWHT uses only 186 KB of memory to record the detection signals, whereas CGI not only uses 186 KB of memory to record the detection signals, but also uses 194 MB of memory to record the illumination patterns. Thus GIFWHT can greatly reduce the memory needed to record the illumination patterns comparing with the CGI scheme.

    Experimental and numerical simulation results of the “NUPT” logo, a ghost, and a face using the different schemes in the absence of environmental illumination, where MSE and reconstruction time are presented together.

    Figure 3.Experimental and numerical simulation results of the “NUPT” logo, a ghost, and a face using the different schemes in the absence of environmental illumination, where MSE and reconstruction time are presented together.

    We then, in Fig. 4, compare the reconstruction time versus the different sizes of objects by using GIFWHT, GIFT, CGI with random patterns, and CGI with Walsh–Hadamard patterns. The reconstruction processes for the experiment and numerical simulation are the same when using computers. “Lena” images with M pixel sizes (M ranges from 210 to 214) are used as objects. GIFWHT and CGI with Walsh–Hadamard patterns are implemented with M binary Walsh–Hadamard pattern pairs (total number of patterns is 2M). CGI with random patterns is realized with 2M binary random patterns, and GIFT is implemented with 2M four-step phase-shifting sinusoid patterns. The results show that the reconstruction time of GIFWHT is the shortest. Moreover, the rate of increase of the reconstruction time of GIFWHT is much lower than that of CGI. Simultaneously, the reconstruction time of GIFWHT approximates 16% of the reconstruction time of GIFT.

    Reconstruction time of numerical simulation results of the “Lena” image of different sizes using the different methods. The values are the ensemble averages over 20 numerical simulation results.

    Figure 4.Reconstruction time of numerical simulation results of the “Lena” image of different sizes using the different methods. The values are the ensemble averages over 20 numerical simulation results.

    We further show in Fig. 5 the robustness of GIFWHT against environmental illumination by experiment. Here, four fluorescent lamps are introduced as environmental illumination. The other experimental conditions are the same as those in Fig. 3. The results show that the quality of recovered images in the presence of environmental illumination is almost the same as those results in the absence of the environmental illumination, which indicates that GIFWHT has the ability to efficiently overcome interference from environmental illumination.

    Experimental results of the “NUPT” logo, a ghost, and a face by using the GIFWHT scheme in the presence or absence of environmental illumination, where MSE and reconstruction time are presented together.

    Figure 5.Experimental results of the “NUPT” logo, a ghost, and a face by using the GIFWHT scheme in the presence or absence of environmental illumination, where MSE and reconstruction time are presented together.

    4. CONCLUSION

    We have proposed a GIFWHT scheme. In the scheme, Walsh–Hadamard pattern pairs are used to illuminate the object. The differential acquisition method is used to remove interference caused by environmental illumination. After 2k differential signals have been obtained, FWHT is adopted to recover the image of the object. We have compared the performance of GIFWHT, GIFT, CGI with random patterns, and CGI with Walsh–Hadamard patterns by experiments and numerical simulations and have analyzed the quality of the imaging of GIFWHT in the presence or absence of environmental illumination. The results have shown that the reconstruction time can be greatly reduced by using GIFWHT comparing with that of other schemes. Moreover, GIFWHT has noticeably improved the quality of reconstructed images in comparison with those of CGI with random patterns and GIFT, and has obtained results similar to those of CGI with Walsh–Hadamard patterns. In addition, GIFWHT has efficiently removed interference of environmental illumination, and has saved much memory to record the patterns.

    References

    [1] S. M. Zhao, H. Yang, Y. Q. Li, F. Cao, Y. B. Sheng, W. W. Cheng, L. Y. Gong. The influence of atmospheric turbulence on holographic ghost imaging using orbital angular momentum entanglement: simulation and experimental studies. Opt. Commun., 294, 223-228(2013).

    [2] N. Radwell, K. J. Mitchell, G. M. Gibson, M. P. Edgar, R. Bowman, M. J. Padgett. Single-pixel infrared and visible microscope. Optica, 1, 285-289(2014).

    [3] D. V. Strekalov, A. V. Sergienko, D. N. Klyshko, Y. H. Shih. Observation of two-photon ‘ghost’ interference and diffraction. Phys. Rev. Lett., 74, 3600-3603(1995).

    [4] X. Gu, S. M. Zhao. Nonorthogonal object identification based on ghost imaging. Photon. Res., 3, 238-242(2015).

    [5] R. S. Bennink, S. J. Bentley, R. W. Boyd. Two-photon coincidence imaging with a classical source. Phys. Rev. Lett., 89, 113601(2002).

    [6] R. Liu, A. Fang, Y. Zhou, P. Zhang, S. Gao, H. Li, H. Gao, F. Li. Enhanced visibility of ghost imaging and interference using squeezed thermal light. Phys. Rev. A, 93, 013822(2016).

    [7] X. Li, C. Deng, M. Chen, W. Gong, S. Han. Ghost imaging for an axially moving target with an unknown constant speed. Photon. Res., 3, 153-157(2015).

    [8] D. J. Zhang, H. G. Li, Q. L. Zhao, S. Wang, H. B. Wang, J. Xiong, K. Wang. Wavelength-multiplexing ghost imaging. Phys. Rev. A, 92, 013823(2015).

    [9] E. F. Zhang, W. T. Liu, P. X. Chen. Ghost imaging with non-negative exponential speckle patterns. J. Opt., 17, 085602(2015).

    [10] W. Gong. High-resolution pseudo-inverse ghost imaging. Photon. Res., 3, 234-237(2015).

    [11] X. F. Liu, X. H. Chen, X. R. Yao, W. K. Yu, G. J. Zhai, L. A. Wu. Lensless ghost imaging with sunlight. Opt. Lett., 39, 2314-2317(2014).

    [12] L. Nie, Y. Bai, X. Fu. Ghost telescope imaging system from the perspective of coherent-mode representation. Opt. Commun., 358, 88-91(2016).

    [13] Y. Yang, J. Shi, F. Cao, J. Peng, G. Zeng. Computational imaging based on time-correlated single-photon-counting technique at low light level. Appl. Opt., 54, 9277-9283(2015).

    [14] J. H. Shapiro. Computational ghost imaging. Phys. Rev. A, 78, 061802(2008).

    [15] S. M. Zhao, L. Wang, W. Q. Liang, W. W. Cheng, L. Y. Gong. High performance optical encryption based on computational ghost imaging with QR code and compressive sensing technique. Opt. Commun., 353, 90-95(2015).

    [16] S. S. Welsh, M. P. Edgar, R. Bowman, B. Sun, M. J. Padgett. Near video-rate linear Stokes imaging with single-pixel detectors. J. Opt., 17, 025705(2015).

    [17] Z. Zhang, X. Ma, J. S. Zhong. Single-pixel imaging by means of Fourier spectrum acquisition. Nat. Commun., 6, 6225-6230(2015).

    [18] Y. A. Geadah, M. J. G. Corinthios. Natural, dyadic, and sequency order algorithms and processors for the Walsh-Hadamard transform. IEEE Trans. Comput., C-26, 435-442(1977).

    [19] M. Corinthios. Signals, Systems, Transforms, and Digital Signal Processing with MATLAB(2009).

    [20] W. K. Yu, X. R. Yao, X. F. Liu, L. Z. Li, G. J. Zhai. Three-dimensional single-pixel compressive reflectivity imaging based on complementary modulation. Appl. Opt., 54, 363-367(2015).

    Le Wang, Shengmei Zhao. Fast reconstructed and high-quality ghost imaging with fast Walsh–Hadamard transform[J]. Photonics Research, 2016, 4(6): 240
    Download Citation