Computational holography reconstruction method based on deep learning

By processing and analyzing computational holograms of tumor cells based on deep learning methods, high-quality holograms are generated, which solves the problems of low computational efficiency and insufficient accuracy in traditional methods, and achieves efficient and accurate diagnosis of tumor cell imaging.

CN118625622APending Publication Date: 2024-09-10CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410745286.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Traditional computational hologram generation methods are complex and computationally inefficient, making it difficult to obtain high-quality transmission images, affecting the precision and accuracy of tumor cell imaging.

Method used

Using a method based on deep learning, the computational hologram of tumor cells is processed and analyzed by training a neural network model to generate a hologram without zero-order image and conjugate image interference. Multi-scale residual blocks and attention mechanisms are used to achieve holographic processing. High-quality reconstruction of graphs with suppression of speckle noise.

Benefits of technology

It improves the generation quality and calculation efficiency of holograms, achieves accurate reproduction of tumor cell structure and phase information, reduces patients' pain and risks, and provides new solutions for tumor research.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625622A
    Figure CN118625622A
Patent Text Reader

Abstract

The invention discloses a computer-generated hologram reconstruction method based on deep learning. The method comprises the following steps: S1, a training stage; and S2, a test stage. According to the computer-generated hologram reconstruction method based on deep learning, the computer-generated hologram image of the tumor cell is processed and analyzed by using a deep learning algorithm so as to generate a tumor cell hologram without interference of a zero-order image and a conjugate image, and reconstruction of the hologram is realized; according to the method, speckle noise is effectively inhibited, and the problem that zero-order images and conjugate images are difficult to remove is solved, so that the structure and phase information of tumor cells are accurately reproduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of medical imaging, and specifically relates to a computational holographic reconstruction method based on deep learning. Background Art

[0002] Tumor cells are an important pathological object, which is of great significance for the early detection of tumors, the selection of treatment strategies and the monitoring of disease progression. At present, the imaging and diagnosis of tumor cells mainly rely on microscopes and medical imaging equipment, such as computed tomography (CT) and magnetic resonance imaging (MRI). However, these traditional imaging methods have problems such as high cost, complex sample processing and poor cell specificity.

[0003] Computer-generated hologram technology provides a new solution for the imaging and diagnosis of tumor cells. Computer-generated holograms record the interference phenomenon of light and reconstruct the phase information of objects from the transmission image to achieve holographic imaging of objects. Computer-generated holograms have the advantages of non-invasiveness, high resolution, and multi-dimensional information, and have great potential for imaging tumor cells. However, there are some limitations in traditional computer-generated holograms. First, the generation process of computer-generated holograms is relatively complicated and requires a lot of calculations and image processing, resulting in low computational efficiency. Secondly, computer-generated holograms have high requirements for image quality. In practical applications, due to limitations such as sample quality or imaging conditions, it is often difficult to obtain high-quality transmission images, which affects the precision and accuracy of the hologram.

[0004] As a popular technology in the field of artificial intelligence, deep learning has powerful image analysis and processing capabilities. Therefore, it is necessary to develop a new method for generating and reproducing tumor cell image computer holograms based on deep learning. Summary of the invention

[0005] The purpose of the present invention is to provide a computer-generated holographic reconstruction method based on deep learning, which uses a deep learning algorithm to process and analyze the computer-generated holographic image of tumor cells to generate a tumor cell hologram without zero-order image and conjugate image interference, and realize the reconstruction of the hologram. This method effectively suppresses speckle noise, solves the problem of difficulty in removing zero-order images and conjugate images, and realizes the accurate reproduction of tumor cell structure and phase information.

[0006] To achieve the above object, the present invention provides a method for computer-generated holographic reconstruction based on deep learning, comprising the following steps:

[0007] S1, training phase;

[0008] S11. Using slightly off-axis digital holography technology, by building an off-axis digital holographic recording optical path, a computationally generated holographic image is generated using tumor cell data as a sample as a data set, denoted as Hn, where n = 1, 2, 3, 4...j, and j is the number of holograms generated;

[0009] S12. The hologram obtained in the experiment is subjected to homomorphic filtering to obtain a hologram Dn without interference from zero-order images and conjugate images, wherein n=1, 2, 3, 4…j, and j is the number of holograms generated without interference from zero-order images and conjugate images; a digital holographic reconstruction algorithm is used to obtain a phase map Pn of the cell at the corresponding angle through numerical reconstruction calculation, wherein n=1, 2, 3, 4…j, and j is the number of phase maps generated;

[0010] The unwrapping is performed by discrete cosine transform method to obtain the unfolded initial phase; the initial phase is distorted and compensated by the phase compensation method based on phase gradient minimization to obtain the real phase distribution Zn of the sample, where n = 1, 2, 3, 4…j, and j is the number of real phase images generated;

[0011] S13, establishing a neural network model, initializing the network model parameters, taking the experimentally obtained tumor cell computerized hologram as the network input, and the corresponding tumor cell hologram without zero-order image and conjugate image interference as the standard output result of the network for training, and obtaining the trained neural network model1;

[0012] S14, using the generated zero-order image-free and conjugate image-interfered tumor cell hologram as input, and the corresponding cell real phase image as the standard output of the network, training is performed through the established neural network model to obtain a fully trained neural network model2;

[0013] S2, testing phase;

[0014] S21, adjusting the optical path, and using the constructed off-axis holographic recording optical path to collect the off-axis hologram H of the sample to be tested;

[0015] S22, inputting the off-axis CGH H of the sample to be tested into the trained neural network model model1, and obtaining a tumor cell hologram D of the sample to be tested without zero-order image and conjugate image interference;

[0016] S23, inputting the obtained tumor cell hologram D without zero-order image and conjugate image interference into the trained neural network model model2, to obtain a high-quality phase reconstruction image of the tumor cell hologram;

[0017] S24. Perform quality assessment on the output phase reconstruction image.

[0018] Preferably, in step S12, the digital holographic reconstruction algorithm adopts a Fresnel transform reconstruction algorithm, which needs to meet the Fresnel approximation condition when applied, and uses a computer to numerically simulate the Fresnel diffraction reconstruction process in the hologram. According to the Fresnel diffraction formula, the complex amplitude of the reconstructed light field is:

[0019]

[0020] Where F{*} represents the two-dimensional Fourier transform, Z i represents the reconstruction distance, and H(x,y) is the recorded hologram intensity distribution.

[0021] Preferably, in step S12, the phase unwrapping process includes:

[0022] 1) Convert the wrapped phase to a continuous phase; First, the wrapped phase needs to be converted to a continuous phase, which is achieved by using the differential method.

[0023] φ c (m,n)=φ p (m,n)+2πk(m,n)

[0024] Among them, φ c (m,n) is the continuous phase, φ p (m,n) is the wrapped phase, k(m,n) is an integer used to represent the periodicity of the phase;

[0025] 2) Perform DCT transformation; perform two-dimensional discrete cosine transform (DCT) on the continuous phase to obtain DCT coefficients. The DCT transformation is calculated by the following formula:

[0026]

[0027] Where f(x,y) is the input continuous phase image, F(u,v) is the coefficient after DCT transformation, M and N are the width and height of the image respectively;

[0028] 3) Modify the DCT coefficients; modify the DCT coefficients to remove the phase wrapping;

[0029] 4) Perform inverse DCT transformation; perform inverse transformation on the modified DCT coefficients to reconstruct the continuous phase. The inverse DCT transformation is calculated by the following formula:

[0030]

[0031] Where C(u) and C(v) are constants; C(u) is defined as,

[0032]

[0033] 5) obtaining an unfolded initial phase; finally, extracting the unfolded initial phase from the reconstructed continuous phase to obtain the unwrapped initial phase.

[0034] Preferably, in steps S22 and S23, the network model is an improved GAN network, which includes a generator model and a discriminator model.

[0035] Preferably, the generator model includes a four-layer convolutional neural network, with input and output being single-channel images of 64×64; the convolution kernel size of each layer is 5×5, the step size and depth increase layer by layer, and the ReLU activation function is used; the output layer is a deconvolution layer, and a high-resolution image is generated using the Tanh activation function. A basic block is introduced before the feature map is sent to the DeConv layer, and the attention mechanism GAM and the multi-scale residual network are combined to improve the feature extraction capability and network lightweight.

[0036] Preferably, the basic block is to embed the attention mechanism GAM into the multi-scale residual network module, and use the characteristic of automatic weight allocation of the attention mechanism to make up for the shortcomings of the residual network in feature representation, extract more features through as few residual blocks as possible, and make the network more lightweight.

[0037] Preferably, the discriminator model is a four-layer convolutional neural network, with a 64×64 single-channel image as input and a value output for discriminating the authenticity of the image; each layer uses a 5×5 convolution kernel, the step size and depth increase layer by layer, the Leaky ReLU activation function is used, the output layer is a fully connected layer, and the Sigmoid activation function is used.

[0038] Preferably, in step S24, the quality assessment specifically adopts peak signal-to-noise ratio and similarity index;

[0039] The peak signal-to-noise ratio is obtained by calculating the mean square error between the pixels of the two images. The higher the peak signal-to-noise ratio value, the smaller the difference between the images and the higher the quality. The peak signal-to-noise ratio PSNR calculation formula is:

[0040]

[0041] Among them, MaxValue represents the peak energy in the image; MSE is the mean square error, which represents the mean of the squares of the corresponding pixel differences between the two images.

[0042] The similarity index SSIM calculation formula is:

[0043]

[0044] Where x and y represent the two images to be compared; μ x and μ y Represent the average values ​​of x and y respectively; σx and σ y Represent the standard deviation of x and y respectively; σ xy Represents the covariance of x and y; C1 and C2 are constants; the value range of SSIM is [-1,1], and the closer it is to 1, the more similar the two images are.

[0045] Beneficial effects of the present invention:

[0046] 1. The improved generative adversarial network (GAN) of the present invention utilizes the powerful feature extraction capability of the deep learning algorithm, and does not require manual design of feature extractors or filters. It realizes that a tumor cell hologram without zero-order image and conjugate image interference can be directly generated by inputting an original holographic image, and end-to-end computational holographic real-time reconstruction can be completed through the network; the tumor cell computational holographic image is processed and analyzed by the deep learning algorithm, which can improve the generation quality and computational efficiency of the hologram;

[0047] 2. The improved GAN network of the present invention integrates and nests the multi-scale residual block with the attention mechanism, which can help capture the important features and structural information in the holographic image, achieve more accurate and clear reconstruction results, and improve the visualization effect of the holographic image. In addition, the attention weight can be adaptively adjusted according to different parts of the holographic image, so as to achieve the distinction of reconstruction focus of different areas, and when processing holographic images of different types or different qualities, the consistency and stability of the reconstruction quality can still be maintained.

[0048] 3. The method of the present invention can be applied to the imaging of tumor cells, the generation and reproduction of computer-generated holograms, and the application of deep learning algorithms in medical image processing. Through deep learning processing of tumor cell images, non-invasive imaging and diagnosis of tumor cells can be achieved without the need for traumatic surgery or sampling, thus reducing the pain and risks of patients and providing new solutions for tumor research and clinical medicine. Therefore, the research and application of the present invention have important social and economic value.

[0049] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is a flowchart of a holographic generation and reproduction algorithm based on deep learning in an embodiment of a computational holographic reconstruction method based on deep learning of the present invention;

[0051] Figure 2 This is a diagram of an off-axis computer-generated holographic experiment process of an embodiment of a computer-generated holographic reconstruction method based on deep learning of the present invention;

[0052] Figure 3The structure diagram of the neural network used in an embodiment of a deep learning-based computational holographic reconstruction method of the present invention, wherein (a) is a structure diagram of an improved GAN network generator, and (b) is a structure diagram of an improved GAN network discriminator;

[0053] Figure 4 This is a structural diagram of the basic blocks in the network of an embodiment of a computational holographic reconstruction method based on deep learning of the present invention. DETAILED DESCRIPTION

[0054] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.

[0055] Unless otherwise defined, technical or scientific terms used in the present invention shall have the common meanings understood by one having ordinary skills in the field to which the present invention belongs.

[0056] Embodiment 1

[0057] A deep learning-based computational holographic reconstruction method, such as Figure 1 As shown, the specific steps are as follows:

[0058] S1. Training phase.

[0059] S11. Image data acquisition and preprocessing. Using slightly off-axis digital holography technology, by building an off-axis digital holographic recording optical path, tumor cell data is used as a sample to generate a computationally generated holographic image as a data set.

[0060] Perform deep learning training steps: Use Figure 2 In the off-axis holographic recording optical path shown, the laser light source (532nm) first passes through the laser Laser, polarization beam splitter PBS, and reflector M, and then transmits the tumor cell sample S through the collimator expander BE and beam splitter BS to form object light. Microscope objective MO1 collects the object light image transmitted through the sample, and another beam of light passes through microscope objective MO2 to compensate for the phase distortion caused by the object light and form reference light.

[0061] The camera CCD is located at the image plane of the microscope objective lens and collects the computed hologram Hn of the tumor cells, where n = 1, 2, 3, 4…j, and j is the number of holograms generated.

[0062] S12. Then, the homomorphic filtering method is used to obtain the zero-order image and conjugate image interference-free hologram Dn, where n=1, 2, 3, 4…j, j is the number of generated zero-order image and conjugate image interference-free holograms, and the digital holographic reconstruction algorithm is used to obtain the phase map Pn of the cell at the corresponding angle through numerical reconstruction calculation, where n=1, 2, 3, 4…j, j is the number of generated phase maps.

[0063] The unwrapped initial phase is obtained by discrete cosine transform method. The initial phase is distorted and compensated by phase compensation method based on phase gradient minimization to obtain the real phase distribution Zn of the sample, where n = 1, 2, 3, 4…j, j is the number of real phase maps generated.

[0064] The phase unwrapping process includes:

[0065] 1) Convert the wrapped phase to a continuous phase; First, the wrapped phase needs to be converted to a continuous phase, which is achieved by using the differential method.

[0066] φ c (m,n)=φ p (m,n)+2πk(m,n)

[0067] Among them, φ c (m,n) is the continuous phase, φ p (m,n) is the wrapped phase, and k(m,n) is an integer used to indicate the periodicity of the phase.

[0068] 2) Perform DCT transformation; perform two-dimensional discrete cosine transform (DCT) on the continuous phase to obtain DCT coefficients. The DCT transformation is calculated by the following formula:

[0069]

[0070] Among them, f(x,y) is the input continuous phase image, F(u,v) is the coefficient after DCT transformation, and M and N are the width and height of the image respectively.

[0071] 3) Modify the DCT coefficients: Modify the DCT coefficients to unwrap the phase. This can be achieved by applying a linear search unwrapping method to the DCT coefficients.

[0072] 4) Perform inverse DCT transformation; perform inverse transformation on the modified DCT coefficients to reconstruct the continuous phase. The inverse DCT transformation is calculated by the following formula:

[0073]

[0074] Where C(u) and C(v) are constants; C(u) is defined as,

[0075]

[0076] 5) obtaining an unfolded initial phase; finally, extracting the unfolded initial phase from the reconstructed continuous phase to obtain the unwrapped initial phase.

[0077] S13. Use Figure 3The network model architecture shown uses the experimentally obtained tumor cell computer hologram as the network input, and the corresponding tumor cell hologram without zero-order image and conjugate image interference is used as the standard output result of the network for training.

[0078] Use as Figure 3 The network model architecture shown uses the generated tumor cell hologram without zero-order image and conjugate image interference as input, and the corresponding real cell phase map as the standard output of the network for training.

[0079] The entire network model structure includes a generator and a discriminator. Unlike the traditional GAN ​​network, the improved network removes the fully connected layer after the last convolutional layer and directly connects the generator and the discriminator, which can effectively improve the model convergence rate. The pooling layer in G and D is removed and replaced with micro-step convolution, which can make the downsampling and upsampling of G and D more efficient, respectively, and batch normalization is used in G and D to stabilize learning.

[0080] The generator model uses a four-layer convolutional neural network structure, with a single-channel image of size 64×64 as input and an image of the same size as output. Each layer uses a 5×5 convolution kernel, with gradually increasing strides (1, 2, 2, 2), gradually increasing depths (64, 128, 256, 512), and ReLU as the activation function. The output layer is a deconvolution layer, which is used to generate high-resolution images. It contains 1 convolution kernel of size 4×4, stride 2, padding 1, and the activation function is Tanh.

[0081] The "basic block" is introduced before the feature map is sent to the DeConv layer. The addition of the "basic block" only improves the network's feature extraction capability and does not change the size and number of channels of the output feature map. The output feature map is sent to the DeConv layer, BN layer, and ReLu activation function layer in sequence to obtain a 64×32×32 feature map. After that, the above operation is repeated 4 times to obtain a 1×64×64 feature map as the output of the generator.

[0082] The "basic block" used in the network is to embed the attention mechanism GAM into the multi-scale residual network module, and use the characteristic of automatic weight allocation of the attention mechanism to make up for the shortcomings of the residual network in feature representation, and extract more features through as few residual blocks as possible, making the network more lightweight.

[0083] The attention mechanism GAM includes both a channel attention module and a spatial attention module. The channel attention submodule uses a three-dimensional arrangement to retain information in three dimensions. Then, it uses a two-layer MLP (multi-layer perceptron) to amplify the cross-dimensional channel-space dependency.

[0084] In the spatial attention submodule, two convolutional layers are used to fuse spatial information, and the pooling operation is deleted to further retain the feature mapping. The multi-scale residual network used in the network is composed of a dual bypass network. Different bypasses use different convolution kernels. In this way, the information between the bypasses can be shared with each other, and image features of different scales can be detected.

[0085] The discriminator model uses a four-layer convolutional neural network structure, with a single-channel image of size 64×64 as input and a value as output to determine the authenticity of the input image. Each layer uses a 5×5 convolution kernel, with gradually increasing step sizes (2, 2, 2, 2), and depths (64, 128, 256, 512). The activation function uses Leaky ReLU. The output layer is a fully connected layer, and the activation function is Sigmoid.

[0086] The loss function of the neural network model uses a loss function that combines the mean square error and the mean absolute error to evaluate the training effect and algorithm performance.

[0087] The network training parameters are Learning rate = 0.001, Batch size = 25, Decay rate = 0.95, Epoch = 250, Shuffle frequency = 1 / epoch.

[0088] S2. Testing phase.

[0089] S21. Adjust the optical path, and use the constructed off-axis holographic recording optical path to collect the off-axis computer-generated hologram H of the tumor cell sample to be tested.

[0090] S22. Input the off-axis CGH H of the sample to be tested into the trained neural network model model1, and obtain the tumor cell hologram D of the sample to be tested without zero-order image and conjugate image interference.

[0091] S23. Input the obtained tumor cell hologram D without zero-order image and conjugate image interference into the trained neural network model model2 to obtain a high-quality phase reconstruction image of the tumor cell hologram.

[0092] S24, performing quality assessment on the output phase reconstruction image. The quality assessment specifically uses peak signal-to-noise ratio and similarity index.

[0093] Peak signal-to-noise ratio is an indicator used to measure the difference between two images and is often used to evaluate image quality. The peak signal-to-noise ratio is obtained by calculating the mean square error between the pixels of the two images. The higher the peak signal-to-noise ratio value, the smaller the difference between the images and the higher the quality. The peak signal-to-noise ratio PSNR calculation formula is:

[0094]

[0095] Among them, MaxValue represents the peak energy in the image; MSE is the mean square error, which represents the mean of the squares of the corresponding pixel differences between the two images.

[0096] The similarity index SSIM calculation formula is:

[0097]

[0098] Where x and y represent the two images to be compared; μ x and μ y Represent the average values ​​of x and y respectively; σ x and σ y Represent the standard deviation of x and y respectively; σ xy Represents the covariance of x and y; C1 and C2 are constants; the value range of SSIM is [-1,1], and the closer it is to 1, the more similar the two images are.

[0099] Therefore, the present invention adopts the above-mentioned deep learning-based computational holographic reconstruction method, and uses a deep learning algorithm to process and analyze tumor cell images to generate a tumor cell hologram without zero-order image and conjugate image interference, and realizes the reconstruction of the hologram. By processing and analyzing the tumor cell computational hologram, speckle noise can be effectively suppressed, the problem of difficulty in removing zero-order images and conjugate images is solved, and accurate reproduction of tumor cell structure and phase information can be achieved.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for computer-generated holographic reconstruction based on deep learning, characterized in that: The following steps are involved: S1, training phase; S11. Using slightly off-axis digital holography technology, by building an off-axis digital holographic recording optical path, a computationally generated holographic image is generated using tumor cell data as a sample as a data set, denoted as Hn, where n = 1, 2, 3, 4...j, and j is the number of holograms generated; S12. The hologram obtained in the experiment is subjected to homomorphic filtering to obtain a hologram Dn without interference from zero-order images and conjugate images, wherein n=1, 2, 3, 4…j, and j is the number of holograms generated without interference from zero-order images and conjugate images; a digital holographic reconstruction algorithm is used to obtain a phase map Pn of the cell at the corresponding angle through numerical reconstruction calculation, wherein n=1, 2, 3, 4…j, and j is the number of phase maps generated; The unwrapping is performed by discrete cosine transform method to obtain the unfolded initial phase; the initial phase is distorted and compensated by the phase compensation method based on phase gradient minimization to obtain the real phase distribution Zn of the sample, where n = 1, 2, 3, 4…j, and j is the number of real phase images generated; S13, establishing a neural network model, initializing the network model parameters, taking the experimentally obtained tumor cell computerized hologram as the network input, and the corresponding tumor cell hologram without zero-order image and conjugate image interference as the standard output result of the network for training, and obtaining the trained neural network model1; S14, using the generated zero-order image-free and conjugate image-interfered tumor cell hologram as input, and the corresponding cell real phase image as the standard output of the network, training is performed through the established neural network model to obtain a fully trained neural network model2; S2, testing phase; S21, adjusting the optical path, and using the constructed off-axis holographic recording optical path to collect the off-axis hologram H of the sample to be tested; S22, inputting the off-axis CGH H of the sample to be tested into the trained neural network model model1, and obtaining a tumor cell hologram D of the sample to be tested without zero-order image and conjugate image interference; S23, inputting the obtained tumor cell hologram D without zero-order image and conjugate image interference into the trained neural network model model2, to obtain a high-quality phase reconstruction image of the tumor cell hologram; S24. Perform quality assessment on the output phase reconstruction image.

2. The method for computer-generated holographic reconstruction based on deep learning according to claim 1, characterized in that: In step S12, the digital holographic reconstruction algorithm adopts the Fresnel transform reconstruction algorithm, which needs to meet the Fresnel approximation condition when applied, and uses computer numerical simulation to reproduce the Fresnel diffraction process in the hologram. According to the Fresnel diffraction formula, the complex amplitude of the reproduced light field is: Where F{*} represents the two-dimensional Fourier transform, Z i represents the reconstruction distance, and H(x,y) is the recorded hologram intensity distribution.

3. A method for computer-generated holographic reconstruction based on deep learning according to claim 1, characterized in that: In step S12, the phase unwrapping process includes: 1) Convert the wrapped phase to a continuous phase; First, the wrapped phase needs to be converted to a continuous phase, which is achieved by using the differential method. φ c (m,n)=φ p (m,n)+2πk(m,n) Among them, φ c (m,n) is the continuous phase, φ p (m,n) is the wrapped phase, k(m,n) is an integer used to represent the periodicity of the phase; 2) Perform DCT transformation; perform two-dimensional discrete cosine transform (DCT) on the continuous phase to obtain DCT coefficients. The DCT transformation is calculated by the following formula: Where f(x,y) is the input continuous phase image, F(u,v) is the coefficient after DCT transformation, M and N are the width and height of the image respectively; 3) Modify the DCT coefficients; modify the DCT coefficients to remove the phase wrapping; 4) Perform inverse DCT transformation; perform inverse transformation on the modified DCT coefficients to reconstruct the continuous phase. The inverse DCT transformation is calculated by the following formula: Where C(u) and C(v) are constants; C(u) is defined as, 5) obtaining an unfolded initial phase; finally, extracting the unfolded initial phase from the reconstructed continuous phase to obtain the unwrapped initial phase.

4. A method for computer-generated holographic reconstruction based on deep learning according to claim 1, characterized in that: In steps S22 and S23, the network model is an improved GAN network, which includes a generator model and a discriminator model.

5. The method for CGH reconstruction based on deep learning according to claim 4, characterized in that: The generator model contains a four-layer convolutional neural network with a single-channel image of 64×64 as input and output. The convolution kernel size of each layer is 5×5, the step size and depth increase layer by layer, and the ReLU activation function is used. The output layer is a deconvolution layer, and the Tanh activation function is used to generate a high-resolution image. The basic block is introduced before the feature map is sent to the DeConv layer, and the attention mechanism GAM and the multi-scale residual network are combined to improve the feature extraction capability and network lightweight.

6. The method for CGH reconstruction based on deep learning according to claim 5, characterized in that: The basic block is to embed the attention mechanism GAM into the multi-scale residual network module, and use the characteristic of automatic weight allocation of the attention mechanism to make up for the shortcomings of the residual network in feature representation, extract more features through as few residual blocks as possible, and make the network more lightweight.

7. The method for CGH reconstruction based on deep learning according to claim 4, characterized in that: The discriminator model is a four-layer convolutional neural network. The input is a 64×64 single-channel image and the output is a value used to judge the authenticity of the image. Each layer uses a 5×5 convolution kernel, the step size and depth increase layer by layer, and the Leaky ReLU activation function is used. The output layer is a fully connected layer with a Sigmoid activation function.

8. The method for computer-generated holographic reconstruction based on deep learning according to claim 1, characterized in that: In step S24, the quality assessment specifically uses peak signal-to-noise ratio and similarity index; The peak signal-to-noise ratio is obtained by calculating the mean square error between the pixels of the two images. The higher the peak signal-to-noise ratio value, the smaller the difference between the images and the higher the quality. The peak signal-to-noise ratio PSNR calculation formula is: Among them, MaxValue represents the peak energy in the image; MSE is the mean square error, which represents the mean of the squares of the corresponding pixel differences between the two images. The similarity index SSIM calculation formula is: Where x and y represent the two images to be compared; μ x and μ y Represent the average values ​​of x and y respectively; σ x and σ y Represent the standard deviation of x and y respectively; σ xy Represents the covariance of x and y; C1 and C2 are constants; the value range of SSIM is [-1,1], and the closer it is to 1, the more similar the two images are.

Citation Information

Cited By

  • Bimodal digital holographic imaging method and system based on deep learning and memory

    CN118981152A

  • Method, device and equipment for evaluating interaction between nano preparation and cells

    CN119470168A

  • Cell hologram automatic focusing and aberration compensation phase reconstruction method based on deep learning

    CN121879075A