Hologram compression method and system based on improved JPEG (Joint Photographic Experts Group) standard

By improving the JPEG standard, using deep learning to identify and process the hologram spectrum, combined with Huffman coding, the problems of complex hologram compression algorithms and poor reconstruction quality are solved, achieving efficient hologram compression and compatibility, and reducing the transmission of three-dimensional images. bandwidth.

CN118540478APending Publication Date: 2024-08-23KUNMING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410607359.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing hologram compression algorithm is complex, time-consuming, has insufficient compression ratio and poor reconstruction quality, and lacks a unified standard.

Method used

Using the improved JPEG standard, by adding a frequency domain gating filter trained by deep learning when recording holograms with CCD, it automatically identifies and moves the -1 level spectrum to the center of the spectrum, performs discrete cosine transform and improved quantization, and combines Huffman coding for compression. and reconstructed using a compatible improved decoder.

Benefits of technology

It achieves high-quality, high-compression-ratio hologram compression, reduces real-time transmission and display communication bandwidth pressure of 3D images, and is highly compatible with the JPEG standard, making it easy to promote.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540478A
    Figure CN118540478A
Patent Text Reader

Abstract

The invention relates to a hologram compression method and system based on an improved JPEG (Joint Photographic Experts Group) standard, and belongs to the field of holographic image processing. Comprising the following steps of: adding a hologram frequency domain gating filter subjected to deep learning training when a CCD (Charge Coupled Device) records a hologram to identify a-1-level frequency spectrum of the obtained hologram, moving the-1-level frequency spectrum to an image coordinate center of the frequency spectrum, and setting the rest part to be zero to obtain an interference-free hologram of a Fourier transform frequency spectrum in the image coordinate center; carrying out discrete cosine transform on the image to obtain a DCT frequency spectrum of the image, and quantizing the DCT frequency spectrum by using an improved JPEG (Joint Photographic Experts Group) quantization table; performing zigzag scanning on the quantized DCT coefficient, and inputting the quantized DCT coefficient into a Huffman encoder for encoding to complete compression; and the decoder receives and decodes the compressed code stream, and reconstructs the decoded hologram to obtain a holographic reproductive image. The method has a high compression ratio, and also ensures the high quality of the reconstructed image of the compressed hologram.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a hologram compression method and a system thereof based on an improved JPEG standard, which are used for compression and reconstruction of holographic three-dimensional display data and belong to the technical field of holographic image processing. Background Art

[0002] Holographic technology can record all the amplitude and phase information of the object light wave, and can completely reconstruct the wavefront information of the object or scene. It is widely used in many fields such as holographic microscopy and three-dimensional display. In recent years, image three-dimensional display technology has developed rapidly. The three-dimensional scene reconstructed using holographic technology can reconstruct the light field of the real scene, provide all the depth information, and solve the essential defects of binocular parallax. It is considered to be the most suitable method for displaying real 3D images. With the development of next-generation communication technology and virtual reality, real-time three-dimensional image display will also become possible. However, in order to reconstruct high-resolution complete three-dimensional images and holographic images, holograms recorded from multiple angles of the object are required. The amount of holographic data required is very large, which limits the real-time transmission and display of three-dimensional images. Therefore, compressing the hologram can effectively reduce the amount of computing data and improve transmission efficiency.

[0003] Traditional digital image coding standards are often based on human vision. However, holograms are composed of complex stripes, and the data structure is different from that of conventional images. They contain a lot of high-frequency information, and this high-frequency information is crucial to the reconstruction of holograms. Therefore, conventional digital image coding standards are not suitable for compressing holograms. Although many domestic and foreign researchers have proposed a variety of hologram compression methods, these methods also have problems such as complex algorithms, long time consumption, insufficient compression ratio, and poor hologram reconstruction quality. Therefore, there is currently no unified standard for the compression of holographic images. Summary of the invention

[0004] The present invention provides a hologram compression method and system based on an improved JPEG standard, which are used to solve the problems of complex hologram compression algorithm, long time consumption, insufficient compression ratio and poor hologram reconstruction quality.

[0005] The technical solution of the present invention is: in the first aspect, a hologram compression method based on an improved JPEG standard is provided, and the specific steps of the method are as follows:

[0006] Step 1. When the CCD records the hologram, a hologram frequency domain gating filter trained by deep learning is added to automatically identify the -1 level spectrum of the obtained hologram, and move it to the image coordinate center of the spectrum, and set the rest to zero, so as to obtain an interference-free hologram with the Fourier transform spectrum at the center of the image coordinate;

[0007] Step 2, perform discrete cosine transform on the obtained interference-free hologram to obtain the DCT spectrum of the main spectrum information of the hologram in the upper left corner of the image, and use the improved JPEG quantization table to quantize the DCT spectrum; the improved JPEG quantization table has a small quantization coefficient value for the 4×4 area in the upper left corner, between 10 and 20, and a large value for other areas, using a number greater than 100; specifically, in the Step 2, the improved JPEG quantization table has a quantization coefficient value of 13 for the 4×4 area in the upper left corner, and a value of 120 for other areas.

[0008] Step 3, perform zigzag scanning on the quantized DCT coefficients and input them into the Huffman encoder for encoding to complete the compression;

[0009] Step 4: The decoder receives the compressed code stream and decodes it, and reconstructs the decoded hologram to obtain a holographic reconstruction image. The hologram compressed by this method has high quality and high compression ratio, and the decoder is compatible with the JPEG standard;

[0010] Furthermore, the specific steps of Step 1 are as follows:

[0011] Step 1.1, build a hologram recording platform or use a computer simulation to generate a hologram platform;

[0012] Step 1.2. Add a hologram frequency domain gating filter trained by deep learning to the platform. This filter can identify the spectral characteristics of the hologram, automatically select the -1 level spectrum of the hologram, and move it to the center of the spectrum coordinate, set the rest to zero, and obtain an interference-free hologram with the Fourier transform spectrum at the center of the image coordinate.

[0013] Furthermore, the specific steps of Step 2 are as follows:

[0014] The interference-free hologram output in Step 1 is subjected to discrete cosine transform to obtain the DCT spectrum of the image. The DCT spectrum is the hologram spectrum with important information concentrated in the upper left corner. The DCT spectrum is then quantized using an improved JPEG quantization table, with the quantization step Q set by itself. The higher the Q value, the higher the compression ratio, and the lower the hologram quality. Conversely, the lower the Q value, the lower the compression ratio, and the higher the hologram quality.

[0015] Furthermore, the specific steps of Step 3 are as follows:

[0016] The quantized DCT coefficients are zigzag scanned to form a line of data stream, which is then divided into real and imaginary parts, which are then input into the Huffman encoder for encoding to complete the compression.

[0017] Furthermore, the specific steps of Step 4 are as follows:

[0018] The improved JPEG decoder is used for decoding. The decoder is highly compatible with the JPEG standard decoder and only requires a few changes. The decoded hologram is reconstructed by S-FFT to obtain the reconstructed image of the hologram. The improved JPEG decoder only needs to replace the inverse quantization table in the decoder with the improved JPEG quantization table based on the JPEG standard decoder.

[0019] In a second aspect, the present invention provides a hologram compression system based on an improved JPEG standard, comprising the following modules:

[0020] The acquisition module is used to add a hologram frequency domain gating filter trained by deep learning to automatically identify the -1 level spectrum of the obtained hologram when the CCD records the hologram, and move it to the image coordinate center of the spectrum, and set the rest to zero, so as to obtain a non-interference hologram with the Fourier transform spectrum at the image coordinate center;

[0021] A quantization module is used to perform discrete cosine transform on the obtained interference-free hologram to obtain the DCT spectrum of the main spectrum information of the hologram in the upper left corner of the image, and quantize the DCT spectrum using an improved JPEG quantization table;

[0022] The coding and compression module is used to perform a zigzag scan on the quantized DCT coefficients and then input them into the Huffman encoder for coding to complete compression;

[0023] The reconstruction module is used to decode the received compressed code stream through a decoder and reconstruct the decoded hologram to obtain a holographic reproduction image.

[0024] Furthermore, the acquisition module specifically includes the following modules:

[0025] A platform building module is used to build a hologram recording platform or a platform for generating holograms using computer simulation;

[0026] The interference-free hologram acquisition module is used to add a hologram frequency domain gating filter trained by deep learning to the platform. The filter can identify the spectral characteristics of the hologram, automatically select the -1 level spectrum of the hologram, and move it to the center of the spectrum map coordinates, set the rest to zero, and obtain an interference-free hologram with the Fourier transform spectrum at the center of the image coordinates.

[0027] The beneficial effects of the present invention are:

[0028] (1) The present invention proposes a hologram compression method based on the improved JPEG standard, introduces a deep learning method to automatically extract the -1 level information of the hologram spectrum and forms an interference-free hologram that is easy to compress according to the JPEG standard by moving the position of the spectrum, thereby effectively realizing the compression of the hologram. While having a high compression ratio, the compression method also ensures the high quality of the reconstructed image of the compressed hologram.

[0029] (2) The hologram compression method used in the present invention is based on the improved JPEG standard. The decoder used in decoding is highly compatible with the JPEG standard and only requires minor changes. Nowadays, JPEG decoders are available on most devices, making it easy to promote.

[0030] (3) The complete hologram recording, compression and reconstruction system proposed in the present invention, i.e., the hologram compression system based on the improved JPEG standard, provides a new idea for the realization of future hologram encoding standards and reduces the communication bandwidth pressure for real-time transmission and display of three-dimensional holographic images. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 Schematic diagram of the optical path for the hologram collection built;

[0032] Figure 2 is the original color hologram collected;

[0033] Figure 3 A schematic diagram for preprocessing the spectrum extracted from the collected image;

[0034] Figure 4 For improved quantization table;

[0035] Figure 5 A flowchart of the improved compression method proposed by the present invention;

[0036] Figure 6 A flow chart of the overall system of the present invention;

[0037] Figure 7 Schematic diagram for comparing the compression method of the present invention with the JPEG standard.

[0038] Explanation of the accompanying drawings: BS1, BS2-beam splitter prisms, MO1, MO2-objective lenses, M1, M2, M3-reflecting mirrors, Laser R, G, B-red, green, blue lasers. DETAILED DESCRIPTION

[0039] Example 1: Figure 1-Figure 7 As shown, the present invention provides a hologram compression method based on an improved JPEG standard, and the specific steps of the method are as follows:

[0040] Step 1. First, build the experimental optical path device required for hologram acquisition, see Figure 1 The laser used has a red wavelength of 671nm, a green wavelength of 532nm, and a blue wavelength of 457nm. The CCD resolution is 1344pixel×1024pixel, the model is TriCCD_Hamamatsu_ONERA C7780-20, the pixel size is 6.45μm×6.45μm, the object is 2m away from the CCD, and the object is a Peking Opera mask model with a size of about 30mm×50mm. The obtained hologram is as follows Figure 2 ; Then the obtained hologram is compressed;

[0041] After the CCD acquires the hologram, Figure 3 , here we take the green light component as an example, and add a hologram frequency domain gating filter trained by deep learning when the CCD records the hologram. This filter can identify the spectrum characteristics of the hologram and automatically identify the -1 level spectrum of the obtained hologram ( Figure 3 (a)), and move it to the center of the spectrum image coordinates, and set the rest to zero ( Figure 3 (b)), and obtain the interference-free hologram of the Fourier transform spectrum at the center of the image coordinates ( Figure 3 (c));

[0042] Step 2: Perform discrete cosine transform on the obtained interference-free hologram to obtain the DCT spectrum of the hologram image. This spectrum has certain particularity, which is manifested in that the important information of the hologram spectrum is concentrated in the upper left ( Figure 3 (d)), and use the improved JPEG quantization table to quantize the DCT spectrum; the improved JPEG quantization table is that the quantization coefficient value of the upper left 4×4 area is small, between 10 and 20, and the values ​​of other areas are large, using numbers greater than 100; specifically, the improved JPEG quantization table is that the quantization coefficient value of the upper left 4×4 area is 13, and the values ​​of other areas are 120.

[0043] The improved quantization table is as follows Figure 4 , Figure 4 The left side is the original JPEG standard quantization table, and the right side is the improved quantization table.

[0044] According to the nature of JPEG processing images in blocks, the DCT spectrum of the blue light component of the hologram after preprocessing is mainly affected by the quantization coefficients of the 4×4 area in the upper left corner of the quantization table during quantization, and the red and green light occupy smaller areas. Therefore, changing the quantization coefficient value of the 4×4 area in the upper left corner of the quantization table to a smaller value and changing the other quantization coefficient values ​​to a larger value can improve the reconstruction quality of the compressed hologram, while effectively removing redundancy, increasing the number of 0 values ​​in the quantized DCT coefficients, and improving coding efficiency. It should be mentioned that continuing to increase the value of the quantization coefficient in the lower right corner has no effect on the compression effect, because no matter how these coefficients are increased, the quantized DCT coefficients are all 0. The quantization coefficients of the 4×4 area in the upper left corner can be adjusted according to the required image quality and compression ratio. The quantization step size Q can be set by yourself. The higher the Q value, the higher the compression ratio, and the lower the hologram quality. On the contrary, the lower the Q value, the lower the compression ratio, and the higher the hologram quality.

[0045] Step 3, zigzag scanning is performed on the quantized DCT coefficients to form a line of data stream, and then the data stream is divided into real part and imaginary part, and then input into the Huffman encoder for encoding to complete compression;

[0046] Step 4: Use the improved JPEG decoder to decode, and perform S-FFT reconstruction on the decoded hologram to obtain the reconstructed hologram image. The improved JPEG decoder only needs to replace the inverse quantization table in the decoder with the improved JPEG quantization table based on the JPEG standard decoder. The improved image compression process is as follows: Figure 5 shown.

[0047] In a second aspect, the present invention provides a hologram compression system based on an improved JPEG standard. Figure 6 The flowchart of the system processing of the present invention includes the following modules:

[0048] The acquisition module is used to add a hologram frequency domain gating filter trained by deep learning to automatically identify the -1 level spectrum of the obtained hologram when the CCD records the hologram, and move it to the image coordinate center of the spectrum, and set the rest to zero, so as to obtain a non-interference hologram with the Fourier transform spectrum at the image coordinate center;

[0049] A quantization module is used to perform discrete cosine transform on the obtained interference-free hologram to obtain the DCT spectrum of the main spectrum information of the hologram in the upper left corner of the image, and quantize the DCT spectrum using an improved JPEG quantization table;

[0050] The coding and compression module is used to perform a zigzag scan on the quantized DCT coefficients and then input them into the Huffman encoder for coding to complete compression;

[0051] The reconstruction module is used to decode the received compressed code stream through a decoder and reconstruct the decoded hologram to obtain a holographic reproduction image.

[0052] Furthermore, the acquisition module specifically includes the following modules:

[0053] A platform building module is used to build a hologram recording platform or a platform for generating holograms using computer simulation;

[0054] The interference-free hologram acquisition module is used to add a hologram frequency domain gating filter trained by deep learning to the platform. The filter can identify the spectral characteristics of the hologram, automatically select the -1 level spectrum of the hologram, and move it to the center of the spectrum map coordinates, set the rest to zero, and obtain an interference-free hologram with the Fourier transform spectrum at the center of the image coordinates.

[0055] In order to more objectively evaluate the reconstruction quality of the compressed hologram, some indicators need to be pointed out:

[0056] Peak Signal-to-Noise Ratio (PSNR) is used as a metric to objectively evaluate the quality of image reconstruction. It is used to measure the quality between the maximum signal and the background noise. The higher the value, the better the image quality.

[0057] Multi Scale Structural Similarity Index Measure (MS-SSIM) is also used as a metric to evaluate image quality, and its evaluation results will be closer to the subjective evaluation of the human eye. MS-SSIM takes the reference image and the compressed image signal as input, iteratively applies a low-pass filter, downsamples the filtered image by 2 times, and measures it at different scales to obtain a comprehensive index, which ranges from [0,1]. The larger the value, the closer the quality of the compressed image is to the original image.

[0058] Compression Ratio (CR), as a measure of image compression effect, is the ratio of the image code stream length before compression to the image code stream length after compression.

[0059] Table 1 shows the compression effect of the present invention on the actual photographed hologram

[0060]

[0061] Figure 7 The comparison between the compressed hologram and the reconstructed image of the original hologram is shown. The left side is the reconstructed image of the original image, the middle is the reconstructed image of the hologram after compression by the method of the present invention, and the rightmost side is the reconstructed image of the hologram after compression according to the JPEG standard.

[0062] It can be found that when the compression ratio of the hologram compressed by the present invention reaches 97.35, the PSNR can still reach 32.61, which is a significant improvement compared to directly using the JPEG standard. While the compression ratio is relatively large, the reconstruction quality of the hologram is guaranteed.

[0063] The present invention proposes a hologram compression method based on the improved JPEG standard. When recording the hologram, the hologram is preprocessed to obtain an interference-free hologram, and then the image can be directly compressed and output. Whether it is a hologram shot in real time or a hologram generated by computer simulation, compression can be achieved, and the compression ratio is high, the image quality is good, and it is highly compatible with the existing JPEG standard decoder, which is convenient for realizing a wider range of applications, and provides a new idea for the realization of holographic image coding standards.

[0064] The specific implementation modes of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A hologram compression method based on an improved JPEG standard, characterized in that: The specific steps of the method are as follows: Step 1. When the CCD records the hologram, a hologram frequency domain gating filter trained by deep learning is added to automatically identify the -1 level spectrum of the obtained hologram, and move it to the image coordinate center of the spectrum, and set the rest to zero, so as to obtain an interference-free hologram with the Fourier transform spectrum at the center of the image coordinate; Step 2, perform discrete cosine transform on the obtained interference-free hologram to obtain the DCT spectrum of the main spectrum information of the hologram in the upper left corner of the image, and use the improved JPEG quantization table to quantize the DCT spectrum; the improved JPEG quantization table has a small quantization coefficient value of 10-20 in the 4×4 area in the upper left corner, and a large value in other areas, using a number greater than 100; Step 3, perform a zigzag scan on the quantized DCT coefficients and input them into the Huffman encoder for encoding to complete the compression; Step 4: The decoder receives the compressed code stream, decodes it, and reconstructs the decoded hologram to obtain a holographic reproduction image.

2. The hologram compression method based on the improved JPEG standard according to claim 1, characterized in that: In the Step 2, the improved JPEG quantization table has a quantization coefficient value of 13 in the upper left 4×4 area and a value of 120 in other areas.

3. The hologram compression method based on the improved JPEG standard according to claim 1, characterized in that: The specific steps of Step 1 are as follows: Step 1.1, build a hologram recording platform or use a computer simulation to generate a hologram platform; Step 1.

2. Add a hologram frequency domain gating filter trained by deep learning to the platform. This filter can identify the spectral characteristics of the hologram, automatically select the -1 level spectrum of the hologram, and move it to the center of the spectrum coordinate, set the rest to zero, and obtain an interference-free hologram with the Fourier transform spectrum at the center of the image coordinate.

4. The hologram compression method based on the improved JPEG standard according to claim 1, characterized in that: The specific steps of Step 2 are as follows: The interference-free hologram output in Step 1 is subjected to discrete cosine transform to obtain the DCT spectrum of the image. The DCT spectrum is the hologram spectrum with important information concentrated in the upper left corner. The DCT spectrum is then quantized using an improved JPEG quantization table, with the quantization step Q set by itself. The higher the Q value, the higher the compression ratio, and the lower the hologram quality. Conversely, the lower the Q value, the lower the compression ratio, and the higher the hologram quality.

5. The hologram compression method based on the improved JPEG standard according to claim 1, characterized in that: The specific steps of Step 3 are as follows: The quantized DCT coefficients are zigzag scanned to form a line of data stream, which is then divided into real and imaginary parts, which are then input into the Huffman encoder for encoding to complete the compression.

6. The hologram compression method based on the improved JPEG standard according to claim 1, characterized in that: The specific steps of Step 4 are as follows: The improved JPEG decoder is used for decoding, and the decoded hologram is reconstructed by S-FFT to obtain a reconstructed image of the hologram. The improved JPEG decoder only needs to replace the inverse quantization table in the decoder with the improved JPEG quantization table based on the JPEG standard decoder.

7. A hologram compression system based on an improved JPEG standard, characterized in that: Includes the following modules: The acquisition module is used to add a hologram frequency domain gating filter trained by deep learning to automatically identify the -1 level spectrum of the obtained hologram when the CCD records the hologram, and move it to the image coordinate center of the spectrum, and set the rest to zero, so as to obtain a non-interference hologram with the Fourier transform spectrum at the image coordinate center; A quantization module is used to perform discrete cosine transform on the obtained interference-free hologram to obtain the DCT spectrum of the main spectrum information of the hologram in the upper left corner of the image, and quantize the DCT spectrum using an improved JPEG quantization table; The coding and compression module is used to perform a zigzag scan on the quantized DCT coefficients and then input them into the Huffman encoder for coding to complete compression; The reconstruction module is used to decode the received compressed code stream through a decoder and reconstruct the decoded hologram to obtain a holographic reproduction image.

8. The hologram compression system based on the improved JPEG standard according to claim 7, characterized in that: The acquisition module specifically includes the following modules: A platform building module is used to build a hologram recording platform or a platform for generating holograms using computer simulation; The interference-free hologram acquisition module is used to add a hologram frequency domain gating filter trained by deep learning to the platform. The filter can identify the spectral characteristics of the hologram, automatically select the -1 level spectrum of the hologram, and move it to the center of the spectrum map coordinates, set the rest to zero, and obtain an interference-free hologram with the Fourier transform spectrum at the center of the image coordinates.