An image super-resolution reconstruction system based on three parallel residual networks

Through a system based on three parallel residual networks, PRB blocks and GRU networks are used to retain image information, solving the problem of loss of image details caused by the increase in the depth of convolutional neural networks, and achieving more efficient image super-resolution reconstruction.

CN114820324BActive Publication Date: 2024-09-17HENAN CHUITIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210544551.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-19
Publication Date
2024-09-17
Estimated Expiration
2042-05-19

AI Technical Summary

Technical Problem

During the image super-resolution reconstruction process, the convolutional neural network easily loses the detailed information of the image as the depth increases.

Method used

A system based on three parallel residual networks is adopted, including a shallow feature extraction module, a deep feature extraction module and an image reconstruction module. It retains historical input information through PRB blocks and GRU networks, reduces the amount of parameter calculations and obtains low-frequency and high-frequency information.

Benefits of technology

It effectively reduces the loss of image details, improves the image reconstruction effect, and reduces the calculation amount of the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114820324B
    Figure CN114820324B
Patent Text Reader

Abstract

The present invention proposes an image super-resolution reconstruction system based on a three-parallel residual network, which includes a shallow feature extraction module, a deep feature extraction module, and an image reconstruction module; the output of the shallow feature extraction module is used as the input of the deep feature extraction module, and the output of the deep feature extraction module is used as the input of the image reconstruction module. The beneficial effects of the present invention are as follows: 1) The present invention adopts an even-jump connection method to reduce the amount of calculation of the overall parameters of the residual network; 2) The present invention adopts three parallel convolutional layers in PRB, which allows the network to simultaneously obtain low-frequency and high-frequency information; 3) The present invention uses a GRU network to retain historical input information, thereby reducing the loss of image details.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses an image super-resolution reconstruction system based on three parallel residual networks, belonging to the technical field of image super-resolution reconstruction. Background Art

[0002] Image super-resolution reconstruction: Image super-resolution reconstruction technology uses a group of low-quality, low-resolution images to generate a single high-quality, high-resolution image. In the field of computer vision, image super-resolution reconstruction technology has the potential to transform images from the detection level to the recognition level, or further to the detailed identification level. Image super-resolution reconstruction technology can improve the recognition ability and accuracy of images, and can achieve focused analysis of targets, thereby obtaining images with higher spatial resolution in the area of ​​interest, without having to directly use the configuration of high spatial resolution images with huge data volumes.

[0003] Convolutional Neural Network (CNN) is a feedforward neural network whose artificial neurons can respond to surrounding units within a certain coverage area and performs well in large image processing. Currently, convolutional neural networks are widely used in the field of image super-resolution reconstruction technology. However, as the depth of convolutional neural networks continues to increase, when reconstructing image super-resolution, it is easy to lose image detail information during the training process of convolutional neural networks.

[0004] The residual network is a convolutional neural network proposed by four scholars from Microsoft Research. It won the image classification and object recognition in the 2015 ImageNet Large Scale Visual Recognition Challenge (ILSVRC). The residual network is easy to optimize and can improve accuracy by increasing the depth. The residual block inside it uses skip connections to alleviate the gradient vanishing problem caused by increasing the depth in deep neural networks. Summary of the invention

[0005] The present invention proposes an image super-resolution reconstruction system based on a three-parallel residual network, which aims to solve the problem that image details are easily lost during the image forward propagation process due to the increase in the depth of the convolutional neural network.

[0006] The technical solution of the present invention is: an image super-resolution reconstruction system based on a three-parallel residual network, the system comprising a shallow feature extraction module, a deep feature extraction module, and an image reconstruction module; the output of the shallow feature extraction module serves as the input of the deep feature extraction module, and the output of the deep feature extraction module serves as the input of the image reconstruction module.

[0007] Furthermore, the shallow feature extraction module includes a first convolutional layer; the first convolutional layer is specifically as shown in formula (1):

[0008] (1);

[0009] in, represents the input low-resolution image, represents the output of the shallow feature extraction module, represents the convolution operation, represents the weight of the filter, Indicates bias, Represents the activation function.

[0010] Furthermore, the convolution kernel size of the first convolution layer is 3×3, the input channel is 3, and the output channel is 64; the activation function adopts the ReLU function; the output of the shallow feature extraction module The fine-grained information includes pixel points extracted from an input low-resolution image, where the fine-grained information includes color, texture, and edge information of the image.

[0011] Furthermore, the deep feature extraction module includes PRB blocks, second convolutional layer, bottleneck layer; output of shallow feature extraction module exist During the transmission between two PRB blocks, the features obtained by the two PRB blocks are transmitted. Figure 1 At the same time, the feature map obtained by the even PRB block is element-wise summed with the feature map obtained by the previous PRB block as the output of the even PRB block. The output of the even PRB block is used as the input of the next PRB block. The output of the last PRB block is also output to the bottleneck layer after passing through the second convolutional layer.

[0012] Furthermore, the The number of PRB blocks is an odd number; wherein the output of each PRB block is shown in the following formula (3):

[0013] (3);

[0014] in, Indicates The role of a PRB block is: For the PRB block input, For the The output result of each PRB block is: .

[0015] Furthermore, the PRB block includes A convolution layer, B convolution layer, C convolution layer, D convolution layer, and GRU network; A convolution layer, B convolution layer, and C convolution layer are three parallel convolution layers, A convolution layer, B convolution layer, and C convolution layer respectively use different convolution kernels, and the number of input and output channels of A convolution layer, B convolution layer, and C convolution layer are the same; when working, A convolution layer, B convolution layer, and C convolution layer process the input separately and then connect them in series through Conact, and then use the convolution kernel of D convolution layer to perform channel compression to ensure that the number of output and input channels of each PRB block is consistent, and finally the final output is obtained through GRU network. , For the The output result of PRB blocks is: .

[0016] Furthermore, the convolution kernel size of the A convolution layer is 3×3, the convolution kernel size of the B convolution layer is 5×5, the convolution kernel size of the C convolution layer is 3×3, the number of input and output channels of the A convolution layer, the B convolution layer, and the C convolution layer are all 64; the convolution kernel size of the D convolution layer is 1×1; and the convolution kernel size of the second convolution layer is 3×3.

[0017] Furthermore, the In the PRB block PRB blocks ( ) is expressed as formula (4)-formula (8):

[0018] (4);

[0019] (5);

[0020] (6);

[0021] (7);

[0022] (8);

[0023] In the formula, Represents the activation function, which uses the ReLU function. is the weight, is the bias parameter, Represents a concatenation operation.

[0024] Furthermore, the GRU network includes an r gate and a z gate, wherein the r gate is used to control the degree of retention of previous data information in the current candidate set, and the z gate is used to control the degree of retention of previous information in the current information; at time t, the forward propagation formula of the GRU network is shown in formulas (9)-(12):

[0025] (9);

[0026] (10);

[0027] (11);

[0028] (12);

[0029] Where: and They are the input and corresponding output of the GRU network at time t; and are the activation vectors of the reset gate and update gate of the GRU unit at time t respectively; is the candidate set at time t, which retains the information at time t-1; and They are sigmoid activation function and hyperbolic tangent activation function respectively; , and These are coefficients to be trained.

[0030] Furthermore, the image reconstruction module includes a third convolutional layer; the workflow of the image reconstruction module includes the following:

[0031] 1. Use sub-pixel convolution to perform upsampling operation to obtain the first upsampling result, and perform bicubic interpolation upsampling on the original image to obtain the second upsampling result;

[0032] 2. Add the first upsampling result and the second upsampling result;

[0033] 3. Then, the third convolutional layer is used to convolve to obtain a mapping and generate a clear image HR; the convolution kernel size of the third convolutional layer is preferably 3×3;

[0034] The workflow of the image reconstruction module is expressed as shown in formulas (13)-(15):

[0035] (13);

[0036] (14);

[0037] (15);

[0038] In the formula, for The output result after the bottleneck layer is: It is also the input of sub-pixel convolution upsampling, represents the sub-pixel convolution upsampling operation, represents the bicubic interpolation upsampling operation, It means that the image reconstruction operation adds the first upsampling result and the second upsampling result and performs the third convolution operation. Represents the final clear, high-resolution image.

[0039] Beneficial effects of the present invention:

[0040] 1) The present invention adopts an even-jump connection method to reduce the amount of calculation of the overall parameters of the residual network;

[0041] 2) The present invention uses three parallel convolutional layers in PRB, which enables the network to obtain low-frequency and high-frequency information at the same time;

[0042] 3) The present invention uses the GRU network to retain historical input information, thereby reducing the loss of image details. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Attached Figure 1 It is a schematic diagram of the model structure of an image super-resolution reconstruction system based on three parallel residual networks of the present invention.

[0044] Attached Figure 2 It is a schematic diagram of the internal structure of PRB.

[0045] Attached Figure 3 This is a schematic diagram of the structure of GRU. DETAILED DESCRIPTION

[0046] An image super-resolution reconstruction system based on three parallel residual networks includes a shallow feature extraction module, a deep feature extraction module, and an image reconstruction module; the output of the shallow feature extraction module is used as the input of the deep feature extraction module, and the output of the deep feature extraction module is used as the input of the image reconstruction module.

[0047] The shallow feature extraction module includes a first convolutional layer (3×3); the first convolutional layer is specifically as shown in formula (1):

[0048] (1);

[0049] In formula (1), Represents the input LR (Low-Resolution) image, represents the output of the shallow feature extraction module, represents the convolution operation, represents the weight of the filter, Indicates bias, represents the activation function; the convolution kernel size of the first convolution layer is preferably 3×3, the input channel is preferably 3, and the output channel is preferably 64.

[0050] The output of the shallow feature extraction module The features extracted by the shallow feature extraction module are output to the deep feature extraction module. The output of the shallow feature extraction module It includes fine-grained information of pixel points extracted from the input LR image, and the fine-grained information includes information such as color, texture, and edge of the image.

[0051] The activation function adopts the ReLU function, and the mathematical expression of the ReLU function is as shown in formula (2):

[0052] (2);

[0053] in, Refers to the input independent variable.

[0054] The deep feature extraction module includes PRB (Three parallel residual blocks), second convolutional layer, bottleneck layer; output of shallow feature extraction module exist During the transmission between two PRB blocks, the features obtained by the two PRB blocks are transmitted. Figure 1 At the same time, the feature map obtained by the even PRB block is element-wise summed with the feature map obtained by the previous PRB block as the output of the even PRB block, and the output of the even PRB block is used as the input of the next PRB block. The output of each PRB block) is also output to the bottleneck layer after passing through the second convolutional layer; the feature map is the result generated by the PRB block, and each PRB block will generate a feature map, but the feature map output by every two PRB blocks is jumped and connected to the bottleneck layer; the PRB blocks are preferably an odd number; The number of PRB blocks is preferably 19; the convolution kernel size of the second convolution layer is preferably 3×3; wherein the output of each PRB block is shown in the following formula (3):

[0055] (3);

[0056] In formula (3), Indicates The role of a PRB block is: For the PRB block input, For the The output result of each PRB block is: .

[0057] The PRB block includes A convolution layer, B convolution layer, C convolution layer, D convolution layer, and GRU network; A convolution layer, B convolution layer, and C convolution layer are three parallel convolution layers, A convolution layer, B convolution layer, and C convolution layer respectively use different convolution kernels, and the number of input and output channels of A convolution layer, B convolution layer, and C convolution layer are the same; when working, A convolution layer, B convolution layer, and C convolution layer process the input respectively and then connect them in series through Conact, and then use the convolution kernel of D convolution layer to perform channel compression to ensure that the number of output and input channels of each PRB block is consistent, and finally the final output is obtained through the GRU network. , For the The output result of PRB blocks is: .

[0058] Preferably, the convolution kernel size of convolution layer A is 3×3, the convolution kernel size of convolution layer B is 5×5, the convolution kernel size of convolution layer C is 3×3, and the number of input and output channels of convolution layer A, convolution layer B, and convolution layer C are preferably 64; preferably, the convolution kernel size of convolution layer D is 1×1.

[0059] The structure of the PRB block is shown in the attached figure Figure 2 As shown in the figure: A convolution layer, B convolution layer, C convolution layer, and D convolution layer can automatically learn the weights of the corresponding convolution kernels during the network training process to extract local features of the image; the local features of the image include spots and corners; therefore, selecting the size of the convolution kernel is crucial for feature extraction. A small convolution kernel can extract short edges or low-frequency features, but cannot extract high-frequency details at the same time. Therefore, three parallel convolution layers are used in the PRB block, and each convolution layer uses a different convolution kernel to ensure that the low-frequency and high-frequency details of the image are obtained.

[0060] Said In the PRB block PRB blocks ( ) is expressed as formula (4)-formula (8):

[0061] (4);

[0062] (5);

[0063] (6);

[0064] (7);

[0065] (8);

[0066] In the formula, Represents the activation function, which uses the ReLU function. is the weight, is the bias parameter, Represents a concatenation operation, where the number of input and output channels of each convolution layer is 64, and then it is concatenated through Conact to obtain a feature map with 192 channels. Then, a convolution kernel with a size of 1×1 is used for channel compression to ensure that the number of input and output channels of each PRB block is consistent. Finally, the final output is obtained through the GRU network. , the GRU network can retain historical input information and reduce the loss of image details during training; the structure diagram of the GRU network is shown in the attached Figure 3 shown.

[0067] The GRU network includes an r gate and a z gate. The r gate is used to control the degree of retention of previous data information in the current candidate set, and the z gate is used to control the degree of retention of previous information in the current information. At time t, the forward propagation formula of the GRU network is shown in formulas (9)-(12):

[0068] (9);

[0069] (10);

[0070] (11);

[0071] (12);

[0072] Where: and They are the input and corresponding output of the GRU network at time t; and are the activation vectors of the reset gate and update gate of the GRU unit at time t; is the candidate set at time t, which retains the information at time t-1; and They are sigmoid activation function and hyperbolic tangent activation function respectively; , and They are all coefficients to be trained, also called weight parameters.

[0073] The image reconstruction module includes a third convolutional layer; the workflow of the image reconstruction module includes the following:

[0074] 1. Use sub-pixel convolution to perform upsampling operation to obtain the first upsampling result, and perform bicubic interpolation upsampling on the original image to obtain the second upsampling result;

[0075] 2. Add the first upsampling result and the second upsampling result;

[0076] 3. Then, the third convolutional layer is used to convolve to obtain a mapping and generate a clear image HR; the convolution kernel size of the third convolutional layer is preferably 3×3.

[0077] The workflow of the image reconstruction module is expressed as shown in formulas (13)-(15):

[0078] (13);

[0079] (14);

[0080] (15);

[0081] In the formula, for The output result after the bottleneck layer is: It is also the input of sub-pixel convolution upsampling, represents the sub-pixel convolution upsampling operation, represents the bicubic interpolation upsampling operation, It means that the image reconstruction operation adds the first upsampling result and the second upsampling result and performs the third convolution operation. It represents the clear HR (High-Resolution) image finally generated; the image reconstruction operation is to add the first upsampling result and the second upsampling result and perform a third convolution operation.

[0082] The present invention applies convolution layers with different convolution kernel sizes in the same PRB block, which can ensure the acquisition of low-frequency and high-frequency details of the source image and improve the reconstruction effect; The PRB block part uses even-hop connected residual blocks. The A convolution layer, B convolution layer, and C convolution layer in each PRB block are three parallel convolution layers. The three parallel convolution layers in each PRB block form a three-parallel residual network, which greatly reduces the computational complexity of the network.

Claims

1. An image super-resolution reconstruction system based on three parallel residual networks, characterized by It includes a shallow feature extraction module, a deep feature extraction module, and an image reconstruction module; the output of the shallow feature extraction module is used as the input of the deep feature extraction module, and the output of the deep feature extraction module is used as the input of the image reconstruction module; The deep feature extraction module includes n PRB blocks, a second convolutional layer, and a bottleneck layer; during the transmission of the output F0 of the shallow feature extraction module between the n PRB blocks, each time two PRB blocks are passed through, the feature maps obtained by the two PRB blocks are directly output to the bottleneck layer together, and at the same time, the feature map obtained by the even PRB block and the feature map obtained by the previous PRB block are element-wise summed as the output of the even PRB block, the output of the even PRB block is used as the input of the next PRB block, and the output of the last PRB block is also output to the bottleneck layer after passing through the second convolutional layer.

2. The image super-resolution reconstruction system based on three parallel residual networks according to claim 1, characterized in that The shallow feature extraction module includes a first convolutional layer; the first convolutional layer is specifically as shown in formula (1): F0=H SF (I LR )=σ(ω s ×I LR +B s ) (1); Among them, I LR represents the input low-resolution image, F0 represents the output of the shallow feature extraction module, and H SF (.) represents the convolution operation, ω s represents the weight of the filter, B s represents the bias, and σ represents the activation function.

3. The image super-resolution reconstruction system based on three parallel residual networks according to claim 2 is characterized in that The convolution kernel size of the first convolution layer is 3×3, the input channel is 3, and the output channel is 64; the activation function adopts the ReLU function; the output F0 of the shallow feature extraction module includes fine-grained information of pixel points extracted from the input low-resolution image, and the fine-grained information includes color, texture, and edge information of the image.

4. The image super-resolution reconstruction system based on three parallel residual networks according to claim 1, characterized in that The n PRB blocks are an odd number; wherein the output of each PRB block is shown in the following formula (3): Among them, PRB i Indicates the role of the i-th PRB block, F i-1 is the input of the ith PRB block, F i-1 is the output result of the i-th PRB block, 1≤i≤n.

5. The image super-resolution reconstruction system based on three parallel residual networks according to claim 1, characterized in that The PRB block includes A convolution layer, B convolution layer, C convolution layer, D convolution layer, and GRU network; A convolution layer, B convolution layer, and C convolution layer are three parallel convolution layers, A convolution layer, B convolution layer, and C convolution layer respectively use different convolution kernels, and the number of input and output channels of A convolution layer, B convolution layer, and C convolution layer are the same; when working, A convolution layer, B convolution layer, and C convolution layer process the input respectively and then connect them in series through Conact, and then use the convolution kernel of D convolution layer to perform channel compression to ensure that the number of output and input channels of each PRB block is consistent, and finally the final output F is obtained through GRU network. i , F i is the output result of the i-th PRB block, 1≤i≤n.

6. The image super-resolution reconstruction system based on three parallel residual networks according to claim 5, characterized in that The convolution kernel size of the A convolution layer is 3×3, the convolution kernel size of the B convolution layer is 5×5, the convolution kernel size of the C convolution layer is 3×3, the number of input and output channels of the A convolution layer, the B convolution layer, and the C convolution layer are all 64; the convolution kernel size of the D convolution layer is 1×1; the convolution kernel size of the second convolution layer is 3×3.

7. The image super-resolution reconstruction system based on three parallel residual networks according to claim 1, characterized in that The specific operation of the i-th PRB block (1≤i≤n) among the n PRB blocks is expressed as formula (4) to formula (8): S=σ(ω 3×3 *F i-1 +b) (4); P=σ(ω 5×5 *F i-1 +b) (5); U=σ[ω 5×5 *(oh 3×3 *F i-1 )+b] (6); F’ i =ω 1×1 *{S,P,U}+b+F i-1 (7); F i =GRU(F’ i ) (8); In the formula, σ represents the activation function, the activation function adopts the ReLU function, ω is the weight, b is the bias parameter, and {S, P, U} represents the series operation.

8. The image super-resolution reconstruction system based on three parallel residual networks according to claim 5, characterized in that The GRU network includes an r gate and a z gate. The r gate is used to control the degree of retention of previous data information in the current candidate set, and the z gate is used to control the degree of retention of previous information in the current information. At time t, the forward propagation formula of the GRU network is shown in formulas (9)-(12): r t =σ(W r ·[h t-1 ,x t ]) (9); z t =σ(W z ·[h t-1 ,x t ]) (10); Where: x t With h t are the input and corresponding output of the GRU network at time t; r t and z t are the activation vectors of the reset gate and update gate of the GRU unit at time t respectively; is the candidate set at time t, which retains the information at time t-1; σ and tanh are the sigmoid activation function and the hyperbolic tangent activation function respectively; W r , W z and These are coefficients to be trained.

9. The image super-resolution reconstruction system based on three parallel residual networks according to claim 1, characterized in that The image reconstruction module includes a third convolutional layer; the workflow of the image reconstruction module includes the following:

1. Use sub-pixel convolution to perform upsampling operation to obtain the first upsampling result, and perform bicubic interpolation upsampling on the original image to obtain the second upsampling result; 2. Add the first upsampling result and the second upsampling result; 3. Then the third convolutional layer is used to convolve and map the image to generate a clear HR image. The workflow of the image reconstruction module is expressed as shown in formulas (13)-(15): In the formula, F BL F n The output after the bottleneck layer, F BL It is also the input of sub-pixel convolution upsampling, H UP represents the sub-pixel convolution upsampling operation, H bic represents the bicubic interpolation upsampling operation, H RE Indicates that the image reconstruction operation adds the first upsampling result and the second upsampling result and performs the third convolution operation, F HR Represents the final clear, high-resolution image.