The computer-generated hologram (CGH), as a promising technology for three-dimensional display, has attracted broad attention in the past two decades[
Chinese Optics Letters, Volume. 19, Issue 5, 050501(2021)
Pattern-adaptive error diffusion algorithm for improved phase-only hologram generation
The bidirectional error diffusion (BERD) algorithm is free from random phase modulation that introduces speckle noise on the reconstructed images, compared with other computer-generated phase-only hologram (POH) approaches. During the POH generation process, the amplitudes of all pixels are traditionally set to one for diffusing the errors to their neighborhood of unprocessed pixels. In this paper, we reveal that the reconstruction quality depends on the uniform amplitude value for different object pattern. The pattern-adaptive BERD (PA-BERD) algorithm is proposed for high-quality holographic reconstruction. The optimized amplitude value can be acquired for each object pattern and each propagation distance. The PA-BERD-based POHs have shown higher reconstruction quality than traditional BERD-based POHs in simulations as well as optical experiments.
1. Introduction
The computer-generated hologram (CGH), as a promising technology for three-dimensional display, has attracted broad attention in the past two decades[
The concept of error diffusion was first proposed for halftone image generation in 1976[
In the POH generation process with the traditional BERD method, the amplitudes of all pixels are traditionally set to one, and the corresponding errors are diffused to their neighborhood of unprocessed pixels to compensate for the discarded amplitude information. However, different CAHs have different amplitude distributions. The uniform amplitude value of one is not suitable for all images. There is still obvious coding noise on the reconstructed images of some object patterns with the BERD algorithm. In this paper, an optimization algorithm called the pattern-adaptive BERD (PA-BERD) algorithm is proposed. An optimized uniform amplitude value in the error calculation process is chosen for each object pattern and each propagation distance, which effectively eliminates the coding noise and generally improves the reconstruction quality.
Sign up for Chinese Optics Letters TOC Get the latest issue of Advanced Photonics delivered right to you!Sign up now
2. Method
Figure 1 shows the processing procedure of the POH generation with the error diffusion method. The wave propagation from the object plane to the hologram plane is described by the angular-spectrum method[
Figure 1.Processing procedure of POH with the error diffusion method. (a) Object and its CAH. (b) The error diffusion mode for odd rows, and black arrow denotes the scanning direction. (c) The error diffusion mode for even rows. (d) The calculated POH and its reconstruction.
Thereafter, the CAH is converted into the POH
The corresponding error is given by
It is noteworthy that the complex value
It is shown that the error between the complex value and the pure phase value is directly related to the discarded amplitude information
Thus, we can adjust the degree of the amplitude component encoded to the phase component by changing the value of
As shown in Fig. 1(b), the pixels on odd rows are scanned from left to right, and their errors are diffused to the neighborhood pixels as follows:
As shown in Fig. 1(d), the POH generated with the PA-BERD algorithm can be reconstructed by the inverse angular-spectrum propagation, as given by
For each object pattern,
3. Experiments
The resolution test chart is used to evaluate the proposed method. The image size is
Figure 2.Numerical reconstructions of the resolution test chart using different methods. (a) Object image. (b) Numerical reconstruction with the BERD algorithm. (c) Numerical reconstruction with the proposed PA-BERD algorithm.
Numerical simulations of some standard test images with the original BERD algorithm and the proposed PA-BERD algorithm are also taken. The PSNR improvements of the corresponding reconstructed images are shown in Fig. 3. It is obvious that the proposed PA-BERD algorithm can generally improve the reconstruction quality, which proves its universal applicability. The improvements vary from image to image, and the highest one is 3.59 dB.
Figure 3.Reconstruction quality improvement of different object images by the PA-BERD algorithm. (a)–(e) are the reconstructed images with the BERD algorithm. (f)–(j) are the reconstructed images with the proposed PA-BERD algorithm. (k) is the PSNR comparison of (a)–(j).
To illustrate the reconstruction quality for different values of
Figure 4.(a) and (c) show the relationship between the value of α and the PSNR of the reconstructed images of (b) “Peppers” and (d) “Airplane”, respectively. The blue and red dots represent the simulation results of the BERD algorithm and the PA-BERD algorithm, respectively.
Compared with the random phase method, the propagation range where the object can be clearly reconstructed by the BERD method is narrow. Figure 5 shows the reconstructed images at different propagation distances by the BERD algorithm. Diffusely extended noise clouds exist in the reconstructed images at 40 mm, 70 mm, and 80 mm, respectively. In contrast, the proposed PA-BERD algorithm can effectively eliminate the noise. The wider display distance range has opened the possibility to apply the error diffusion method in three-dimensional holographic display.
Figure 5.Numerical reconstructions at different distances using different methods. (a)–(d) are the reconstructed images with the BERD algorithm at the distances of 40, 60, 70, and 80 mm, respectively. (e)–(h) are the reconstructed images with the proposed PA-BERD algorithm at the distances of 40, 60, 70, and 80 mm, respectively. (i) is the PSNR comparison of (a)–(h).
The experimental setup is shown in Fig. 6. A Holoeye Gaya SLM with the resolution of
Figure 6.(a) and (b) are the schematic and photograph of the experimental setup, respectively. (c) shows the object image patterns “HOLOLAB” and “star”.
The experimental results are shown in Fig. 7. It can be observed that the images reconstructed by the original BERD method are dark with much coding noise. However, the proposed PA-BERD algorithm can effectively improve the contrast and remove the coding noise. It is shown that the PA-BERD algorithm could support higher-quality reconstruction over the traditional BERD algorithm.
Figure 7.Optical reconstruction results using different methods. (a) and (b) are the POHs and the corresponding optical reconstructed images and intensity distributions of “HOLOLAB” and “star” using the BERD algorithm, respectively. (c) and (d) are the POHs and the corresponding optical reconstructed images and intensity distributions of “HOLOLAB” and “star” by using the proposed PA-BERD algorithm, respectively.
4. Conclusion
In summary, this paper reports an optimization algorithm for POH generation based on the PA-BERD method. The optimized amplitude value of
[11] T. Shimobaba, T. Ito. Computer Holography: Acceleration Algorithms and Hardware Implementations(2019).
[13] R. Floyd, L. Steinberg. Adaptive Algorithm for Spatial Greyscale, 17, 75(1976).
Get Citation
Copy Citation Text
Kexuan Liu, Zehao He, Liangcai Cao, "Pattern-adaptive error diffusion algorithm for improved phase-only hologram generation," Chin. Opt. Lett. 19, 050501 (2021)
Category: Diffraction, Gratings, and Holography
Received: Oct. 1, 2020
Accepted: Oct. 19, 2020
Posted: Oct. 21, 2020
Published Online: Feb. 25, 2021
The Author Email: Liangcai Cao (clc@tsinghua.edu.cn)