Image super-resolution reconstruction method and device

Through the combination of the deep-developed network sub-model of image super-resolution and channel attention sub-model, the problems of image super-resolution reconstruction accuracy, flexibility and efficiency in the prior art are solved, and the fuzzy core and noise levels are realized. efficient image reconstruction under.

CN114926333BActive Publication Date: 2024-11-05WUHAN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210426073.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-22
Publication Date
2024-11-05
Estimated Expiration
2042-04-22

AI Technical Summary

Technical Problem

The prior art is difficult to take into account the accuracy, flexibility and efficiency of image super-resolution reconstruction, especially when processing images of different scales, blurred cores and noise levels.

Method used

The image super-resolution deep-expanded network sub-model combined with the channel attention sub-model is used to process images of different scale factors, fuzzy kernels and noise levels through end-to-end training, and use residual learning and channel attention mechanism to weight effective information to suppress invalidity information.

Benefits of technology

It achieves the effect of taking into account both reconstruction accuracy and flexibility, while improving the operation efficiency of image super-resolution reconstruction model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114926333B_ABST
    Figure CN114926333B_ABST
Patent Text Reader

Abstract

The present invention provides an image super-resolution reconstruction method and device, the method comprising: obtaining a low-resolution image; inputting the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image; wherein the image super-resolution reconstruction model comprises an image super-resolution deep expansion network sub-model and a channel attention sub-model connected to the image super-resolution deep expansion network sub-model. The present invention obtains a high-resolution image by using an end-to-end image super-resolution deep expansion network sub-model, which can achieve the technical effect of taking into account both detection and reconstruction accuracy and flexibility; and by setting a channel attention sub-model, it can emphasize effective information, suppress invalid information, shorten the running time of the image super-resolution reconstruction model, and improve reconstruction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image super-resolution, and in particular to an image super-resolution reconstruction method and device. Background Art

[0002] Image resolution refers to the ability of an imaging or display system to resolve details, indicating the amount of information stored in an image, usually expressed as "horizontal number of pixels × vertical number of pixels". Generally speaking, the higher the resolution of an image, the more details it contains and the more information it provides. Image super-resolution (SR) technology is a technology that reconstructs a high-resolution (HR) image based on a single or multiple low-resolution (LR) images. This technology can provide richer visual information and is a classic problem in the field of computer vision.

[0003] Traditional image super-resolution algorithms include modeling-based methods, which are generally difficult to restore the lost high-frequency detail information, resulting in blurred areas in the reconstructed image and relatively complex calculations and low real-time performance. Moreover, traditional algorithms are not suitable for large magnification factors. To solve these problems, deep learning has been used in image super-resolution technology in recent years. Nowadays, due to the powerful learning ability and performance of deep learning, a large number of research works have also appeared in deep learning-based image super-resolution technology, which can be mainly divided into four categories: super-resolution algorithms based on convolutional neural networks, super-resolution algorithms based on convolutional neural networks under attention mechanisms, super-resolution based on generative adversarial network algorithms, and blind super-resolution algorithms under unsupervised mechanisms. Compared with traditional methods, learning-based image super-resolution methods have achieved better and better performance due to end-to-end training. However, unlike modeling-based methods, which can handle image super-resolution of different scales, blur kernels, and noise levels under a unified MAP framework, learning-based image super-resolution lacks the above flexibility.

[0004] Therefore, there is an urgent need to propose an image super-resolution reconstruction method and device to solve the technical problem that the prior art cannot take into account reconstruction accuracy, reconstruction flexibility and reconstruction efficiency. Summary of the invention

[0005] In view of this, it is necessary to provide an image super-resolution reconstruction method and device to solve the technical problem existing in the prior art that reconstruction accuracy, reconstruction flexibility and reconstruction efficiency cannot be taken into account at the same time.

[0006] In one aspect, the present invention provides an image super-resolution reconstruction method, comprising:

[0007] Get low-resolution images;

[0008] Inputting the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image;

[0009] Among them, the image super-resolution reconstruction model includes an image super-resolution deep expansion network sub-model and a channel attention sub-model connected to the image super-resolution deep expansion network sub-model.

[0010] In some possible implementations, the image super-resolution deep expansion network sub-model includes an initial convolution layer, a lower residual module, a first residual block, a second residual block, an upper residual module, and an end convolution layer;

[0011] The low-resolution image passes through the initial convolution layer, the lower residual module, the first residual block, the second residual block, the upper residual module and the end convolution layer to obtain a target residual feature image.

[0012] In some possible implementations, the lower residual module includes a cascaded first lower residual unit, a second lower residual unit, and a third lower residual unit, and the upper residual module includes a cascaded first upper residual unit, a second upper residual unit, and a third upper residual unit;

[0013] The initial convolution layer is used to receive the low-resolution image and obtain a feature extraction image;

[0014] The first down-residual unit is used to down-sample the feature extraction image to obtain a first down-sampled image, and generate a first residual feature image according to the first down-sampled image;

[0015] The second down-residual unit is used to down-sample the first residual feature image to obtain a second down-sampled image, and generate a second residual feature image according to the second down-sampled image;

[0016] The third down-residual unit is used to down-sample the second residual feature to obtain a third down-sampled image, and generate a third residual feature image according to the third down-sampled image;

[0017] The first residual block is used to receive the third residual feature image and generate a fourth residual feature image according to the third residual feature image;

[0018] The second residual block is used to receive the fourth residual feature image and generate a fifth residual feature image according to the fourth residual feature image;

[0019] The third upper residual unit is used to receive the fifth residual feature image and the third residual feature image, and generate a sixth residual feature image according to the fifth residual feature image and the third residual feature image;

[0020] The second up-residual unit is used to receive the sixth residual feature image and the second residual feature image, up-sample the sixth residual feature image to generate a first up-sampled image, and generate a seventh residual feature image according to the first up-sampled image and the second residual feature image;

[0021] The first up-residual unit is used to receive the seventh residual feature image and the first residual feature image, up-sample the seventh residual feature image to generate a second up-sampled image, and generate an eighth residual feature image according to the second up-sampled image and the first residual feature image;

[0022] The end convolution layer is used to receive the eighth residual feature image and the feature extraction image, and upsample the eighth residual feature image to generate a third upsampled image, and generate the target residual feature image based on the third upsampled image and the feature extraction image.

[0023] In some possible implementations, the first lower residual unit includes a first lower residual block and a first convolutional layer connected in sequence, the second lower residual unit includes a second lower residual block and a second convolutional layer connected in sequence, the third lower residual unit includes a third lower residual block and a third convolutional layer connected in sequence, the first upper residual unit includes a first deconvolutional layer and a first upper residual block connected in sequence, the second upper residual unit includes a second deconvolutional layer and a second upper residual block connected in sequence, and the third upper residual unit includes a third deconvolutional layer and a third upper residual block connected in sequence.

[0024] In some possible implementations, the first lower residual block includes a first residual convolution layer, a residual activation function layer, a second residual convolution layer, and a fusion layer;

[0025] The first residual convolution layer is used to perform a convolution operation on the first down-sampled image to obtain a first convolution image;

[0026] The residual activation function layer is used to perform activation processing on the first convolution image based on the ReLu activation function to obtain an activated image;

[0027] The second residual convolution layer is used to perform a convolution operation on the activation image to obtain a convolution image;

[0028] The second fusion layer is used to superimpose the first down-sampled image and the convolution image to obtain the first residual feature image.

[0029] In some possible implementations, the channel attention sub-model includes a basic block, an average pooling layer, a first fully connected layer, a ReLU function layer, a second fully connected layer, a Sigmoid function layer, and a region extraction layer connected in sequence;

[0030] The basic block is used to receive the target residual feature image and generate a feature connection graph according to the target residual feature image;

[0031] The average pooling layer is used to reduce the dimension of the feature connection graph to obtain a reduced-dimensional connection graph;

[0032] The first fully connected layer is used to scale the dimension reduction connection graph based on a preset first scaling factor to obtain a first scaled graph;

[0033] The ReLU function layer is used to perform nonlinear mapping on the first scaling image to obtain a nonlinear mapping image;

[0034] The second fully connected layer is used to scale the nonlinear mapping image based on a preset second scaling factor to obtain a second scaling image;

[0035] The Sigmoid function layer is used to obtain the weight value of each channel of the second zoom image based on a preset number of channels;

[0036] The region extraction layer is used to extract an image of interest of a region of interest from the feature connection map based on the weight value.

[0037] In some possible implementations, the basic block includes two basic units connected in sequence, and the basic unit includes a basic convolution layer, a batch normalization layer, and a basic ReLU function layer;

[0038] The basic convolution layer is used to extract the features of the target residual feature image to obtain a basic feature image;

[0039] The batch normalization layer is used to perform normalization processing on the basic feature image to obtain a normalized image;

[0040] The basic ReLU function layer is used to perform nonlinear mapping on the normalized image to obtain the feature connection map.

[0041] In some possible implementations, before inputting the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image, the method further includes:

[0042] Constructing an initial super-resolution image model and determining a loss function of the initial super-resolution image model;

[0043] Acquire a plurality of low-resolution images, and preprocess the plurality of low-resolution images to obtain a low-resolution image training set;

[0044] The initial super-resolution image model is trained according to the low-resolution image training set and the loss function to obtain the image super-resolution reconstruction model.

[0045] In some possible implementations, after obtaining the image super-resolution reconstruction model, the method further includes:

[0046] Determining whether the model performance of the image super-resolution reconstruction model is greater than a performance threshold based on the peak signal-to-noise ratio and the structural similarity;

[0047] If the model performance of the image super-resolution reconstruction model is less than the performance threshold, the image super-resolution reconstruction model is updated.

[0048] On the other hand, the present invention also provides an image super-resolution reconstruction device, comprising:

[0049] A low-resolution image acquisition unit, used for acquiring a low-resolution image;

[0050] An image reconstruction unit, used for inputting the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image;

[0051] Among them, the image super-resolution reconstruction model includes an image super-resolution deep expansion network sub-model and a channel attention sub-model connected to the image super-resolution deep expansion network sub-model.

[0052] The beneficial effect of adopting the above embodiment is: the image super-resolution reconstruction method provided by the present invention obtains a high-resolution image by using an end-to-end image super-resolution deep expansion network sub-model. Since the image super-resolution deep expansion network sub-model adopts a single end-to-end trained model to process classical degradation models of different scale factors, blur kernels and noise levels, it takes into account the advantages of both modeling-based methods and learning-based methods, and can achieve a technical effect that takes into account both detection and reconstruction accuracy and flexibility.

[0053] Furthermore, the present invention sets a channel attention sub-model connected to the image super-resolution deep expansion network sub-model, which can weight the channels, emphasize valid information, suppress invalid information, reduce parameter calculation, shorten the running time of the image super-resolution reconstruction model, and thus improve the reconstruction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0055] Figure 1 A schematic diagram of an embodiment of the image super-resolution reconstruction method provided by the present invention;

[0056] Figure 2 A schematic diagram of the structure of an embodiment of the image super-resolution reconstruction model provided by the present invention;

[0057] Figure 3 A schematic diagram of the structure of an embodiment of the first lower residual unit provided by the present invention;

[0058] Figure 4 A schematic diagram of the structure of an embodiment of the channel attention sub-model provided by the present invention;

[0059] Figure 5 A schematic diagram of an embodiment of the process of training an initial super-resolution image model provided by the present invention;

[0060] Figure 6 A schematic diagram of a flow chart of an embodiment of verifying the performance of an image super-resolution reconstruction model provided by the present invention;

[0061] Figure 7 A schematic diagram of the structure of an embodiment of the image super-resolution reconstruction device provided by the present invention;

[0062] Figure 8 A schematic structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0063] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0064] It should be understood that the schematic drawings are not drawn to scale. The flow chart used in the present invention shows the operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flow chart can be implemented out of order, and the steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flow chart under the guidance of the content of the present invention, and can also remove one or more operations from the flow chart.

[0065] Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor systems and / or microcontroller systems.

[0066] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0067] The embodiments of the present invention provide an image super-resolution reconstruction method and device, which are described below respectively.

[0068] Figure 1 A schematic diagram of an embodiment of the image super-resolution reconstruction method provided by the present invention is shown in FIG. Figure 2 A schematic diagram of the structure of an embodiment of the image super-resolution reconstruction model provided by the present invention is shown in FIG. Figure 1 and Figure 2 As shown, the image super-resolution reconstruction method includes:

[0069] S101, acquiring a low-resolution image;

[0070] S102, inputting the low-resolution image into a well-trained image super-resolution reconstruction model (Deep Unfolding Network for Image Super-Resolution, USRNet) to obtain a high-resolution image;

[0071] Among them, the image super-resolution reconstruction model includes an image super-resolution deep expansion network sub-model and a channel attention sub-model connected to the image super-resolution deep expansion network sub-model.

[0072] Compared with the prior art, the image super-resolution reconstruction method provided by the embodiment of the present invention obtains a high-resolution image by using an end-to-end image super-resolution deep expansion network sub-model. Since the image super-resolution deep expansion network sub-model adopts a single end-to-end trained model to process classic degradation models of different scale factors, blur kernels and noise levels, it takes into account the advantages of both modeling-based methods and learning-based methods, and can achieve a technical effect that takes into account both detection and reconstruction accuracy and flexibility.

[0073] Furthermore, the embodiment of the present invention sets a channel attention sub-model connected to the image super-resolution deep expansion network sub-model, which can weight the channels, emphasize valid information, suppress invalid information, reduce parameter calculation, shorten the running time of the image super-resolution reconstruction model, and thus improve the reconstruction efficiency.

[0074] In some embodiments of the present invention, Figure 2 As shown, the image super-resolution deep unfolding network sub-model includes an initial convolution layer, a lower residual module, a first residual block, a second residual block, an upper residual module and an end convolution layer;

[0075] The low-resolution image passes through the initial convolution layer, the lower residual module, the first residual block, the second residual block, the upper residual module and the end convolution layer to obtain the target residual feature image.

[0076] The embodiment of the present invention can make full use of residual learning by setting a lower residual module, a first residual block, a second residual block and an upper residual module, eliminate the problem of training error increasing instead of decreasing due to the gradient vanishing problem, and improve the reconstruction accuracy of the image super-resolution reconstruction model.

[0077] In some embodiments of the present invention, Figure 2 As shown, the lower residual module includes a cascaded first lower residual unit, a second lower residual unit, and a third lower residual unit, and the upper residual module includes a cascaded first upper residual unit, a second upper residual unit, and a third upper residual unit;

[0078] The initial convolutional layer is used to receive the low-resolution image and obtain the feature extraction image;

[0079] The first down-residual unit is used to down-sample the feature extraction image to obtain a first down-sampled image, and generate a first residual feature image according to the first down-sampled image;

[0080] The second down-residual unit is used to down-sample the first residual feature image to obtain a second down-sampled image, and generate a second residual feature image according to the second down-sampled image;

[0081] The third down-residual unit is used to down-sample the second residual feature to obtain a third down-sampled image, and generate a third residual feature image according to the third down-sampled image;

[0082] The first residual block is used to receive the third residual feature image and generate a fourth residual feature image according to the third residual feature image;

[0083] The second residual block is used to receive the fourth residual feature image and generate a fifth residual feature image according to the fourth residual feature image;

[0084] The third upper residual unit is used to receive the fifth residual feature image and the third residual feature image, and generate a sixth residual feature image according to the fifth residual feature image and the third residual feature image;

[0085] The second up-residual unit is used to receive the sixth residual feature image and the second residual feature image, up-sample the sixth residual feature image to generate a first up-sampled image, and generate a seventh residual feature image according to the first up-sampled image and the second residual feature image;

[0086] The first up-residual unit is used to receive the seventh residual feature image and the first residual feature image, up-sample the seventh residual feature image to generate a second up-sampled image, and generate an eighth residual feature image according to the second up-sampled image and the first residual feature image;

[0087] The end convolution layer is used to receive the eighth residual feature image and the feature extraction image, and upsample the eighth residual feature image to generate a third upsampled image, and generate a target residual feature image based on the third upsampled image and the feature extraction image.

[0088] Each upper residual unit in the embodiment of the present invention fuses the upsampled image generated by itself and the residual feature image generated by the lower residual unit corresponding to the value, so that the obtained target residual feature image fuses more features, thereby improving the feature diversity of the obtained target residual feature image, and further improving the accuracy of the image super-resolution reconstruction method.

[0089] It should be noted that the first lower residual unit, the second lower residual unit, the third lower residual unit, the first upper residual unit, the second upper residual unit and the third upper residual unit are all repeatedly executed twice when performing image super-resolution reconstruction.

[0090] In a specific embodiment of the present invention, Figure 2As shown, the first lower residual unit includes a first lower residual block and a first convolutional layer connected in sequence, the second lower residual unit includes a second lower residual block and a second convolutional layer connected in sequence, the third lower residual unit includes a third lower residual block and a third convolutional layer connected in sequence, the first upper residual unit includes a first deconvolutional layer and a first upper residual block connected in sequence, the second upper residual unit includes a second deconvolutional layer and a second upper residual block connected in sequence, and the third upper residual unit includes a third deconvolutional layer and a third upper residual block connected in sequence.

[0091] In some embodiments of the present invention, Figure 3 As shown, the first lower residual block includes a first residual convolution layer, a residual activation function layer, a second residual convolution layer and a fusion layer;

[0092] The first residual convolution layer is used to perform a convolution operation on the first down-sampled image to obtain a first convolution image;

[0093] The residual activation function layer is used to activate the first convolution image based on the ReLu activation function to obtain an activated image;

[0094] The second residual convolution layer is used to activate the image for convolution operation to obtain a convolution image;

[0095] The second fusion layer is used to superimpose the first down-sampled image and the convolution image to obtain a first residual feature image.

[0096] It should be noted that the structures of the second upper residual block, the third upper residual block, the first lower residual block, the second lower residual block and the third lower residual block are the same as the structure of the first upper residual block, and are not described one by one here.

[0097] In some embodiments of the present invention, Figure 4 As shown, the channel attention sub-model includes sequentially connected basic blocks, average pooling layer, first fully connected layer, ReLU function layer, second fully connected layer, Sigmoid function layer and region extraction layer;

[0098] The basic block is used to receive the target residual feature image and combine the features of different resolutions of the target residual feature image in the form of skip-layer connection to generate a feature connection graph;

[0099] The average pooling layer is used to reduce the dimension of the feature connection map and obtain a reduced-dimensional connection map;

[0100] The first fully connected layer is used to scale the dimension reduction connection graph based on a preset first scaling factor to obtain a first scaled graph;

[0101] The ReLU function layer is used to perform nonlinear mapping on the first scaling image to obtain a nonlinear mapping image;

[0102] The second fully connected layer is used to scale the nonlinear mapping image based on a preset second scaling factor to obtain a second scaling image;

[0103] The Sigmoid function layer is used to obtain the weight value of each channel of the second zoom image based on the preset number of channels;

[0104] The region extraction layer is used to extract the image of interest of the region of interest from the feature connection map based on the weight value.

[0105] It should be understood that the first scaling factor and the second scaling factor can be adjusted according to actual conditions and are not specifically limited here.

[0106] In a specific embodiment of the present invention, Figure 4 As shown, the basic block includes two basic units connected in sequence, and the basic unit includes a basic convolution layer, a batch normalization layer, and a basic ReLU function layer;

[0107] The basic convolution layer is used to extract the features of the target residual feature image and obtain the basic feature image;

[0108] The batch normalization layer is used to normalize the basic feature image to obtain a normalized image;

[0109] The basic ReLU function layer is used to perform nonlinear mapping on the normalized image to obtain a feature connection map.

[0110] In a specific embodiment of the present invention, the convolution kernel size of the initial convolution layer is 3, the convolution step size is 1, the padding width is 1, and the number of channels of the image input to the initial convolution layer is 16; the number of channels of the image input to the first upper residual block is 16; the convolution kernel size of the first convolution layer is 2, the convolution step size is 1, the padding width is 1, and the number of channels of the image input to the first convolution layer is 16; the number of channels of the image input to the second upper residual block is 32; the convolution kernel size of the second convolution layer is 2, the convolution step size is 1, the padding width is 1, and the number of channels of the image input to the second convolution layer is 32; the number of channels of the image input to the third upper residual block is 64; the convolution kernel size of the third convolution layer is 2, the convolution step size is 1, the padding width is 1, and the number of channels of the image input to the third convolution layer is 64; the convolution kernel size of the third convolution layer is 2, the convolution step size is 1, the padding width is 1, and the number of channels of the image input to the first The number of channels of the image in the residual block is 64; the number of channels of the image input to the second residual block is 64; the convolution kernel size of the first deconvolution layer is 2, the convolution step size is 2, and the number of channels of the image input to the first deconvolution layer is 64; the number of channels of the image input to the first lower residual block is 64; the convolution kernel size of the second deconvolution layer is 2, the convolution step size is 2, and the number of channels of the image input to the first deconvolution layer is 32; the number of channels of the image input to the second lower residual block is 32; the convolution kernel size of the third deconvolution layer is 2, the convolution step size is 2, and the number of channels of the image input to the third deconvolution layer is 16; the number of channels of the image input to the third lower residual block is 16; the convolution kernel size of the end convolution layer is 3, the convolution step size is 1, the padding width is 1, and the number of channels of the image input to the end convolution layer is 16.

[0111] In some embodiments of the present invention, Figure 5 As shown, before step S102, it also includes:

[0112] S501, constructing an initial super-resolution image model, and determining a loss function of the initial super-resolution image model;

[0113] S502, acquiring a plurality of low-resolution images, and preprocessing the plurality of low-resolution images to obtain a low-resolution image training set;

[0114] S503: Train an initial super-resolution image model according to the low-resolution image training set and the loss function to obtain an image super-resolution reconstruction model.

[0115] In some embodiments of the present invention, the loss function is an L1 loss function, that is:

[0116]

[0117] Where H is the height of the low-resolution image; W is the width of the low-resolution image; X(i, j) is the resolution of the (i, j)th pixel of the high-resolution image; Y(i, j) is the resolution of the (i, j)th pixel of the high-resolution image; || is the absolute value.

[0118] The embodiment of the present invention uses the L1 loss function to improve the visual effect of the obtained high-resolution image.

[0119] It should be noted that: in order to further ensure the model performance of the image super-resolution reconstruction model, in some embodiments of the present invention, such as Figure 6 As shown, after performing step S503, the following steps are also included:

[0120] S601, judging whether the model performance of the image super-resolution reconstruction model is greater than a performance threshold based on the peak signal-to-noise ratio and the structural similarity;

[0121] S602: If the model performance of the image super-resolution reconstruction model is less than the performance threshold, the image super-resolution reconstruction model is updated.

[0122] It should be understood that the performance threshold may be a specific value or a range of values, which may be adjusted according to actual conditions and is not specifically limited here.

[0123] The embodiment of the present invention determines whether the model performance of the image super-resolution reconstruction model is greater than a performance threshold based on the peak signal-to-noise ratio and the structural similarity. When the model performance of the image super-resolution reconstruction model is less than the performance threshold, the image super-resolution reconstruction model is updated to ensure the reconstruction accuracy and reconstruction efficiency of the image resolution reconstruction model finally obtained.

[0124] It should be understood that updating the image super-resolution reconstruction model in step S602 may specifically be: retraining the initial super-resolution image model according to the low-resolution image training set and the loss function until the model performance of the image super-resolution reconstruction model is greater than or equal to the performance threshold.

[0125] In a specific embodiment of the present invention, the peak signal-to-noise ratio PSNR is:

[0126]

[0127]

[0128] Where MSE is the mean square error; n is the number of bits per pixel, which is usually 8.

[0129] In a specific embodiment of the present invention, the structural similarity SSIM is:

[0130] SSIM = l(X,Y)·c(X,Y)·s(X,Y)

[0131]

[0132]

[0133]

[0134]

[0135]

[0136]

[0137] Where l(X,Y) is the brightness similarity between the low-resolution image and the high-resolution image; c(X,Y) is the contrast similarity between the low-resolution image and the high-resolution image; s(X,Y) is the structural similarity between the low-resolution image and the high-resolution image; μ X is the mean of the low-resolution image; μ Y is the mean value of the high-resolution image; σ X is the variance of the low-resolution image; σ Y is the variance of the high-resolution image; σ XY is the covariance between the low-resolution image and the high-resolution image.

[0138] The embodiment of the present invention introduces structural similarity to verify the reconstruction performance of the image super-resolution reconstruction model. Since structural similarity is more in line with the human visual perception system than the peak signal-to-noise ratio, it takes into account the brightness information, contrast information and structural information of the image, thereby further improving the model performance of the image super-resolution reconstruction model.

[0139] In order to better implement the image super-resolution reconstruction method in the embodiment of the present invention, based on the image super-resolution reconstruction method, the embodiment of the present invention also provides an image super-resolution reconstruction device, such as Figure 7 As shown, the image super-resolution reconstruction device 700 includes:

[0140] A low-resolution image acquisition unit 701, used to acquire a low-resolution image;

[0141] An image reconstruction unit 702 is used to input the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image;

[0142] Among them, the image super-resolution reconstruction model includes an image super-resolution deep expansion network sub-model and a channel attention sub-model connected to the image super-resolution deep expansion network sub-model.

[0143] The image super-resolution reconstruction device 700 provided in the above embodiment can implement the technical solution described in the above image super-resolution reconstruction method embodiment. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above image super-resolution reconstruction method embodiment, which will not be repeated here.

[0144] like Figure 8 As shown, the present invention also provides an electronic device 800. The electronic device 800 includes a processor 801, a memory 802 and a display 803. Figure 8 Only some components of the electronic device 800 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0145] In some embodiments, the processor 801 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 802, such as the image super-resolution reconstruction method of the present invention.

[0146] In some embodiments, the processor 801 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 801 may be local or remote. In some embodiments, the processor 801 may be implemented in a cloud platform. In one embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.

[0147] In some embodiments, the memory 802 may be an internal storage unit of the electronic device 800, such as a hard disk or memory of the electronic device 800. In other embodiments, the memory 802 may also be an external storage device of the electronic device 800, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 800.

[0148] Furthermore, the memory 802 may include both an internal storage unit of the electronic device 800 and an external storage device. The memory 802 is used to store application software installed in the electronic device 800 and various data.

[0149] In some embodiments, the display 803 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 803 is used to display information on the electronic device 800 and to display a visual user interface. The components 801-803 of the electronic device 800 communicate with each other via a system bus.

[0150] In one embodiment, when the processor 801 executes the image super-resolution reconstruction program in the memory 802, the following steps may be implemented:

[0151] Get low-resolution images;

[0152] Input the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image;

[0153] Among them, the image super-resolution reconstruction model includes an image super-resolution deep expansion network sub-model and a channel attention sub-model connected to the image super-resolution deep expansion network sub-model.

[0154] It should be understood that: when the processor 801 executes the image super-resolution reconstruction program in the memory 802, in addition to the above functions, other functions may also be implemented, and details may refer to the description of the corresponding method embodiments above.

[0155] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 800 mentioned, and the electronic device 800 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 800 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0156] Accordingly, an embodiment of the present application also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, the steps or functions in the image super-resolution reconstruction method provided in the above-mentioned method embodiments can be implemented.

[0157] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0158] The image super-resolution reconstruction method and device provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for super-resolution image reconstruction, characterized in that: include: Get low-resolution images; Inputting the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image; The image super-resolution reconstruction model includes an image super-resolution deep expansion network sub-model and a channel attention sub-model connected to the image super-resolution deep expansion network sub-model; The image super-resolution deep expansion network sub-model includes an initial convolution layer, a lower residual module, a first residual block, a second residual block, an upper residual module and an end convolution layer; The low-resolution image passes through the initial convolution layer, the lower residual module, the first residual block, the second residual block, the upper residual module and the end convolution layer to obtain a target residual feature image; The channel attention sub-model includes a basic block connected in sequence, an average pooling layer, a first fully connected layer, a ReLU function layer, a second fully connected layer, a Sigmoid function layer, and a region extraction layer; The basic block is used to receive the target residual feature image and generate a feature connection graph according to the target residual feature image; The average pooling layer is used to reduce the dimension of the feature connection graph to obtain a reduced-dimensional connection graph; The first fully connected layer is used to scale the dimension reduction connection graph based on a preset first scaling factor to obtain a first scaled graph; The ReLU function layer is used to perform nonlinear mapping on the first scaling image to obtain a nonlinear mapping image; The second fully connected layer is used to scale the nonlinear mapping image based on a preset second scaling factor to obtain a second scaling image; The Sigmoid function layer is used to obtain the weight value of each channel of the second zoom image based on a preset number of channels; The region extraction layer is used to extract an image of interest of a region of interest from the feature connection map based on the weight value.

2. The image super-resolution reconstruction method according to claim 1, characterized in that: The lower residual module includes a cascaded first lower residual unit, a second lower residual unit, and a third lower residual unit, and the upper residual module includes a cascaded first upper residual unit, a second upper residual unit, and a third upper residual unit; The initial convolution layer is used to receive the low-resolution image and obtain a feature extraction image; The first down-residual unit is used to down-sample the feature extraction image to obtain a first down-sampled image, and generate a first residual feature image according to the first down-sampled image; The second down-residual unit is used to down-sample the first residual feature image to obtain a second down-sampled image, and generate a second residual feature image according to the second down-sampled image; The third down-residual unit is used to down-sample the second residual feature to obtain a third down-sampled image, and generate a third residual feature image according to the third down-sampled image; The first residual block is used to receive the third residual feature image and generate a fourth residual feature image according to the third residual feature image; The second residual block is used to receive the fourth residual feature image and generate a fifth residual feature image according to the fourth residual feature image; The third upper residual unit is used to receive the fifth residual feature image and the third residual feature image, and generate a sixth residual feature image according to the fifth residual feature image and the third residual feature image; The second up-residual unit is used to receive the sixth residual feature image and the second residual feature image, up-sample the sixth residual feature image to generate a first up-sampled image, and generate a seventh residual feature image according to the first up-sampled image and the second residual feature image; The first up-residual unit is used to receive the seventh residual feature image and the first residual feature image, up-sample the seventh residual feature image to generate a second up-sampled image, and generate an eighth residual feature image according to the second up-sampled image and the first residual feature image; The end convolution layer is used to receive the eighth residual feature image and the feature extraction image, and upsample the eighth residual feature image to generate a third upsampled image, and generate the target residual feature image based on the third upsampled image and the feature extraction image.

3. The image super-resolution reconstruction method according to claim 2, characterized in that: The first lower residual unit includes a first lower residual block and a first convolutional layer connected in sequence, the second lower residual unit includes a second lower residual block and a second convolutional layer connected in sequence, the third lower residual unit includes a third lower residual block and a third convolutional layer connected in sequence, the first upper residual unit includes a first deconvolutional layer and a first upper residual block connected in sequence, the second upper residual unit includes a second deconvolutional layer and a second upper residual block connected in sequence, and the third upper residual unit includes a third deconvolutional layer and a third upper residual block connected in sequence.

4. The image super-resolution reconstruction method according to claim 3, characterized in that: The first lower residual block includes a first residual convolution layer, a residual activation function layer, a second residual convolution layer and a fusion layer; The first residual convolution layer is used to perform a convolution operation on the first down-sampled image to obtain a first convolution image; The residual activation function layer is used to perform activation processing on the first convolution image based on the ReLu activation function to obtain an activated image; The second residual convolution layer is used to perform a convolution operation on the activation image to obtain a convolution image; The fusion layer is used to superimpose the first down-sampled image and the convolution image to obtain the first residual feature image.

5. The image super-resolution reconstruction method according to claim 1, characterized in that: The basic block includes two basic units connected in sequence, and the basic unit includes a basic convolution layer, a batch normalization layer, and a basic ReLU function layer; The basic convolution layer is used to extract the features of the target residual feature image to obtain a basic feature image; The batch normalization layer is used to perform normalization processing on the basic feature image to obtain a normalized image; The basic ReLU function layer is used to perform nonlinear mapping on the normalized image to obtain the feature connection map.

6. The image super-resolution reconstruction method according to claim 1, characterized in that: Before inputting the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image, the method further includes: Constructing an initial super-resolution image model and determining a loss function of the initial super-resolution image model; Acquire a plurality of low-resolution images, and preprocess the plurality of low-resolution images to obtain a low-resolution image training set; The initial super-resolution image model is trained according to the low-resolution image training set and the loss function to obtain the image super-resolution reconstruction model.

7. The image super-resolution reconstruction method according to claim 6, characterized in that: After obtaining the image super-resolution reconstruction model, the method further includes: Determining whether the model performance of the image super-resolution reconstruction model is greater than a performance threshold based on the peak signal-to-noise ratio and the structural similarity; If the model performance of the image super-resolution reconstruction model is less than the performance threshold, the image super-resolution reconstruction model is updated.

8. An image super-resolution reconstruction device, characterized in that: include: A low-resolution image acquisition unit, used for acquiring a low-resolution image; An image reconstruction unit, used for inputting the low-resolution image into a well-trained image super-resolution reconstruction model to obtain a high-resolution image; The image super-resolution reconstruction model includes an image super-resolution deep expansion network sub-model and a channel attention sub-model connected to the image super-resolution deep expansion network sub-model; The image super-resolution deep expansion network sub-model includes an initial convolution layer, a lower residual module, a first residual block, a second residual block, an upper residual module and an end convolution layer; The low-resolution image passes through the initial convolution layer, the lower residual module, the first residual block, the second residual block, the upper residual module and the end convolution layer to obtain a target residual feature image; The channel attention sub-model includes a basic block connected in sequence, an average pooling layer, a first fully connected layer, a ReLU function layer, a second fully connected layer, a Sigmoid function layer, and a region extraction layer; The basic block is used to receive the target residual feature image and generate a feature connection graph according to the target residual feature image; The average pooling layer is used to reduce the dimension of the feature connection graph to obtain a reduced-dimensional connection graph; The first fully connected layer is used to scale the dimension reduction connection graph based on a preset first scaling factor to obtain a first scaled graph; The ReLU function layer is used to perform nonlinear mapping on the first scaling image to obtain a nonlinear mapping image; The second fully connected layer is used to scale the nonlinear mapping image based on a preset second scaling factor to obtain a second scaling image; The Sigmoid function layer is used to obtain the weight value of each channel of the second zoom image based on a preset number of channels; The region extraction layer is used to extract an image of interest of a region of interest from the feature connection map based on the weight value.