A multi-stage progressive image super-resolution method

Through a multi-stage progressive image super-resolution method, using multi-scale feature extraction and channel attention mechanism, combined with asymmetric convolution and atrous convolution, the problem of lack of correlation of image context features and neglect of high-frequency features is solved, and the problem of Better image super-resolution effects.

CN114066727BActive Publication Date: 2024-09-06HUAQIAO UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110858949.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-28
Publication Date
2024-09-06
Estimated Expiration
2041-07-28

AI Technical Summary

Technical Problem

In existing image super-resolution methods, there are problems such as the lack of correlation between image contextual features and the neglect of high-frequency features of the reconstructed image itself, resulting in poor reconstruction results.

Method used

Using a multi-stage progressive image super-resolution method, through the multi-scale feature extraction module, channel attention mechanism, residual feature fusion module and refinement module, combined with asymmetric convolution and atrous convolution, the feature extraction and fusion capabilities are enhanced. And use the Charbonnier Loss function to optimize the reconstructed image.

Benefits of technology

It significantly improves the effect of image super-resolution reconstruction, improves image detail information and quality, and obtains better subjective vision and objective evaluation indicators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114066727B
    Figure CN114066727B
Patent Text Reader

Abstract

The present invention discloses a multi-stage progressive image super-resolution method, comprising: using a multi-scale feature extraction module to extract image features to be reconstructed, and introducing a channel attention module to assign weights to different channel features, thereby enhancing the performance of important channel features; using a residual feature fusion mechanism to make full use of the relevance of image context features to obtain a reconstructed image in the first stage; using a refinement module to optimize the reconstructed image obtained in the first stage, thereby obtaining a more refined reconstructed image; and using a loss function for training to further enhance the super-resolution effect of the model. The method of the present invention effectively improves the effect of image super-resolution reconstruction, and obtains better results in terms of both subjective visual and objective evaluation indicators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an image super-resolution method based on deep learning, and in particular to a multi-stage progressive image super-resolution method. Background Art

[0002] Image super-resolution reconstruction is one of the key technologies in the field of computer vision. Its purpose is to reconstruct a high-resolution (HR) image with more details from one or more existing low-resolution (LR) images. It has wide application value in many fields, such as medical imaging, video surveillance, remote sensing images, etc. Since the higher the spatial resolution means the richer the details of the image, the stronger the ability to express the information, which is conducive to the subsequent image processing, analysis and understanding. However, in the actual imaging process, due to the presence of degradation factors such as atmospheric jitter, optical blur, motion blur, undersampling and noise, there is an inevitable deviation between the image obtained by the imaging system and the real image, and it cannot meet the requirements of high resolution. Therefore, how to restore the original appearance of the image as much as possible or further improve the resolution and clarity of the image based on the existing imaging devices and the current observed images has always been a hot issue in image science research and engineering applications. Compared with traditional interpolation-based, reconstruction-based and shallow learning-based methods, the image super-resolution reconstruction method based on deep learning has greatly improved the reconstruction effect. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a multi-stage progressive image super-resolution method to overcome the problem of lack of correlation between image context features and the problem of ignoring the high-frequency features of the reconstructed image itself in existing image super-resolution methods, thereby improving the reconstruction effect of image super-resolution.

[0004] In order to achieve the above object, the solution of the present invention is to propose a multi-stage progressive image super-resolution method, which comprises the following steps:

[0005] Step 1: Use the multi-scale feature extraction module to extract features:

[0006] (1) Multi-scale feature extraction module

[0007] The multi-scale feature extraction block (MSFEB) designed by the present invention includes 5 basic feature extraction (BFE) modules and a channel attention (CA) module, wherein each BFE module and the corresponding jump connection (weight value is λ) together form a sub-residual block, thereby effectively enhancing the correlation between context features. In order to adapt to the characteristics of different networks, the present invention further proposes two different MSFEB structures (MSFEB-I and MSFEB-II), whose BFE modules use the residual module (Residual Inception Block, RIB) composed of Inception and the residual module (Residual of Receptive Field Block, RRFB) composed of receptive fields.

[0008] Assumption F d-1 is the input of the d-th MSFEB, then the output F of the first sub-residual block of the d-th MSFEB d,1 , the output F of the Bth sub-residual block of the dth MSFEB d,B , and the output F of the dth MSFEB d It can be expressed by the following formulas:

[0009]

[0010]

[0011]

[0012] Among them, H BFE (·) and H CA (·) represent the operations corresponding to the BFE module and the CA module respectively; λ (·) Indicates the weight value.

[0013] (2) RIB and RRFB modules

[0014] For the image super-resolution task, the present invention proposes two multi-scale convolution units with parallel structures to extract features of different receptive fields to reconstruct richer image details, namely RIB and RRFB as described above. Specifically, convolution kernels of different sizes are first integrated into the network, such as 1×1, 3×3, and 5×5. However, considering that larger-scale convolution kernels will cause greater computational costs and increase time complexity, the present invention uses smaller-scale convolution kernels to replace large-scale convolution kernels to minimize the number of parameters. In the network design, only convolution kernels of 1×1 and 3×3 scales are used, while the convolution kernel of 5×5 scale is replaced by two cascaded convolution kernels of 3×3 scale. Therefore, the RIB module in MSFEB-I uses a multi-branch structure of convolution kernels of different scales. The convolution kernel scales on the three branches are: 1×1, 1×1 and 3×3, 1×1 and a group of cascaded 3×3, corresponding to different receptive fields, respectively, to learn features of more scales. Finally, the features from three different branches are fused to obtain more representative features.

[0015] In addition, asymmetric convolution can be used to replace conventional symmetric convolution. Under the premise of having the same convolution kernel scale, the asymmetric convolution kernel can not only learn more representative features than the symmetric convolution kernel, but also reduce the computational complexity without losing accuracy. At the same time, the receptive field of the human eye is a function of the eccentricity of the retinal center, and the size of the receptive field changes with the change of eccentricity, while the dilated convolution can better control the value of the eccentricity to achieve the purpose of adjusting the size of the receptive field. Therefore, the present invention uses asymmetric convolution and dilated convolution to improve the proposed RIB module to further enhance its feature extraction capability.

[0016] Therefore, the second multi-scale convolution module RRFB is improved from RIB. Specifically, a set of 1×3 and 3×1 asymmetric convolution structures are used to replace a 3×3 convolution kernel, and a hole convolution is introduced at the end of each branch structure to adjust the receptive field of the feature to further enhance the feature representation capability. Finally, the features obtained from each branch are fused to obtain more representative features.

[0017] Considering that asymmetric convolution is not suitable for being placed at the front end of the network, but is more suitable for being placed in the middle layer and its subsequent layers of the network to improve the feature extraction ability of the model, therefore, in the network design, the present invention will use RIB's MSFEB-I for feature extraction at the front end of the network, and will use RRFB's MSFEB-II for feature extraction at the back end of the network, so that the network can obtain more and more effective features.

[0018] It is worth noting that in order to make the extracted features have better discrimination ability, the present invention introduces residual structures in the RIB and RRFB modules respectively. By assigning weight β to the input features and then fusing them with the features extracted by the multi-scale structure, the output features of the RIB and RRFB modules are obtained.

[0019] (3) Channel Attention Module

[0020] In order to utilize the extracted features more effectively, the present invention introduces the channel attention mechanism into the proposed MSFEB module. Channel attention can be adaptively calibrated according to different channel features, give different attention to the features of different channels, enhance the channel information related to the features, and suppress invalid channel information, thereby improving the feature representation ability of the model to a certain extent. The mainstream channel attention mechanisms all use dimensionality reduction operations to extract different correlations between channel features. The present invention adopts an adaptive channel attention module to effectively avoid the adverse effects of dimensionality reduction operations that destroy the direct correlation between the channel and its weight. At the same time, the frequency signal trends of different images in the same convolutional layer are basically the same, and show strong local periodicity. Therefore, the CA module used in the present invention only calculates the correlation of the k channels of the nearest neighbors.

[0021] The CA module used in the present invention consists of a global average pooling layer (Global Average Pooling, GAP), a nearest neighbor connection module and a channel feature representation layer, wherein the nearest neighbor connection module only connects the neighboring k channels (the channels represent the feature channels extracted by the basic feature extraction module BFE) to explore the dependency between the two. Thus, the i-th channel y of feature y i The weight w i It can be obtained by the following formula:

[0022]

[0023] Among them, δ represents the Sigmoid activation function, Represents y i Corresponding convolution kernel parameters, Represents y i The jth feature among the k adjacent channel features, Represents y i The set of k adjacent channels.

[0024] Since the purpose of the adaptive channel attention module is to obtain cross-channel information, it is necessary to determine the range of channel interaction, that is, the k value. According to the previous analysis, there should be a certain mapping relationship between the channel information interaction range and the number of channels C. However, since the linear mapping relationship has certain limitations and the number of channels of the SR model is usually a multiple of 2, in order to further enhance the flexibility of the model, the mapping relationship can be expressed using an exponential function with a base of 2:

[0025] C=Θ(k)=2 (ρ*k-b) (5)

[0026] Among them, ρ is the coefficient value and b is the bias value.

[0027] Thus, according to the given C value, the k value can be obtained,

[0028]

[0029] Where |t| odd It means taking the nearest odd integer of t.

[0030] Step 2: Adopt the residual feature fusion mechanism, use the global feature fusion module and the global residual learning module to make full use of the correlation of image context features, so as to obtain the reconstructed image of the first stage:

[0031] (1) Global feature fusion module

[0032] Conventional residual modules are usually composed of a series of feature extraction modules. First, the initial features are fused with the last extracted residual features through long jump connections, and then the fused features are transmitted to the feature extraction modules of the subsequent layers. This design method can only obtain more complex features, but cannot fully utilize the pure features obtained from each feature extraction module separately. More importantly, it cannot utilize the correlation between image context features, thus limiting the feature representation ability of the network.

[0033] The global feature fusion module designed by the present invention aims to fuse the features from all MSFEB modules as much as possible. However, if all feature information is simply superimposed together, too many redundant features will be stacked, resulting in a surge in the number of network parameters, thereby increasing the difficulty of network training. In order to solve the above problem, the present invention adaptively fuses the features obtained by each MSFEB module, transmits the features obtained by each MSFEB to the global feature fusion module through a long jump connection structure, and makes full use of each context feature [F1, F2, ..., F M+N], which not only improves the utilization of features, but also makes the transmission of context features smoother. At the same time, in order to ease the difficulty of network training, inspired by MemNet, the present invention introduces a 1×1 convolution layer after the feature fusion module to adaptively control the number of output features to reduce the dimension of the features.

[0034] (2) Global residual learning module

[0035] Since shallow features contain relatively rich edge texture information, while deep features contain rich semantic information, both play a key role in improving the quality of reconstructed images for image super-resolution tasks. Therefore, in order to effectively fuse shallow features with deep features, the present invention uses a global residual learning mechanism to maximize the utilization of features.

[0036] In order to further improve the expressiveness of residual features, inspired by wRU, the present invention proposes an adaptively weighted residual unit to adaptively learn the weights of residual features. Specifically, the present invention uses a parameter normalization (WeightNormalization, WN) operation to adaptively update the weights. Since WN is an operation that reparameterizes the weight vector, the weight vector is scaled by separating the direction and length of the weight vector. This method not only avoids the influence of mini-batch, but also effectively reduces the influence of noise data generated by mini-batch during gradient propagation. More importantly, the WN operation does not introduce additional space and related parameters for saving the data variance and mean required for the normalization operation, and is therefore particularly suitable for the weight update task in the proposed residual unit. All λ values ​​in the present invention are learnable parameters, and their initial values ​​are all set to 1. Through continuous iterative learning, each weight is adaptively updated.

[0037] Step 3: Use the refinement module to optimize the reconstructed image obtained in the first stage:

[0038] At present, most image super-resolution methods only extract and map features in the LR image space, but rarely explore the HR space information corresponding to the reconstructed image generated by upsampling. Since the information in the LR image space is limited, the present invention proposes a refinement block (RB) for optimizing image details, which extracts high-frequency features of the coarse reconstructed image to compensate for the local detail information lost in the LR image, thereby optimizing the coarse reconstructed image into a more refined reconstructed image.

[0039] The RB module proposed in the present invention can be expressed as:

[0040]

[0041] in, Represents the element-wise multiplication operation, H 1×1 With H 3×3 denote 1×1 and 3×3 convolution operations respectively, γ denotes the ReLU activation function, and I SR1 with I SR2 They represent the coarse reconstructed image and the fine reconstructed image respectively.

[0042] Step 4: Use the proposed loss function for training to further improve the super-resolution effect of the model:

[0043] At present, most image super-resolution methods use mean square error (MSE) as the loss function, but the reconstructed image generated by it is relatively smooth, and the supervision ability of high-frequency information such as the image contour is insufficient. Compared with MSE, although L1 loss can supervise high-frequency information to a certain extent, it may have unpredictable effects in the image reconstruction process because it is not differentiable at the zero point. Considering that Charbonnier Loss can not only effectively solve the problem of non-differentiability at the zero point, but also accelerate the convergence speed of the model, the present invention uses Charbonnier Loss to construct the loss function, and its expression is as follows:

[0044]

[0045] Among them, ω1 and ω2 are two constants, Represents Charbonnier Loss. The calculation formula of Charbonnier Loss is as follows:

[0046]

[0047] Among them, I SRi represents the reconstructed image of the i-th stage involved in the calculation, I GT Represents the high-resolution image corresponding to the image to be reconstructed. ζ is a very small constant, usually set to 10 -3 .

[0048] After adopting the above technical solution, the multi-stage progressive image super-resolution method of the present invention has the following beneficial effects:

[0049] The present invention proposes a multi-stage progressive image super-resolution method. First, through the proposed multi-scale feature extraction module and combined with the channel attention mechanism, the features of different scales are effectively extracted, so that the network can better adapt to the scale changes in the super-resolution process; secondly, through the designed residual feature fusion module, the correlation between context feature information is fully utilized; then, through the constructed refinement module to explore the features of the HR image space, the detail information of the reconstructed image is further enhanced; finally, the proposed loss function is used to constrain the reconstructed images of the two stages, thereby effectively improving the effect of the reconstructed image. The method proposed by the present invention effectively improves the effect of image super-resolution reconstruction and obtains better results in terms of subjective visual and objective evaluation indicators.

[0050] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments, but the progressive image super-resolution method of the present invention is not limited to the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A network structure diagram of the method of the present invention;

[0052] Figure 2 It is a network structure diagram of the multi-scale feature extraction module MSFEB of the present invention;

[0053] Figure 3 It is a network structure diagram of the RB module of the present invention;

[0054] Figure 4 The structure diagram of the multi-scale convolution unit proposed in the present invention; (a) represents the RIB module; (b) represents the RRFB module;

[0055] Figure 5 This is a comparison diagram of the reconstruction results of the Butterfly (Set5) image by the method of the present invention and the existing method under a 4-fold magnification factor;

[0056] Figure 6 A comparison diagram of the reconstruction results of the Baboon (Set14) image by the method of the present invention and the existing method under a 4-fold magnification factor;

[0057] Figure 7 This is a comparison diagram of the reconstruction results of the 210088 (BSD100) image by the method of the present invention and the existing method under a 4-fold magnification factor;

[0058] Figure 8 The figure is a comparison of the reconstruction results of the Img_012 (Urban100) image by the method of the present invention and the existing method under the condition of 4 times magnification factor. DETAILED DESCRIPTION

[0059] In order to further explain the technical solution of the present invention, the present invention is described in detail below through specific embodiments.

[0060] Input: The image to be reconstructed.

[0061] See also Figure 1 As shown, the present invention provides a progressive image super-resolution method, comprising:

[0062] 1. Use the multi-scale feature extraction module to extract features

[0063] 1.1 Multi-scale feature extraction module

[0064] See also Figure 2 As shown, the multi-scale feature extraction module (Multi-Scale Feature Extraction Block, MSFEB) designed by the present invention includes 5 basic feature extraction (Basic Feature Exaction, BFE) modules and a channel attention (Channel Attention, CA) module, wherein each BFE module and the corresponding jump connection (weight value is λ) together form a sub-residual block, thereby effectively enhancing the correlation between contextual features. In order to adapt to the characteristics of different networks, the present invention further proposes two different MSFEB structures (MSFEB-I and MSFEB-II), whose BFE modules use the residual module (Residual Inception Block, RIB) composed of Inception and the residual module (Residual of Receptive Field Block, RRFB) composed of receptive fields.

[0065] Assumption F d-1 is the input of the d-th MSFEB, then the output F of the first sub-residual block of the d-th MSFEB d,1 , the output F of the Bth sub-residual block of the dth MSFEB d,B , and the output F of the dth MSFEB d It can be expressed by the following formulas:

[0066]

[0067]

[0068]

[0069] Among them, H BFE (·) and H CA (·) represent the operations corresponding to the BFE module and the CA module respectively.

[0070] 1.2 RIB and RRFB modules

[0071] For the image super-resolution task, the present invention proposes two multi-scale convolution units with parallel structures to extract features of different receptive fields to reconstruct richer image details, namely RIB and RRFB. Specifically, convolution kernels of different sizes are first integrated into the network, such as 1×1, 3×3, and 5×5. However, considering that larger-scale convolution kernels will incur greater computational costs and lead to increased time complexity, the present invention uses smaller-scale convolution kernels to replace large-scale convolution kernels to minimize the number of parameters. In the network design, only convolution kernels of 1×1 and 3×3 scales are used, while the convolution kernel of 5×5 scale is replaced by two cascaded 3×3 scale convolution kernels. Therefore, the RIB module in MSFEB-I utilizes a multi-branch structure of convolution kernels of different scales, see. Figure 4 As shown in (a), the convolution kernel scales on the three branches are: 1×1, 1×1 and 3×3, 1×1 and a set of cascaded 3×3, corresponding to different receptive fields to learn features of more scales. Finally, the features from the three different branches are fused to obtain more representative features.

[0072] In addition, asymmetric convolution can be used to replace conventional symmetric convolution. Under the premise of having the same convolution kernel scale, the asymmetric convolution kernel can not only learn more representative features than the symmetric convolution kernel, but also reduce the computational complexity without losing accuracy. At the same time, the receptive field of the human eye is a function of the eccentricity of the retinal center, and the size of the receptive field changes with the change of eccentricity, while the dilated convolution can better control the value of the eccentricity to achieve the purpose of adjusting the size of the receptive field. Therefore, the present invention uses asymmetric convolution and dilated convolution to improve the proposed RIB module to further enhance its feature extraction capability.

[0073] Therefore, the second multi-scale convolution module RRFB is improved from RIB. Specifically, see Figure 4 As shown in (b), a set of 1×3 and 3×1 asymmetric convolution structures are used to replace a 3×3 convolution kernel, and a dilated convolution is introduced at the end of each branch structure to adjust the receptive field of the feature to further enhance the feature representation capability. Finally, the features obtained from each branch are fused to obtain more representative features.

[0074] Considering that asymmetric convolution is not suitable for being placed at the front end of the network, but is more suitable for being placed in the middle layer and its subsequent layers of the network to improve the feature extraction ability of the model, therefore, in the network design, the present invention will use RIB's MSFEB-I for feature extraction at the front end of the network, and will use RRFB's MSFEB-II for feature extraction at the back end of the network, so that the network can obtain more and more effective features.

[0075] It is worth noting that in order to make the extracted features have better discrimination ability, the present invention introduces residual structures in the RIB and RRFB modules respectively. By assigning weight β to the input features and then fusing them with the features extracted by the multi-scale structure, the output features of the RIB and RRFB modules are obtained.

[0076] 1.3 Channel Attention Module

[0077] In order to utilize the extracted features more effectively, the present invention introduces the channel attention mechanism into the proposed MSFEB module. Channel attention can be adaptively calibrated according to different channel features, giving different attention to the features of different channels, enhancing the channel information related to the features, and suppressing invalid channel information, thereby improving the feature representation ability of the model to a certain extent. Unlike the mainstream channel attention mechanism that uses dimensionality reduction operations to extract the correlation between channel features, the present invention uses an adaptive channel attention module to effectively avoid the adverse effects of dimensionality reduction operations that destroy the direct correlation between the channel and its weight. At the same time, the frequency signal trends of different images in the same convolutional layer are basically the same, and show strong local periodicity. Therefore, the CA module used in the present invention only calculates the correlation of the k channels of the nearest neighbors.

[0078] The CA module used in the present invention consists of a global average pooling layer, a nearest neighbor connection module and a channel feature representation layer, wherein the nearest neighbor connection module only connects the neighboring k channels to explore the dependency between them. i The weight w i It can be obtained by the following formula:

[0079]

[0080] Among them, δ represents the Sigmoid activation function, Represents y i Corresponding convolution kernel parameters, Represents y i The jth feature among the k adjacent channel features, Represents y i The set of k adjacent channels.

[0081] Since the purpose of the adaptive channel attention module is to obtain cross-channel information, it is necessary to determine the range of channel interaction, that is, the k value. According to the previous analysis, there should be a certain mapping relationship between the channel information interaction range and the number of channels C. However, since the linear mapping relationship has certain limitations and the number of channels of the SR model is usually a multiple of 2, in order to further enhance the flexibility of the model, the mapping relationship can be expressed using an exponential function with a base of 2:

[0082] C=Θ(k)=2 (ρ*k-b) (5)

[0083] Among them, ρ is the coefficient value and b is the bias value.

[0084] Thus, according to the given C value, the k value can be obtained,

[0085]

[0086] Where |t| odd It means taking the nearest odd integer of t.

[0087] 2. Adopt the residual feature fusion mechanism, use the global feature fusion module and the global residual learning module to make full use of the correlation of image context features, so as to obtain the reconstructed image of the first stage.

[0088] 2.1 Global Feature Fusion Module

[0089] Conventional residual modules are usually composed of a series of feature extraction modules. First, the initial features are fused with the last extracted residual features through long jump connections, and then the fused features are transmitted to the feature extraction modules of the subsequent layers. This design method can only obtain more complex features, but cannot fully utilize the pure features obtained from each feature extraction module separately. More importantly, it cannot utilize the correlation between image context features, thus limiting the feature representation ability of the network.

[0090] The global feature fusion module designed by the present invention aims to fuse the features from all MSFEB modules as much as possible. However, if all feature information is simply superimposed together, too many redundant features will be stacked, resulting in a surge in the number of network parameters, thereby increasing the difficulty of network training. In order to solve the above problem, the present invention adaptively fuses the features obtained by each MSFEB module, transmits the features obtained by each MSFEB to the global feature fusion module through a long jump connection structure, and makes full use of each context feature [F1, F2, ..., F M+N], which not only improves the utilization of features, but also makes the transmission of context features smoother. At the same time, in order to ease the difficulty of network training, inspired by MemNet, the present invention introduces a 1×1 convolution layer after the feature fusion module to adaptively control the number of output features to reduce the dimension of the features.

[0091] 2.2 Global Residual Learning Module

[0092] Since shallow features contain relatively rich edge texture information, while deep features contain rich semantic information, both play a key role in improving the quality of reconstructed images for image super-resolution tasks. Therefore, in order to effectively fuse shallow features with deep features, the present invention uses a global residual learning mechanism to maximize the utilization of features.

[0093] In order to further improve the expressiveness of residual features, inspired by wRU, the present invention proposes an adaptively weighted residual unit to adaptively learn the weights of residual features. Specifically, the present invention uses a parameter normalization (WeightNormalization, WN) operation to adaptively update the weights. Since WN is an operation that reparameterizes the weight vector, the weight vector is scaled by separating the direction and length of the weight vector. This method not only avoids the influence of mini-batch, but also effectively reduces the influence of noise data generated by mini-batch during gradient propagation. More importantly, the WN operation does not introduce additional space and related parameters for saving the data variance and mean required for the normalization operation, and is therefore particularly suitable for the weight update task in the proposed residual unit. All λ values ​​in the present invention are learnable parameters, and their initial values ​​are all set to 1. Through continuous iterative learning, each weight is adaptively updated.

[0094] 3. Use the refinement module to optimize the reconstructed image obtained in the first stage

[0095] At present, most image super-resolution methods only extract and map features in the LR image space, but rarely explore the HR space information corresponding to the reconstructed image generated by upsampling. Figure 3 As shown, since the information of the LR image space is limited, the present invention proposes a refinement block (RB) for optimizing image details, which extracts high-frequency features of the coarsely reconstructed image to compensate for the lost local detail information of the LR image, thereby optimizing the coarsely reconstructed image into a more refined reconstructed image.

[0096] The RB module proposed in the present invention can be expressed as:

[0097]

[0098] in, Represents the element-wise multiplication operation, H 1×1 With H 3×3 denote 1×1 and 3×3 convolution operations respectively, γ denotes the ReLU activation function, and I SR1 with I SR2 They represent the coarse reconstructed image and the fine reconstructed image respectively.

[0099] 4. Use the proposed loss function for training

[0100] At present, most image super-resolution methods use mean square error (MSE) as the loss function, but the reconstructed image generated by it is relatively smooth, and the supervision ability of high-frequency information such as the image contour is insufficient. Compared with MSE, although L1 loss can supervise high-frequency information to a certain extent, it may have unpredictable effects in the image reconstruction process because it is not differentiable at the zero point. Considering that Charbonnier Loss can not only effectively solve the problem of non-differentiability at the zero point, but also accelerate the convergence speed of the model, the present invention uses Charbonnier Loss to construct the loss function, and its expression is as follows:

[0101]

[0102] Among them, ω1 and ω2 are two constants, Represents Charbonnier Loss. The calculation formula of Charbonnier Loss is as follows:

[0103]

[0104] Among them, I SRi represents the reconstructed image of the i-th stage involved in the calculation, I GT Represents the high-resolution image corresponding to the image to be reconstructed. ζ is a very small constant, usually set to 10 -3 .

[0105] 5. Simulation experiment

[0106] The effect of the present invention can be further illustrated by the following simulation experiment. In the experiment, in order to ensure the objectivity of the experiment, the DIV2K standard data set is used as the training set. DIV2K contains 1000 high-definition images with 2K resolution, of which 800 are used as training images and the other 200 are used as verification images. At the same time, 4 common standard data sets are used as test sets, including Set5, Set14, BSD100 and Urban100. In order to facilitate evaluation, the reconstructed image obtained is first converted from RGB space to YCbCr space, and then the indicators are evaluated on the Y channel, including Peak Signal to Noise Ratio (PSNR) and Structural Similarity (SSIM).

[0107] See also Figures 5 to 8 As shown, in order to further verify the effectiveness of the proposed MPSR model, it is compared with 6 mainstream CNN-based SR methods: SRCNN, VDSR, LapSRN, IDN, DPSR, IMDN. Table 1 lists the PSNR and SSIM averages of the reconstructed images obtained by the above SR methods on four standard datasets, Set5, Set14, BSD100 and Urban100, using different magnification factors (x2, x3, x4), where the optimal and suboptimal values ​​are marked in bold and underlined, respectively.

[0108] Table 1 PSNR (dB) | SSIM performance comparison of different SR methods under different amplification factors

[0109]

[0110] It can be concluded from Table 1 that the average values ​​of PSNR and SSIM of the reconstructed image obtained by the model proposed in the present invention are optimal in most data sets, which indicates that the method of the present invention has achieved leading performance in overall super-resolution performance. Specifically, when the magnification factor is 2, the average value of SSIM of the proposed method is only slightly lower than the optimal value on the BSD100 data set, while the average value of PSNR is about 0.08dB to 0.28dB higher than the suboptimal method. For the case where the magnification factor is 3, the proposed method performs best in all data sets, with the average value of PSNR being 0.1dB to 0.41dB higher than the suboptimal method, and the average value of SSIM being 0.0004 to 0.0074 higher than the suboptimal method. When the magnification factor is 4, the proposed method has an absolute advantage in the average value of PSNR, and in the average value of SSIM, it only performs second best in the BSD100 data set, and still performs best in the remaining data sets.

[0111] In summary, the advantages of the present invention are:

[0112] In order to reconstruct as much detail information as possible, the present invention proposes a multi-stage progressive image super-resolution network. The network consists of two stages from coarse to fine, which further improves the quality of the reconstructed image by fully mining and utilizing the feature information of LR and HR images. First, through the proposed multi-scale feature extraction module and combined with the channel attention mechanism, the features of different scales are effectively extracted, so that the network can better adapt to the scale changes in the super-resolution process; secondly, through the designed adaptive weighted residual feature fusion module, the correlation between contextual feature information is fully utilized; finally, through the constructed refinement module to explore the features of the HR image space, the detail information of the reconstructed image is further enhanced. Experimental results show that both the subjective visual effect and the objective evaluation index have achieved excellent super-resolution effects.

[0113] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A multi-stage progressive image super-resolution method, Features: S1, using a multi-scale feature extraction module MSFEB to extract features of the image to be reconstructed; the multi-scale feature extraction module MSFEB includes a plurality of connected basic feature extraction modules BFE and a channel attention module CA; the image to be reconstructed is a low-resolution image; S2, based on the extracted features of the image to be reconstructed, a residual feature fusion mechanism is adopted to obtain the reconstructed image of the first stage; S3, using a refinement module, optimizes the reconstructed image obtained in the first stage to obtain a refined reconstructed image; S4, constructing a loss function, and performing loss calculation on the reconstructed image and the refined reconstructed image obtained in the first stage; In S3, the refinement module is used to optimize the reconstructed image obtained in the first stage to obtain a refined reconstructed image, which specifically includes: The high-frequency features of the reconstructed image obtained in the first stage are used to compensate for the local detail information lost in the image to be reconstructed, thereby optimizing the reconstructed image obtained in the first stage into a fine reconstructed image; The method for optimizing the reconstructed image obtained in the first stage into a fine reconstructed image is as follows: Among them, I SR2 Represents a finely reconstructed image; I SR1 represents the reconstructed image obtained in the first stage; Represents element-wise multiplication operation; H 1×1 With H 3×3 Represent 1×1 and 3×3 convolution operations respectively; γ represents the ReLU activation function; δ represents the Sigmoid activation function; In S4, a loss function is constructed to calculate the loss of the reconstructed image and the refined reconstructed image obtained in the first stage, including: Charbonnier Loss is used to construct the loss function, and its expression is as follows: Among them, ω 1 and ω 2 are two constants; stands for Charbonnier Loss; I SR2 Represents a finely reconstructed image; I SR1 Represents the reconstruction image obtained in the first stage; I GT Represents a high-resolution image corresponding to the image to be reconstructed; The calculation formula of Charbonnier Loss is as follows: Among them, i∈(1,2) is an integer; ζ is a constant.

2. The multi-stage progressive image super-resolution method according to claim 1, It is characterized in that In S1, several basic feature extraction modules BFE respectively use a residual module RIB composed of Inception and a residual module RRFB composed of a receptive field, the residual module RIB and the residual module RRFB include a multi-branch structure of convolution kernels of different sizes, and the residual module RIB is arranged at the front end of the residual module RRFB; each basic feature extraction module BFE and the corresponding jump connection together form a sub-residual block to effectively enhance the correlation between context features.

3. The multi-stage progressive image super-resolution method according to claim 2, It is characterized in that The residual module RIB includes three branches, and the convolution kernel scales on the three branches are 1×1, 1×1 and 3×3 and 1×1 and a group of cascaded 3×3, respectively, corresponding to different receptive fields, so as to learn features of more scales, and finally fuse the features from three different branches; The residual module RRFB is improved from RIB. Specifically, a set of 1×3 and 3×1 asymmetric convolution structures are used to replace a 3×3 convolution kernel. At the same time, a hole convolution is introduced at the end of each branch structure to adjust the receptive field of the feature to further enhance the feature representation capability. Finally, the features obtained from each branch are fused.

4. The multi-stage progressive image super-resolution method according to claim 1, It is characterized in that The channel attention module CA is used to perform adaptive calibration according to different channel features, give different attention to the features of different channels, enhance the channel information related to the features, and suppress invalid channel information to improve the feature representation ability of the model.

5. The multi-stage progressive image super-resolution method according to claim 4, It is characterized in that The channel attention module CA is composed of a global average pooling layer GAP, a nearest neighbor connection module and a channel feature representation layer, wherein the nearest neighbor connection module only connects the adjacent k channels; the channel represents the feature channel extracted by the basic feature extraction module BFE; The i-th channel y of feature y i The weight w i It can be obtained by the following formula: Among them, δ represents the Sigmoid activation function, Represents y i Corresponding convolution kernel parameters, Represents y i The jth feature among the k adjacent channel features, Represents y i The set of k adjacent channels of ; ρ represents the coefficient value, b represents the bias value, and |·| odd It means taking the nearest odd integer of t.

6. The multi-stage progressive image super-resolution method according to claim 1, It is characterized in that In S2, based on the features of the image to be reconstructed extracted, a residual feature fusion mechanism is adopted to obtain the reconstructed image of the first stage, which specifically includes: S21, using the global feature fusion module, performs the following operations: The features obtained by each multi-scale feature extraction module MSFEB are adaptively fused and transmitted to the global feature fusion module through a long skip connection structure to utilize the correlation of each context feature; S22, using the global residual learning module, performs the following operations: Using the global residual learning mechanism, the weights of the residual features are adaptively learned to fuse shallow features with deep features.

7. The multi-stage progressive image super-resolution method according to claim 6, It is characterized in that Also includes: A 1×1 convolution layer is introduced after the global feature fusion module to adaptively control the number of output features.