An image super-resolution method combining plug-and-play deep convolutional networks and fast splitting

By combining plug-and-play deep convolutional networks and fast splitting networks, a plug-and-play network is constructed to solve the problem of low-resolution image reconstruction with Gaussian noise and blur, and achieve efficient denoising and blur removal of images. Significantly improved image clarity and usability.

CN118469822BActive Publication Date: 2024-10-25HUNAN TU LING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410942520.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-25
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively process low-resolution images with Gaussian noise and blur, resulting in poor image reconstruction results, and the black-box model of deep learning networks is difficult to explain its internal decision-making process.

Method used

A plug-and-play deep convolutional network is combined with a fast splitting network, and a plug-and-play network is constructed through a dense residual U-shaped denoising module and an image restoration module of sparse induced terms, and the gradient calculation module and mirror inertia forward are used – Reflection – Backward algorithm performs image restoration, gradually removing noise and blur to generate high-resolution images.

Benefits of technology

It significantly improves the clarity and usability of the image, can effectively remove noise and blur, improves the image reconstruction effect, and provides some explanation of the image restoration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118469822B_ABST
    Figure CN118469822B_ABST
Patent Text Reader

Abstract

The present invention discloses an image super-resolution method combining a plug-and-play deep convolutional network and fast splitting, which comprises the following steps: (1) obtaining a degraded image to be processed and performing preprocessing; (2) constructing a plug-and-play deep convolutional and fast splitting network, namely a plug-and-play network; comprising: a dense residual U-shaped denoising module and an image restoration module of a sparse induced term; (3) inputting the preprocessed image into the plug-and-play network for training, and finally obtaining a processed clear image; the present invention combines a deep convolutional network with a traditional algorithm, which can not only give play to the powerful advantages of a deep learning algorithm in extracting features, but also introduce a priori knowledge brought by a traditional algorithm, so that the model has relatively strong interpretability and robustness, can clearly describe the reconstruction process and the optimization process, and significantly improve the overall super-resolution effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer vision, and in particular to an image super-resolution method combining a plug-and-play deep convolutional network and fast splitting. Background Art

[0002] Image super-resolution is an important research direction in the field of computer vision and artificial intelligence. It aims to improve the quality and usability of images by increasing the spatial resolution of images and restoring the clarity and details of degraded images. Degraded images are usually caused by factors such as camera shake, object motion, or lens inaccuracy, resulting in low image resolution, blurred or lost details, thereby reducing the visual quality and information content of the image. Therefore, image super-resolution technology plays an important role in photography, medical impact, monitoring and security, satellite remote sensing, and security.

[0003] Image super-resolution methods based on traditional algorithms usually have high interpretability. They do not require a large amount of labeled data for training, nor do they require complex computing equipment and algorithm libraries, and have low resource consumption. For small-sized, low-resolution images, image reconstruction can be completed in a shorter time. However, traditional algorithms are usually based on mathematical models and rules. For complex image structures and textures, they may not be able to fully utilize the information in the image, resulting in poor reconstruction results. Image super-resolution methods based on deep learning networks can be learned in an end-to-end manner, directly mapping from input images to output images, without the need to manually design complex prior models. They can also adaptively learn complex features and patterns in image data, have strong generalization capabilities, and are suitable for different image reconstruction tasks. However, deep learning networks are often regarded as black box models, and it is difficult to explain their internal decision-making processes and working principles, and they cannot utilize the prior knowledge required for specific problems. Summary of the invention

[0004] Purpose of the invention: The purpose of the present invention is to provide an image super-resolution method that combines a plug-and-play deep convolutional network and fast splitting to solve the problem of reconstructing low-resolution images with Gaussian noise and blur. While restoring them to high resolution, it can effectively remove noise and blur, significantly improve image clarity, and increase image usability.

[0005] Technical solution: The image super-resolution method combining a plug-and-play deep convolutional network and fast splitting described in the present invention comprises the following steps:

[0006] (1) Obtain the degraded image to be processed and perform preprocessing;

[0007] (2) Construct a plug-and-play deep convolutional and fast splitting network, namely a plug-and-play network; including: a dense residual U-shaped denoising module and a sparse induced image restoration module;

[0008] (3) The preprocessed image is input into the plug-and-play network for training, and finally a processed clear image is obtained.

[0009] Furthermore, step (1) includes the following steps:

[0010] (11) Obtain a clear image and a Gaussian blur kernel k image from an open source website, perform cropping, normalization, blurring, and downsampling operations on the clear image to generate a blurred image with a low resolution ratio;

[0011] (12) Generate a Gaussian distribution random number with a mean of 0 and a standard deviation of 12.75, where 12.75 represents the noise level, and add it to the blurred image to generate a degraded image containing noise and blur.

[0012] Furthermore, step (11) includes the following steps:

[0013] (111) Read in a clear image and perform cropping operation so that the image size can be divided by 2;

[0014] (112) Read in the blur kernel k image and add a dimension to the third dimension;

[0015] (113) converting the clear image pixel value in step (111) from an integer type to a floating point type and performing normalization processing;

[0016] (114) performing a convolution operation on the blur kernel k image and the clear image in step (112) and step (113), periodically filling the image edge, and "wrapping" the pixel values ​​beyond the boundary to the other side to generate a blurred image;

[0017] (115) Downsample the blurred image obtained in step (114) with a sampling factor of 2 to generate a low-resolution blurred image.

[0018] Furthermore, in step (2), the dense residual U-shaped denoising network is specifically as follows: first, a gradient calculation module is added after the forward propagation module in the dense residual U-shaped denoising module; then the network is trained; wherein the gradient calculation module is used to calculate the regularized gradient of the input image.

[0019] Furthermore, in step (2), the image restoration module of the sparse induced term is formulated as follows:

[0020] ;

[0021] in, = , = , the objective function is:

[0022] ;

[0023] in, represents the data fidelity term, is the sparse induction term, A represents the blur operation, x is the clear image to be restored, b is the observed degraded image, is the coefficient of the sparse induction term; the module is solved using the mirror inertia forward-reflection-backward algorithm, and the formula is as follows:

[0024] ;

[0025] Among them, the initial variable , extrapolation parameters , step length , the result of the kth iteration is , represents the intermediate variable of the kth iteration, It's about functions The neighboring operator of It means to find the gradient of function f(x) with respect to x, and continue to iterate k times until the stopping criterion is met;

[0026] (24) Use the dense residual U-shaped denoising module to replace the neighboring operator , the formula is as follows:

[0027] ;

[0028] in, Represents the trained dense residual U-shaped denoising network.

[0029] Furthermore, step (3) includes the following steps:

[0030] (31) Input the clear image input_img, the degraded image blur_img, and the blur kernel k image. The formula is as follows:

[0031] x = plug-and-play(input_img,blur_img,k);

[0032] Among them, x is the algorithm output clear, high-resolution reconstructed image, plug-and-play represents the constructed network, input_img is the original clear image, which is used to compare the image reconstruction effect, blur_img is the degraded image, which is the reconstruction object, and k is the blur kernel involved in the blur convolution;

[0033] (32) Using the cubic interpolation method to enlarge the degraded image obtained in step (31), wherein the scaling factor is 2; after the degraded image is enlarged, the degraded image is translated to the lower right by 0.5 pixels to achieve pixel alignment, and the translated image is interpolated using the bilinear interpolation method;

[0034] (33) converting the blur kernel k image, the clear image and the degraded image into a tensor format, calculating the Fourier transform value of the degraded image, the conjugate complex number after the Fourier transform, the square after the Fourier transform, and performing complex multiplication of the up-sampled x with the conjugate complex number after the Fourier transform;

[0035] (34) Reconstruction is performed using the plug-and-play network, and the formula is as follows:

[0036] ;

[0037] ;

[0038] ;

[0039] ;

[0040] ;

[0041] in, are the results of the kth and (k-1th) iterations respectively, , , is the intermediate variable generated during the k+1th iteration, For the final reconstruction result, is the iteration step size, is the extrapolation parameter, express Regarding the gradient of the fidelity term f(x), Dg is the gradient of the regularization term output by the dense residual U-type network gradient calculation module, and N is the denoising result output by the dense residual U-type network. represents the result of gradient descent, is the weight parameter used to control and The proportion of the two parts;

[0042] (35) Set the maximum number of iterations to 1000 and the Lyapunov stopping criterion. When the maximum number of iterations is reached or when the change between two consecutive iterations is smaller than the current value, that is, when the number of iterations > 1000 or |diff_Psi / Psi_old|< When , the execution is stopped, and the reconstructed image is obtained and saved; where diff_Psi is the system difference value, and Psi_old is the system state value of the kth iteration. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is a network structure diagram of the present invention. DETAILED DESCRIPTION

[0044] like Figure 1 As shown, an embodiment of the present invention provides an image super-resolution method combining a plug-and-play deep convolutional network and fast splitting, comprising the following steps:

[0045] (1) Obtaining a degraded image to be processed and performing preprocessing; including the following steps:

[0046] (11) Obtain a clear image and a Gaussian blur kernel k image from an open source website, perform cropping, normalization, blurring, and downsampling operations on the clear image, and generate a low-resolution blurred image; the steps include:

[0047] (111) Read in a clear image and perform cropping operation so that the image size can be divided by 2;

[0048] (112) Read in the blur kernel k image and add a dimension to the third dimension;

[0049] (113) converting the clear image pixel value in step (111) from an integer type to a floating point type and performing normalization processing;

[0050] (114) performing a convolution operation on the blur kernel k image and the clear image in step (112) and step (113), periodically filling the image edge, and "wrapping" the pixel values ​​beyond the boundary to the other side to generate a blurred image;

[0051] (115) Downsample the blurred image obtained in step (114) with a sampling factor of 2 to generate a low-resolution blurred image.

[0052] (12) Generate a Gaussian distribution random number with a mean of 0 and a standard deviation of 12.75, where 12.75 represents the noise level, and add it to the blurred image to generate a degraded image containing noise and blur.

[0053] (2) Construct a plug-and-play deep convolution and fast split network, namely a plug-and-play network; including: a dense residual U-shaped denoising module and a sparse induced image restoration module; wherein, the dense residual U-shaped denoising network is as follows: first, a gradient calculation module is added after the forward propagation module in the dense residual U-shaped denoising module; then the network is trained; wherein the gradient calculation module is used to calculate the regularized gradient of the input image.

[0054] The image restoration module of the sparse induced term is formulated as follows:

[0055] ;

[0056] in, = , = , the objective function is:

[0057] ;

[0058] in, represents the data fidelity term, is the sparse induction term, A represents the blur operation, x is the clear image to be restored, b is the observed degraded image, is the coefficient of the sparse induction term; the module is solved using the mirror inertia forward-reflection-backward algorithm, and the formula is as follows:

[0059] ;

[0060] Among them, the initial variable , extrapolation parameters , step length , the result of the kth iteration is , represents the intermediate variable of the kth iteration, It's about functions The neighboring operator of It means to find the gradient of function f(x) with respect to x, and continue to iterate k times until the stopping criterion is met;

[0061] (24) Use the dense residual U-shaped denoising module to replace the neighboring operator , the formula is as follows:

[0062] ;

[0063] in, Represents the trained dense residual U-shaped denoising network.

[0064] (3) The preprocessed image is input into the plug-and-play network for training, and finally a processed clear image is obtained. The following steps are included:

[0065] (31) Input the clear image input_img, the degraded image blur_img, and the blur kernel k image. The formula is as follows:

[0066] x = plug-and-play(input_img,blur_img,k);

[0067] Among them, x is the algorithm output clear, high-resolution reconstructed image, plug-and-play represents the constructed network, input_img is the original clear image, which is used to compare the image reconstruction effect, blur_img is the degraded image, which is the reconstruction object, and k is the blur kernel involved in the blur convolution;

[0068] (32) Using the cubic interpolation method to enlarge the degraded image obtained in step (31), wherein the scaling factor is 2; after the degraded image is enlarged, the degraded image is translated to the lower right by 0.5 pixels to achieve pixel alignment, and the translated image is interpolated using the bilinear interpolation method;

[0069] (33) converting the blur kernel k image, the clear image and the degraded image into a tensor format, calculating the Fourier transform value of the degraded image, the conjugate complex number after the Fourier transform, the square after the Fourier transform, and performing complex multiplication of the up-sampled x with the conjugate complex number after the Fourier transform;

[0070] (34) Reconstruction is performed using the plug-and-play network, and the formula is as follows:

[0071] ;

[0072] ;

[0073] ;

[0074] ;

[0075] ;

[0076] in, are the results of the kth and (k-1th) iterations respectively, , , is the intermediate variable generated during the k+1th iteration, For the final reconstruction result, is the iteration step size, is the extrapolation parameter, express Regarding the gradient of the fidelity term f(x), Dg is the gradient of the regularization term output by the dense residual U-type network gradient calculation module, and N is the denoising result output by the dense residual U-type network. represents the result of gradient descent, is the weight parameter used to control and The proportion of the two parts;

[0077] Gradient calculation module, the calculation formula is as follows: Dg = -N-JN

[0078] in, , is the intermediate variable generated in the (k+1)th iteration, N represents the output after denoising by the dense residual U-shaped network, and JN represents the value of N with respect to the input The gradient of

[0079] JN =

[0080] in, It means to find the differential.

[0081] (35) Set the maximum number of iterations to 1000 and the Lyapunov stopping criterion. When the maximum number of iterations is reached or when the change between two consecutive iterations is smaller than the current value, that is, when the number of iterations > 1000 or |diff_Psi / Psi_old|< When , the execution is stopped, and the reconstructed image is obtained and saved; where diff_Psi is the system difference value, and Psi_old is the system state value of the kth iteration.

[0082] The specific process of stopping criteria is as follows: Calculate the current system state value , it is the same as the system state value of the previous iteration The difference is recorded as , if |diff_Psi / Psi_old| is less than the set threshold Then stop updating; the formula is as follows:

[0083] ;

[0084] ;

[0085] ;

[0086] in, , represent the intermediate variables of the (k+1)th iteration, , , Respectively represent the (k+1)th, kth and (k-1)th image reconstruction results; N represents the denoising result of the (k+1)th dense residual denoising network, is the weight coefficient, blur_ represents the degraded image, g is ( ) is half the norm of .

Claims

1. An image super-resolution method combining a plug-and-play deep convolutional network and fast splitting, characterized in that: The following steps are involved: (1) Obtaining a degraded image to be processed and performing preprocessing; including the following steps: (11) Obtain a clear image and a Gaussian blur kernel k image from an open source website, perform cropping, normalization, blurring, and downsampling operations on the clear image, and generate a low-resolution blurred image; the steps include: (111) Read in a clear image and perform cropping operation so that the image size can be divided by 2; (112) Read in the blur kernel k image and add a dimension to the third dimension; (113) converting the clear image pixel value in step (111) from an integer type to a floating point type and performing normalization processing; (114) performing a convolution operation on the blur kernel k image and the clear image in step (112) and step (113), periodically filling the image edge, and "wrapping" the pixel values ​​beyond the boundary to the other side to generate a blurred image; (115) downsampling the blurred image obtained in step (114) with a sampling factor of 2 to generate a low-resolution blurred image; (12) Generate a Gaussian distribution random number with a mean of 0 and a standard deviation of 12.75, where 12.75 represents the noise level, and add it to the blurred image to generate a degraded image containing noise and blur; (2) Construct a plug-and-play deep convolution and fast split network, namely a plug-and-play network; including: a dense residual U-shaped denoising module and a sparse induced image restoration module; the dense residual U-shaped denoising network is as follows: first, add a gradient calculation module after the forward propagation module in the dense residual U-shaped denoising module; then train the network; among them, the gradient calculation module is used to calculate the regularized gradient of the input image; the sparse induced image restoration module, the formula is as follows: ; in, = , = , the objective function is: ; in, represents the data fidelity term, is the sparse induction term, A represents the blur operation, x is the clear image to be restored, b is the observed degraded image, is the coefficient of the sparse induction term; the module is solved using the mirror inertia forward-reflection-backward algorithm, and the formula is as follows: ; Among them, the initial variable , extrapolation parameters , step length , the result of the kth iteration is , represents the intermediate variable of the kth iteration, It's about functions The neighboring operator of It means to find the gradient of function f(x) with respect to x, and continue to iterate k times until the stopping criterion is met; (24) Use the dense residual U-shaped denoising module to replace the neighboring operator , the formula is as follows: ; in, represents the dense residual U-shaped denoising network after training; (3) The preprocessed image is input into the plug-and-play network for training, and finally a processed clear image is obtained; the following steps are included: (31) Input the clear image input_img, the degraded image blur_img, and the blur kernel k image. The formula is as follows: x = plug-and-play(input_img,blur_img,k); Among them, x is the algorithm output clear, high-resolution reconstructed image, plug-and-play represents the constructed network, input_img is the original clear image, which is used to compare the image reconstruction effect, blur_img is the degraded image, which is the reconstruction object, and k is the blur kernel involved in the blur convolution; (32) Using the cubic interpolation method to enlarge the degraded image obtained in step (31), wherein the scaling factor is 2; after the degraded image is enlarged, the degraded image is translated to the lower right by 0.5 pixels to achieve pixel alignment, and the translated image is interpolated using the bilinear interpolation method; (33) converting the blur kernel k image, the clear image and the degraded image into a tensor format, calculating the Fourier transform value of the degraded image, the conjugate complex number after the Fourier transform, the square after the Fourier transform, and performing complex multiplication of the up-sampled x with the conjugate complex number after the Fourier transform; (34) Reconstruction is performed using the plug-and-play network, and the formula is as follows: ; ; ; ; ; in, are the results of the kth and (k-1th) iterations respectively, , , is the intermediate variable generated during the k+1th iteration, For the final reconstruction result, is the iteration step size, is the extrapolation parameter, express Regarding the gradient of the fidelity term f(x), Dg is the gradient of the regularization term output by the dense residual U-type network gradient calculation module, and N is the denoising result output by the dense residual U-type network. represents the result of gradient descent, is the weight parameter used to control and The proportion of the two parts; (35) Set the maximum number of iterations to 1000 and the Lyapunov stopping criterion to stop when the maximum number of iterations is reached or when the change between two consecutive iterations is smaller than the current value, that is, when the number of iterations > 1000 or |diff_Psi / Psi_old| < When , the execution is stopped, and the reconstructed image is obtained and saved; where diff_Psi is the system difference value, and Psi_old is the system state value of the kth iteration.