Method and system for high frequency attention networks for efficient single image super-resolution
By introducing the architecture of efficient residual blocks and high-frequency attention blocks into CNN, the problem of high computing and storage consumption of existing SISR models is solved, and efficient image super-resolution recovery on edge devices is achieved, which is suitable for applications with limited resources. application scenarios.
Patent Information
- Application Number
- CN202380020800.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-10
- Filing Date
- 2023-02-02
- Publication Date
- 2024-10-01
AI Technical Summary
Existing single image super-resolution (SISR) models are difficult to deploy on resource-limited edge and mobile devices due to high computational cost and memory consumption caused by deep and complex network topology, especially when the image resolution is lower than the preferred threshold. In this case, it is difficult to improve imaging accuracy.
Convolutional neural network (CNN) architecture using Efficient Residual Blocks (ERB) and High-frequency Attention Blocks (HFAB) to reduce memory consumption and accelerate inference through feature extraction and high-frequency detail recovery, using optimized serial network operations and attention mechanism to improve feature representation.
It achieves efficient recovery of high-frequency image details on devices with limited resources, reduces memory consumption and accelerates inference speed, and provides a lightweight and efficient single-image super-resolution model suitable for real-world applications.
Smart Images

Figure CN118742918A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. patent application No. 17 / 669,072, filed on February 10, 2022, entitled “Methods and Systems for High-Frequency Attention Networks for Efficient Single Image Super-Resolution,” the disclosure of which is incorporated herein by reference in its entirety. Background Art
[0003] In some cases, due to the limitations of the imaging hardware or the influence of the imaging conditions, the properties of the captured image may be insufficient, for example, the resolution of the image may be below the preferred threshold. Improving the imaging accuracy of the hardware will increase the cost of the product and cannot completely solve the imaging conditions. Single image super-resolution (SISR) is a low-level vision problem that aims to restore a high-resolution (HR) image from its degraded low-resolution (LR) counterpart. SISR has high practical value in many fields such as video, photography, gaming, and medical imaging.
[0004] Different kinds of methods have been proposed to solve this highly ill-posed problem. In recent years, SISR models based on convolutional neural networks (CNNs) have become popular due to their powerful ability to restore or generate high-frequency details of images. However, most existing SISR models tend to adopt very deep and complex network topologies to reproduce more details. Therefore, the large computational cost and memory consumption required make it difficult to deploy these SISR models in many real-world applications on edge and mobile devices with limited resources. Summary of the invention
[0005] A simplified overview of one or more implementations of the present disclosure is presented below in order to provide a basic understanding of such implementations. This summary is not an extensive overview of all contemplated implementations, and is neither intended to identify key or important elements of all implementations nor to define the scope of any or all implementations. Its sole purpose is to present some concepts of one or more implementations of the present disclosure in a simplified form as a prelude to a more detailed description that will be presented later.
[0006] In one aspect, a method may include performing a feature extraction operation on an original image input to a CNN to generate a feature map, and recovering one or more high-frequency details of the original image via an efficient residual block (ERB) and a high-frequency attention block (HFAB), the high-frequency attention block being configured to assign a scaling factor to one or more high-frequency regions of the feature map. In addition, the method may include generating reconstruction input information by performing an element-by-element operation on the one or more high-frequency details and cross-connected information from the feature map, and performing an enhancement operation on the reconstruction input information by the CNN to generate an enhanced image.
[0007] In another aspect, a device may include a memory storing instructions and at least one processor coupled to the memory and configured to execute the instructions to: extract multiple features from an original image input into a CNN to generate a feature map; perform a detail learning operation on the feature map via an efficient residual block (ERB) and a high-frequency attention block (HFAB) to restore one or more high-frequency details of the original image, the efficient residual block and the high-frequency attention block being configured to assign scaling factors to one or more high-frequency regions; generate reconstructed input information by performing element-by-element operations on the high-frequency details and cross-connected information from the feature map; and perform an enhancement operation on the reconstructed input information by the CNN to generate an enhanced image.
[0008] In another aspect, example computer-readable media (eg, non-transitory computer-readable media) storing instructions for performing the methods described herein and example devices including components for performing the operations of the methods described herein are also disclosed.
[0009] Additional advantages and novel features related to the implementation of the present disclosure will be set forth in part in the following description and will become more apparent to those skilled in the art after examining the following or learning through practice thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The detailed description is described with reference to the drawings, in which the left-most digit(s) of a reference number identifies the drawing in which the reference number first appears. The use of the same reference numbers in the same or different drawings indicates similar or identical items or features.
[0011] Figure 1 A first example architecture of a CNN in accordance with some aspects of the present disclosure is shown.
[0012] Figure 2 A second example architecture of a CNN in accordance with some aspects of the present disclosure is shown.
[0013] Figure 3 An example architecture of an ERB according to some aspects of the present disclosure is shown.
[0014] Figure 4 An example architecture of a HFAB according to some aspects of the present disclosure is shown.
[0015] Figure 5 is a flowchart illustrating an example method for single image super-resolution employing a high frequency attention network (HFAN) according to some aspects of the present disclosure.
[0016] Figure 6 is a block diagram illustrating an example of a hardware implementation for computing device(s) according to some aspects of the present disclosure. DETAILED DESCRIPTION
[0017] The specific embodiments described below in conjunction with the accompanying drawings are intended to be descriptions of various configurations and are not intended to represent configurations in which the concepts described herein can only be practiced. The specific embodiments include specific details for the purpose of providing a thorough understanding of the various concepts. However, it will be apparent to those skilled in the art that these concepts can be practiced without these specific details. In some cases, well-known components are shown in block diagram form to avoid blurring these concepts.
[0018] Neural networks have been used in the super-resolution process and have shown great improvements in reconstruction quality. To achieve better results, SISR models have become deeper and deeper by stacking convolutional layers. Although increasing the depth of the model spatially can improve the performance of super-resolution quality, increasing the depth of the model also causes higher computational and memory consumption. Therefore, super-resolution models cannot be easily used for real-world applications. In addition, due to the very limited hardware resources on mobile devices, such as the relatively low bandwidth and computing power compared to those of graphics processing unit (GPU) servers, it is more challenging to design lightweight and efficient SISR models for mobile devices.
[0019] The present disclosure describes techniques for implementing a high frequency attention network (HFAN) for single image super-resolution. Specifically, aspects of the present disclosure provide a CNN including an ERB and an HFB for performing single image super-resolution to recover high frequency details of an image. The ERB 116 can provide deep feature learning, and the HFAB can provide feature enhancement, both of which not only reduce memory consumption but also accelerate reasoning. Therefore, the HFAN accelerates reasoning speed and reduces memory consumption by adopting optimized serial network operations and improving feature representation via an attention mechanism.
[0020] Illustrative Environment
[0021] Figure 1A first example architecture of a CNN 100 according to some aspects of the present disclosure is shown. In some aspects, a "neural network" may refer to a mathematical structure that takes an object as input and produces another object as output through a set of linear and nonlinear operations called layers. Such a structure may have parameters that can be tuned through a learning phase in order to produce a specific output, and is used, for example, for image enhancement. The input may then be an image to be enhanced, and the output may be an estimate of at least a portion of the enhanced characteristics of the input image. In addition, a "convolutional neural network" may refer to a neural network that includes, in part, a convolutional layer (i.e., a layer to which convolution is applied to its input). In some aspects, as used herein, "convolution" may refer to a linear operation involving multiplication of a set of weights with an input, much like a traditional neural network. In addition, in some aspects, multiplication may be performed between an array of input data and a two-dimensional array of weights (referred to as a filter or kernel). In some examples, each filter may be a collection of kernels, with one kernel for each single input channel to the layer, and each kernel is unique.
[0022] CNNs are most commonly applied to analyzing visual images. Unlike standard neural networks, the layers of CNNs are arranged in a 3D volume in three dimensions: width, height, and depth (where depth refers to the third dimension of the volume, such as the number of channels in an image or the number of filters in a layer). Examples of different layers of CNNs may include one or more convolutional layers, nonlinear operator layers (such as rectified linear unit (ReLU) functions, sigmoid functions, or hyperbolic tangent functions), pooling or subsampling layers, fully connected layers, and / or final loss layers. Each layer may be connected to one upstream layer and one downstream layer. The input may be considered an input layer, and the output may be considered a final output layer.
[0023] In some aspects, CNN 100 may be configured to perform an image enhancement process on device 102. For example, original image 104 may be input into CNN 100, and CNN 100 may output enhanced image 106. In some aspects, CNN 100 may be configured to perform SISR. Therefore, original image 104 may be a low-resolution image and enhanced image 106 may be a high-resolution image. On the other hand, CNN 100 may be configured to perform an image denoising process. In this way, original image 104 may be a noisy image, and enhanced image 106 may be a denoised image. On the other hand, CNN 100 may be configured to perform an image demosaicing process. In this way, original image 104 may be an incomplete image, and enhanced image 106 may be a complete image. Some examples of device 102 include computing devices, smart phone devices, Internet of Things (IoT) devices, drones, robots, process automation devices, sensors, control devices, vehicles, transportation equipment, tactile interaction devices, virtual and augmented reality (VR and AR) devices, industrial machines, virtual machines, etc. In some examples, device 102 may be a resource-limited device (e.g., a mobile device, an edge device, etc.) that has fewer computing resources and / or memory resources than a server device (e.g., a graphics processing unit (GPU) server) designed and configured to perform expensive machine learning operations. In addition, device 102 may be employed for at least one of live broadcasting, medical image analysis, remote sensing, real-time zooming, interactive editing, display-based magnification, etc.
[0024] like Figure 1 As shown, the CNN 100 may include a feature extraction module 108, a plurality of detail learning modules (DLMs) 110 (1)-(n), and a reconstruction module 112. The feature extraction module 108 (e.g., a convolutional layer) may be configured to perform feature extraction on input data corresponding to the original image 104 to generate a feature map 114. In some aspects, the input data may be a tensor having a shape defined by: input height multiplied by input width multiplied by the number of input channels. In addition, the feature extraction module 108 may abstract the original image 104 into a feature map 114 having a shape defined by feature map height multiplied by feature map width multiplied by the number of feature map channels. As used herein, "tensor" may refer to a generalization of quantities and matrices to potentially higher dimensions. In some aspects, a tensor may be a data structure organized as an array of numbers. A tensor may be characterized by the degree or order of the tensor. A zero-order tensor is a scalar, a first-order tensor is a vector (i.e., a one-dimensional array), a second-order tensor is a two-dimensional array, and so on. Each dimension of a tensor can have a different corresponding number of elements or values.
[0025] The detail learning modules 110(1)-(n) can be configured to restore lost high-frequency details (e.g., edges, textures). Figure 1 As shown, each detail learning module 110 may include at least one efficient residual block (ERB) 116 and at least one high-frequency attention block (HFAB) 118. In some aspects, CNN 100 may include fifteen ERBs 116 (1)-(15) and five HFABs 118 (1)-(5). In some other aspects, CNN 100 may include five ERB 116-HFAB 118 pairs. As described in detail herein, in order to accelerate inference speed and reduce memory consumption, the backbone of the CNN is designed to adopt highly optimized serial network operations instead of feature aggregation, and to improve feature representation via an attention mechanism.
[0026] As described in detail herein, ERB 116 can provide deep feature learning and HFAB 118 can provide feature enhancement, both of which not only reduce memory consumption but also accelerate inference. ERB 116 can be a skip connection block that learns a residual function with reference to the layer input, rather than learning an unreferenced function. In addition, in order to inherit the advantages of residual learning without introducing the computational and / or memory costs associated with traditional residual blocks, ERB 116 can employ two short skip connections that act as linear transformations in ERB 116 so that they can be reparameterized into parallel convolutional layers during inference.
[0027] In some aspects, the HFAB 118 may be configured to learn an attention map that pays special attention to high-frequency regions. Additionally, the HFAB 118 may include at least one learnable edge detector in the head to roughly detect high-frequency regions. Furthermore, the HFAB 118 may be configured to assign a scaling factor to each pixel, where high-frequency regions are assigned larger values, because high-frequency regions determine the performance of the SISR process.
[0028] like Figure 1 As shown, DLMs 110(1)-(n) may be arranged in series, with the output of the first DLM 110(1) being the input of the next DLM 110(2), and so on. In some aspects, CNN 100 may include five DLMs 110(1)-(5) connected in series. In addition, CNN 100 may perform an element-wise sum operation 120 using the output 122 of the last DLM 110(n) and the cross-connected information 124 of the feature map 114 to determine the reconstructed input information 126.
[0029] The reconstruction module 112 can be configured to generate the enhanced image 106 based on the reconstruction input information 126 received from the DLM 110 (n). For example, the reconstruction module 112 can be configured to learn a filter array to improve the reconstruction input information 126 (i.e., the final feature map of the original image 104) to the enhanced image 106. Figure 1 As described in detail, in some aspects, the reconstruction module 112 may include at least a pixel reconstructor (eg, an efficient sub-pixel convolutional layer) that learns a filter array to improve the reconstructed input information 126 into an enhanced image 106 .
[0030] Figure 2 A second example architecture of a CNN 200 (e.g., CNN 100) according to some aspects of the present disclosure is shown. Figure 2 As shown in , in some aspects, CNN 200 may include a first 3×3 convolutional layer 202, a plurality of detail learning modules 110 ( 1 )-(n), a second 3×3 convolutional layer 204, and a pixel reorganization layer 206.
[0031] The first 3×3 convolution layer 202 is a convolution layer with 3×3 filters to extract features from the original image 104. In addition, the 3×3 kernel size can be used in preference to other kernel sizes to reduce computational cost and reduce inference speed, especially when the CNN 200 is used on a resource-limited device. Figure 1 As depicted, the first 3×3 convolutional layer 202 may generate a feature map 114 , which is provided to the DLM 110 ( 1 )-( 5 ) configured to restore lost high frequency details (eg, edges, textures) of the original image 104 .
[0032] like Figure 2 As shown, the second 3×3 convolution layer 204 and the pixel reorganization layer 206 can be configured to implement the reconstruction module 112. For example, the second 3×3 convolution layer and the pixel reorganization layer 206 can be configured to perform an upsampling operation based on the final feature map (i.e., the reconstructed input information 126) to generate the enhanced image 106. As used herein, in some aspects, the pixel reorganization layer can reorganize the low-resolution image channels to obtain a larger image with fewer channels. For example, the pixel reorganization layer 206 can rearrange the elements of the input tensor represented as H×W×C r2 to form a tensor represented as rH×rW×C, where r is the enhancement ratio. In some aspects, this can be very useful after a convolution process (where the number of filters increases dramatically with the number of channels) to invert the transformation like some kind of deconvolution function.
[0033] In some aspects, CNN 200 can be trained in a supervised training process. For example, a loss (regression) function can be used in the training process for the output of enhanced image 106. In addition, the loss function can measure the quality of a particular set of parameters based on the degree of consistency of the induced score with the reference truth labels in the training data. The loss function can be a mean square error, a mean square logarithmic error, a mean absolute error (L1), a mean absolute percentage error, a least squares error (L2), etc. In other words, CNN 200 can learn to extract features from the data that minimize the loss of the specific task that CNN 200 is being trained to solve, for example, extracting the features that are most useful for SISR.
[0034] During the training phase, the values of the filters of the first 3×3 convolutional layer 202 and the second 3×3 convolutional layer 204 may be learned. For example, for the first 3×3 convolutional layer 202, the CNN 200 may learn high-frequency details to extract from the original image 104. In some examples, the training set may include multiple image pairs. Each pair may include a first image (e.g., an image with a lower resolution) and a second image (e.g., an image with a higher resolution). In addition, the first image may be generated by applying a downsampling operation to the second image. In addition, the CNN 200 may be trained by learning filters for the first 3×3 convolutional layer 202 and the second 3×3 convolutional layer 204 that enable the CNN 200 to substantially reproduce the second image of each pair from the first image of each pair.
[0035] Figure 3 1 shows an example architecture of an ERB 300 (e.g., ERB 116) according to some aspects of the present disclosure. As described herein, the ERB 300 can provide residual learning while reducing memory consumption and accelerating inference. Figure 3 As shown, ERB 300 may include a first 3×3 convolutional layer 302, a ReLU 304, and a second 3×3 convolutional layer 306. In some aspects, ReLU 304 may be a piecewise linear function that directly outputs the input if the input is positive and outputs zero if the input is non-positive. In addition, ERB 300 may include short skip connections (e.g., two short skip connections 308-310) that act as linear transformations in ERB 300. Figure 3As shown, the first 3×3 convolution layer 302 of the ERB 300 may receive the feature map 114 and output the first layer output information 312 based on one or more filters of the first 3×3 convolution layer 302. In addition, the ERB 300 may determine the element-by-element sum 314 of the first layer output information 312 and the skip connection information 316 of the feature map 114 via an element-by-element sum operation 317, and input the element-by-element sum 314 into the ReLU 304 to determine the second layer output information 318. In addition, the second layer output information 318 may be input into the second 3×3 convolution layer 306 to determine the third layer output information 320 based on one or more filters of the second 3×3 convolution layer 306. In addition, the ERB 300 may determine the element-by-element sum 322 of the third layer output information 320 and the skip connection information 324 of the second layer output information 318 via an element-by-element sum operation 326, and output the element-by-element sum 322 to the HFAB.
[0036] In some aspects, short skip connections 308-310 can provide an alternative path for gradients to flow uninterruptedly during back propagation, or provide semantic features with high resolution by bridging features of finer details from lower layers and high-level semantic features of coarse resolution. In addition, the filters of the first 3×3 convolutional layer 302 and the filters of the second 3×3 convolutional layer 306 can be determined during the training phase. In addition, the first 3×3 convolutional layer 302 and the second 3×3 convolutional layer 306 can be configured to perform feature transformation in a CNN (e.g., CNN 100 or CNN 200). In some cases, ERB 300 can implement structural reparameterization to improve super-resolution performance. For example, skip connections 308-310 can be adopted to capture the benefits of a multi-branch architecture in the training phase. In addition, skip connections 308-310 can be removed during the inference phase, thereby transforming the parameters of convolutional layers 302 and 306 as the architecture of the CNN is modified by the removal of skip connections 308-310.
[0037] Figure 4 4 shows an example architecture of a HFAB 400 according to some aspects of the present disclosure. As described herein, the HFAB 400 can restore lost details by assigning a scaling factor to each pixel, where high frequency areas have higher scaling factors. Figure 4 As shown in FIG. 4 , the ERB may include a first 3×3 convolution layer 402 , a ReLU 404 , a Laplacian filter 406 , an ERB 408 , a ReLU 410 , a second 3×3 convolution layer 412 , and a batch normalization (BN) / sigmoid layer 414 .
[0038] The first 3×3 convolutional layer 402 may receive ERB output information 416 from the ERB in the same detail learning module as the HFAB 400. Furthermore, the first 3×3 convolutional layer 402 may be configured to reduce the channel dimension of the ERB output information for efficiency purposes and generate first layer output information 418. In some aspects, the first 3×3 convolutional layer 402 may be configured to reduce the channel dimension of the ERB output information 416 to sixteen. Furthermore, the ReLU 404 may receive the first layer output information and apply the ReLU function to determine the second layer output information 420. Additionally, the Laplacian filter 406 may receive the second layer output information 420 and detect frequency details within the second layer output information 420 as the third layer output information 422. In some aspects, the Laplacian filter 406 may be implemented by depth-wise convolution. In some other aspects, another type of layer may be used to detect frequency details.
[0039] The ERB 408 may receive the third layer output information 422 and transmit the fourth layer output information 424 to a subsequent layer (eg, the ReLU 410) within the HFAB 400. In addition, the ReLU 410 may apply a ReLU function to the fourth layer output information 424 to generate the fifth layer output information 426.
[0040] In addition, the second 3×3 convolution layer 412 can be configured to expand the dimension of the fifth layer output information 426 as the sixth layer output information 428, and provide the sixth layer output information 428 to the BN / Sigmoid layer 414. The BN component of the BN / Sigmoid layer 414 can be used to normalize the activation of the sixth layer output information 428 within the BN / Sigmoid layer 414 before passing it to the next layer in the CNN. In some aspects, batch normalization reduces the impact of different input distributions. By standardizing the output of neurons, batch normalization can suppress changes to saturable regions. In addition, by placing the BN / Sigmoid layer 414 after the ReLU 410, positive features are normalized without statistically biasing them to have features that would otherwise not be provided to the next convolution layer downstream. In addition, the sigmoid function of the BN / Sigmoid layer 414 can be used as an activation function in the HFAB 400. Specifically, the sigmoid function may limit the value of the seventh layer output information 430 generated by the BN / Sigmoid layer 414 to a value between 0 and 1.
[0041] In addition, the HFAB 400 can recalibrate the input features (ie, the ERB output information 416) by performing an element-wise multiplication 431 of the input features (ie, the ERB output information 416) and the attention map (ie, the seventh layer output information 430). In addition, the recalibrated input features 432 can be provided to another HFAB in a series of HFABs of the CNN, or added to the feature map in an element-wise addition manner before being input to the reconstruction module (e.g., providing the reconstruction input information 126 to the reconstruction module 112).
[0042] In the training phase, the CNN may be configured to learn filters of the first 3×3 convolution layer 402 and the second 3×3 convolution layer 412 configured to reduce and expand dimensions, respectively. In addition, during the training phase, the CNN may be configured to learn weights of the Laplacian filter 406 configured to detect high-frequency details. In addition, in the inference phase, the skip connections and the BN layer 414 of the ERB 408 inside the HFAB 400 are removed, and the corresponding parameters are merged into the relevant convolution layers, so that the HFAB 400 contains only four highly optimized operators: 3×3 convolution, ReLU, sigmoid, and element-wise multiplication, and avoids complex multi-branch topology, thereby ensuring faster inference.
[0043] Example Process
[0044] under Figure 5 The process described in is illustrated as a collection of boxes in a logical flow chart, which represents a sequence of operations that can be implemented in hardware, software, or a combination thereof. In the context of software, a box represents a computer-executable instruction stored on one or more computer-readable storage media, which performs the recorded operations when executed by one or more processors. In general, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform specific functions or implement specific abstract data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described boxes may be combined in any order and / or in parallel to implement the process. The operations described herein may, but need not, be implemented using CNN 100. As an example and not limitation, method 500 in Figure 1-4 6. For example, the operations may be performed by one or more of CNN 100, CNN 200, ERB 116, ERB 300, ERB 408, HFAB 118, and / or HFAB 400. In addition, although Figure 1-4The use of 3×3 convolutions is shown for CNN 100 , CNN 200 , ERB 116 , ERB 300 , ERB 408 , HFAB 118 , and / or HFAB 400 , but another kernel size may be used for at least one of the convolutional layers in some other examples.
[0045] Figure 5 is a flowchart illustrating an example method for single image super-resolution employing a high frequency attention network (HFAN) according to some aspects of the present disclosure.
[0046] At block 502, the method 500 may include extracting a plurality of features from an original image input into the CNN to generate a feature map. For example, the feature extraction module 108 may extract a plurality of features from an original image input into the CNN to generate a feature map 114. In some aspects, the feature extraction module 108 may include a 3×3 convolutional layer 202 configured to extract the feature map 114.
[0047] Therefore, the device 102, computing device 600 and / or processor 601 executing CNN 100, CNN 200, feature extraction module and / or 3×3 convolution layer 202 can provide a component for extracting multiple features from the original image input to the CNN to generate a feature map based on the original image 104.
[0048] At block 504, method 500 may include recovering one or more high-frequency details of the original image via an efficient residual block (ERB) and a high-frequency attention block (HFAB), the high-frequency attention block being configured to assign a scaling factor to one or more high-frequency regions of the feature map. For example, detail learning modules 110(1)-(n) may recover one or more high-frequency details of the original image based on a plurality of ERBs 116 and a plurality of HFABs 118.
[0049] Thus, the device 102, computing device 600 and / or processor 601 executing CNN 100, CNN 200 and / or detail learning module 110(1)-(n) may provide a component for recovering one or more high-frequency details of the original image via an efficient residual block (ERB) and a high-frequency attention block (HFAB), wherein the high-frequency attention block is configured to assign scaling factors to one or more high-frequency regions of a feature map.
[0050] At block 506, method 500 may include generating reconstructed input information by performing an element-wise operation on the one or more high frequency details and the cross-connected information from the feature map. For example, CNN 100 may generate reconstructed input information 126 based on performing an element-wise addition of the recalibrated input features and feature map 114.
[0051] Thus, the device 102, computing device 600 and / or processor 601 executing CNN 100 or CNN 200 may provide a component for generating reconstructed input information by performing element-wise operations on the one or more high-frequency details and cross-connected information from the feature maps.
[0052] At block 508, the method 500 may include performing an enhancement operation on the reconstructed input information by the CNN to generate an enhanced image. For example, the reconstruction module 112 may generate the enhanced image 106 based on the reconstructed input information 126. In some aspects, the reconstruction module 112 may employ a 3×3 convolutional layer 204 and a pixel reorganization layer 206 to generate the enhanced image 106. As described herein, in some aspects, the CNN 100 and / or the CNN 200 may be configured to perform SISR, denoising, and / or demosaicing as an enhancement operation. Thus, the original image 104 may be a low-resolution image, and the enhanced image 106 generated by the reconstruction module 112 may be a high-resolution image. In some other aspects, the CNN 100 and / or the CNN 200 may be configured to perform denoising or demosaicing. In addition, the reconstruction module 112 may not employ the pixel reorganization layer 206 when performing denoising or demosaicing.
[0053] Thus, device 102, computing device 600, and / or processor 601 executing CNN 100, CNN 200, and / or reconstruction module 112 may provide a component for performing an enhancement operation on reconstruction input information by the CNN to generate an enhanced image.
[0054] Although the operations are described as being implemented by one or more computing devices, various systems of computing devices may be employed in other examples. For example, a system of multiple devices may be used to perform any of the operations mentioned above in conjunction with each other.
[0055] Illustrative Computing Devices
[0056] Figure 6 A block diagram of an example computing system / device 600 (e.g., device 102) suitable for implementing example embodiments of the present disclosure is shown. CNN 100 or CNN 200 may be implemented as or included in system / device 600. System / device 600 may be a general purpose computer, a physical computing device, or a portable electronic device, or may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communication network. System / device 600 may be used to implement any of the processes described herein.
[0057] As shown in the figure, the system / device 600 includes a processor 601, which can execute various processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage unit 608 to a random access memory (RAM) 603. In the RAM 603, data required when the processor 601 executes various processes, etc. is also stored as needed. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0058] Processor 601 may be of any type suitable for the local technology network, and may include, as non-limiting examples, one or more of the following: a general purpose computer, a special purpose computer, a microprocessor, a digital signal processor (DSP), a graphics processing unit (GPU), a coprocessor, and a processor based on a multi-core processor architecture. System / device 600 may have multiple processors, such as application specific integrated circuit chips that are time slaved to a clock synchronized with a main processor.
[0059] Multiple components in the system / device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, including a display (such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc.) and a speaker, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless transceiver, etc. The communication unit 609 allows the system / device 600 to exchange information / data with other devices via a communication network (such as the Internet, various telecommunication networks, etc.).
[0060] The above methods and processes, such as method 500, may also be performed by processor 601. In some embodiments, method 500 may be implemented as a computer software program or a computer program product tangibly included in a computer-readable medium (e.g., storage unit 608). In some embodiments, the computer program may be partially or fully loaded and / or embodied to system / device 600 via ROM 602 and / or communication unit 609. The computer program includes computer executable instructions executed by the associated processor 601. When the computer program is loaded into RAM 603 and executed by processor 601, one or more actions of the above method 500 may be implemented. Alternatively, in other embodiments, processor 601 may be configured to perform method 500 via any other suitable means (e.g., by firmware).
[0061] in conclusion
[0062] Finally, although various embodiments have been described in language specific to structural features and / or methodological acts, it should be understood that the subject matter defined in the accompanying representations is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claimed subject matter.
Claims
1. A single image reconstruction method, include: Extract multiple features from the original image input into the CNN to generate a feature map; Recovering one or more high-frequency details of the original image via an efficient residual block (ERB) and a high-frequency attention block (HFAB), wherein the high-frequency attention block is configured to assign a scaling factor to one or more high-frequency regions; generating reconstruction input information by performing an element-wise operation on the one or more high frequency details and the cross-connected information from the feature map; as well as The CNN performs an enhancement operation on the reconstructed input information to generate an enhanced image.
2. The single image reconstruction method according to claim 1, further comprising: include: The ERB and HFAB are trained using L1 loss and multiple image pairs in a supervised learning process, where each image pair includes a lower quality first image and a higher quality second image.
3. The single image reconstruction method according to claim 1, wherein extracting the plurality of features comprises using a 3×3 convolutional layer to generate the feature map.
4. The single image reconstruction method according to claim 1, wherein the ERB includes two short skip connections, which are re-parameterized as parallel convolutional layers during the inference phase.
5. The single image reconstruction method according to claim 1, wherein the one or more high-frequency details are restored include: The first 3×3 convolutional layer of the HFAB reduces the feature map from a first channel dimension to a second channel dimension to generate first layer output information; Based on the first layer output information, detecting the second layer output information including the one or more high-frequency details of the original image via the Laplacian filter of the HFAB; The second layer output information is expanded from the second channel dimension to the first channel dimension by the second 3×3 convolutional layer of the HFAB to generate third layer output information; Performing a sigmoid operation on the third layer output information to determine the fourth layer output information; as well as An element-wise multiplication of the feature map and the fourth layer output information is performed to determine a HFAB output used to determine the reconstructed input information.
6. The single image reconstruction method according to claim 1, wherein the enhancement operation is performed on the reconstruction input information to generate an enhanced image include: An enhancement operation is performed on the reconstructed input information via a 3×3 convolution layer and a pixel reorganization layer to generate the enhanced image.
7. The single image reconstruction method according to claim 1, wherein the original image is a lower resolution image and the enhanced image is a higher resolution image.
8. The single image reconstruction method according to claim 1, wherein the original image is a noisy image and the enhanced image is a denoised image.
9. A non-transitory computer readable device having instructions thereon, which when executed by at least one computing device causes the at least one computing device to perform operations, the operations include: Extract multiple features from the original image input into the CNN to generate a feature map; Recovering one or more high-frequency details of the original image via an efficient residual block (ERB) and a high-frequency attention block (HFAB), wherein the high-frequency attention block is configured to assign a scaling factor to one or more high-frequency regions; generating reconstruction input information by performing an element-wise operation on the one or more high frequency details and the cross-connected information from the feature map; as well as The CNN performs an enhancement operation on the reconstructed input information to generate an enhanced image.
10. The non-transitory computer readable device of claim 9, further comprising: include: The ERB and HFAB are trained using L1 loss and multiple image pairs in a supervised learning process, where each image pair includes a lower quality first image and a higher quality second image.
11. The non-transitory computer-readable device of claim 9, wherein extracting the plurality of features comprises using a 3×3 convolutional layer to generate the feature map.
12. The non-transitory computer-readable device of claim 9, wherein the ERB comprises two short skip connections that are re-parameterized as parallel convolutional layers during an inference phase.
13. The non-transitory computer readable device of claim 9, wherein the one or more high frequency details are restored include: The first 3×3 convolutional layer of the HFAB reduces the feature map from a first channel dimension to a second channel dimension to generate first layer output information; Based on the first layer output information, detecting the second layer output information including the one or more high-frequency details of the original image via the Laplacian filter of the HFAB; The second layer output information is expanded from the second channel dimension to the first channel dimension by the second 3×3 convolutional layer of the HFAB to generate third layer output information; Performing a sigmoid operation on the third layer output information to determine the fourth layer output information; as well as An element-wise multiplication of the feature map and the fourth layer output information is performed to determine a HFAB output used to determine the reconstructed input information.
14. The non-transitory computer readable device of claim 9, wherein the enhancement operation is performed on the reconstructed input information to generate an enhanced image include: An enhancement operation is performed on the reconstructed input information via a 3×3 convolution layer and a pixel reorganization layer to generate the enhanced image.
15. The non-transitory computer readable device of claim 9, wherein the original image is a lower resolution image and the enhanced image is a higher resolution image.
16. The non-transitory computer readable device of claim 9, wherein the original image is a noisy image and the enhanced image is a denoised image.
17. A system, include: a memory on which instructions are stored; as well as at least one processor coupled to the memory and configured by the instructions to: Extract multiple features from the original image input into the CNN to generate a feature map; Recovering one or more high-frequency details of the original image via an efficient residual block (ERB) and a high-frequency attention block (HFAB), wherein the high-frequency attention block is configured to assign a scaling factor to one or more high-frequency regions; generating reconstruction input information by performing an element-wise operation on the one or more high frequency details and the cross-connected information from the feature map; as well as The CNN performs an enhancement operation on the reconstructed input information to generate an enhanced image.
18. The system of claim 17, wherein the at least one processor is further configured by the instructions to: The ERB and HFAB are trained using L1 loss and multiple image pairs in a supervised learning process, where each image pair includes a lower quality first image and a higher quality second image.
19. The system of claim 17, wherein the ERB comprises two short skip connections that are reparameterized as parallel convolutional layers during the inference phase.
20. The system of claim 17, wherein to restore the one or more high frequency details, the at least one processor is further configured by instructions to: The first 3×3 convolutional layer of the HFAB reduces the feature map from a first channel dimension to a second channel dimension to generate first layer output information; Based on the first layer output information, detecting the second layer output information including the one or more high-frequency details of the original image via the Laplacian filter of the HFAB; The second layer output information is expanded from the second channel dimension to the first channel dimension by the second 3×3 convolutional layer of the HFAB to generate third layer output information; Performing a sigmoid operation on the third layer output information to determine the fourth layer output information; as well as An element-wise multiplication of the feature map and the fourth layer output information is performed to determine a HFAB output used to determine the reconstructed input information.
Citation Information
Patent Citations
Method and device for exciting brain waves by using light energy
CN102371031A
An ultrasonic image super-resolution reconstruction method for improving contour definition based on an attention mechanism
CN109919838A
Image super-resolution reconstruction method based on depth coordinate attention network model
CN113096017A
Compressed image super-resolution reconstruction method based on enhanced attention network
CN113837935A
Nucleic acids, proteins, and antibodies
US20020151479A1
