A general real-world single-frame image super-resolution enhancement method
Through the frequency domain data enhancement and ringing effect methods, combined with the dynamic frequency domain Loss function, the super-resolution network's processing ability of real-world degraded images is improved, the problem of performance degradation in the existing technology is solved, and high-quality high-resolution images are achieved. Image recovery.
Patent Information
- Application Number
- CN202210313768.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-03-28
AI Technical Summary
The performance of existing super-resolution methods decreases when processing real-world degraded images, it is difficult to effectively restore high-resolution images, and prior knowledge is difficult to extract, resulting in insufficient analytical power on real-world data sets.
Using the frequency domain data enhancement method and the method of enhancing the ringing effect of degraded images, combined with the frequency domain Loss function that dynamically adjusts the weight, a universal super-resolution network training method is constructed to improve the network's ability to reconstruct real-world degraded images.
It significantly improves the performance of super-resolution networks in real-world degraded image processing, generates high-resolution images with clear structures and high visual quality, reduces ringing effects, and improves the performance of objective indicators and visual perception.
Smart Images

Figure CN114757827B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an image super-resolution processing method in the fields of image processing technology, computer vision, and deep learning, and in particular to a universal real-world single-frame image super-resolution enhancement method. Background Art
[0002] Single-frame image super-resolution tasks have a wide range of applications in the field of computer vision, such as target recognition, medical image processing, aerial imaging, etc. The task of single-frame image super-resolution aims to restore high-resolution images from low-resolution images. This problem is ill-posed because each low-resolution input corresponds to multiple high-resolution images.
[0003] In recent years, with the development of deep learning, super-resolution methods based on convolutional neural networks have been proposed one after another, and have greatly improved the performance of super-resolution algorithms. These methods often use data sets obtained under rational degradation conditions (for example, degradation using bicubic interpolation), but when these super-resolution methods process real-world degraded images, their performance often drops significantly. Recently, someone has actually shot a dataset of degraded resolution in the hope of improving the real-world processing performance of super-resolution algorithms.
[0004] Classical super-resolution methods often fail to obtain good results by directly processing real-world datasets because they ignore the complexity of the real-world degradation process and only use methods for ideally degraded datasets.
[0005] In order to improve the resolution of the proposed super-resolution method for real-world super-resolution datasets,
[0006] Some methods propose to add some prior knowledge in network training, but the image data distribution obtained by different camera models is not exactly the same and prior knowledge is difficult to extract. How to build a general method to improve the proposed super-resolution model's ability to reconstruct real-world degraded images has become an important topic at present. Summary of the invention
[0007] The purpose of the present invention is to address the deficiencies of the prior art, solve the problems existing in the background technology, and provide a universal real-world single-frame image super-resolution enhancement method. By establishing a universal enhancement method to improve the performance of the super-resolution network in the real world, real-world degraded images can be super-resolution processed to generate high-resolution images with clear structure and good visual quality. The enhancement method mainly includes three parts: First, establish a frequency domain data enhancement method; second, establish a method to enhance the ringing effect of degraded images; third, add a dynamic adjustment weight frequency domain loss during the super-resolution network training process.
[0008] The objective of the present invention is achieved through the following technical solutions:
[0009] The low resolution and high resolution mentioned in the present invention refer to the relative relationship that the resolution of a low resolution image is lower than that of a high resolution image.
[0010] The present invention comprises the following steps:
[0011] S1: Use frequency domain data enhancement method to perform data enhancement processing on real-world degraded images and corresponding high-resolution images to obtain enhanced image sets;
[0012] S2: After further data enhancement of the enhanced image set using the method of enhancing the ringing effect of degraded images, an input image set is obtained, and the input image set and the corresponding high-resolution images constitute a training set;
[0013] S3: input the training set into the super-resolution network for training to obtain a trained super-resolution network;
[0014] S4: Input the real-world degraded image to be reconstructed into the trained super-resolution network for prediction to obtain a reconstructed high-resolution image.
[0015] The S1 is specifically:
[0016] S1.1: Randomly select 50% of the real-world degraded images and the corresponding high-resolution images for data enhancement. Specifically: first, use the interpolation function Resize function to scale the real-world degraded images in 50% of the real-world degraded images and the corresponding high-resolution images, so that the image size of the real-world degraded images is consistent with the image size of the corresponding high-resolution images, and obtain the scaled real-world degraded images; then use the fast Fourier transform to process the scaled real-world degraded images and the corresponding high-resolution images, respectively, to obtain the frequency domain degraded image F_LR and the frequency domain high-resolution image F_HR;
[0017] S1.2: Randomly select half of the frequency domain degraded image F_LR and the frequency domain high-resolution image F_HR, use the phase function Angle to process the current half of the frequency domain high-resolution image F_HR to obtain the frequency domain high-resolution phase image XF_HR, use the amplitude function Abs to process the current half of the frequency domain degraded image F_LR to obtain the frequency domain degraded amplitude image FF_LR, then use the inverse fast Fourier transform to reconstruct the frequency domain degraded amplitude image FF_LR and the frequency domain high-resolution phase image XF_HR in the frequency domain to obtain the phase enhanced degraded image Ph_LR;
[0018] S1.3: The other half of the frequency domain high-resolution image F_HR is processed by the amplitude function Abs to obtain the frequency domain high-resolution amplitude image FF_HR, and the current half of the frequency domain degraded image F_LR is processed by the phase function Angle to obtain the frequency domain degraded phase image XF_LR, and then the frequency domain degraded phase image XF_LR and the frequency domain high-resolution amplitude image FF_HR are reconstructed in the frequency domain by the inverse fast Fourier transform to obtain the spectrum enhanced degraded image Am_LR;
[0019] S1.4: The remaining 50% of the real-world degraded images, the phase-enhanced degraded images Ph_LR, and the spectrum-enhanced degraded images Am_LR constitute an enhanced image set.
[0020] The S2 is specifically:
[0021] S2.1: Randomly select an integer from [7,9,11,13,15] as the size kernel_size of the ringing degenerate kernel Sinc_kernel, and then randomly generate a number from the uniform distribution interval [0.2π, 0.5π] as the cutoff frequency ν of Sinc_kernel c , based on the size kernel_size and cutoff frequency ν of the ringing degenerate kernel Sinc_kernel c , use the following formula to set the pixel value of each pixel in the ringing degradation kernel Sinc_kernel:
[0022]
[0023] Among them, i and j represent the horizontal and vertical coordinates of each pixel in the ringing degradation kernel Sinc_kernel, respectively, i, j∈[Smin, Smax], Smin=roundup(-kernel_size / 2), roundup() is the upward rounding function, Smax=rounddown(kernel_size / 2), rounddown() is the downward rounding function, J1() is the first-order Bessel function, and Sinc_kernel(i, j) is the pixel value of the pixel with coordinates (i, j).
[0024] S2.2: Use the ringing degradation kernel Sinc_kernel to convolve the enhanced image set to obtain the input image set.
[0025] In S3, the loss function during super-resolution network training is the weighted sum of content loss and frequency domain loss.
[0026] The calculation formula of the content loss is as follows:
[0027] Loss11=E||SRNet(In_img)-HR)||1
[0028] Among them, Loss11 is the content loss value, || ||1 represents the absolute value operation, SRNet(In_img) represents the reconstructed super-resolution image output by the super-resolution network, HR represents the high-resolution image corresponding to the input image In_img, and E represents the mean operation.
[0029] The frequency domain loss includes amplitude loss and phase loss;
[0030] When the input image is a real-world degraded image LR obtained by enhancing the degraded image ringing effect method, the calculation formula of the frequency domain loss is as follows:
[0031] FFT loss =FFT loss1 +FFT loss2
[0032] When the input image is the spectrum enhanced degraded image Am_LR obtained by enhancing the degraded image ringing effect method, the calculation formula of its frequency domain loss is as follows:
[0033] FFT loss =FFT loss1 +4*FFT loss2
[0034] When the input image is a phase-enhanced degraded image Ph_LR obtained by enhancing the degraded image ringing effect method, the calculation formula of its frequency domain loss is as follows:
[0035] FFT loss =4*FFT loss1 +FFT loss2
[0036] FFT loss1 =E||Abs(FFT(SRNet(In_img)))-Abs(FFT(HR))||1
[0037] FFT loss2 =E||Angle(FFT(FFT(SRNet(In_img)))-Angle(FFT(HR))||1
[0038] Among them, FFT loss is the frequency domain loss value, FFT loss1 Indicates the amplitude loss value, FFT loss2Represents the phase loss value, Abs() represents the amplitude function, FFT() represents the fast Fourier transform function, Angle() represents the phase function, || ||1 represents the absolute value operation, HR represents the high-resolution image corresponding to the input image In_img, and SRNet(In_img) represents the reconstructed super-resolution image output by the super-resolution network.
[0039] Beneficial effects of the present invention:
[0040] The innovation of the present invention lies in that a universal enhancement method is constructed to improve the performance of super-resolution networks in the real world. The main innovation is that, firstly, frequency domain data enhancement is performed on real-world degraded image LR and high-resolution image HR data pairs, thereby improving the super-resolution network's ability to analyze frequency spectrum and phase spectrum; then a method for enhancing the ringing effect of degraded images is proposed, and a ringing degradation kernel Sinc_kernel is used to convolve the image to simulate the ringing effect that will occur when existing super-resolution networks process real-world degraded images; finally, a frequency domain Loss function FFT with dynamic weights is used. loss , which enables the super-resolution network to have stronger reconstruction capabilities for the spectrum and phase of the input image.
[0041] The present invention can reduce the ringing effect produced by existing super-resolution networks when processing real-world degraded images, can produce clearer structures, natural effects, good visual quality, greatly improve the objective index performance and visual sense, and improve the reconstruction performance of super-resolution algorithms in the real world. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is the overall framework diagram of the method of the present invention;
[0043] Figure 2 Schematic diagram of the frequency domain enhancement method in the method of the present invention;
[0044] Figure 3 Schematic diagram of the dynamic adjustment strategy of frequency domain loss in the method of the present invention;
[0045] Figure 4 This is a comparison chart of the 4× super-resolution effect of an image in the test set of the RealSR dataset in an embodiment of the present invention and other methods.
[0046] Figure 5 This is a comparison chart of the 4× super-resolution effect of another image in the test set of the RealSR dataset in an embodiment of the present invention and other methods. DETAILED DESCRIPTION
[0047] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0048] The embodiments and implementation processes fully implemented according to the inventive content of the present invention are as follows:
[0049] Construct real-world degraded image LR and high-resolution image HR data pairs, including training and test data sets. First, construct the training data set, download the data set RealSR, decompress it, use the 4 times training images in the folder Canon and the 4 times training images in the folder Nikon, cut the high-resolution and low-resolution image data pairs into image blocks with a length and width of 300 pixels, save the cropped real-world degraded image LR and high-resolution image HR data pairs to the train_LR and train_HR folders respectively, and the training set is constructed; use the 4 times test images in the folder Canon and the 4 times test images in the folder Nikon, cut the high-resolution and low-resolution image data pairs into image blocks with a length of 480 and a width of 320 pixels, save the cropped real-world degraded image LR and high-resolution image HR data pairs to the test_LR and test_HR folders respectively, and the test set is constructed.
[0050] like Figure 1 As shown, the present invention comprises the following steps:
[0051] S1: Use the frequency domain data enhancement method to perform data enhancement processing on the real-world degraded images and the corresponding high-resolution images in the known data set to obtain the enhanced image En_img set;
[0052] like Figure 2 As shown, S1 is specifically:
[0053] S1.1: Randomly select 50% of the real-world degraded images and the corresponding high-resolution images for data enhancement. Specifically: first, use the interpolation function Resize function to scale the real-world degraded images in 50% of the real-world degraded images and the corresponding high-resolution images, so that the image size of the real-world degraded images is consistent with the image size of the corresponding high-resolution images, and obtain the scaled real-world degraded images; then use fast Fourier transform (fastFourier transform: FFT) to process the scaled real-world degraded images and the corresponding high-resolution images, respectively, to obtain frequency domain degraded images F_LR and frequency domain high-resolution images F_HR;
[0054] S1.2: Randomly select half of the frequency domain degraded image F_LR and the frequency domain high-resolution image F_HR, use the phase function Angle to process the current half of the frequency domain high-resolution image F_HR to obtain the frequency domain high-resolution phase image XF_HR, use the amplitude function Abs to process the current half of the frequency domain degraded image F_LR to obtain the frequency domain degraded amplitude image FF_LR, then use the inverse fast Fourier transform (IFFT) to reconstruct the frequency domain degraded amplitude image FF_LR and the frequency domain high-resolution phase image XF_HR in the frequency domain to obtain the phase enhanced degraded image Ph_LR;
[0055] S1.3: The other half of the frequency domain high-resolution image F_HR is processed by the amplitude function Abs to obtain the frequency domain high-resolution amplitude image FF_HR, and the current half of the frequency domain degraded image F_LR is processed by the phase function Angle to obtain the frequency domain degraded phase image XF_LR, and then the frequency domain degraded phase image XF_LR and the frequency domain high-resolution amplitude image FF_HR are reconstructed in the frequency domain by the inverse fast Fourier transform to obtain the spectrum enhanced degraded image Am_LR;
[0056] S1.4: The remaining 50% of the real-world degraded images, the phase-enhanced degraded images Ph_LR and the spectrum-enhanced degraded images Am_LR constitute an enhanced image set, and each enhanced image in the enhanced image set has a high-resolution image matching it.
[0057] S2: After further data enhancement of the enhanced image set using the method of enhancing the ringing effect of degraded images, the input image set In_img is obtained, and the input image set and the corresponding high-resolution image constitute the training set;
[0058] S2 is specifically:
[0059] S2.1: Randomly select an integer from [7,9,11,13,15] as the size kernel_size of the ringing degenerate kernel Sinc_kernel, and then randomly generate a number from the uniform distribution interval [0.2π,0.5π] as the cutoff frequency ν of Sinc_kernel c , based on the size kernel_size and cutoff frequency ν of the ringing degenerate kernel Sinc_kernel c , use the following formula to set the pixel value of each pixel in the ringing degradation kernel Sinc_kernel:
[0060]
[0061] Among them, i and j represent the horizontal and vertical coordinates of each pixel in the ringing degradation kernel Sinc_kernel, respectively, i, j∈[Smin, Smax], Smin=roundup(-kernel_size / 2), roundup() is the upward rounding function, Smax=rounddown(kernel_size / 2), rounddown() is the downward rounding function, J1() is the first-order Bessel function, and Sinc_kernel(i, j) is the pixel value of the pixel with coordinates (i, j).
[0062] S2.2: Use the ringing degradation kernel Sinc_kernel to perform convolution processing on each image in the enhanced image set to obtain each image in the input image set.
[0063] In the specific implementation, when reading training images, the batch size of the training images is 8. After reading, image data with a length and width of 128 are randomly selected from the original image data with a length and width of 300. When reading training images, the batch size of the training images is 1, and image pairs with a length of 480 and a width of 320 pixels are read without changing the original image size. Then, data enhancement is performed twice in sequence on the training images (no data enhancement is performed on the test images).
[0064] S3: input the training set into the super-resolution network for training to obtain a trained super-resolution network;
[0065] In S3, the loss function of super-resolution network training is the weighted sum of content loss and frequency domain loss, that is, Total loss =FFT loss +Loss11, of which Total loss is the loss function value during super-resolution network training, Loss11 is the content loss value, and FFT loss is the loss value in the frequency domain.
[0066] The calculation formula of content loss is as follows:
[0067] Loss11=E||SRNet(In_img)-HR)||1
[0068] Among them, Loss11 is the content loss value, || ||1 represents the absolute value operation, SRNet(In_img) represents the reconstructed super-resolution image output by the super-resolution network, HR represents the high-resolution image corresponding to the input image In_img, and E represents the mean operation.
[0069] like Figure 3As shown, the frequency domain loss includes amplitude loss and phase loss. When the input image is a real-world degraded image LR obtained by enhancing the degraded image ringing effect method, the calculation formula of the frequency domain loss is as follows:
[0070] FFT loss =FFT loss1 +FFT loss2
[0071] When the input image is the spectrum enhanced degraded image Am_LR obtained by enhancing the degraded image ringing effect method, the calculation formula of its frequency domain loss is as follows:
[0072] FFT loss =FFT loss1 +4*FFT loss2
[0073] When the input image is a phase-enhanced degraded image Ph_LR obtained by enhancing the degraded image ringing effect method, the calculation formula of its frequency domain loss is as follows:
[0074] FFT loss =4*FFT loss1 +FFT loss2
[0075] FFT loss1 =E||Abs(FFT(SRNet(In_img)))-Abs(FFT(HR))||1
[0076] FFT loss2 =E||Angle(FFT(FFT(SRNet(In_img)))-Angle(FFT(HR))||1
[0077] Among them, FFT loss is the frequency domain loss value, FFT loss1 Indicates the amplitude loss value, FFT loss2 Represents the phase loss value, Abs() represents the amplitude function, FFT() represents the fast Fourier transform function, and Angle() represents the phase function.
[0078] In the specific implementation, the public super-resolution network 1 CARN, super-resolution network 2 EDSR, and super-resolution network 3 RCAN are selected as basic super-resolution experimental models. The same training strategy and Loss function are used to train these three networks, and the super-resolution network is defined as SRNet.
[0079] S4: Input the real-world degraded image to be reconstructed into the trained super-resolution network for prediction to obtain a reconstructed high-resolution image.
[0080] In the specific implementation, in order to verify the generalization of the proposed method. First, the public super-resolution network 1 CARN, super-resolution network 2 EDSR, and super-resolution network 3 RCAN are selected to define blank super-resolution network 1 B_CARN, blank super-resolution network 2 B_EDSR, and blank super-resolution network 3 B_RCAN to form a blank control group. On the basis of the blank control group, the enhancement method proposed in this paper is used to define experimental super-resolution network 1 E_CARN, experimental super-resolution network 2 E_EDSR, and experimental super-resolution network 3 E_RCAN to form an experimental group. Then, the blank control group and the experimental group were used to process the real-world degraded image LR, and the blank super-resolution network 1 B_CARN, the blank super-resolution network 2 B_EDSR, and the blank super-resolution network 3 B_RCAN were used to process the real-world degraded image LR to obtain the blank control group result, that is, it was not processed by the enhancement method of the present invention; the experimental super-resolution network 1 E_CARN, the experimental super-resolution network 2 E_EDSR, and the experimental super-resolution network 3 E_RCAN were used to process the real-world degraded image LR to obtain the experimental control group result, that is, it was processed by the enhancement method of the present invention, and the objective evaluation results and visual effects of the blank control group and the experimental group with the same network structure were compared. Figure 4 and Figure 5 As shown, Figure 4 (a) is a partial image of "Nikon_009_LR4.png" in the Nikon test set. Figure 4 The (b1) is Figure 4 The local truth map of (a), Figure 4 (b2) is Figure 4 The local degradation graph of (a) is Figure 4 (c1)-(e1) are the reconstruction images of the local degradation images after the blank super-resolution network 1 B_CARN, the blank super-resolution network 2 B_EDSR, and the blank control group super-resolution network 3 B_RCAN. Figure 4 (c2)-(e2) are the reconstruction images of the local degradation image after passing through the experimental super-resolution network 1 B_CARN, the experimental super-resolution network 2 B_EDSR, and the experimental control group super-resolution network 3 B_RCAN. Figure 5 (a) is a partial image of "Nikon_007_LR4.png" in the Nikon test set. Figure 5 The (b1) is Figure 5 The local truth map of (a), Figure 5 (b2) is Figure 5 The local degradation graph of (a) is Figure 5 (c1)-(e1) are the reconstruction images of the local degradation images after the blank super-resolution network 1 B_CARN, the blank super-resolution network 2 B_EDSR, and the blank control group super-resolution network 3 B_RCAN. Figure 5 (c2)-(e2) are respectively the reconstruction images of the local degradation images after the experimental super-resolution network 1 B_CARN, the experimental super-resolution network 2 B_EDSR, and the experimental control group super-resolution network 3 B_RCAN. Comparing the processing results of the blank control group super-resolution network and the experimental super-resolution network for the real-world degraded images, the present invention can enhance the reconstruction ability of the existing super-resolution network for the real-world degraded images, restore a clearer structure, greatly reduce the ringing associated with the reconstruction process, and the effect is natural.
[0081] Table 1 is a comparison of objective evaluation indicators of the present invention and other super-resolution methods on 4× real-world degraded images. The higher the PSNR, the better the super-resolution effect. From the table, it can be seen that through the enhancement method of the present invention, the existing super-resolution networks CARN, EDSR, and RACN have greatly improved the performance in restoring real-world degraded images LR, and the models in the experimental group have achieved a large degree of transcendence. The present invention can widely enhance the ability of existing super-resolution algorithms to restore real-world degraded images. This shows that the present invention can enable existing super-resolution network algorithms to improve their ability to reconstruct real-world degraded images and that this invention has the characteristics of being common to existing super-resolution networks, proving the effectiveness of the present invention in promoting the application of existing super-resolution networks in the field of real-world single-frame image super-resolution.
[0082] Table 1
[0083]
[0084] Experimental results demonstrate that the present invention can generally enhance the reconstruction capability of existing super-resolution algorithms for real-world degradation.
[0085] The present invention greatly improves the problem of poor resolution of existing super-resolution algorithms for real-world degraded images by proposing a universal enhancement method. When the complexity of the original model remains unchanged, the high-resolution image reconstructed by the super-resolution algorithm after the enhancement method has a clear structure and a natural effect. The present invention can be plug-and-play, which is of great significance for the application of single-frame image super-resolution algorithms in real-world scenarios.
Claims
1. A general real-world single-frame image super-resolution enhancement method, characterized in that: The following steps are involved: S1: Use frequency domain data enhancement method to perform data enhancement processing on real-world degraded images and corresponding high-resolution images to obtain enhanced image sets; S2: After further data enhancement of the enhanced image set using the method of enhancing the ringing effect of degraded images, an input image set is obtained, and the input image set and the corresponding high-resolution images constitute a training set; S3: input the training set into the super-resolution network for training to obtain a trained super-resolution network; S4: Input the real-world degraded image to be reconstructed into the trained super-resolution network for prediction to obtain a reconstructed high-resolution image; The S1 is specifically: S1.1: Randomly select 50% of the real-world degraded images and the corresponding high-resolution images for data enhancement. Specifically: first, use the interpolation function Resize function to scale the real-world degraded images in 50% of the real-world degraded images and the corresponding high-resolution images, so that the image size of the real-world degraded images is consistent with the image size of the corresponding high-resolution images, and obtain the scaled real-world degraded images; then use the fast Fourier transform to process the scaled real-world degraded images and the corresponding high-resolution images, respectively, to obtain the frequency domain degraded image F_LR and the frequency domain high-resolution image F_HR; S1.2: Randomly select half of the frequency domain degraded image F_LR and the frequency domain high-resolution image F_HR, use the phase function Angle to process the current half of the frequency domain high-resolution image F_HR to obtain the frequency domain high-resolution phase image XF_HR, use the amplitude function Abs to process the current half of the frequency domain degraded image F_LR to obtain the frequency domain degraded amplitude image FF_LR, then use the inverse fast Fourier transform to reconstruct the frequency domain degraded amplitude image FF_LR and the frequency domain high-resolution phase image XF_HR in the frequency domain to obtain the phase enhanced degraded image Ph_LR; S1.3: The other half of the frequency domain high-resolution image F_HR is processed by the amplitude function Abs to obtain the frequency domain high-resolution amplitude image FF_HR, and the current half of the frequency domain degraded image F_LR is processed by the phase function Angle to obtain the frequency domain degraded phase image XF_LR, and then the frequency domain degraded phase image XF_LR and the frequency domain high-resolution amplitude image FF_HR are reconstructed in the frequency domain by the inverse fast Fourier transform to obtain the spectrum enhanced degraded image Am_LR; S1.4: The remaining 50% of the real-world degraded images, the phase-enhanced degraded images Ph_LR, and the spectrum-enhanced degraded images Am_LR constitute an enhanced image set; The S2 is specifically: S2.1: Randomly select an integer from [7,9,11,13,15] as the size kernel_size of the ringing degenerate kernel Sinc_kernel, and then randomly generate a number from the uniform distribution interval [0.2π,0.5π] as the cutoff frequency v of Sinc_kernel c , based on the size kernel_size and cutoff frequency v of the ringing degenerate kernel Sinc_kernel c , use the following formula to set the pixel value of each pixel in the ringing degradation kernel Sinc_kernel: Wherein, i and j represent the horizontal and vertical coordinates of each pixel in the ringing degradation kernel Sinc_kernel, i, j∈[Smin, Smax], Smin=roundup(-kernel_size / 2), roundup() is the upward rounding function, Smax=rounddown(kernel_size / 2), rounddown() is the downward rounding function, J1() is the first-order Bessel function, and Sinc_kernel(i,j) is the pixel value of the pixel with coordinates (i,j); S2.2: Convolution is performed on the enhanced image set using the ringing degradation kernel Sinc_kernel to obtain the input image set; In S3, the loss function during super-resolution network training is the weighted sum of content loss and frequency domain loss; The calculation formula of the content loss is as follows: Loss11=E||SRNet(In_img)-HR)||1 Among them, Loss11 is the content loss value, || ||1 represents the absolute value operation, SRNet(In_img) represents the reconstructed super-resolution image output by the super-resolution network, HR represents the high-resolution image corresponding to the input image In_img, and E represents the mean operation; The frequency domain loss includes amplitude loss and phase loss; When the input image is a real-world degraded image LR obtained by enhancing the degraded image ringing effect method, the calculation formula of the frequency domain loss is as follows: FFT loss =FFT loss1 +FFT loss2 When the input image is the spectrum enhanced degraded image Am_LR obtained by enhancing the degraded image ringing effect method, the calculation formula of its frequency domain loss is as follows: FFT loss =FFT loss1 +4*FFT loss2 When the input image is a phase-enhanced degraded image Ph_LR obtained by enhancing the degraded image ringing effect method, the calculation formula of its frequency domain loss is as follows: FFT loss =4*FFT loss1 +FFT loss2 FFT loss1 =E||Abs(FFT(SRNet(In_img)))-Abs(FFT(HR))||1 FFT loss =E||Angle(FFT(FFT(SRNet(In_img)))-angle(FFT(HR))||1 Among them, FFT loss is the frequency domain loss value, FFT loss1 Indicates the amplitude loss value, FFT loss2 Represents the phase loss value, Abs() represents the amplitude function, FFT() represents the fast Fourier transform function, Angle() represents the phase function, || ||1 represents the absolute value operation, HR represents the high-resolution image corresponding to the input image In_img, and SRNet(In_img) represents the reconstructed super-resolution image output by the super-resolution network.
