Multi-scale digital holographic reproduction enhancement method and system
Through the improved U-Net network and generalized fuzzy operator processing, the problem of unified learning and noise suppression of digital holograms of different scales is solved, and the clarity and detail of the image are improved.
Patent Information
- Application Number
- CN202410595960.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-10-08
AI Technical Summary
It is difficult to unify digital holograms of different scales into the same scale for learning. Traditional methods tend to lose detailed information when enhancing image contrast, and wavelet transform lacks translation invariance and direction selectivity, resulting in poor noise suppression effects.
The improved U-Net network structure is used to reconstruct and denoise multi-scale digital holograms, double-tree complex wavelet decomposition is performed, and generalized fuzzy operators are used to fuzz the low-frequency and high-frequency coefficient matrices and map them to ordinary fuzzy sets. , perform dual-tree complex wavelet inverse transformation to obtain the enhanced image.
It improves the clarity and noise suppression effect of multi-scale digital holographic reconstructed images, enhances the performance of edge details, and solves the problem of unified learning of images of different scales.
Smart Images

Figure CN118747729A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital image processing and holographic technology, and in particular to a multi-scale digital holographic reproduction enhancement method and system. Background Art
[0002] Holography is a technology that records phase information and amplitude information simultaneously. Digital holograms of different scales cannot usually be unified into the same scale for learning. Multi-scale digital holographic reconstruction enhancement can be divided into two categories according to the domain: spatial domain and transform domain methods. Traditional spatial domain methods mainly include histogram equalization, grayscale transformation, unsharp masking, etc.; while early transform domain methods are mainly performed in the frequency domain after Fourier transform. However, these traditional methods, especially spatial domain methods, either lose image detail information due to grayscale merging, and have poor image enhancement effects for low brightness and low contrast; or enhance noise while enhancing image contrast, and the detail effect is poor. The wavelet transform domain enhancement method proposed later has greatly improved the noise suppression and detail expression of the enhanced image due to the multi-scale characteristics of wavelets, and once became a hot topic in image enhancement research. However, wavelet transform lacks translation invariance and directional selectivity, so when using wavelet transform to process images, image information will be lost to a certain extent. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides a multi-scale digital holographic reconstruction enhancement method and system to solve the problem that digital holograms of different scales usually cannot be unified into the same scale for learning, and further improve the enhancement effect of multi-scale digital holographic reconstruction images.
[0004] The present invention provides a multi-scale digital holographic reconstruction enhancement method, the method comprising:
[0005] Step S1: Based on the improved U-Net network structure, the multi-scale digital hologram is reconstructed to obtain the wavefront information of the digital hologram;
[0006] Step S2: reconstructing and denoising the wavefront information of the digital hologram to obtain a denoised holographic reconstruction image, and performing double-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image;
[0007] Step S3: using a generalized fuzzy operator to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively, and mapping the fuzzy processed low-frequency coefficient matrix and high-frequency coefficient matrix into a common fuzzy set;
[0008] Step S4: performing a dual-tree complex wavelet inverse transform on the low-frequency coefficient matrix and the high-frequency coefficient matrix mapped to the common fuzzy set to obtain an enhanced image.
[0009] Preferably, the improved U-Net network structure includes a three-layer network structure.
[0010] The first layer network structure is used to train digital holograms with a scale of 256×256, and the parameters of the first layer network structure are fixed after the training is completed;
[0011] The second-layer network structure is used to train the second-layer network structure parameters for the digital hologram with a scale of 512×512 through the first and second-layer network structures, and fix the second-layer network structure parameters after the training is completed;
[0012] The third-layer network structure is used to train the third-layer network structure parameters for a 640×480 digital hologram through the first, second and third-layer network structures, and fix the third-layer network structure parameters after the training is completed.
[0013] Preferably, in step S2, the dual-tree complex wavelet decomposition is performed on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image, including:
[0014] The holographic reconstruction image is subjected to dual-tree complex wavelet decomposition to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image. The decomposition formula is:
[0015] ψ(x,y)=ψ(x)ψ(y)
[0016] =[ψ h (x)+iψ g (x)][ψ h (y)+iψ g (y)]
[0017] =ψ h (x)ψ h (y)-ψ g (x)ψ g (y)+i[ψ g (x)ψ h (y)+ψ h (x)ψ g (y)]
[0018] in,
[0019] Among them, ψ(x, y) is the complex amplitude of the holographic reconstruction image, ψ(x) and ψ(y) are the complex amplitudes of the double-tree complex wavelet of tree A and tree B respectively, ψ h (x) and ψ g (x) are the real and imaginary parts of the complex wavelet of tree A, ψ h (y) and ψg (y) are the real and imaginary parts of the tree B complex wavelet, H0 and H1 are the low-frequency coefficients and high-frequency coefficients, respectively.
[0020] Preferably, step S3 comprises:
[0021] Step S3.1: Use the fuzzy distribution function to extract the fuzzy feature data of the low-frequency coefficient matrix and the high-frequency coefficient matrix, wherein the fuzzy feature data is marked as P, and the fuzzy feature data P is obtained according to the following formula:
[0022]
[0023] Where Γ(·) is the fuzzy distribution function, m and n are the positions of the holographic pixels in the re-image, M and N are the number of rows and columns of the holographic re-image, respectively. max is the maximum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, H min is the minimum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, X mn is the gray value of the pixel of the holographic reconstruction image at position (mn);
[0024] Step S3.2: Use a generalized fuzzy operator to perform a nonlinear fuzzy transformation on the fuzzy feature data, wherein the fuzzy feature data after the nonlinear fuzzy transformation is marked as
[0025]
[0026] Where GFO[·] is a generalized fuzzy operator, r is a segmentation factor, and r = 0.295, and a is a natural number greater than 1;
[0027] Step S3.3: Map the fuzzy feature data after nonlinear fuzzy transformation into the common fuzzy set.
[0028] Preferably, the step S4 comprises: performing a dual-tree complex wavelet inverse transform on the fuzzy feature data mapped to the common fuzzy set to obtain an enhanced image, wherein the enhanced image is marked as X. / , X / It is obtained by the following formula:
[0029] X / =Γ -1 (P / )=P / (H max -ψ)+ψ,
[0030] in, Γ -1 (·) is the inverse function of the fuzzy distribution function Γ(·).
[0031] Compared with the prior art, the multi-scale digital holographic reproduction and enhancement method provided by the present invention has the following beneficial effects: based on the improved U-Net network structure, the multi-scale digital hologram is reconstructed to obtain the wavefront information of the digital hologram; the wavefront information of the digital hologram is reproduced and denoised to obtain the holographic reproduction image after denoising, and the holographic reproduction image is decomposed by double-tree complex wavelet to obtain the low-frequency coefficient matrix and the high-frequency coefficient matrix of the holographic reproduction image; the low-frequency coefficient matrix and the high-frequency coefficient matrix are fuzzy processed respectively by using a generalized fuzzy operator, and the fuzzy low-frequency coefficient matrix and the high-frequency coefficient matrix are mapped to a common fuzzy set; the low-frequency coefficient matrix and the high-frequency coefficient matrix mapped to the common fuzzy set are inversely transformed by double-tree complex wavelet to obtain an enhanced image. An improved U-Net network structure is used to solve the problem that digital holograms of different scales cannot be unified into the same scale for learning. The denoised reconstructed image is decomposed by dual-tree complex wavelet to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix. The low-frequency and high-frequency coefficient matrices are then fuzzy processed respectively, that is, the coefficient matrix is processed by a generalized fuzzy operator and then mapped to an ordinary fuzzy set. Some of the parameters are adaptively acquired using the principle of edge division, and the processed coefficient matrix is inversely transformed to obtain an enhanced image. This method can increase the clarity of the reconstructed image, reduce noise, and make edge details more obvious, further improving the enhancement effect of multi-scale digital holographic reconstructed images.
[0032] The present invention also provides a multi-scale digital holographic reconstruction enhancement system, the system comprising:
[0033] The reconstruction module is used to reconstruct the multi-scale digital hologram based on the improved U-Net network structure to obtain the wavefront information of the digital hologram;
[0034] A dual-tree complex wavelet decomposition module is used to reproduce and denoise the wavefront information of the digital hologram to obtain a denoised holographic reconstruction image, and to perform dual-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image;
[0035] A fuzzy processing module is used to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively by using a generalized fuzzy operator, and map the low-frequency coefficient matrix and the high-frequency coefficient matrix after fuzzy processing into a common fuzzy set;
[0036] The inverse transform module is used to perform dual-tree complex wavelet inverse transform on the low-frequency coefficient matrix and the high-frequency coefficient matrix mapped to the common fuzzy set to obtain the enhanced image.
[0037] Preferably, the dual-tree complex wavelet decomposition module performs dual-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image, including:
[0038] The holographic reconstruction image is subjected to dual-tree complex wavelet decomposition to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image. The decomposition formula is:
[0039] ψ(x,y)=ψ(x)ψ(y)
[0040] =[ψ h (x)+iψ g (x)][ψ h (y)+iψ g (y)]
[0041] =ψ h (x)ψ h (y)-ψ g (x)ψ g (y)+i[ψ g (x)ψ h (y)+ψ h (x)ψ g (y)]
[0042] in,
[0043] Among them, ψ(x, y) is the complex amplitude of the holographic reconstruction image, ψ(x) and ψ(y) are the complex amplitudes of the double-tree complex wavelet of tree A and tree B respectively, ψ h (x) and ψ g (x) are the real and imaginary parts of the complex wavelet of tree A, ψ h (y) and ψ g (y) are the real and imaginary parts of the tree B complex wavelet, H0 and H1 are the low-frequency coefficients and high-frequency coefficients, respectively.
[0044] Preferably, the fuzzy processing module uses a generalized fuzzy operator to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively, and maps the fuzzy processed low-frequency coefficient matrix and high-frequency coefficient matrix to a common fuzzy set, including:
[0045] The fuzzy feature data of the low-frequency coefficient matrix and the high-frequency coefficient matrix are extracted using the fuzzy distribution function, where the fuzzy feature data is marked as P and the fuzzy feature data μ mn (x) is obtained according to the following formula:
[0046]
[0047] Where Γ(·) is the fuzzy distribution function, m and n are the positions of the holographic pixels in the re-image, M and N are the number of rows and columns of the holographic re-image, respectively. max is the maximum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, H min is the minimum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, X mn is the gray value of the pixel of the holographic reconstruction image at position (mn);
[0048] The fuzzy feature data is subjected to nonlinear fuzzy transformation using a generalized fuzzy operator, wherein the fuzzy feature data after the nonlinear fuzzy transformation is marked as
[0049]
[0050] Where GFO[·] is a generalized fuzzy operator, r is a segmentation factor, and r = 0.295, and a is a natural number greater than 1;
[0051] The fuzzy feature data after nonlinear fuzzy transformation are mapped into common fuzzy sets.
[0052] Compared with the prior art, the beneficial effects of a multi-scale digital holographic reconstruction and enhancement system provided by the present invention are the same as the beneficial effects of a multi-scale digital holographic reconstruction and enhancement method described in the above technical solution, which will not be elaborated here.
[0053] The present invention also provides an electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, and when the computer program is executed by the processor, the steps in any one of the multi-scale digital holographic reproduction enhancement methods described above are implemented.
[0054] Compared with the prior art, the beneficial effects of the electronic device provided by the present invention are the same as the beneficial effects of the multi-scale digital holographic reconstruction enhancement method described in the above technical solution, and will not be described in detail here.
[0055] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in any of the above-mentioned multi-scale digital holographic reconstruction enhancement methods are implemented.
[0056] Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present invention are the same as the beneficial effects of the multi-scale digital holographic reconstruction enhancement method described in the above technical solution, and will not be elaborated here.
[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0059] Figure 1 A flow chart of a multi-scale digital holographic reconstruction enhancement method provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0060] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0061] The "multiple" mentioned in this embodiment refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The words "exemplary" or "for example" are used to indicate examples, illustrations or explanations, and are intended to present related concepts in a specific way, and should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions.
[0062] The embodiment of the present invention provides a multi-scale digital holographic reproduction enhancement method and system. Figure 1 FIG. 4 shows a flow chart of a multi-scale digital holographic reconstruction enhancement method provided by an embodiment of the present invention. Figure 1 As shown, the method includes:
[0063] Step S1: Based on the improved U-Net network structure, the multi-scale digital hologram is reconstructed to obtain the digital hologram wavefront information.
[0064] It should be noted that the improved U-Net network structure includes a three-layer network structure. The first layer of the network structure is used to train digital holograms with a scale of 256×256. After the training is completed, the parameters of the first layer of the network structure are fixed; the second layer of the network structure is used to train digital holograms with a scale of 512×512 through the first and second layers of the network structure, but only the parameters of the second layer of the network structure are trained. After the training is completed, the parameters of the second layer of the network structure are fixed; the third layer of the network structure is used to train digital holograms with a scale of 640×480 through the first, second and third layers of the network structure, and only the parameters of the third layer of the network structure are trained. After the training is completed, the parameters of the third layer of the network structure are fixed. By reducing the total network parameters, some feature maps extracted by the previous layer of the network are useful for the next layer of the network. The network structure can avoid repeated extraction of these same feature maps, thereby reducing model parameters, and at the same time enable a deep learning model to reconstruct multi-scale digital holograms.
[0065] Step S2: reconstruct and denoise the wavefront information of the digital hologram to obtain a denoised holographic reconstruction image, and perform double-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image.
[0066] It should be noted that a hologram is an interference pattern that records the vibration of an object, which contains the amplitude and phase information of the object. The process of reproducing the wavefront information of the hologram is to reconstruct the original interference pattern based on the information of the hologram, and this process usually introduces noise. Therefore, for noisy holograms, various denoising algorithms can be used to reduce the impact of noise. For example, wavelet threshold denoising or non-local mean denoising can be used. The denoised holographic reconstruction image is subjected to dual-tree complex wavelet decomposition. The dual-tree complex wavelet transform is divided into two steps: first, complex wavelet decomposition is performed, and then binary tree decomposition is performed. Through multi-scale analysis, the low-frequency coefficient matrix and high-frequency coefficient matrix of the holographic reconstruction image can be obtained. These coefficient matrices can provide more information about the hologram, such as edges, textures, etc. With this information, further processing can be performed, such as image enhancement, edge detection, etc. Specifically, the decomposition formula is:
[0067] ψ(x,y)=ψ(x)ψ(y)
[0068] =[ψ h (x)+iψ g (x)][ψ h (y)+iψ g (y)]
[0069] =ψ h (x)ψ h (y)-ψ g (x)ψ g (y)+i[ψg (x)ψ h (y)+ψ h (x)ψ g (y)]
[0070] in,
[0071] Among them, ψ(x, y) is the complex amplitude of the holographic reconstruction image, ψ(x) and ψ(y) are the complex amplitudes of the double-tree complex wavelet of tree A and tree B respectively, ψ h (x) and ψ g (x) are the real and imaginary parts of the complex wavelet of tree A, ψ h (y) and ψ h (y) are the real and imaginary parts of the tree B complex wavelet, H0 and H1 are the low-frequency coefficients and high-frequency coefficients, respectively.
[0072] Step S3: Use a generalized fuzzy operator to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively, and map the fuzzy processed low-frequency coefficient matrix and high-frequency coefficient matrix to a common fuzzy set.
[0073] It should be noted that step S3 includes:
[0074] Step S3.1: Use the fuzzy distribution function to extract the fuzzy feature data of the low-frequency coefficient matrix and the high-frequency coefficient matrix, wherein the fuzzy feature data is marked as P, and the fuzzy feature data P is obtained according to the following formula:
[0075]
[0076] Where Γ(·) is the fuzzy distribution function, m and n are the positions of the holographic pixels in the re-image, M and N are the number of rows and columns of the holographic re-image, respectively. max is the maximum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, H min is the minimum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, X mn is the gray value of the pixel of the holographic reconstruction image at position (mn);
[0077] Step S3.2: Use a generalized fuzzy operator to perform a nonlinear fuzzy transformation on the fuzzy feature data, wherein the fuzzy feature data after the nonlinear fuzzy transformation is marked as
[0078]
[0079] Where GFO[·] is a generalized fuzzy operator, r is a segmentation factor, and r = 0.295, and a is a natural number greater than 1;
[0080] Step S3.3: Map the fuzzy feature data after nonlinear fuzzy transformation into the common fuzzy set.
[0081] Step S4: performing a dual-tree complex wavelet inverse transform on the low-frequency coefficient matrix and the high-frequency coefficient matrix mapped to the common fuzzy set to obtain an enhanced image.
[0082] It should be noted that the step S4 includes: performing a dual-tree complex wavelet inverse transform on the fuzzy feature data mapped to the common fuzzy set to obtain an enhanced image, wherein the enhanced image is marked as X. / , X / It is obtained by the following formula:
[0083] X / =Γ -1 (P / )=P / (H max -ψ)+ψ,
[0084] in, Γ -1 (·) is the inverse function of the fuzzy distribution function Γ(·).
[0085] Compared with the prior art, a multi-scale digital holographic reproduction and enhancement method provided by an embodiment of the present invention has the following beneficial effects: an improved U-Net network structure is used to solve the problem that digital holograms of different scales cannot be unified into the same scale for learning, and the denoised reproduction image is subjected to dual-tree complex wavelet decomposition to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix, and then the low-frequency and high-frequency coefficient matrices are fuzzy processed respectively, that is, the coefficient matrix is processed by a generalized fuzzy operator and then mapped to an ordinary fuzzy set, and some of the parameters thereof are adaptively acquired using the principle of edge division, and then the processed coefficient matrix is inversely transformed to obtain an enhanced image. This method can increase the clarity of the reproduced image, reduce noise, and make the edge details more obvious, further improving the enhancement effect of the multi-scale digital holographic reproduction image.
[0086] The embodiment of the present invention further provides a multi-scale digital holographic reconstruction enhancement system, the system comprising:
[0087] The reconstruction module is used to reconstruct the multi-scale digital hologram based on the improved U-Net network structure to obtain the wavefront information of the digital hologram;
[0088] A dual-tree complex wavelet decomposition module is used to reproduce and denoise the wavefront information of the digital hologram to obtain a denoised holographic reconstruction image, and to perform dual-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image;
[0089] A fuzzy processing module is used to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively by using a generalized fuzzy operator, and map the low-frequency coefficient matrix and the high-frequency coefficient matrix after fuzzy processing into a common fuzzy set;
[0090] The inverse transform module is used to perform dual-tree complex wavelet inverse transform on the low-frequency coefficient matrix and the high-frequency coefficient matrix mapped to the common fuzzy set to obtain the enhanced image.
[0091] Preferably, the dual-tree complex wavelet decomposition module performs dual-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image, including:
[0092] The holographic reconstruction image is subjected to dual-tree complex wavelet decomposition to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image. The decomposition formula is:
[0093] ψ(x,y)=ψ(x)ψ(y)
[0094] =[ψ h (x)+iψ g (x)][ψ h (y)+iψ g (y)]
[0095] =ψ h (x)ψ h (y)-ψ g (x)ψ g (y)+i[ψ g (x)ψ h (y)+ψ h (x)ψ g (y)]
[0096] in,
[0097] Among them, ψ(x, y) is the complex amplitude of the holographic reconstruction image, ψ(x) and ψ(y) are the complex amplitudes of the double-tree complex wavelet of tree A and tree B respectively, ψ h (x) and ψ g (x) are the real and imaginary parts of the complex wavelet of tree A, ψ h (y) and ψ g (y) are the real and imaginary parts of the tree B complex wavelet, H0 and H1 are the low-frequency coefficients and high-frequency coefficients, respectively.
[0098] Preferably, the fuzzy processing module uses a generalized fuzzy operator to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively, and maps the fuzzy processed low-frequency coefficient matrix and high-frequency coefficient matrix to a common fuzzy set, including:
[0099] The fuzzy feature data of the low-frequency coefficient matrix and the high-frequency coefficient matrix are extracted using the fuzzy distribution function, where the fuzzy feature data is marked as P and the fuzzy feature data μ mn (x) is obtained according to the following formula:
[0100]
[0101] Where Γ(·) is the fuzzy distribution function, m and n are the positions of the holographic pixels in the re-image, M and N are the number of rows and columns of the holographic re-image, respectively. max is the maximum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, H min is the minimum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, X mn is the gray value of the pixel of the holographic reconstruction image at position (mn);
[0102] The fuzzy feature data is subjected to nonlinear fuzzy transformation using a generalized fuzzy operator, wherein the fuzzy feature data after the nonlinear fuzzy transformation is marked as
[0103]
[0104] Where GFO[·] is a generalized fuzzy operator, r is a segmentation factor, and r = 0.295, and a is a natural number greater than 1;
[0105] The fuzzy feature data after nonlinear fuzzy transformation are mapped into common fuzzy sets.
[0106] Compared with the prior art, the beneficial effects of a multi-scale digital holographic reconstruction enhancement system provided by an embodiment of the present invention are the same as the beneficial effects of a multi-scale digital holographic reconstruction enhancement method described in the above technical solution, which will not be elaborated here.
[0107] In addition, an embodiment of the present invention further provides an electronic device, including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are respectively connected via a bus. When the computer program is executed by the processor, each process of the above-mentioned multi-scale digital holographic reproduction and enhancement method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0108] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned multi-scale digital holographic reproduction and enhancement method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0109] Computer readable storage media include: permanent and non-permanent, removable and non-removable media, which are tangible devices that can retain and store instructions for use by instruction execution devices. Computer readable storage media include: electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, and any suitable combination of the above. Computer readable storage media include: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassette storage, magnetic tape disk storage or other magnetic storage devices, memory sticks, mechanical encoding devices (such as punched cards or raised structures in grooves with instructions recorded thereon) or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined in the embodiments of the present invention, computer-readable storage media do not include temporary signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (such as light pulses passing through fiber optic cables), or electrical signals transmitted through wires.
[0110] In the several embodiments provided in the present application, it should be understood that the disclosed devices, electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one location or distributed on multiple network units. Some or all of the units may be selected according to actual needs to solve the problem to be solved by the embodiments of the present invention.
[0112] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0113] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (including: a personal computer, a server, a data center or other network device) to perform all or part of the steps of the method described in each embodiment of the present invention. The above-mentioned storage medium includes various media that can store program codes as listed above.
[0114] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technical solution that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A multi-scale digital holographic reconstruction enhancement method, characterized in that: include: Step S1: Based on the improved U-Net network structure, the multi-scale digital hologram is reconstructed to obtain the wavefront information of the digital hologram; Step S2: reconstructing and denoising the wavefront information of the digital hologram to obtain a denoised holographic reconstruction image, and performing double-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image; Step S3: using a generalized fuzzy operator to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively, and mapping the fuzzy processed low-frequency coefficient matrix and high-frequency coefficient matrix to a common fuzzy set; Step S4: performing a dual-tree complex wavelet inverse transform on the low-frequency coefficient matrix and the high-frequency coefficient matrix mapped to the common fuzzy set to obtain an enhanced image.
2. The multi-scale digital holographic reconstruction enhancement method according to claim 1, characterized in that: The improved U-Net network structure includes a three-layer network structure: The first layer network structure is used to train digital holograms with a scale of 256×256, and the parameters of the first layer network structure are fixed after the training is completed; The second-layer network structure is used to train the second-layer network structure parameters for the digital hologram with a scale of 512×512 through the first and second-layer network structures, and fix the second-layer network structure parameters after the training is completed; The third-layer network structure is used to train the third-layer network structure parameters for a 640×480 digital hologram through the first, second and third-layer network structures, and fix the third-layer network structure parameters after the training is completed.
3. The multi-scale digital holographic reconstruction enhancement method according to claim 1, characterized in that: In step S2, the dual-tree complex wavelet decomposition is performed on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image, including: The holographic reconstruction image is subjected to dual-tree complex wavelet decomposition to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image. The decomposition formula is: ψ(x,y)=ψ(x)ψ(y) =[ψ h (x)+iψ g (x)][ψ h (y)+iψ g (and)] =ψ h (x)ψ h (y)-ψ g (x)ψ g (y)+i[ψ g (x)ψ h (y)+ψ h (x)ψ g (y)] in, Among them, ψ(x, y) is the complex amplitude of the holographic reconstruction image, ψ(x) and ψ(y) are the complex amplitudes of the double-tree complex wavelet of tree A and tree B respectively, ψ h (x) and ψ g (x) are the real and imaginary parts of the complex wavelet of tree A, ψ h (y) and ψ g (y) are the real and imaginary parts of the tree B complex wavelet, H0 and H1 are the low-frequency coefficients and high-frequency coefficients, respectively.
4. The multi-scale digital holographic reconstruction enhancement method according to claim 3, characterized in that: The step S3 comprises: Step S3.1: Use the fuzzy distribution function to extract the fuzzy feature data of the low-frequency coefficient matrix and the high-frequency coefficient matrix, wherein the fuzzy feature data is marked as P, and the fuzzy feature data P is obtained according to the following formula: Where Γ(·) is the fuzzy distribution function, m and n are the positions of the holographic pixels in the re-image, M and N are the number of rows and columns of the holographic re-image, respectively. max is the maximum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, H min is the minimum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, X mn is the gray value of the pixel of the holographic reconstruction image at position (mn); Step S3.2: Use a generalized fuzzy operator to perform a nonlinear fuzzy transformation on the fuzzy feature data, wherein the fuzzy feature data after the nonlinear fuzzy transformation is marked as Where GFO[·] is a generalized fuzzy operator, r is a segmentation factor, and r = 0.295, and a is a natural number greater than 1; Step S3.3: Map the fuzzy feature data after nonlinear fuzzy transformation into the common fuzzy set.
5. The multi-scale digital holographic reconstruction enhancement method according to claim 4, characterized in that: The step S4 comprises: performing a dual-tree complex wavelet inverse transform on the fuzzy feature data mapped to the common fuzzy set to obtain an enhanced image, wherein the enhanced image is marked as X. / , X / It is obtained by the following formula: X / =C -1 (P / )=P / (H max -ψ)+ψ, in, Γ -1 (·) is the inverse function of the fuzzy distribution function Γ(·).
6. A multi-scale digital holographic reconstruction enhancement system, characterized in that: include: The reconstruction module is used to reconstruct the multi-scale digital hologram based on the improved U-Net network structure to obtain the wavefront information of the digital hologram; A dual-tree complex wavelet decomposition module is used to reproduce and denoise the wavefront information of the digital hologram to obtain a denoised holographic reconstruction image, and to perform dual-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image; A fuzzy processing module is used to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively by using a generalized fuzzy operator, and map the low-frequency coefficient matrix and the high-frequency coefficient matrix after fuzzy processing into a common fuzzy set; The inverse transform module is used to perform dual-tree complex wavelet inverse transform on the low-frequency coefficient matrix and the high-frequency coefficient matrix mapped to the common fuzzy set to obtain the enhanced image.
7. The multi-scale digital holographic reconstruction enhancement system according to claim 6, characterized in that: The dual-tree complex wavelet decomposition module performs dual-tree complex wavelet decomposition on the holographic reconstruction image to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image, including: The holographic reconstruction image is subjected to dual-tree complex wavelet decomposition to obtain a low-frequency coefficient matrix and a high-frequency coefficient matrix of the holographic reconstruction image. The decomposition formula is: ψ(x,y)=ψ(x)ψ(y) =[ψ h (x)+iψ g (x)][ψ h (y)+iψ g (and)] =ψ h (x)ψ h (y)-ψ g (x)ψ g (y)+i[ψ g (x)ψ h (y)+ψ h (x)ψ g (y)] in, Among them, ψ(x, y) is the complex amplitude of the holographic reconstruction image, ψ(x) and ψ(y) are the complex amplitudes of the double-tree complex wavelet of tree A and tree B respectively, ψ h (x) and ψ g (x) are the real and imaginary parts of the complex wavelet of tree A, ψ h (y) and ψ g (y) are the real and imaginary parts of the tree B complex wavelet, H0 and H1 are the low-frequency coefficients and high-frequency coefficients, respectively.
8. The multi-scale digital holographic reconstruction enhancement system according to claim 7, characterized in that: The fuzzy processing module uses a generalized fuzzy operator to perform fuzzy processing on the low-frequency coefficient matrix and the high-frequency coefficient matrix respectively, and maps the fuzzy processed low-frequency coefficient matrix and high-frequency coefficient matrix to a common fuzzy set, including: The fuzzy feature data of the low-frequency coefficient matrix and the high-frequency coefficient matrix are extracted using the fuzzy distribution function, wherein the fuzzy feature data is marked as P, and the fuzzy feature data P is obtained according to the following formula: Where Γ(·) is the fuzzy distribution function, m and n are the positions of the holographic pixels in the re-image, M and N are the number of rows and columns of the holographic re-image, respectively. max is the maximum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, H min is the minimum value of the coefficients in the low-frequency coefficient matrix and the high-frequency coefficient matrix, X mn is the gray value of the pixel of the holographic reconstruction image at position (mn); The fuzzy feature data is subjected to nonlinear fuzzy transformation using a generalized fuzzy operator, wherein the fuzzy feature data after the nonlinear fuzzy transformation is marked as Where GFO[·] is a generalized fuzzy operator, r is a segmentation factor, and r = 0.295, and a is a natural number greater than 1; The fuzzy feature data after nonlinear fuzzy transformation are mapped into common fuzzy sets.
9. An electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, wherein: When the computer program is executed by the processor, the steps of the multi-scale digital holographic reconstruction enhancement method as described in any one of claims 1-5 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in a multi-scale digital holographic reconstruction enhancement method as described in any one of claims 1-5 are implemented.
