Image super-resolution reconstruction method and system based on convolution and Transform hybrid architecture

By combining a hybrid architecture of convolutional neural network and Transformer in image super-resolution reconstruction, using an efficient self-attention mechanism and a large receptive field convolution module, the problem of poor performance of existing technologies in environments with limited computing resources is solved. It achieves high-quality image super-resolution reconstruction and low-latency algorithms, which are suitable for practical applications.

CN118780984APending Publication Date: 2024-10-15XI AN JIAOTONG UNIV
View PDF 0 Cites 11 Cited by

Patent Information

Application Number
CN202410747022.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing image super-resolution methods based on convolutional neural networks and Transformers perform poorly in environments with limited computing resources, making it difficult to achieve efficient image super-resolution reconstruction on embedded systems and mobile devices.

Method used

Using an image super-resolution reconstruction method based on a hybrid architecture of convolution and Transformer, through efficient self-attention mechanism, compressed feed-forward network and large receptive field convolution module, combined with the advantages of convolutional neural network and Transformer, a method is designed Efficient image super-resolution reconstruction network to reduce computational cost and latency.

Benefits of technology

Significantly improves the quality of image super-resolution reconstruction, reduces computational costs, enhances the ability to capture the fine structures of images, improves model performance, and achieves real-time capabilities on hardware devices, making it suitable for actual single-image super-resolution Rebuild the application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780984A_ABST
    Figure CN118780984A_ABST
Patent Text Reader

Abstract

The invention discloses an image super-resolution reconstruction method and system based on a convolution and Transform hybrid architecture, and the method comprises the steps: carrying out the preprocessing of original data in a single image super-resolution reconstruction training data set, and generating the training data of the pairing of a low-resolution image and a high-resolution image; constructing an image super-resolution reconstruction network based on a convolution and Transform hybrid architecture, inputting the preprocessed training data into the image super-resolution reconstruction network, and training by using an L1 loss function and an ADAM optimizer to obtain a trained super-resolution reconstruction network model; and inputting an image to be reconstructed into the trained super-resolution reconstruction network model to generate a corresponding high-resolution image. The system comprises a data preprocessing module, a model training module and an image reconstruction module. According to the method, the advantages of the convolutional neural network and Transform can be utilized at the same time, so that the model complexity and delay are effectively reduced while local and global information is obtained, and the quality of a super-resolution reconstructed image is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image processing, and in particular relates to an image super-resolution reconstruction method and system based on a convolution and Transformer hybrid architecture. Background Art

[0002] Single image super-resolution reconstruction has always been a classical computer vision task that has attracted much attention. It aims to reconstruct a high-resolution image with rich details and vivid semantics from the corresponding low-resolution image. As a basic image processing algorithm, single image super-resolution reconstruction has a wide range of applications, such as medical imaging, satellite imaging, and surveillance monitoring.

[0003] In recent years, the rapid development of deep learning technology has provided new methods and possibilities for super-resolution image processing. The powerful learning ability of deep neural networks enables them to learn and extract complex features in images, thus achieving remarkable results in super-resolution tasks. Since the pioneering work SRCNN, super-resolution methods based on convolutional neural networks have replaced traditional model-based methods and have shown impressive performance in constructing super-resolution images. However, due to the small receptive field, convolutional neural network-based methods can only focus on local features and ignore global information, which may be indispensable for achieving better super-resolution performance. Recently, with the achievements of Transformer in the field of natural language processing, Transformer-based single image super-resolution reconstruction methods have shown superior performance by utilizing the powerful self-attention mechanism to model long-range dependencies in images. However, the computational complexity of self-attention is proportional to the square of the image size, which imposes a high computational burden on the Transformer architecture, making the existing super-resolution networks often large and demanding on computing resources, which limits their practical application in some resource-constrained scenarios, such as embedded systems and mobile devices. Therefore, it is necessary to study and design lightweight super-resolution networks to achieve efficient image super-resolution in an environment with limited computing resources. The hybrid network architecture combining convolutional neural networks and Transformer can focus on both local and non-local information in the image and make a better trade-off between complexity, latency, and effectiveness. Summary of the invention

[0004] The purpose of the present invention is to propose an image super-resolution reconstruction method and system based on a hybrid architecture of convolution and Transformer, so as to greatly improve the running speed of the algorithm while obtaining high-quality super-resolution images. The present invention proposes an innovative and efficient Transformer module, which includes an efficient self-attention mechanism and a compressed feedforward network to reduce the computational cost compared with previous methods. Moreover, all these improvements can be easily transplanted to other models involving the Transformer architecture and achieve lower latency. In addition, the present invention designs a large receptive field convolution module, which adopts an alternating strategy between a specially designed large receptive field convolution module and a standard convolution residual block to achieve powerful representation capabilities, while balancing the number of model multiplication and addition operations and performance. Based on the innovative design of efficient self-attention mechanism, compressed feedforward network and large receptive field convolution module, the present invention proposes an efficient image super-resolution reconstruction network and its real-time deployment version, which achieves the best effect on the super-resolution reconstruction results of a single image.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] Image super-resolution reconstruction method based on convolution and Transformer hybrid architecture, including:

[0007] Preprocessing the original data in the single image super-resolution reconstruction training data set to generate training data of low-resolution image and high-resolution image pairings;

[0008] Construct an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer, input the preprocessed training data into the image super-resolution reconstruction network, and use the L1 loss function and ADAM optimizer for training to obtain a trained super-resolution reconstruction network model;

[0009] The image to be reconstructed is input into the trained super-resolution reconstruction network model to generate the corresponding high-resolution image.

[0010] A further improvement of the present invention is to pre-process the original data in the single image super-resolution reconstruction training data set to generate training data of low-resolution image and high-resolution image pairing, including:

[0011] Randomly select image patches from the training dataset and crop them to a size of 64×64;

[0012] The cropped image blocks are randomly flipped and rotated horizontally to increase the diversity of training data;

[0013] The corresponding low-resolution LR images are generated from the original high-resolution images by using bicubic interpolation downsampling operation in MATLAB, with scaling factors of ×2, ×3, and ×4, to obtain the training data of paired low-resolution and high-resolution images.

[0014] A further improvement of the present invention is to construct an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer, input the preprocessed training data into the image super-resolution reconstruction network, and use the L1 loss function and ADAM optimizer for training to obtain a trained super-resolution reconstruction network model, including:

[0015] For a given low-resolution input image I LR , use convolution operation to obtain shallow feature embedding, which can be expressed as:

[0016] F 0 =H SF (I LR )

[0017] Among them, F 0 represents shallow features, H SF Represents the convolution operation;

[0018] The shallow features are sent to the deep feature extraction module to obtain the deep features; the mixing block F in the deep feature extraction module HB It is composed of a convolutional neural network and a Transformer, and a convolutional layer is added at the end of the deep feature extraction module, which can be expressed as:

[0019]

[0020] Among them, F DF represents the deep features, H DF represents the deep feature extraction module, which consists of M cascaded mixing blocks and a convolutional layer H Conv Composition, each mixing block F HB The operation is expressed as:

[0021]

[0022] Among them, H ETB , H LRFB and H SCRB They represent efficient Transformer module, large receptive field convolution module and standard convolution residual block respectively. and are the input and output features of the i-th hybrid block respectively;

[0023] Reconstruct the high-resolution image I through the reconstruction module HR,The reconstruction module consists of a convolutional layer with adjusted dimension and pixel shuffling operation, and its process is expressed as:

[0024] I HR =H Rec (F 0 +F DF )

[0025] Among them, H Rec Represents the functionality of the high-resolution image reconstruction module, which consists of a convolutional layer for adjusting the dimension and a PixelShuffle operation.

[0026] A further improvement of the present invention is that, by optimizing the model training through the L1 loss function, for N pairs of low-resolution images I LR And its corresponding real image The goal is to minimize the L1 loss function, which is expressed as:

[0027]

[0028] Among them, Θ represents the parameter set of the input network model, |||| 1 represents the L1 norm, H Ours Represents the proposed reconstruction method.

[0029] Image super-resolution reconstruction system based on convolution and Transformer hybrid architecture, including:

[0030] A data preprocessing module is used to preprocess the original data in the single image super-resolution reconstruction training data set to generate training data of low-resolution image and high-resolution image pairing;

[0031] The model training module is used to build an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer, input the preprocessed training data into the image super-resolution reconstruction network, and train it using the L1 loss function and ADAM optimizer to obtain a trained super-resolution reconstruction network model;

[0032] The image reconstruction module is used to input the image to be reconstructed into the trained super-resolution reconstruction network model to generate the corresponding high-resolution image.

[0033] An electronic device, comprising:

[0034] A memory for storing executable instructions;

[0035] The processor is used to implement the steps of the image super-resolution reconstruction method based on the convolution and Transformer hybrid architecture described in any one of claims 1 to 4 when executing the executable instructions stored in the memory.

[0036] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the image super-resolution reconstruction method based on a convolution and Transformer hybrid architecture.

[0037] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0038] The present invention significantly improves the image super-resolution reconstruction quality by combining the hybrid architecture design of convolutional neural network and Transformer, while maintaining the low latency of the algorithm. The efficient Transformer module proposed in the present invention includes an efficient self-attention mechanism and a compressed feedforward network, which effectively reduces the computational cost. In addition, by adopting a large receptive field convolution module, the local features ignored in the Transformer stage are successfully extracted, and the module's ability to capture subtle structures in the image is enhanced, thereby improving the overall performance of the model. At the same time, the present invention introduces receptive field expansion optimization, expands the receptive field range through hollow convolution, and reduces network parameters through deep convolution, effectively reducing the computational burden, making the model more efficient and more superior in super-resolution tasks. Finally, the real-time capability of the present invention on hardware devices is significantly improved, which is suitable for practical single-image super-resolution reconstruction applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 The overall architecture diagram of the image super-resolution reconstruction method based on the convolution and Transformer hybrid architecture of the present invention;

[0040] Figure 2 A schematic diagram showing the comparison between the efficient self-attention of the present invention and the standard self-attention;

[0041] Figure 3 is a schematic diagram of a compressed feedforward network of the present invention;

[0042] Figure 4 Schematic diagram of a large receptive field convolution module of the present invention;

[0043] Figure 5 This is a structural block diagram of the image super-resolution reconstruction system based on the convolution and Transformer hybrid architecture of the present invention. DETAILED DESCRIPTION

[0044] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to be able to fully convey the scope of the present invention to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

[0045] Example 1

[0046] The image super-resolution reconstruction method based on the convolution and Transformer hybrid architecture provided in this embodiment includes:

[0047] Preprocessing the original data in the single image super-resolution reconstruction training data set to generate training data of low-resolution image and high-resolution image pairings;

[0048] Construct an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer, input the preprocessed training data into the image super-resolution reconstruction network, and use the L1 loss function and ADAM optimizer for training to obtain a trained super-resolution reconstruction network model;

[0049] The image to be reconstructed is input into the trained super-resolution reconstruction network model to generate the corresponding high-resolution image.

[0050] In this embodiment, the raw data in the single image super-resolution reconstruction training data set is preprocessed to generate training data of low-resolution image and high-resolution image pairings, including:

[0051] Randomly select image patches from the training dataset and crop them to a size of 64×64;

[0052] The cropped image blocks are randomly flipped and rotated horizontally to increase the diversity of training data;

[0053] The corresponding low-resolution LR images are generated from the original high-resolution images by using bicubic interpolation downsampling operation in MATLAB, with scaling factors of ×2, ×3, and ×4, to obtain the training data of paired low-resolution and high-resolution images.

[0054] In this embodiment, an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer is constructed, the preprocessed training data is input into the image super-resolution reconstruction network, and the L1 loss function and ADAM optimizer are used for training to obtain a trained super-resolution reconstruction network model, including:

[0055] For a given low-resolution input image I LR , use convolution operation to obtain shallow feature embedding, which can be expressed as:

[0056] F 0 =H SF (I LR )

[0057] Among them, F 0 represents shallow features, H SF Represents the convolution operation;

[0058] The shallow features are sent to the deep feature extraction module to obtain the deep features; the mixing block F in the deep feature extraction module HB It is composed of a convolutional neural network and a Transformer, and a convolutional layer is added at the end of the deep feature extraction module, which can be expressed as:

[0059]

[0060] Among them, F DF represents the deep features, H DF represents the deep feature extraction module, which consists of M cascaded mixing blocks and a convolutional layer H Conv Composition, each mixing block F HB The operation is expressed as:

[0061]

[0062] Among them, H ETB , H LRFB and H SCRB They represent efficient Transformer module, large receptive field convolution module and standard convolution residual block respectively. and are the input and output features of the i-th hybrid block respectively;

[0063] Reconstruct the high-resolution image I through the reconstruction module Hr ,The reconstruction module consists of a convolutional layer with adjusted dimension and pixel shuffling operation, and its process is expressed as:

[0064] I Hr =H Rec (F 0 +F DF )

[0065] Among them, H Rec Represents the functionality of the high-resolution image reconstruction module, which consists of a convolutional layer for adjusting the dimension and a PixelShuffle operation.

[0066] In this embodiment, the model training is optimized by L1 loss function. LR And its corresponding real image The goal is to minimize the L1 loss function, which is expressed as:

[0067]

[0068] Among them, Θ represents the parameter set of the input network model, |||| 1 represents the L1 norm, H ours Represents the proposed reconstruction method.

[0069] Example 2

[0070] refer to Figure 1-4 The image super-resolution reconstruction method based on the convolution and Transformer hybrid architecture provided in this embodiment mainly includes three steps: shallow feature extraction, deep feature extraction and high-resolution image reconstruction. The specific implementation method is as follows:

[0071] (1) Learnable and efficient hybrid network architecture:

[0072] Figure 1 The present invention is a schematic diagram of the overall structure of the present invention. Aiming at the characteristics of low-resolution images, the present invention preliminarily designs the overall structure of an efficient image super-resolution network based on a hybrid architecture of convolution and Transformer, which specifically includes three modules with different functions: a shallow feature extraction module H SF , deep feature extraction module H DF and high-resolution image reconstruction module H Rec Specifically, for a given low-resolution input image I LR , first use the convolution operation to obtain the shallow feature embedding F 0 This single convolutional layer provides a way to quickly increase the dimension of the input image. Then, the shallow features are sent to the deep feature extraction module to obtain deep features. The hybrid block in the deep feature extraction module is composed of a convolutional neural network and a Transformer. In addition, a convolutional layer is introduced at the end of this module to more effectively aggregate information from deep features. Finally, the high-resolution image I is reconstructed by the reconstruction module. HR In addition, in order to make full use of shallow and deep features, long jump connections are introduced. The reconstruction module consists of a convolutional layer for adjusting the dimension and a pixel shuffle operation. The efficient hybrid network architecture designed by the present invention has learning ability, and the whole process can be expressed by the formula:

[0073] F 0 =H SF (I LR )

[0074] I HR =H Rec (F 0 +H DF (F 0 ))

[0075] (2) Efficient self-attention mechanism:

[0076] The efficient self-attention mechanism proposed in this paper is based on the standard self-attention of the original Transformer module. Figure 2 As shown in Figure 2, the main difference lies in the way the value V is generated and the size of the feature map, so that the self-attention mechanism is more efficient and occupies a lower computational cost. Specifically, given an input X in ∈R C×H×W , C represents the number of input feature channels, H and W represent the height and width of the input image respectively. First, the input is divided into P×P non-overlapping local windows and reshaped into in is the number of windows. Then, self-attention is calculated in each window. For the local window feature X w ∈R C×p×p Considering that the model complexity in the self-attention mechanism grows quadratically with the input size, the present invention first uses a downsampling operation to reduce the feature map to Where s is the scale of downsampling. This modification can significantly reduce the computational burden of the model. Then, X w′ Reshape For subsequent matrix calculations. Then, unlike the standard self-attention mechanism that generates query Q, key K, and value V separately, the present invention uses a linear layer to generate only the query and key matrices, i.e. and The value (V) is the original input X w′″ , which also plays a role in reducing model parameters. This process can be expressed as:

[0077] Q=X w″ W Q ,K=X w″ W K ,V=X w″

[0078] By calculating the similarity between Q and K, we can get a value of size R C×C The transposed attention map A is obtained by using the softmax function to obtain the weighted coefficient. Then V is multiplied by the coefficient to obtain the aggregated feature. In general, the efficient self-attention mechanism ESA process can be expressed as:

[0079] ESA(Xw″ )=Softmax(QK T / α)V

[0080] =Softmax(QK T / α)X w″

[0081] where α is a learnable scaling parameter that controls QK before applying the softmax function. T Finally, the output is upsampled to restore the feature map size to the original window size.

[0082] (3) Compressed feedforward network:

[0083] In addition to the two improvements in self-attention mentioned above, the compressed feedforward network is another design that makes the Transformer block efficient. Since the gated feedforward network has shown great potential in controlling feature transformation, the present invention uses the gated feedforward network as the feedforward network in the proposed method. In a typical feedforward network, it is common practice to first expand the feature channels to facilitate various types of feature combinations, thereby improving the discriminative ability of the model. Subsequently, the channels are reduced back to the original input dimension to eliminate feature combinations with poor discriminativeness. Figure 3 As shown, in the proposed compressed feedforward network, the present invention uses a channel compression strategy to compress the expansion factor to reduce parameters.

[0084] (4) Large receptive field convolution module:

[0085] The large receptive field convolution module is used to extract local features that are ignored in the Transformer stage. Figure 4 As shown in the figure, the large receptive field convolution module proposed in the present invention uses the Meta-Former style architecture abstracted from Transformer, which can be expressed as:

[0086] F mid =RFD(LN(F in ))+F in

[0087] F out =SFFN(LN(F mid ))+F mid

[0088] In the formula, F in 、F mid and F out They represent input features, intermediate features, and output features respectively. LN represents the LayerNorm layer normalization operation, RFD represents the receptive field expansion operation, and SFFN represents the compressed feedforward network.

[0089] The proposed compressed feedforward network module is also used to reduce the model size. Inspired by the fact that super-resolution networks with larger effective receptive fields have been shown to achieve better performance, this paper introduces dilated convolution in the large receptive field convolution module to expand the receptive field. In addition, deep convolution is used to reduce network parameters. Specifically, first, given an input X in a convolution layer, in ∈R C×H×W , and divide it into two parts in the channel dimension Then, after three convolutional layers, a and b are multiplied. Finally, the convolutional layer is used to generate the output features. In general, the receptive field expansion operation RFD process can be expressed as:

[0090] a,b=H split (H Conv (F in ))

[0091] H mid (a,b)=H DWConv (H DDWConv (H Conv (a)))⊙b

[0092] Where: H split is the splitting operation on the channel dimension. DDWConv and H DWConv They represent the dilated depthwise separable convolution and the depthwise separable convolution respectively, which aims not only to expand the receptive field but also to reduce the increase in computational complexity. ⊙ represents the Hadamard product.

[0093] (5) Network model training

[0094] The present invention uses the DF2K dataset as a training dataset, which includes 3450 low-resolution-high-resolution RGB image pairs, of which 800 are from the DIV2K dataset and 2650 are from the Flickr2K dataset. In order to evaluate the effectiveness of the algorithm, the present invention uses five widely used benchmark datasets as test sets: Set5, Set14, BSD100, Urban100 and Manga109. The widely used average peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM) are used as evaluation indicators. In order to be consistent with previous methods, the present invention calculates the value on the brightness channel (that is, the Y channel of the YCbCr color space converted from the RGB channel).

[0095] The present invention provides two models according to the number of hybrid blocks. For the standard efficient image super-resolution network based on the hybrid architecture of convolution and Transformer, the number of hybrid blocks is set to 8. In addition, in order to be deployed in real-world scenarios, the present invention provides a deployment version that reduces the number of hybrid blocks from 8 to 2. For each version of the hyperparameters, the dimension C of the intermediate features, the expansion ratio r inside the compressed feedforward network module, the scale s of the downsampling in the efficient self-attention mechanism, and the window size P are set to 60, 1.33, 2, and 8, respectively.

[0096] During the training process, the present invention randomly crops image patches of size 64×64 from the training dataset as input, and uses random horizontal flipping and rotation (90°, 180°, 270°) to enhance the training data. The low-resolution images are obtained from the corresponding real images through bicubic interpolation downsampling operation in MATLAB, with scaling factors of ×2, ×3, and ×4, respectively. The batch size is set to 64, and the total number of training iterations is set to 500K. The learning rate is initialized to 2×10 -4 , and each was reduced by half at milestones [250K, 400K, 450K, 475K]. In order to optimize the model, the present invention uses the L1 loss function and the ADAM optimizer with β1=0.9, β2=0.99 to train the model.

[0097] According to the above steps, the reconstruction method proposed in this invention is compared with EDSR-baseline model, CARN model, IMDN model, PAN model, and SwinIR-light model using five widely used benchmark datasets (Set5, Set14, BSD100, Urban100, and Manga109). Table 1 shows the quantitative comparison of different single image super-resolution reconstruction methods on five benchmark datasets at three magnification factors of ×2, ×3 and ×4. In addition to the PSNR / SSIM indicators, the delay indicator is also provided for a more comprehensive and fair comparison. The best results are indicated in bold and the second best results are underlined.

[0098] Table 1 Quantitative comparison of different algorithms on five benchmark datasets at different magnifications

[0099]

[0100]

[0101] It can be observed that the proposed method significantly outperforms the existing methods on almost all five datasets and all three magnification factors. In addition, compared with other Transformer architectures, such as SwinIR-ligh, the proposed method maintains lower latency and superior performance. This shows that the proposed convolution and Transformer combination method can effectively extract local and global information and alleviate the performance loss introduced by lightweight operations, thereby reducing latency, which is crucial for the practical application of the model in real-world scenarios.

[0102] Example 3

[0103] refer to Figure 5 , the image super-resolution reconstruction system based on the convolution and Transformer hybrid architecture provided in this embodiment includes:

[0104] A data preprocessing module is used to preprocess the original data in the single image super-resolution reconstruction training data set to generate training data of low-resolution image and high-resolution image pairing;

[0105] The model training module is used to build an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer, input the preprocessed training data into the image super-resolution reconstruction network, and train it using the L1 loss function and ADAM optimizer to obtain a trained super-resolution reconstruction network model;

[0106] The image reconstruction module is used to input the image to be reconstructed into the trained super-resolution reconstruction network model to generate the corresponding high-resolution image.

[0107] Example 4

[0108] An electronic device provided in this embodiment includes: a memory for storing executable instructions; and a processor for implementing the steps of the image super-resolution reconstruction method based on a convolution and Transformer hybrid architecture when executing the executable instructions stored in the memory.

[0109] Example 5

[0110] This embodiment provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the image super-resolution reconstruction method based on the convolution and Transformer hybrid architecture.

[0111] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0112] The present application is described with reference to the flowcharts and / or block diagrams of the methods, systems and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or boxes.

[0113] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0114] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0115] It should be noted that the above implementation example is only a case to verify the present invention, but the scope of application of the present invention is not limited to this. Any technician familiar with the technical field can use this set of calculation processes to change the blade type, airfoil type, dynamic aerodynamic conditions, etc., and obtain corresponding results. This result can play a certain role in the early design stage of the blade, evaluate the overall aerodynamic load of the blade, and avoid excessive design load errors, which may affect the safety of the unit operation. At the same time, this method can also evaluate the aerodynamic load under the condition of smooth blade surface. It only needs to change the dynamic aerodynamic data of the second module to the corresponding data of the smooth airfoil, so as to provide designers with reliable reference data and improve design efficiency.

[0116] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the attached claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved.

[0117] In addition, it should be understood that although this specification is described in accordance with the implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation modes that can be understood by those skilled in the art. The above content is only to illustrate the technical idea of ​​the present invention, and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution according to the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.

Claims

1. An image super-resolution reconstruction method based on a hybrid architecture of convolution and Transformer, characterized in that: include: Preprocess the original data in the single image super-resolution reconstruction training data set to generate training data of low-resolution image and high-resolution image pairings; Construct an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer, input the preprocessed training data into the image super-resolution reconstruction network, and use the L1 loss function and ADAM optimizer for training to obtain a trained super-resolution reconstruction network model; The image to be reconstructed is input into the trained super-resolution reconstruction network model to generate the corresponding high-resolution image.

2. The image super-resolution reconstruction method based on a hybrid architecture of convolution and Transformer according to claim 1, characterized in that: The raw data in the single image super-resolution reconstruction training dataset is preprocessed to generate training data of low-resolution image and high-resolution image pairs, including: Randomly select image patches from the training dataset and crop them to a size of 64×64; The cropped image blocks are randomly flipped and rotated horizontally to increase the diversity of training data; The corresponding low-resolution LR images are generated from the original high-resolution images by using bicubic interpolation downsampling operation in MATLAB, with scaling factors of ×2, ×3, and ×4, to obtain the training data of paired low-resolution and high-resolution images.

3. The image super-resolution reconstruction method based on a convolution and Transformer hybrid architecture according to claim 1, characterized in that: Construct an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer, input the preprocessed training data into the image super-resolution reconstruction network, and use the L1 loss function and ADAM optimizer for training to obtain a trained super-resolution reconstruction network model, including: For a given low-resolution input image I LR , use convolution operation to obtain shallow feature embedding, which can be expressed as: F0=H SF (I LR ) Among them, F0 represents the shallow feature, H SF Represents the convolution operation; The shallow features are sent to the deep feature extraction module to obtain the deep features; the mixing block F in the deep feature extraction module HB It is composed of a convolutional neural network and a Transformer, and a convolutional layer is added at the end of the deep feature extraction module, which can be expressed as: Among them, F DF represents the deep features, H DF represents the deep feature extraction module, which consists of M cascaded mixing blocks and a convolutional layer H Conv Composition, each mixing block F HB The operation is expressed as: Among them, H ETB , H LRFB and H SCRB They represent efficient Transformer module, large receptive field convolution module and standard convolution residual block respectively. and are the input and output features of the i-th hybrid block respectively; Reconstruct the high-resolution image I through the reconstruction module Hr ,The reconstruction module consists of a convolutional layer with adjusted dimension and pixel shuffling operation, and its process is expressed as: I Hr =H Rec (F0+F DF ) Among them, H Rec Represents the functionality of the high-resolution image reconstruction module, which consists of a convolutional layer for adjusting the dimension and a PixelShuffle operation.

4. The image super-resolution reconstruction method based on a convolution and Transformer hybrid architecture according to claim 3, characterized in that: The model training is optimized by L1 loss function, for N pairs of low-resolution images I LR And its corresponding real image The goal is to minimize the L1 loss function, which is expressed as: Among them, Θ represents the parameter set of the input network model, ||||1 represents the L1 norm, and H Ours Represents the proposed reconstruction method.

5. Image super-resolution reconstruction system based on convolution and Transformer hybrid architecture, characterized by: include: A data preprocessing module is used to preprocess the original data in the single image super-resolution reconstruction training data set to generate training data of low-resolution image and high-resolution image pairing; The model training module is used to build an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer, input the preprocessed training data into the image super-resolution reconstruction network, and train it using the L1 loss function and ADAM optimizer to obtain a trained super-resolution reconstruction network model; The image reconstruction module is used to input the image to be reconstructed into the trained super-resolution reconstruction network model to generate the corresponding high-resolution image.

6. The image super-resolution reconstruction method based on a hybrid architecture of convolution and Transformer according to claim 5, characterized in that: In the data preprocessing module, the original data in the single image super-resolution reconstruction training data set is preprocessed to generate training data of low-resolution image and high-resolution image pairing, including: Randomly select image patches from the training dataset and crop them to a size of 64×64; The cropped image blocks are randomly flipped and rotated horizontally to increase the diversity of training data; The corresponding low-resolution LR images are generated from the original high-resolution images by using bicubic interpolation downsampling operation in MATLAB, with scaling factors of ×2, ×3, and ×4, to obtain the training data of paired low-resolution and high-resolution images.

7. The image super-resolution reconstruction system based on a hybrid architecture of convolution and Transformer according to claim 5, characterized in that: In the model training module, an image super-resolution reconstruction network based on a hybrid architecture of convolution and Transformer is constructed. The preprocessed training data is input into the image super-resolution reconstruction network, and the L1 loss function and ADAM optimizer are used for training to obtain a trained super-resolution reconstruction network model, including: For a given low-resolution input image I LR , use convolution operation to obtain shallow feature embedding, which can be expressed as: F0=H SF (I LR ) Among them, F0 represents the shallow feature, H SF Represents the convolution operation; The shallow features are sent to the deep feature extraction module to obtain the deep features; the mixing block F in the deep feature extraction module HB It is composed of a convolutional neural network and a Transformer, and a convolutional layer is added at the end of the deep feature extraction module, which can be expressed as: Among them, F DF represents the deep features, H DF represents the deep feature extraction module, which consists of M cascaded mixing blocks and a convolutional layer H Honv Composition, each mixing block F HB The operation is expressed as: Among them, H ETB , H LRFB and H SCRB They represent efficient Transformer module, large receptive field convolution module and standard convolution residual block respectively. and are the input and output features of the i-th hybrid block respectively; Reconstruct the high-resolution image I through the reconstruction module HR ,The reconstruction module consists of a convolutional layer with adjusted dimension and pixel shuffling operation, and its process is expressed as: I HR =H Rec (F0+F DF ) Among them, H Rec Represents the functionality of the high-resolution image reconstruction module, which consists of a convolutional layer for adjusting the dimension and a PixelShuffle operation.

8. The image super-resolution reconstruction system based on a hybrid architecture of convolution and Transformer according to claim 7, characterized in that: In the model training module, the L1 loss function is used to optimize the model training. LR And its corresponding real image The goal is to minimize the L1 loss function, which is expressed as: Among them, Θ represents the parameter set of the input network model, || ||1 represents the L1 norm, and H Ours Represents the proposed reconstruction method.

9. An electronic device, characterized in that: include: A memory for storing executable instructions; The processor is used to implement the steps of the image super-resolution reconstruction method based on the convolution and Transformer hybrid architecture described in any one of claims 1 to 4 when executing the executable instructions stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the image super-resolution reconstruction method based on a convolution and Transformer hybrid architecture according to any one of claims 1 to 4.

Citation Information

Cited By

  • Low-illumination face image super-resolution reconstruction method, device and equipment

    CN118967451A

  • Lightweight image super-resolution method and device based on efficient frequency domain Transform

    CN119180752A

  • Image super-resolution generation model construction method and image super-resolution generation method and system

    CN119205515A

  • Image super-resolution reconstruction method and system

    CN119399027A

  • Compression imaging method and system based on Swin Transform network

    CN119417918A