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).
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 [6–13]. 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.
Sign up for Photonics Research TOC Get the latest issue of Advanced Photonics delivered right to you!Sign up now
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 ( 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 and its inverse pattern , where the value of is either black (0) or white () for each coordinate , and . The th Walsh–Hadamard pattern is obtained by reshaping the th row of the natural order WHT matrix . Thus a set of the pairs of Walsh–Hadamard patterns, , , 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 and are obtained for each pair of Walsh–Hadamard patterns, and the differential signal is recorded. After ( is a positive integer) differential signals are achieved, and the image can be recovered by using FWHT.
The differential acquisition method [16,20] can efficiently remove the interference of environmental illumination. The system displays each pair of a Walsh–Hadamard pattern and its inverse pattern , and obtains a differential signal between the two corresponding detection results from the bucket detector. Corresponding to a pattern , a detection result could be expressed as [16]where is the bucket detector responsivity, is the distribution function of the object, and represents the environmental illumination. Similarly, corresponding to , a detection result could be expressed as Therefore, a differential signal between the two corresponding detection results and is where . It is shown that the interference of environmental illumination can be efficiently removed.
For differential signals, Eq. (3) can be written in a matrix form: where is the one-dimensional reformation of the two-dimensional object , and differential signals can construct an column vector . It is shown that can exactly construct the natural order WHT matrix : where . Therefore, the matrix form of Eq. (4) can be rewritten as Because of the orthogonal and symmetric properties of the natural order Walsh–Hadamard matrix [18], where is a constant and is the inverse of a matrix. The image of the object, , can be recovered by It is shown that is equivalent to the coefficients of the natural order WHT operating on the -point vector .
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 -point natural order WHT into two smaller -point natural order WHTs, and needs only 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 . When the value of for the coordinate is , the corresponding intensity value of is white (), and when the value of for the coordinate is , the corresponding intensity value of 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, , is The base-2 natural order Hadamard transform matrix of dimension ( is a positive integer and ), is given by the following recursive formula: It is shown that is a square and symmetric matrix whose elements are either or . Furthermore, each row is mutually orthogonal. Alternatively, can be rewritten as , and the element can be expressed as 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 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 complex-number additions and 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 can be reconstructed by a second-order correlation algorithm in CGI [15,16], which can be expressed as where and has pixels. Based on Eq. (12), there exists real-number additions and 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, and . 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 () 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 and . The operation is repeated ( 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.
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 and denote the intensity values of the original and the recovered image, respectively. 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 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 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 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.
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 pixel sizes ( ranges from to ) are used as objects. GIFWHT and CGI with Walsh–Hadamard patterns are implemented with binary Walsh–Hadamard pattern pairs (total number of patterns is ). CGI with random patterns is realized with binary random patterns, and GIFT is implemented with 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.
Sign up for Photonics Research TOC Get the latest issue of Advanced Photonics delivered right to you!Sign up now
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.
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.
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 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.