Multi-constraint PnP-GAP reconstruction method based on dual prediction and related equipment
By using the dual-predictive multi-constraint PnP-GAP reconstruction method in the CUP-VISAR system, combined with total variation, low-rank constraints and MRF prediction, the problem of noise impact and low accuracy in the image inversion process is solved, and a more accurate image is achieved. High quality image reconstruction.
Patent Information
- Application Number
- CN202410860337.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-06
AI Technical Summary
The existing CUP-VISAR system has problems such as large noise influence, low image reconstruction accuracy, and easy loss of details during the inversion process of two-dimensional compressed images. Moreover, it is difficult for mainstream algorithms to flexibly add prior information.
The multi-constraint PnP-GAP reconstruction method based on dual prediction is used to construct a generalized alternating projection framework through total variation constraints, low-rank constraints, MRF prediction and inter-frame prediction, which is decomposed into optimization sub-problems and solved iteratively, and the MRF algorithm is used to extract pixel correlation information and inter-frame relationships to improve model convergence speed and image reconstruction accuracy.
It effectively improves the accuracy and quality of image inversion, reduces the impact of noise, and enhances the flexibility of the model and the stability of image reconstruction.
Smart Images

Figure CN118607256A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a multi-constraint PnP-GAP reconstruction method based on dual prediction and related equipment. Background Art
[0002] Inertial Confinement Fusion (ICF) is a method of achieving nuclear fusion reaction by using the inertial effect of particles to confine the particles themselves. The field of ICF is an extremely important and challenging international cutting-edge scientific research topic in contemporary times. However, at present, ICF still has many factors that affect the success of ignition, such as asymmetry of implosion compression, preheating problems, and target pellet defects.
[0003] Nuclear fusion shock waves have become the main manifestation of the above problems in the nuclear fusion process, and the diagnosis of shock waves has become an important part of solving these problems in ICF. Imaging arbitrary reflection surface velocity interferometer (VISAR) has been widely used in the diagnosis of shock waves. It obtains velocity information by recording the interference fringes formed by Doppler frequency shift. The limitation of VISAR is that it can only obtain one-dimensional fringe information of the shock wave front, and cannot provide two-dimensional velocity field information of the target surface. In 2020, relevant researchers combined VISAR with ultrafast compressed imaging (CUP) and proposed CUP-VISAR. The system obtains compressed two-dimensional images with high temporal resolution, and realizes the dynamic inversion capability from a single compressed image to multiple time-varying two-dimensional fringe images through the inversion algorithm. Among them, the generalized alternating projection method (GAP) based on total variation (TV) and the alternating direction method of multipliers (ADMM) are the mainstream inversion algorithms. However, this inversion algorithm is easily affected by noise and the inversion effect is unstable. However, the reconstruction process of real two-dimensional fringe images is often accompanied by non-negligible noise, which seriously affects the imaging quality of the two-dimensional fringe images. The problem of reconstructing a time-varying two-dimensional fringe image from a single image with noise needs to be solved urgently.
[0004] At present, the inversion quality and accuracy of CUP-VISAR two-dimensional compressed images are not high, and there are mainly the following disadvantages:
[0005] There is serious noise distribution in the measured data of CUP-VISAR system, the signal-to-noise ratio of the obtained two-dimensional compressed observation image data is low, and the image information is seriously lost;
[0006] Although the anti-noise processing of GAP-TV and ADMM-TV algorithms can improve the anti-noise ability of the inversion algorithm, the details of the image are easily lost;
[0007] The inversion image quality of GAP-TV and ADMM-TV algorithms is easily affected by noise. When the image signal-to-noise ratio is low, the inversion image quality will be greatly reduced;
[0008] The current mainstream GAP ADMM iterative solution framework cannot flexibly add advanced prior information. Whenever new prior information needs to be added to the solution model, the overall solution iterative framework needs to be re-derived. Summary of the invention
[0009] The present invention aims to solve the problems of low efficiency and low image reconstruction accuracy in the GAP inversion derivation process in the prior art.
[0010] In order to solve the above technical problems, in a first aspect, the present invention provides a multi-constraint PnP-GAP reconstruction method based on dual prediction, comprising the following steps:
[0011] S101, collecting and encoding the original signal based on the CUP-VISAR system to obtain a two-dimensional compressed image;
[0012] S102, constructing an inversion mathematical model based on a generalized alternating projection framework according to the two-dimensional compressed image, using total variation constraints and low rank constraints as prior information, and using MRF prediction and inter-frame prediction as constraint conditions;
[0013] S103, decomposing the inversion mathematical model into two optimization sub-problems about the value to be evaluated and the auxiliary variable, and iteratively and alternately solving the optimization sub-problems until a preset iteration termination condition is met, and outputting the original three-dimensional dynamic graph corresponding to the value to be evaluated.
[0014] Furthermore, step S101, collecting and encoding the original signal based on the CUP-VISAR system to obtain a two-dimensional compressed image, is specifically:
[0015] The original signal is detected by the VISAR system, and the detection light of the original signal is focused on the target surface through the first optical path and imaged on the imaging plane through the second optical path. The stripe image on the imaging plane is split by a beam splitter, and the split stripe image is made to reach the digital micromirror device of the CUP system through the third optical path for encoding, and is sheared and integrated in the streak camera to output the two-dimensional compressed image.
[0016] Furthermore, the two-dimensional compressed image is defined as y, which satisfies:
[0017] y = TSCx;
[0018] Among them, x represents the time-varying two-dimensional fringe image to be evaluated, T represents the space-time integration operator, S represents the time shearing operator, C represents the spatial code mask operator, and E=TSC is defined, and E represents the observation operator.
[0019] Furthermore, in step S102, according to the two-dimensional compressed image, the total variation constraint and the low rank constraint are used as prior information, and the MRF prediction and the inter-frame prediction are used as constraints to construct an inversion mathematical model based on the generalized alternating projection framework, the process of inverting the two-dimensional compressed image to obtain the original three-dimensional dynamic image is defined to satisfy:
[0020]
[0021] The inversion mathematical model is defined as L, which satisfies:
[0022]
[0023] where α and β represent Lagrange multipliers greater than 0, ‖x‖ TV represents the total variation constraint function, R rank (x) represents the low-rank constraint function, M(x) represents the MRF prediction, and Λ interframe (I) represents inter-frame prediction, argmin{·} represents the variable value when the target area is minimized, ‖·‖ * represents the nuclear norm, v represents the auxiliary variable, and η represents the adjustment parameter.
[0024] Furthermore, in step S103, in the step of decomposing the inversion mathematical model into two optimization sub-problems about the value to be evaluated and the auxiliary variable, the first optimization sub-problem about the value to be evaluated x satisfies:
[0025]
[0026] The second optimization subproblem about the auxiliary variable v satisfies:
[0027]
[0028] Here, k represents the number of iterations.
[0029] Furthermore, in step S103, in the step of iteratively and alternately solving the optimization sub-problem, in the k+1 iteration, the solution is performed through the following sub-steps:
[0030] S201, fix the value of the auxiliary variable v, and update the value x to be evaluated according to the first optimization sub-problem. This process satisfies:
[0031]
[0032] Update by Euclidean projection of the auxiliary variable v onto the linear manifold
[0033]
[0034] Update using proximal mapping
[0035]
[0036] Among them, ω1 and ω2 represent weight parameters, prox TV {} represents the proximal mapping function based on the l2-norm total variation constraint;
[0037] S202, fix the value of the value to be evaluated x, and update the auxiliary variable v according to the second optimization sub-problem. This process satisfies:
[0038] According to the singular value threshold method, ‖v‖ * The nuclear norm is minimized, so that the update process of the auxiliary variable v is transformed into:
[0039]
[0040] Among them, svd(v k ) represents v k The singular value decomposition of The representative threshold is The soft threshold operator is
[0041]
[0042] S203, performing accelerated solution on the value x to be solved, the process satisfies:
[0043]
[0044] Among them, y 1 =y.
[0045] Furthermore, step S203 further includes the step of defining a preset adjustment threshold ε for adjusting the adjustment parameter η to constrain the accelerated solution of the value x to be evaluated. The process satisfies:
[0046]
[0047]
[0048] Furthermore, the preset iteration termination condition in step S103 is specifically:
[0049] k>κ max ;
[0050] where κ max is the preset maximum number of iterations; or:
[0051] ‖y k -E·x k ‖<ε.
[0052] In a second aspect, the present invention also provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the multi-constraint PnP-GAP reconstruction method based on double prediction as described above are implemented.
[0053] In a third aspect, the present invention further 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 the multi-constraint PnP-GAP reconstruction method based on dual prediction as described above are implemented.
[0054] The beneficial effect achieved by the present invention lies in proposing a multi-constraint PnP-GAP reconstruction method based on double prediction. The method uses low rank, total variation, MRF prediction, and inter-frame prediction as prior information to accurately describe the image inversion mathematical model. During the solution process, the mathematical model is converted into an unconstrained optimization problem and then decomposed into multiple sub-problems for iterative solution using the characteristics of the PnP-GAP iterative framework. Among them, the present invention uses the prediction function of the MRF algorithm to extract the correlation information of adjacent pixels in the same frame and perform MRF prediction, and uses the inter-frame relationship between images to mine the correlation information of the previous and next frame images in the same iteration and perform inter-frame prediction, which effectively improves the convergence speed of the model and the accuracy of the final image reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a flowchart of the steps of a multi-constraint PnP-GAP reconstruction method based on dual prediction provided by an embodiment of the present invention;
[0056] Figure 2 Schematic diagram of the MRF prediction process provided by an embodiment of the present invention;
[0057] Figure 3 It is a schematic diagram of the MRF inter-frame prediction concept provided by an embodiment of the present invention;
[0058] Figure 4 Schematic diagram of the MRF inter-frame prediction process provided by an embodiment of the present invention;
[0059] Figure 5 is a schematic diagram of data acquisition of a CUP-VISAR system provided by an embodiment of the present invention;
[0060] Figure 6is a schematic diagram of the compression imaging principle provided by an embodiment of the present invention;
[0061] Figure 7 is a schematic diagram of a compression imaging process provided by an embodiment of the present invention;
[0062] Figure 8 is a simulated original interference fringe pattern for comparison provided by an embodiment of the present invention;
[0063] Fig. 9 is a coding diagram for comparison provided by an embodiment of the present invention;
[0064] Fig.10 is a noise observation diagram for comparison provided by an embodiment of the present invention;
[0065] Fig.11 is the fringe image reconstructed by the ADMM-TVLR algorithm;
[0066] Fig.12 is the streak image reconstructed by variable acceleration GAP-TVLR;
[0067] Fig.13 is a fringe image reconstructed by the PnP-GAP-TLMI method provided by an embodiment of the present invention;
[0068] Fig.14 It is a new image obtained by arranging the stripe images reconstructed by the ADMM-TVLR algorithm;
[0069] Fig.15 It is a new image obtained by arranging the fringe images reconstructed by variable acceleration GAP-TVLR;
[0070] Fig.16 It is a new image obtained by arranging the stripe images reconstructed by the PnP-GAP-TLMI method provided by the embodiment of the present invention;
[0071] Fig.17 It is a PSNR indicator line comparison chart provided by an embodiment of the present invention;
[0072] Fig.18 It is a SSIM indicator line comparison chart provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0073] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0074] For details, please refer to Figure 1 , Figure 1: is a flowchart of the steps of a multi-constraint PnP-GAP reconstruction method based on dual prediction provided by an embodiment of the present invention, and the multi-constraint PnP-GAP reconstruction method based on dual prediction includes the following steps:
[0075] S101. Collect and encode original signals based on the CUP-VISAR system to obtain a two-dimensional compressed image.
[0076] The embodiment of the present invention includes a step flow of constructing a mathematical model based on MRF prediction and inter-frame prediction as constraints. For ease of understanding, the embodiment of the present invention first explains MRF prediction and inter-frame prediction.
[0077] MRF (Markov Random Field) prediction is based on Markov random field theory. The noisy two-dimensional image I is represented by a two-dimensional discrete grid. This process is also called transforming an undirected graph. The process is as follows: Figure 2 Assume that the grid spatial coordinate set is S = {s1, s2, ..., s n}, the random field X can be expressed as X = {X, s∈S}. Let s = {i, j}, N s is a domain system centered on s. In the embodiment of the present invention, a first-order neighborhood system is used. At this time, the image denoising problem is transformed into the problem of finding the maximum a posteriori probability of the random field X on the MRF, that is, finding the observation sequence x with the maximum a posteriori probability in the MEF iteration ′ Since any observation sequence x of the random field X satisfies the Gibbs distribution, the maximum posterior probability of the image can be expressed as expression (1):
[0078]
[0079] In the formula, represents the normalization factor, D j represents a set of random variables, represents the local potential function. Since the maximum a posteriori probability is computationally intensive and difficult to calculate, the maximum a posteriori probability problem is equivalent to the energy minimization problem. Let Expression (1) is transformed into the following problem:
[0080]
[0081] Generally, the mean of image noise is 0 and the variance is τ 2 Composite Gaussian noise. θ pq (x p , x q ) uses Huber loss function for dynamic estimation.
[0082] Initial input: The initial noise image observation sequence is xnoise , iteration step length φ;
[0083] In the kth MRF prediction iteration, the k-1th iteration observation sequence is Current minimum energy observation sequence x min And the minimum energy function E(x min ):
[0084] Step 1. Calculate x cur Energy function:
[0085] E k (x cur )=∑ p∈V θ p (x p )+∑ (p,q)∈N(p) θ pq (x p , x q ) (3);
[0086] Among them, θ p (x p ) and θ pq (x p , x q ) is calculated as follows:
[0087]
[0088] Among them, |·| represents the absolute value and μ represents the loss function adjustment parameter.
[0089] Step 2: Update the image:
[0090]
[0091] Step 3: Verify the termination conditions:
[0092] When k>n max or When , the iteration is terminated and the denoised image x is obtained min ; Otherwise, continue to iterate steps 1 and 2.
[0093] Inter-frame prediction means that in the VISAR part of the data acquisition process, the cut part can be regarded as a moving window on a single two-dimensional observation image Y, and the latter image is essentially an offset of the previous image. Therefore, there is a certain close correlation between the previous and next frames. Since the two-dimensional stripe image has obvious stripe characteristics, it can provide the model with inter-frame prior information from the perspective of stripe properties. The upper and lower frame images can be regarded as cosine functions with the same period, the same maximum value, and different initial phases. By fitting the cosine function for each stripe image, the upper and lower frames of the image can be regarded as two-dimensional stripe images composed of different intervals on the same cosine function image.
[0094] According to the CUP-VISAR data acquisition process, there is a certain displacement relationship and image data correlation between the previous frame and the next frame of the compressed image. At the same time, considering the general characteristics of the fringe image, the basic idea of inter-frame prediction is as follows:
[0095] The pixel difference of the displacement between the two frames is obtained by the phase difference between the two frames in the same iteration.
[0096] Each row of the previous frame of the compressed image is fitted to on the cosine curve.
[0097] Predict the pixel difference of the frame displacement before and after complement.
[0098] The curve range of the corresponding straight line in the next frame is extracted, and finally the stripe image of the next frame is formed based on inter-frame prediction.
[0099] Where b is the background light intensity, a is the amplitude intensity, T c is the image period, is the initial phase of the current frame image. The basic idea and prediction process of the above inter-frame prediction are as follows: Figure 3 , 4 As shown in the figure, i represents the i-th frame image.
[0100] Step S101, collecting and encoding the original signal based on the CUP-VISAR system to obtain a two-dimensional compressed image, specifically comprises:
[0101] The original signal is detected by the VISAR system, and the detection light of the original signal is focused on the target surface through the first optical path and imaged on the imaging plane through the second optical path. The stripe image on the imaging plane is split by a beam splitter, and the split stripe image is made to reach the digital micromirror device of the CUP system through the third optical path for encoding, and is sheared and integrated in the streak camera to output the two-dimensional compressed image.
[0102] For details, please refer to Figure 5 , Figure 5: is a schematic diagram of data acquisition of a CUP-VISAR system provided by an embodiment of the present invention, wherein the first optical path f1 is composed of lens 1 (L1), compensation mirror (COM1), beam splitter (BS1), reflector 1 (M1), reflector 2 (M2), lens 2 (L2), lens 3 (L3) and target point in sequence. The second optical path f2 starts from the target point, returns to the beam splitter (BS1), passes through the reflector 3 (M3), lens 4 (L4), beam splitter 2 (BS2), reflector 4 (M4), reflector 5 (M5), reflector 6 (M6), beam splitter 3 (BS3), lens 5 (L5) to reach the imaging plane IP2. The third optical path f3 starts from IP2, passes through lens 6 (L6), lens 7 (L7), digital micromirror device (DMD), lens 8 (L8), lens 9 (L9), and reaches the streak camera 2 with a fully open entrance slit. Another optical path f4 starts from IP2, passes through lens 10 (L10), reflector 7 (M7), lens 11 (L11) and reaches the slit of streak camera 1 (strak camera 1). The detection light from the detection light source passes through f1 and is focused on the target surface (TSF). Due to the Doppler effect, the light focused on the target surface becomes the light carrying the Doppler frequency shift information and passes through the optical path f2 to reach the imaging plane IP2. The stripe image of IP2 is divided into two beams by beam splitter 4 (BS4), one of which passes through the f3 optical path to reach the digital micromirror device (DMD) for encoding. The encoded image is sheared and integrated in streak camera 2 to finally form a CUP-VISAR two-dimensional compressed image. The other beam of light passes through the f4 additional branch and reaches streak camera 1 to form a line-VISAR image.
[0103] The two-dimensional compressed image is defined as y during the imaging process, which satisfies:
[0104] y = TSCx (8);
[0105] Among them, x represents the time-varying two-dimensional fringe image to be evaluated, T represents the space-time integration operator, S represents the time shearing operator, C represents the spatial code mask operator, and E=TSC is defined, and E represents the observation operator.
[0106] S102. According to the two-dimensional compressed image, a total variation constraint and a low-rank constraint are used as prior information, and MRF prediction and inter-frame prediction are used as constraint conditions to construct an inversion mathematical model based on a generalized alternating projection framework.
[0107] The embodiment of the present invention defines the inversion mathematical model as PnP-GAP-TLMI.
[0108] In step S102, according to the two-dimensional compressed image, the total variation constraint and the low rank constraint are used as prior information, and the MRF prediction and the inter-frame prediction are used as constraints to construct an inversion mathematical model based on the generalized alternating projection framework, and the process of inverting the two-dimensional compressed image to obtain the original three-dimensional dynamic image is defined to satisfy:
[0109]
[0110] Since the number of elements in the time-varying two-dimensional fringe image x is much larger than the number of elements in the observation image y, the inverse problem of equation (9) is an underdetermined problem. The general approach is to convert the underdetermined problem into a constrained optimization problem by adding prior information about the state quantity to be solved.
[0111]
[0112] The inversion mathematical model is defined as L, and the optimization model corresponding to equation (10) is transformed into an unconstrained optimization problem for solution:
[0113]
[0114] Due to the low-rank constraint R rank (x) is an NP-hard problem, so R rank (x) is approximated by the nuclear norm, ‖·‖ * represents the nuclear norm, that is, the sum of all singular values of the matrix, so equation (11) is transformed into:
[0115]
[0116] Substitute (11) into the PnP-GAP framework for iterative solution and introduce the auxiliary variable v, which has the following form:
[0117]
[0118] where α and β represent Lagrange multipliers greater than 0, ‖x‖ TV represents the total variation constraint function, R rank (x) represents the low-rank constraint function, M(x) represents the MRF prediction, and Λ interframe (I) represents inter-frame prediction, argmin{·} represents the variable value when the target area is minimized, ‖·‖ * represents the nuclear norm, v represents the auxiliary variable, and η represents the adjustment parameter.
[0119] S103, decomposing the inversion mathematical model into two optimization sub-problems about the value to be evaluated and the auxiliary variable, and iteratively and alternately solving the optimization sub-problems until a preset iteration termination condition is met, and outputting the original three-dimensional dynamic graph corresponding to the value to be evaluated.
[0120] In step S103, in the step of decomposing the inversion mathematical model into two optimization sub-problems about the value to be evaluated and the auxiliary variable, the first optimization sub-problem about the value to be evaluated x satisfies:
[0121]
[0122] The second optimization subproblem about the auxiliary variable v satisfies:
[0123]
[0124] Here, k represents the number of iterations.
[0125] In step S103, in the step of iteratively and alternately solving the optimization sub-problem, in the k+1 iteration, the solution is performed through the following sub-steps:
[0126] S201, fix the value of the auxiliary variable v, and update the value x to be evaluated according to the first optimization sub-problem, because is a differentiable term, ‖x‖ TV It is a non-differentiable term, so it is done as follows:
[0127]
[0128] Update by Euclidean projection of the auxiliary variable v onto the linear manifold Formula (16) is transformed into:
[0129]
[0130] Update using proximal mapping
[0131]
[0132] Among them, ω1 and ω2 represent weight parameters, prox TV {} represents the proximal mapping function based on the l2-norm total variation constraint;
[0133] S202, fix the value of the value to be evaluated x, and update the auxiliary variable v according to the second optimization sub-problem. This process satisfies:
[0134] According to the singular value thresholding (SVT) method, ‖v‖ * The nuclear norm is minimized, so that the update process of the auxiliary variable v is transformed into:
[0135]
[0136] Among them, svd(vk ) represents v k The singular value decomposition of The representative threshold is The soft threshold operator is
[0137]
[0138] S203, performing accelerated solution on the value x to be solved, the process satisfies:
[0139]
[0140] Among them, y 1 =y.
[0141] Noise is an important factor affecting the inversion quality. The reason is that when there is noise in the inversion data, as the number of iterations increases, y k+1 will show a trend of gradual increase, making y k+1 -E·v k+1 The error of accumulating continuously, when the error accumulates to a certain extent, will have a significant impact on the optimization solution, and eventually lead to the decline of inversion quality. Therefore, the embodiment of the present invention performs variable acceleration processing on PnP-GAP, and sets the threshold ε to adjust the projection weight parameter η. When (y k -E·v k )≤ε, set η to 0, the weight is 1, and make full use of y k The information contained converges quickly; when (y k -E·v k )>ε, the acceleration is canceled, and the projection weight is reduced by increasing η, which effectively reduces y that carries too much error information. k The impact brought about.
[0142] In step S203, the step of defining a preset adjustment threshold ε is further included, which is used to adjust the adjustment parameter η to constrain the accelerated solution of the value x to be evaluated. The process satisfies:
[0143]
[0144] Furthermore, the preset iteration termination condition in step S103 is specifically:
[0145] k>κ max ;
[0146] where κ max is the preset maximum number of iterations; or:
[0147] ‖y k -E·x k ‖<ε.
[0148] According to the above-mentioned multi-constraint PnP-GAP reconstruction method based on dual prediction, the compression imaging principle and process in the embodiment of the present invention are respectively as follows: Figure 6 , 7 shown.
[0149] The embodiment of the present invention also compares the dual-prediction based multi-constraint PnP-GAP reconstruction method (i.e., PnP-GAP-TLMI) with the existing ADMM-TVLR and variable acceleration GAP-TVLR in real experimental reconstructed images. In the comparison, the peak signal-to-noise ratio (PSNR) and structural similarity (SSIM) are selected as evaluation indicators to measure image quality.
[0150] The simulation experiment uses a simulated original interference fringe pattern with a size of 790 (x) × 330 (y) × 25 (t), as shown in Figure 8 As shown in Figure 1, the interference fringe pattern data is representative, and its shock wave has experienced the processes of stationary, acceleration, and deceleration along the time dimension t, which contains rich information. In order to be closer to the real complex environment, the simulated DMD uses a coding diagram with a coding aperture of 8 pixels × 8 pixels, as shown in Figure 1. Fig. 9 As shown in the figure. During the comparison process, a larger noise is introduced and the inversion images of the three methods are compared and analyzed. Gaussian noise with a mean of 0 and a variance of 0.5 is introduced into the streak image, and the noise observation image obtained by simulating the data acquisition process of the CUP-VISAR system is shown in the figure. Fig.10 As shown, the pixel size is 790 pixels × 389 pixels.
[0151] The fringe image reconstructed by the ADMM-TVLR algorithm is shown in Fig.11 As shown in the figure, the stripe image reconstructed by the variable acceleration GAP-TVLR algorithm is as follows Fig.12 As shown, the method proposed in the embodiment of the present invention (PnP-GAP-TLMI, i.e., an image reconstruction algorithm based on MRF-inter-frame prediction and containing TV constraints and low-rank constraints and using the PnP-GAP iterative framework) reconstructs the stripe image as shown in FIG. Fig.13 shown.
[0152] like Fig.11 , 12 As shown in Figures 1 and 13, compared with ADMM-TVLR and variable acceleration GAP-TVLR, the PnP-GAP-TLMI method proposed in the embodiment of the present invention reconstructs the edge of the stripe image with clearer and more continuous edges. By arranging each row of the reconstructed stripe image in chronological order, the following is obtained: Fig.14 , 15 , some new images shown in 16, Fig.14 , 15, 16 are new images obtained by reconstructing the stripe image arrangement using the ADMM-TVLR, variable acceleration GAP-TVLR, and PnP-GAP-TLMI methods, respectively.
[0153] In order to quantitatively analyze the quality of the reconstructed image, Fig.17 , 18 The comparison diagrams of the two indicators PSNR and SSIM are shown respectively. The PSNR distribution of the ADMM-TVLR reconstruction algorithm is 11.94dB~15.01dB, and the SSIM distribution is 47.97%~62.54%. The PSNR distribution of the variable acceleration GAP-TVLR reconstruction algorithm is 13.01dB~19.59dB, and the SSIM distribution is 64.05%~83.03%. The PSNR distribution of the PnP-GAP-TLMI method proposed in the embodiment of the present invention is 18.23dB~22.48dB, and the SSIM distribution is 76.36%~85.52%. Obviously, the embodiment of the present invention has better performance than the comparison algorithm in the above indicators.
[0154] The beneficial effect achieved by the present invention lies in proposing a multi-constraint PnP-GAP reconstruction method based on double prediction. The method uses low rank, total variation, MRF prediction, and inter-frame prediction as prior information to accurately describe the image inversion mathematical model. During the solution process, the mathematical model is converted into an unconstrained optimization problem and then decomposed into multiple sub-problems for iterative solution using the characteristics of the PnP-GAP iterative framework. Among them, the present invention uses the prediction function of the MRF algorithm to extract the correlation information of adjacent pixels in the same frame and perform MRF prediction, and uses the inter-frame relationship between images to mine the correlation information of the previous and next frame images in the same iteration and perform inter-frame prediction, which effectively improves the convergence speed of the model and the accuracy of the final image reconstruction.
[0155] An embodiment of the present invention further provides a computer device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0156] The processor calls the computer program stored in the memory to execute the steps of the multi-constraint PnP-GAP reconstruction method based on dual prediction provided by the embodiment of the present invention. Figure 1 , specifically including the following steps:
[0157] S101. Collect and encode original signals based on the CUP-VISAR system to obtain a two-dimensional compressed image.
[0158] Step S101, collecting and encoding the original signal based on the CUP-VISAR system to obtain a two-dimensional compressed image, specifically comprises:
[0159] The original signal is detected by the VISAR system, and the detection light of the original signal is focused on the target surface through the first optical path and imaged on the imaging plane through the second optical path. The stripe image on the imaging plane is split by a beam splitter, and the split stripe image is made to reach the digital micromirror device of the CUP system through the third optical path for encoding, and is sheared and integrated in the streak camera to output the two-dimensional compressed image.
[0160] The two-dimensional compressed image is defined as y, which satisfies:
[0161] y = TSCx;
[0162] Among them, x represents the time-varying two-dimensional fringe image to be evaluated, T represents the space-time integration operator, S represents the time shearing operator, C represents the spatial code mask operator, and E=TSC is defined, and E represents the observation operator.
[0163] S102. According to the two-dimensional compressed image, a total variation constraint and a low-rank constraint are used as prior information, and MRF prediction and inter-frame prediction are used as constraint conditions to construct an inversion mathematical model based on a generalized alternating projection framework.
[0164] In step S102, according to the two-dimensional compressed image, the total variation constraint and the low rank constraint are used as prior information, and the MRF prediction and the inter-frame prediction are used as constraints to construct an inversion mathematical model based on the generalized alternating projection framework, and the process of inverting the two-dimensional compressed image to obtain the original three-dimensional dynamic image is defined to satisfy:
[0165]
[0166] The inversion mathematical model is defined as L, which satisfies:
[0167]
[0168] where α and β represent Lagrange multipliers greater than 0, ‖x‖ TV represents the total variation constraint function, R rank (x) represents the low-rank constraint function, M(x) represents the MRF prediction, and Λ interframe (I) represents inter-frame prediction, argmin{·} represents the variable value when the target area is minimized, ‖·‖ * represents the nuclear norm, v represents the auxiliary variable, and η represents the adjustment parameter.
[0169] S103, decomposing the inversion mathematical model into two optimization sub-problems about the value to be evaluated and the auxiliary variable, and iteratively and alternately solving the optimization sub-problems until a preset iteration termination condition is met, and outputting the original three-dimensional dynamic graph corresponding to the value to be evaluated.
[0170] In step S103, in the step of decomposing the inversion mathematical model into two optimization sub-problems about the value to be evaluated and the auxiliary variable, the first optimization sub-problem about the value to be evaluated x satisfies:
[0171]
[0172] The second optimization subproblem about the auxiliary variable v satisfies:
[0173]
[0174] Here, k represents the number of iterations.
[0175] In step S103, in the step of iteratively and alternately solving the optimization sub-problem, in the k+1 iteration, the solution is performed through the following sub-steps:
[0176] S201, fix the value of the auxiliary variable v, and update the value x to be evaluated according to the first optimization sub-problem. This process satisfies:
[0177]
[0178] Update by Euclidean projection of the auxiliary variable v onto the linear manifold
[0179]
[0180] Update using proximal mapping
[0181]
[0182] Among them, ω1 and ω2 represent weight parameters, prox TV {} represents the proximal mapping function based on the l2-norm total variation constraint;
[0183] S202, fix the value of the value to be evaluated x, and update the auxiliary variable v according to the second optimization sub-problem. This process satisfies:
[0184] According to the singular value threshold method, ‖v‖ * The nuclear norm is minimized, so that the update process of the auxiliary variable v is transformed into:
[0185]
[0186] Among them, svd(v k ) represents v k The singular value decomposition of The representative threshold is The soft threshold operator is
[0187]
[0188] S203, performing accelerated solution on the value x to be solved, the process satisfies:
[0189]
[0190] Among them, y 1 =y.
[0191] In step S203, the step of defining a preset adjustment threshold ε is further included, which is used to adjust the adjustment parameter η to constrain the accelerated solution of the value x to be evaluated. The process satisfies:
[0192]
[0193] Furthermore, the preset iteration termination condition in step S103 is specifically:
[0194] k>κ max ;
[0195] where κ max is the preset maximum number of iterations; or:
[0196] ‖y k -E·x k ‖<ε.
[0197] The computer device provided in the embodiment of the present invention can implement the steps in the multi-constraint PnP-GAP reconstruction method based on dual prediction in the above embodiment, and can achieve the same technical effect. Please refer to the description in the above embodiment and will not be repeated here.
[0198] An embodiment of the present invention also 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 and steps in the multi-constraint PnP-GAP reconstruction method based on double prediction provided by the embodiment of the present invention are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0199] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0200] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0201] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0202] The embodiments of the present invention are described above in conjunction with the accompanying drawings. What is disclosed is only the preferred embodiment of the present invention. However, the present invention is not limited to the above-mentioned specific implementation manner. The above-mentioned specific implementation manner is only illustrative rather than restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms and equivalent changes without departing from the scope of protection of the purpose of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A multi-constrained PnP-GAP reconstruction method based on dual prediction, It is characterized in that The following steps are involved: S101, collecting and encoding the original signal based on the CUP-VISAR system to obtain a two-dimensional compressed image; S102, constructing an inversion mathematical model based on a generalized alternating projection framework according to the two-dimensional compressed image, using total variation constraints and low rank constraints as prior information, and using MRF prediction and inter-frame prediction as constraint conditions; S103, decomposing the inversion mathematical model into two optimization sub-problems about the value to be evaluated and the auxiliary variable, and iteratively and alternately solving the optimization sub-problems until a preset iteration termination condition is met, and outputting the original three-dimensional dynamic graph corresponding to the value to be evaluated.
2. The multi-constrained PnP-GAP reconstruction method based on dual prediction according to claim 1, It is characterized in that Step S101, collecting and encoding the original signal based on the CUP-VISAR system to obtain a two-dimensional compressed image, specifically comprises: The original signal is detected by the VISAR system, and the detection light of the original signal is focused on the target surface through the first optical path and imaged on the imaging plane through the second optical path. The stripe image on the imaging plane is split by a beam splitter, and the split stripe image is made to reach the digital micromirror device of the CUP system through the third optical path for encoding, and is sheared and integrated in the streak camera to output the two-dimensional compressed image.
3. The multi-constrained PnP-GAP reconstruction method based on dual prediction according to claim 1, It is characterized in that The two-dimensional compressed image is defined as y, which satisfies: y = TSCx; Among them, x represents the time-varying two-dimensional fringe image to be evaluated, T represents the space-time integration operator, S represents the time shearing operator, C represents the spatial code mask operator, and E=TSC is defined, and E represents the observation operator.
4. The multi-constrained PnP-GAP reconstruction method based on dual prediction according to claim 3, It is characterized in that In step S102, according to the two-dimensional compressed image, the total variation constraint and the low rank constraint are used as prior information, and the MRF prediction and the inter-frame prediction are used as constraints to construct an inversion mathematical model based on the generalized alternating projection framework, and the process of inverting the two-dimensional compressed image to obtain the original three-dimensional dynamic image is defined to satisfy: The inversion mathematical model is defined as L, which satisfies: where α and β represent Lagrange multipliers greater than 0, ‖x‖ TV represents the total variation constraint function, R rank (x) represents the low-rank constraint function, M(x) represents the MRF prediction, and Λ interframe (I) represents inter-frame prediction, argmin{·} represents the variable value when the target area is minimized, ‖·‖ * represents the nuclear norm, v represents the auxiliary variable, and η represents the adjustment parameter.
5. The multi-constrained PnP-GAP reconstruction method based on dual prediction according to claim 4, It is characterized in that In step S103, in the step of decomposing the inversion mathematical model into two optimization sub-problems about the value to be evaluated and the auxiliary variable, the first optimization sub-problem about the value to be evaluated x satisfies: The second optimization subproblem about the auxiliary variable v satisfies: Here, k represents the number of iterations.
6. The multi-constrained PnP-GAP reconstruction method based on dual prediction according to claim 5, It is characterized in that In step S103, in the step of iteratively and alternately solving the optimization sub-problem, in the k+1 iteration, the solution is performed through the following sub-steps: S201, fix the value of the auxiliary variable v, and update the value x to be evaluated according to the first optimization sub-problem. This process satisfies: Update by Euclidean projection of the auxiliary variable v onto the linear manifold Update using proximal mapping Among them, ω 1 and ω 2 Represents the weight parameter, prox TV {} represents the proximal mapping function based on the l2-norm total variation constraint; S202, fix the value of the value to be evaluated x, and update the auxiliary variable v according to the second optimization sub-problem. This process satisfies: According to the singular value threshold method, ‖v‖ * The nuclear norm is minimized, so that the update process of the auxiliary variable v is transformed into: Among them, svd(v k ) represents v k The singular value decomposition of The representative threshold is The soft threshold operator is S203, performing accelerated solution on the value x to be solved, the process satisfies: Among them, y 1 =y.
7. The multi-constrained PnP-GAP reconstruction method based on dual prediction according to claim 6, It is characterized in that In step S203, the step of defining a preset adjustment threshold ε is further included, which is used to adjust the adjustment parameter η to constrain the accelerated solution of the value x to be evaluated. The process satisfies:
8. The multi-constrained PnP-GAP reconstruction method based on dual prediction according to claim 7, It is characterized in that The preset iteration termination condition in step S103 is specifically: k>k max ; where κ max is the preset maximum iteration value; or: ‖and k -Ex k ‖<ε。 9. A computer device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the multi-constraint PnP-GAP reconstruction method based on dual prediction are implemented as described in any one of claims 1 to 8.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps in the multi-constraint PnP-GAP reconstruction method based on dual prediction are implemented as described in any one of claims 1 to 8.
