Binary hologram data generation device and program of the same
The binary hologram data generation device controls output light intensity by adjusting binarization thresholds based on contrast, addressing the limitations of existing methods while maintaining frame rate and avoiding additional hardware, thus optimizing hologram generation.
Patent Information
- Application Number
- JP2023066935
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-29
AI Technical Summary
Existing methods for controlling the intensity of output light in binary holograms either reduce the frame rate or require a large-scale device configuration, such as using acousto-optic or electro-optic modulators.
A binary hologram data generation device that includes a contrast calculation section, a correspondence storage section, and a binarization section to control the binarization threshold based on the contrast of input hologram data, allowing arbitrary control of output light intensity without decomposing gradations into bit planes or adding additional equipment.
The device enables arbitrary control of output light intensity with a simple configuration, maintaining frame rate and avoiding the need for additional hardware, thus optimizing the hologram generation process.
Smart Images

Figure 2024153188000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a binary hologram data generating device that generates hologram data in which the number of gradations is binarized, and a program therefor. [Background technology]
[0002] Holography is a technology that uses the interference and diffraction of light to record and reconstruct three-dimensional information about an object. In the recording process, the interference fringes generated by the interference between the object light emitted from the object and a reference light with known properties are recorded on a recording medium. The medium on which the interference fringes are recorded is called a hologram. In the reconstruction process, the object light is reconstructed by diffracting light identical to the reference light that is incident on the hologram.
[0003] Digital holography is known in which holograms are handled as digital data by capturing the interference fringes with an image sensor. Also known is computer generated hologram (CGH), which creates a hologram represented as digital data by simulating the interference between object light and reference light on a computer. The object light can be reconstructed by displaying this hologram data on a display device called a spatial light modulator (SLM), and diffracting the same light as the reference light by making it incident on the SLM.
[0004] An SLM is a device that spatially and temporally modulates the amplitude and phase of input light and outputs it. Liquid crystal materials are used in the light modulation section, and its state is controlled according to the input write data. The number of controllable states is limited by the material used in the modulation section, and SLMs that use ferroelectric liquid crystal materials, magneto-optical materials, or optically switched micromirrors can only control two states. Therefore, these SLMs use hologram data that has a binary number of gradations.
[0005] The intensity of the output light from the SLM is controlled by the contrast of the hologram data. Since binary hologram data has only two gradations, it can only reproduce two patterns of light and dark, and the contrast is constant, so the intensity of the output light cannot be controlled arbitrarily. Hereafter, hologram data with two gradations will be abbreviated to "binary hologram data" and the output light from the SLM will sometimes be abbreviated to "output light".
[0006] Therefore, Non-Patent Document 1 proposes a method of controlling the intensity of the output light by decomposing the number of gradations of the intensity of the output light into bit planes, generating hologram data for the number of bit planes, and changing the display time of the data. In addition to the method of Non-Patent Document 1, Non-Patent Document 2 also proposes a method of controlling the intensity of the input light with an acousto-optical modulator or an electro-optical modulator, inputting the input light to an SLM, and controlling the intensity of the output light. [Prior art documents] [Non-patent literature]
[0007] [Non-Patent Document 1] Masato Fujiwara, Naoki Takada, Hiromitsu Araki, Chun Wei Ooi, Shohei Ikawa, Yuki Maeda, Hiroaki Niwase, Takashi Kakue, Tomoyoshi Shimobaba, and Tomoyoshi Ito, "Gradation representation method using a binary-weighted computer-generated hologram based on pulse-width modulation," Chin. Opt. Lett. 15, 060901- (2017) [Non-Patent Document 2] Yasuhiro Takaki and Masahito Yokouchi, "Speckle-free and grayscale hologram reconstruction using time-multiplexing technique," Opt. Express 19, 7567-7579 (2011) Summary of the Invention [Problem to be solved by the invention]
[0008] However, the method described in Non-Patent Document 1 has a problem of a decrease in frame rate. Also, the method described in Non-Patent Document 2 has a problem of requiring an additional device for controlling the intensity of input light, which increases the scale of the device configuration.
[0009] Therefore, an object of the present invention is to provide a binary hologram data generating device and a program therefor that can arbitrarily control the intensity of output light with a simple configuration without decreasing the frame rate. [Means for solving the problem]
[0010] In order to solve the above problems, the binary hologram data generating device of the present invention is a binary hologram data generating device that generates binary hologram data by binarizing the number of gradations from desired input hologram data, and is configured to include a contrast calculation unit, a correspondence relationship storage unit, and a binarization unit.
[0011] According to this configuration, the contrast calculation unit calculates the contrast of the input hologram data. The correspondence storage unit pre-stores the correspondence between contrast, output light intensity from the spatial light modulator, and a coefficient for controlling a binarization threshold. The binarization unit refers to the correspondence relationship and obtains the coefficient corresponding to the contrast calculated by the contrast calculation unit. The binarization unit then sets a threshold value according to the coefficient, and binarizes the input hologram data based on the threshold value to generate binary hologram data.
[0012] That is, in the binary hologram data generating device, the binarization threshold is controlled according to a coefficient determined from the contrast of the input hologram data. The ratio of light that contributes to diffraction in the spatial light modulator changes depending on the binarization threshold, so the output light intensity can be controlled as desired. In this case, the binary hologram data generating device does not need to decompose the number of gradations of the output light intensity into bit planes, so the frame rate does not decrease, and there is no need to add a device to control the input light intensity, so a simple configuration can be realized.
[0013] The present invention can also be realized by a program for causing a computer to function as the binary hologram data generating device described above. Effect of the Invention
[0014] According to the present invention, the intensity of output light can be arbitrarily controlled with a simple configuration without decreasing the frame rate. [Brief description of the drawings]
[0015] [Figure 1] 1 is a block diagram showing a configuration of a binary hologram data generating device according to an embodiment. [Diagram 2] 4 is a graph showing a histogram of normalized input hologram data in an embodiment. [Diagram 3] 4 is a flowchart showing the operation of the binary hologram data generating device according to the embodiment. [Figure 4] FIG. 11 is an explanatory diagram of an experiment for controlling the intensity of output light in the embodiment. [Diagram 5] In the embodiment, (a) is an image representing binary hologram data when the coefficient α is 0.00, (b) is an image representing binary hologram data when the coefficient α is 0.05, and (c) is an image representing binary hologram data when the coefficient α is 0.10. [Figure 6]In the examples, (a) is an image representing the subject when hologram data generated with coefficient α set to 0.00 is reproduced, (a) is an image representing the subject when hologram data generated with coefficient α set to 0.05 is reproduced, and (a) is an image representing the subject when hologram data generated with coefficient α set to 0.1 is reproduced. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. However, the embodiment described below is for embodying the technical idea of the present invention, and unless otherwise specified, the present invention is not limited to the following. In addition, the same symbols are used for the same means, and the description may be omitted.
[0017] (Embodiment) [Configuration of binary hologram data generator] The configuration of a binary hologram data generating device 1 according to an embodiment will be described with reference to FIG. The binary hologram data generating device 1 generates binary hologram data by binarizing the number of gradations from desired input hologram data. As shown in Fig. 1, the binary hologram data generating device 1 includes a data receiving unit 2, a data processing unit 3, and a data transmitting unit 4.
[0018] The data receiving unit 2 receives input hologram data from an external device (e.g., a computer). For example, the data receiving unit 2 receives the input hologram data via a wired communication line or a wireless communication line. Then, the data receiving unit 2 outputs the received input hologram data to the data processing unit 3.
[0019] The input hologram data refers to the hologram data input (received) by the binary hologram data generating device 1. For example, the input hologram data is generated by digital holography or computer generated hologram (CGH). In digital holography, the intensity information of the interference fringes is acquired by an image sensor, so the hologram data generally has a positive value and the same number of gradations as the image sensor. In CGH, the hologram data is the real part of the interference between the object light and the reference light, and is expressed in a numeric type (e.g., floating point) with the precision used in the calculation.
[0020] The input hologram data is acquired or generated by specifying an object that is a reference for the intensity of the output light, and the contrast represents the intensity of the output light. As long as this condition is satisfied, there are no particular limitations on the method of acquiring or generating the input hologram data.
[0021] The data processing unit 3 performs data processing on input hologram data. As shown in Fig. 1, the data processing unit 3 includes a preprocessing unit 30, a contrast calculation unit 31, a normalization unit 32, a correspondence relationship storage unit 33, and a binarization unit 34.
[0022] The pre-processing unit 30 performs pre-processing so that the range of the input hologram data is equal to or greater than 0. Here, when the range of the input hologram data input from the data receiving unit 2 includes negative values (for example, in the case of CGH), the pre-processing unit 30 processes the data so that the range of the data is equal to or greater than 0. Specifically, the pre-processing unit 30 performs pre-processing represented by the following formula (1).
[0023]
number
[0024] In addition, I p represents the input hologram data after preprocessing. Also, I In represents the input hologram data received by the binary hologram data generating device 1. Also, I minis the input hologram data I In In addition, m and n represent the index (two-dimensional coordinates) of the input hologram data, and the numbers of elements in the m and n directions are M and N, respectively.
[0025] Then, the preprocessing unit 30 outputs the preprocessed input hologram data I p to the contrast calculation unit 31 and the normalization unit 32.
[0026] The contrast calculation unit 31 calculates the contrast of the input hologram data. Here, the contrast calculation unit 31 calculates the contrast of the input hologram data I p Specifically, the contrast calculation unit 31 calculates the contrast C by using the following formula (2).
[0027]
number
[0028] In addition, I p_max is the preprocessed input hologram data I p It also represents the maximum value of I p_min is the preprocessed input hologram data I p Represents the minimum value of . Thereafter, the contrast calculation unit 31 outputs the calculated contrast C to the binarization unit .
[0029] The normalization unit 32 normalizes the input hologram data I p Here, the normalization unit 32 normalizes the minimum value I p_min From the preprocessed input hologram data, the maximum value I p_max Input hologram data I preprocessed in the range up to p Specifically, the normalization unit 32 performs normalization using the following equation (3).
[0030]
number
[0031] In addition, I n represents the normalized input hologram data. Then, the normalization unit 32 outputs the normalized input hologram data I n is output to the binarization unit 34.
[0032] The correspondence relationship storage unit 33 is a storage device such as a memory or HDD (Hard Disk Drive) that stores in advance the correspondence relationship between the contrast C, the intensity of the output light from the SLM, and the coefficient α for controlling the binarization threshold th. For example, this correspondence relationship is generated by a prior simulation or optical measurement, and is stored in the correspondence relationship storage unit 33 in advance by a user of the binary hologram data generation device 1.
[0033] <Correspondence> A specific method for generating the correspondence will be described below. First, the intensity of the output light is calculated using the coefficient α as a parameter. Here, the intensity of the output light may be calculated by simulation, or the intensity of the output light may be actually measured by a sensor by displaying hologram data on the SLM.
[0034] Next, determine the relationship between the intensity of the output light and the contrast C. Use the contrast of the hologram recording the subject you want to display most brightly as the standard. Determine the relationship between the output light intensity and the contrast C so that they are equal. For example, if the output light intensity is 1 when contrast C is 1, then the output light intensity will be 0.9 when contrast C is 0.9.
[0035] From the above, the correspondence relationship between contrast C, output light intensity, and coefficient α is determined. For example, if the brightness of the subject is desired to be 92%, that is, if contrast C is 0.92, coefficient α = 0.05. Also, if the brightness of the subject is desired to be 68%, that is, if contrast C is 0.68, coefficient α = 0.1. Table 1 shows an example of a table showing the correspondence relationship.
[0036] [Table 1]
[0037] The configuration of the binary hologram data generating device 1 will be further explained below. The binarization unit 34 refers to the correspondence in the correspondence storage unit 33, and obtains a coefficient α corresponding to the contrast C calculated by the contrast calculation unit 31. For example, the binarization unit 34 extracts a record in which the contrast C calculated by the contrast calculation unit 31 matches the contrast in Table 1, and obtains the coefficient α of the extracted record. The binarization unit 34 then sets a threshold th according to the coefficient α, and converts the input hologram data I normalized by the normalization unit 32 based on the threshold th. n is binarized.
[0038] There are cases where the contrast C calculated by the contrast calculation unit 31 does not match the contrast in Table 1. In such cases, the binarization unit 34 extracts a record in which the contrast C calculated by the contrast calculation unit 31 is closest to the contrast in Table 1, and obtains the coefficient α of the extracted record.
[0039] Next, the binarization unit 34 performs binarization using the following equation (4). b represents the hologram data after binarization (binarized hologram data). Specifically, the binarization unit 34 converts the normalized input hologram data I n If [m, n] is less than the threshold th, the binary hologram data I b [m, n]=0. On the other hand, the binarization unit 34 converts the normalized input hologram data I n If [m, n] is equal to or greater than the threshold th, the binary hologram data I b Set [m,n]=1.
[0040]
number
[0041] As described above, the coefficient α is a coefficient for controlling the threshold th, and is a value between 0 and 1 (in the range of [−1:1]). The threshold th is half the value obtained by adding 1 to the coefficient α, and is expressed by the following formula (5).
[0042]
number
[0043] Figure 2 shows the normalized input hologram data I n In Fig. 2, the vertical axis represents the frequency of the histogram, and the horizontal axis represents the normalized input hologram data I n The threshold value th when the coefficient α is ±0.25 is shown by a dashed line.
[0044] As shown in Fig. 2, the binarization threshold th varies depending on the coefficient α, and binary hologram data with different intensities can be generated. As a result, the ratio of light that contributes to diffraction in the SLM varies depending on the threshold th, so the intensity of the output light can be controlled. That is, in equation (4), the binary hologram data I b By changing the proportion of 0 and 1 in [m,n], the intensity of the output light can be controlled.
[0045] In principle, the intensity of the output light is maximum when the coefficient α is 0, and the intensity of the output light decreases as the absolute value of the coefficient α increases. Also, when the coefficient α is ±1, no diffracted light occurs, and the intensity of the output light is minimum.
[0046] Thereafter, the binarization unit 34 converts the binary hologram data I b to the data transmission unit 4. The data transmission unit 4 transmits the binary hologram data I input from the binarization unit 34 to an external device (for example, an SLM or a storage device). b For example, the data transmission unit 4 transmits the binary hologram data I via a wired communication line or a wireless communication line. b Send.
[0047] [Operation of binary hologram data generator] The operation of the binary hologram data generating device 1 will be described with reference to FIG. As shown in FIG. 3, in step S1, the data receiving unit 2 receives input hologram data I In Receive. In step S2, the pre-processing unit 30 calculates the minimum value of the input hologram data.
[0048] In step S3, the preprocessing unit 30 calculates the minimum value I min Determine whether is greater than or equal to 0. If the minimum value of the input hologram data is equal to or greater than 0 (Yes in step S3), the binary hologram data generating device 1 proceeds to the process of step S5. If the minimum value of the input hologram data is not equal to or greater than 0 (No in step S3), the binary hologram data generating device 1 proceeds to the process of step S4.
[0049] In step S4, the pre-processing unit 30 processes the input hologram data I In The minimum value I of the range of input hologram data min Preprocessing is performed by subtracting In step S5, the contrast calculation unit 31 calculates the contrast from the preprocessed input hologram data. In step S6, the normalization unit 32 normalizes the preprocessed input hologram data.
[0050] In step S7, the binarization unit 34 refers to the correspondence relationship in the correspondence relationship storage unit 33 and calculates a coefficient α corresponding to the contrast. In step S8, the binarization unit 34 sets a threshold value th in accordance with the coefficient α.
[0051] The processing in steps S9 to S17 is a processing for binarizing the normalized input hologram data. In step S9, the binarization unit 34 initializes the index m to 0.
[0052] In step S10, the binarization unit 34 determines whether the index m is less than the number M of elements. If the index m is less than the number of elements M (Yes in step S10), the binary hologram data generating apparatus 1 proceeds to the process of step S11. If the index m is not less than the number of elements M (No in step S10), the binary hologram data generating device 1 proceeds to the process of step S18.
[0053] In step S11, the binarization unit 34 initializes an index n to n=0. In step S12, the binarization unit 34 determines whether the index n is less than the number N of elements. If the index n is less than the number of elements N (Yes in step S12), the binary hologram data generating apparatus 1 proceeds to the process of step S13. If the index n is not less than the number of elements N (No in step S12), the binary hologram data generating apparatus 1 proceeds to the process of step S17.
[0054] In step S13, the binarization unit 34 converts the input hologram data I n It is determined whether [m, n] is less than a threshold value th. Input hologram data I n If [m, n] is less than the threshold value th (Yes in step S13), the binary hologram data generating apparatus 1 proceeds to the process of step S14. Input hologram data I n If [m, n] is not less than the threshold value th (No in step S13), the binary hologram data generating device 1 proceeds to the process of step S15.
[0055] In step S14, the binarization unit 34 converts the binary hologram data I b Set [m, n]=0 and proceed to the process of step S16. In step S15, the binarization unit 34 converts the binary hologram data I b Set [m,n]=1.
[0056] In step S16, the binarization unit 34 increments the index n, and the process returns to step S12. In step S17, the binarization unit 34 increments the index m, and the process returns to step S10. In step S18, the data transmission unit 4 transmits the binary hologram data I b and the process is terminated.
[0057] [Actions and Effects] As described above, in the binary hologram data generating device 1 according to the embodiment, the binarization threshold th is controlled according to the coefficient α determined from the contrast C of the input hologram data. Since the proportion of light that contributes to diffraction in the SLM varies depending on the binarization threshold th, the output light intensity can be controlled arbitrarily. In this case, in the binary hologram data generating device 1, since it is not necessary to decompose the number of gradations of the output light intensity into bit planes, the frame rate does not decrease, and since it is not necessary to add a device for controlling the intensity of the input light, a simple configuration can be realized.
[0058] Although the embodiment has been described in detail above, the present invention is not limited to the above-described embodiment, and includes design modifications and the like within the scope of the present invention.
[0059] In the above embodiment, the binary hologram data generating device 1 has been described as an independent piece of hardware, but the present invention is not limited to this. For example, the present invention can also be realized by a program for causing hardware resources such as a CPU, memory, and hard disk of a computer to function as the binary hologram data generating device 1. This program may be distributed via a communication line, or may be written onto a recording medium such as a CD-ROM or a flash memory and distributed. EXAMPLES
[0060] As an example, the results of an experiment on controlling the intensity of output light will be described. The CGHs were binarized with different thresholds th, and the reconstruction of each CGH was simulated on a computer to compare the intensity of the output light.
[0061] As shown in FIG. 4, the CGH 90 was calculated with a pixel count of 8192×8192, a pixel pitch of 3 μm, and 32-bit accuracy. The x-axis represents the horizontal direction, the y-axis represents the vertical direction, and the z-axis represents the depth direction. The subject 91 was positioned on the same axis as the CGH 90 so as to coincide with the center of the CGH 90. The subject 91 is a flat surface with a uniform brightness, with a pixel count of 4096×4096 and a pixel pitch of 3 μm. The distance between the CGH 90 and the subject 91 is 200 mm. The distance between the CGH 90 and the observer (eyeball 92) is also 200 mm. The size of the eyeball 92 is 24 mm, and the size of the pupil 93 is 3 mm.
[0062] The object light on the surface of CGH90 was obtained by the angular spectrum propagation method, and was superimposed with the reference light to generate CGH90. The reference light 94 was a plane wave with an incident angle of 5° to the y-axis. In addition, the propagation direction of the object light was limited to the positive direction of the y-axis by half-zone plate processing, so that the conjugate image would not be superimposed in the positive direction of the y-axis.
[0063] Here, a total of three CGH90s were generated with coefficient α set to 0.00, 0.05, and 0.10. Figures 5(a) to 5(c) show the binary hologram data calculated with each coefficient α. As shown in Figures 5(a) to 5(c), the larger the coefficient α, the smaller the sandstorm-like area becomes, while the lower black area becomes larger, resulting in a darker hologram. Since the half zone plate process limits the downward propagation of light, the intensity value of the lower hologram data on the CGH90 surface becomes smaller. And since the binarization threshold th is different in each of Figures 5(a) to 5(c), the area with a low intensity value in the hologram data becomes a black area. The sandstorm-like area on the upper side is an interference fringe of light, and indicates that the intensity value of the hologram data is sufficient.
[0064] At this time, the reconstruction illumination light was a plane wave at 5° in the y-axis direction, similar to the reference light 94. The observation position was set to 8 mm in the y-axis direction, and the gaze point was set to the position of the subject 91. The binarized hologram data was multiplied by the reconstruction illumination light, and the light wave distribution at the position of the pupil 93 was calculated by the angular spectrum propagation method. The calculated light wave distribution was then multiplied by the complex amplitude transmittance distribution of the lens of the eyeball 92, and a propagation calculation was performed up to the position of the retina. Finally, the intensity distribution at the position of the retina was calculated.
[0065] Of the calculated intensity distribution, the area of the subject 91 (white square area in Figure 6) is set to 100%, and the average intensity is calculated over a 50% area from the center of the subject 91. Here, since there is intensity attenuation at the edge parts of the subject 91, only a partial area is extracted. Also, since the subject 91 contains noise, it is necessary to calculate the average intensity of a partial area. For this reason, the average intensity is calculated over a 50% area from the center of the subject 91 to avoid attenuation at the edge parts and to prevent the subject 91 from becoming too small.
[0066] If the average intensity is 1 when the coefficient α is 0, then the average intensity is 0.92 when the coefficient α is 0.05, and 0.68 when the coefficient α is 0.10. Figures 6(a) to 6(c) show images output with 8-bit gradation, with the average intensity value set to 255 when the coefficient α is 0. In Figure 6, the white square area located in the center of the image represents the subject 91. The semicircle at the bottom of the image is the zeroth order light (unwanted light) that was not diffracted by the hologram.
[0067] As shown in Figures 6(a) to 6(c), it can be seen that the larger the coefficient α, the darker the subject 91 becomes. In this way, by changing the coefficient α, the intensity of the output light can be arbitrarily controlled. For example, when the contrast C of the input hologram data is 1, the coefficient α can be set to 0, and when the contrast C of the input hologram data is 0.92, the coefficient α can be set to 0.05 to change the intensity of the output light. [Explanation of symbols]
[0068] 1. Binary hologram data generator 2 Data receiving section 3 Data Processing Section 30 Pretreatment section 31 Contrast Calculation Unit 32 Normalization section 33 Correspondence memory unit 34 Binarization section 4 Data transmission section
Claims
1. A binary hologram data generating device for generating binary hologram data by binarizing a number of gradations from desired input hologram data, comprising: a contrast calculation unit for calculating a contrast of the input hologram data; a correspondence relationship storage unit that stores in advance a correspondence relationship between the contrast, the intensity of output light from the spatial light modulator, and a coefficient for controlling a binarization threshold; a binarization unit that refers to the correspondence relationship, obtains the coefficient corresponding to the contrast calculated by the contrast calculation unit, sets the threshold value according to the coefficient, and generates the binary hologram data by binarizing the input hologram data based on the threshold value; A binary hologram data generating device comprising:
2. The coefficient is greater than or equal to 0 and less than or equal to 1, 2. The binary hologram data generating device according to claim 1, wherein the threshold value is half the value obtained by adding 1 to the coefficient.
3. a pre-processing unit that performs pre-processing so that the range of the input hologram data is equal to or greater than 0; a normalization unit that normalizes the input hologram data preprocessed by the preprocessing unit, the contrast calculation unit calculates the contrast of the input hologram data preprocessed by the preprocessing unit; 2. The binary hologram data generating device according to claim 1, wherein the binarization unit binarizes the input hologram data normalized by the normalization unit based on the threshold value.
4. A program for causing a computer to function as the binary hologram data generating device according to any one of claims 1 to 3.
