COMPUTER IMPLEMENTED METHOD, APPARATUS AND COMPUTER PROGRAM PRODUCT
The method enhances image resolution using a generator with super-resolution units and U-Net architecture, trained through feedback loops, addressing the limitations of prior methods by achieving high-quality results without requiring prior knowledge.
Patent Information
- Application Number
- JP2021569943
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-04-01
- Publication Date
- 2024-10-24
- Estimated Expiration
- 2040-04-01
AI Technical Summary
Existing image resolution enhancement methods require a priori knowledge and are time-consuming, often resulting in unsatisfactory outcomes.
A computer-implemented method using a generator with super-resolution generation units arranged in series, including super-resolution generation blocks, bilinear interpolation, and U-Net architecture, trained through a feedback loop with generator and discriminator, to enhance image resolution without prior knowledge.
Generates high-resolution images with ultra-high detail recovery and excellent quality, eliminating the need for time-consuming computational processes and priori knowledge.
Smart Images

Figure 0007572975000051 
Figure 0007572975000052 
Figure 0007572975000053
Abstract
Description
[Technical field]
[0001] The present invention relates to display technologies, and more particularly to computer-implemented methods, apparatus and computer program products. [Background technology]
[0002] Machine learning and neural networks have been used to analyze images for various purposes. A neural network is a network with multiple hidden layers. A corresponding one of the multiple hidden layers comprises multiple neurons (e.g., nodes). Multiple neurons in a corresponding one of the multiple hidden layers are connected to multiple neurons in an adjacent one of the multiple hidden layers. The connections between neurons have different weights. The structure of a neural network mimics the structure of a biological neural network. A neural network can solve problems using a non-deterministic approach. Summary of the Invention [Means for solving the problem]
[0003] In one aspect, a computer-implemented method according to the present disclosure includes inputting a low-resolution image to a generator and using the generator to generate a high-resolution image based on the low-resolution image, wherein generating the high-resolution image includes processing the low-resolution image with a plurality of super-resolution generation units arranged in series connection in the generator, wherein a corresponding output from a corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution compared to a corresponding input to a corresponding one of the plurality of super-resolution generation units.
[0004] Optionally, the corresponding one of the plurality of super-resolution generation units comprises a super-resolution generation block and a bilinear interpolation block, and generating the high-resolution image using the generator further includes: inputting corresponding inputs to the super-resolution generation block and the bilinear interpolation block, respectively; processing the corresponding inputs using the super-resolution generation block to generate a first intermediate output from the super-resolution generation block; inputting the first intermediate output from the super-resolution generation block to the bilinear interpolation block; and generating a second intermediate output based on the corresponding input and the first intermediate output using the bilinear interpolation block.
[0005] Optionally, the corresponding one of the plurality of super-resolution generation units further comprises a concatenation block, and generating a high-resolution image using the generator further includes inputting the second intermediate output to the concatenation block and generating the corresponding output from the concatenation block based on the second intermediate output.
[0006] Optionally, the super-resolution generation block comprises a plurality of encoding modules and a plurality of decoding modules arranged in a U-Net architecture, a corresponding one of the plurality of encoding modules comprises a downsampling convolution layer and a plurality of first residual blocks arranged in series, and a corresponding one of the plurality of decoding modules comprises a plurality of second residual blocks and an upsampling convolution layer arranged in series.
[0007] Optionally, generating a high-resolution image using the generator further includes inputting an output from a last one of a plurality of super-resolution generation units arranged in series to an additional super-resolution generation block, and processing the output from the last one of the plurality of super-resolution generation units using the additional super-resolution generation block to generate the high-resolution image.
[0008] Optionally, the computer-implemented method further includes training the generator based on a generator loss function using a feedback loop.
[0009] Optionally, the generator loss function is
number
[0010] Optionally, a neural network model is used to process the reference image and the high resolution image;
number
number
number
[0011] Optionally, the neural network model is a VGG-19 model.
[0012] Optionally, the computer-implemented method further includes pre-training a convolutional neural network by operations of inputting a plurality of training low resolution images to the convolutional neural network, inputting a plurality of training reference images to the convolutional neural network, generating a plurality of training high resolution images respectively based on the plurality of training low resolution images using the generator, calculating a loss for each of the plurality of training high resolution images based on the generator loss function, and adjusting the convolutional neural network based on the loss.
[0013] Optionally, the computer-implemented method further includes inputting a reference image and the high-resolution image to a discriminator and verifying the high-resolution image based on the reference image using the discriminator, wherein the generator and the discriminator are components of a generative adversarial network (GAN).
[0014] Optionally, validating the high resolution image includes processing the high resolution image with a plurality of convolutional layers and fully connected layers arranged in series.
[0015] Optionally, the computer-implemented method further includes mutually training a generator and a discriminator of the GAN based on a generator loss function and a discriminator loss function using a feedback loop.
[0016] Optionally, the generator loss function is
number
number
number
[0017] Optionally, a neural network model is used to process the reference image and the high-resolution image, and the calculation of the perceptual loss function is
number
number
[0018] Optionally, the neural network model is a VGG-19 model.
[0019] Optionally, the neural network model is a SphereNet model.
[0020] Optionally, the computer-implemented method further includes pre-training a convolutional neural network by operations of inputting a plurality of training low resolution images to the convolutional neural network, inputting a plurality of training reference images to the convolutional neural network, generating a plurality of training high resolution images respectively based on the plurality of training low resolution images using the generator, calculating a generator loss for each of the plurality of training high resolution images based on the generator loss function, calculating a discriminator loss for each of the plurality of training high resolution images based on the discriminator loss function, and adjusting the convolutional neural network based on the generator loss and the discriminator loss.
[0021] In another aspect, an apparatus according to the present disclosure comprises a memory and one or more processors, the memory and the one or more processors being connected to each other, the memory storing computer-executable instructions for controlling the one or more processors to perform the operations of inputting a low-resolution image to a generator, and using the generator to generate a high-resolution image based on the low-resolution image by processing the low-resolution image using a plurality of super-resolution generation units arranged in series connection in the generator, wherein a corresponding output of the corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution compared to a corresponding input of a corresponding one of the plurality of super-resolution generation units.
[0022] In another aspect, in a computer program product including a non-transitory tangible computer readable medium having computer readable instructions according to the present disclosure, the computer readable instructions, when executed by a processor, cause the processor to perform the steps of inputting a low resolution image to a generator and using the generator to generate a high resolution image based on the low resolution image, wherein generating the high resolution image includes processing the low resolution image with a plurality of super-resolution generation units arranged in series connection in the generator, wherein a corresponding output from a corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution compared to a corresponding input of a corresponding one of the plurality of super-resolution generation units. [Brief description of the drawings]
[0023] In accordance with various disclosed embodiments, the following drawings are merely illustrative examples and are not intended to limit the scope of the present disclosure. [Figure 1] FIG. 1 is a flowchart of a computer-implemented method according to some embodiments of the present disclosure. [Diagram 2] FIG. 2 is a structural schematic diagram of an apparatus for implementing a computer-implemented method according to some embodiments of the present disclosure. [Diagram 3] FIG. 3 is a structural schematic diagram of a generator according to some embodiments of the present disclosure. [Figure 4] FIG. 4 is a structural schematic diagram of a corresponding one of a plurality of super-resolution generating units according to some embodiments of the present disclosure. [Diagram 5] FIG. 5 is a structural schematic diagram of a super-resolution generation block according to some embodiments of the present disclosure. [Figure 6] FIG. 6 is a structural schematic diagram of a corresponding one of a plurality of encoding modules according to some embodiments of the present disclosure. [Figure 7] FIG. 7 is a structural schematic diagram of a corresponding one of a plurality of decoding modules according to some embodiments of the present disclosure. [Figure 8A] FIG. 8A is a low-resolution image according to some embodiments of the present disclosure. [Figure 8B] FIG. 8B is a high-resolution image generated by a computer-implemented method according to some embodiments of the present disclosure. [Figure 9] FIG. 9 is a flowchart of a computer-implemented method according to some embodiments of the present disclosure. [Figure 10] FIG. 10 is a structural schematic diagram of an apparatus for implementing a computer-implemented method according to some embodiments of the present disclosure. [Figure 11] FIG. 11 is a structural schematic diagram of a discriminator according to some embodiments of the present disclosure. [Figure 12A] FIG. 12A is a low-resolution image according to some embodiments of the present disclosure. [Figure 12B] FIG. 12B is a high-resolution image generated by a computer-implemented method according to some embodiments of the present disclosure. [Figure 12C] FIG. 12C is a reference image according to some embodiments of the present disclosure. [Figure 13A] FIG. 13A is a low-resolution image according to some embodiments of the present disclosure. [Figure 13B] FIG. 13B is a high-resolution image generated by a computer-implemented method according to some embodiments of the present disclosure. [Figure 13C] FIG. 13C is a reference image according to some embodiments of the present disclosure. [Figure 14] FIG. 14 is a structural schematic diagram of an apparatus according to some embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0024] The present disclosure will now be described in more detail with reference to the following examples. It should be noted that the description of some of the examples in this specification is merely for the purposes of illustration and description, and is not intended to be exhaustive or limited to the precise form disclosed.
[0025] In recent years, various image resolution enhancement methods have been developed. These methods include, for example, methods that utilize neural networks. In this disclosure, it has been discovered that these related methods generally require a priori knowledge to perform downstream image enhancement processes. In one example, the related methods need to extract a priori semantic features to obtain image parsing maps and image landmark heatmaps. In another example, the related methods need a priori knowledge of objects in the image, such as the gender, age, and facial expression of the objects. These related methods involve time-consuming computational processes, and the results are not always satisfactory to humans.
[0026] Accordingly, the present disclosure provides, inter alia, a computer-implemented method, an apparatus, and a computer program product, which essentially overcome one or more problems due to limitations and shortcomings of the related art. In one aspect, the present disclosure provides a computer-implemented method. In some embodiments, the computer-implemented method includes inputting a low-resolution image to a generator, and using the generator to generate a high-resolution image based on the low-resolution image. Optionally, the step of generating a high-resolution image includes processing the low-resolution image by a plurality of super-resolution generation units arranged in series connection in the generator. Optionally, compared to a corresponding input of a corresponding one of the plurality of super-resolution generation units, a corresponding output from a corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution. The method does not require a priori knowledge, such as a priori semantic feature extraction or input of a priori knowledge. As a result, the method can generate a high-resolution image without requiring a time-consuming computation process. The method can obtain an enhanced image with super-resolution and excellent detail recovery.
[0027] FIG. 1 is a flowchart of a computer-implemented method according to some embodiments of the present disclosure. With reference to FIG. 1, in some embodiments, the computer-implemented method includes inputting a low-resolution image to a generator, and using the generator to generate a high-resolution image based on the low-resolution image. FIG. 2 is a structural schematic diagram of an apparatus for implementing the computer-implemented method according to some embodiments of the present disclosure. With reference to FIG. 2, in some embodiments, the apparatus for implementing the computer-implemented method includes a generator 10, a loss function calculator 20, and a feedback loop 30. The generator 10 is configured to receive the low-resolution image as an input, and output the high-resolution image to the loss function calculator 20. In some embodiments, the loss function calculator 20 calculates a generator loss function based on the high-resolution image. The feedback loop 30 is configured to train the generator 10 based on the generator loss function.
[0028] FIG. 3 is a structural schematic diagram of a generator according to some embodiments of the present disclosure. Referring to FIG. 3, in some embodiments, the generator 10 includes a plurality of super-resolution generating units 100 arranged in series. Optionally, the generator 10 includes N super-resolution generating units, where N≧2. FIG. 3 illustrates an example of the generator 10 in which the total number of the plurality of super-resolution generating units 100 is 3. Optionally, the generator 10 further includes an additional super-resolution generating block 200. Optionally, the additional super-resolution generating block 200 is configured to receive an input from the last one of the plurality of super-resolution generating units 100 arranged in series.
[0029] Thus, in some embodiments, generating a high resolution image includes processing the low resolution image by a plurality of super-resolution generation units 100 arranged in series in the generator 10. Optionally, a corresponding output from a corresponding one of the plurality of super-resolution generation units 100 has a correspondingly increased image resolution compared to a corresponding input of a corresponding one of the plurality of super-resolution generation units 100. For example, each time an image is processed by one of the plurality of super-resolution generation units 100, the image resolution increases by a factor of n, where n>1. Optionally, n=2.
[0030] 4 is a structural schematic diagram of one of the plurality of super-resolution generating units according to some embodiments of the present disclosure. Referring to FIG. 4, in some embodiments, one of the plurality of super-resolution generating units 100 includes a super-resolution generating block 110, a bilinear interpolation block 120, and a concatenation block 130. Thus, in some embodiments, the step of generating a high-resolution image using a generator further includes: inputting corresponding inputs to the super-resolution generating block 110 and the bilinear interpolation block 120, respectively; processing the corresponding inputs using the super-resolution generating block 110 to generate a first intermediate output from the super-resolution generating block 110; inputting the first intermediate output of the super-resolution generating block 110 to the bilinear interpolation block 120; generating a second intermediate output based on the corresponding input and the first intermediate output using the bilinear interpolation block 120; inputting the second intermediate output to the concatenation block 130; and generating a corresponding output from the concatenation block 130 based on the second intermediate output.
[0031] In some embodiments, the bilinear interpolation block 120 performs a bilinear interpolation process. As used herein, bilinear interpolation refers to an interpolation method in which linear interpolation is scaled up in two dimensions, and a weighted average of the interpolation is taken as the pixel value of the target pixel based on the distance between each of the four pixels around a pixel and the target pixel. In one example, the bilinear interpolation block 120 is a 2x bilinear interpolation block, where the linear interpolation is scaled up by a factor of two.
[0032] FIG. 5 is a structural schematic diagram of a super-resolution generation block according to some embodiments of the present disclosure. Referring to FIG. 5, in some embodiments, the super-resolution generation block 110 comprises a plurality of encoding modules 1110 and a plurality of decoding modules 1120 arranged in a U-Net architecture. U-Net is a fully convolutional network that is modified and expanded to work with fewer training images and generate more accurate segmentations. The U-Net architecture comprises a contraction path and an expansion path, which together give the network a U-shaped architecture (see, for example, Olaf Ronneberger et al., “U-Net: Convolutional Networks for Biomedical Image Segmentation,” Medical Image Computing and Computer-Assisted Intervention (MICCAI) 9351, pp. 234-241 (2015), the entire contents of which are incorporated by reference).
[0033] 6 is a structural schematic diagram of one of the plurality of encoding modules according to some embodiments of the present disclosure. Referring to FIG. 6, in some embodiments, one of the plurality of encoding modules 1110 includes a downsampling convolution layer 1111 and a plurality of first residual blocks 1112 arranged in series. In one example, the downsampling convolution layer 1111 is a 2x downsampling convolution layer. Optionally, the downsampling convolutional layer 1111 comprises a convolutional layer (e.g., a 5*5 convolutional layer with a stride of 2) followed by a leaky rectified linear unit (LeakyReLU, see e.g., Maas et al., “Rectifier nonlinearities improve neural network acoustic models”, In Proc. ICML, volume 30, 2013; and Xu, et al., “Empirical evaluation of rectified activations in convolutional network”, arXiv preprint arXiv:1505.00853, (2015), the entire contents of which are incorporated herein by reference). Optionally, a corresponding one of the multiple first residual blocks 1112 comprises a convolutional layer (e.g., a 5*5 convolutional layer, with a stride of 2), then a leaky correction linear unit, then another convolutional layer (e.g., a 5*5 convolutional layer, with a stride of 2), then another leaky correction linear unit.
[0034] The term "convolution" as used herein refers to the process of processing an image. A convolutional kernel is used for convolution. For example, each pixel of an input image has a value, and the convolutional kernel starts with one pixel of the input image and moves over each pixel of the input image in turn. At each position of the convolutional kernel, the convolutional kernel overlaps with some pixels on the image based on the size of the convolutional kernel. At the position of the convolutional kernel, one value of the overlapping pixels is multiplied with a corresponding one value of the convolutional kernel to obtain a multiplied value of one of the overlapping pixels. Then, all multiplied values of the overlapping pixels are added to obtain a sum corresponding to the position of the convolutional kernel in the input image. By moving the convolutional kernel over each pixel of the input image, all sums corresponding to all positions of the convolutional kernel are collected and output to form an output image. In one example, the convolution can extract different features of the input image using different convolutional kernels. In another example, the convolution process can add more features to the input image using different convolutional kernels.
[0035] The term "convolutional layer" as used herein refers to a layer in a convolutional neural network. A convolutional layer is used to perform convolution on an input image to obtain an output image. Optionally, different convolution kernels are used to perform different convolutions on the same input image. Optionally, different convolution kernels are used to perform convolution on different parts of the same input image. Optionally, different convolution kernels are used to perform convolution on different input images, for example, inputting multiple images to a convolutional layer and performing convolution on one of the multiple images using a corresponding convolution kernel. Optionally, different convolution kernels are used according to different situations of the input image.
[0036] FIG. 7 is a structural schematic diagram of one of the plurality of decoding modules according to some embodiments of the present disclosure. Referring to FIG. 7, in some embodiments, one of the plurality of decoding modules 1120 includes a plurality of second residual blocks 1121 and an upsampling convolution layer 1122 arranged in series. In another example, the number or frequency of use of the upsampling convolution layer 1122 is twice that of the downsampling convolution layer. Optionally, the upsampling convolution layer 1122 includes a de-convolution layer (e.g., a 5*5 de-convolution layer, stride is 2), and then a leakage correction linear unit. Optionally, one of the plurality of second residual blocks 1121 includes a convolution layer (e.g., a 5*5 convolution layer, stride is 2), and then a leakage correction linear unit, and then another convolution layer (e.g., a 5*5 convolution layer, stride is 2), and then another leakage correction linear unit.
[0037] The term "downsampling" as used herein refers to the process of extracting features of an input image to output an output image at a smaller scale. The term "upsampling" as used herein refers to the process of adding more information to an input image to output said output image at a larger scale. The term "scale" as used herein refers to one or more combinations of the three dimensions of an image, including one or any combination of image width, image height, and image depth. In one example, the scale of an image (e.g., feature map, data, signal) refers to the "volume" of the image, including image width, image height, and image depth. In another example, the spatial scale of an image (e.g., feature map, data, signal) refers to the width and length of the image, e.g., width x length. The term "feature" as used herein generally refers to information of an image or a portion of an image, including any local optical characteristics in an image, e.g., spots, lines, or patterns. In one illustrative example, the features use the form of spatial information defined by vectors and / or integers.
[0038] 3, in some embodiments, the generator 10 further comprises an additional super-resolution generation block 200. Optionally, the additional super-resolution generation block 200 is configured to receive an input from the last one of the plurality of super-resolution generation units 100 arranged in series. Thus, in some embodiments, the step of generating a high-resolution image further comprises: inputting an output from the last one of the plurality of super-resolution generation units 100 arranged in series to the additional super-resolution generation block 200; and processing the output from the last one of the plurality of super-resolution generation units 100 using the additional super-resolution generation block 200 to generate the high-resolution image.
[0039] Optionally, the additional super-resolution generation block 200 has an architecture similar or identical to that of a corresponding one of the plurality of super-resolution generation units 100 (eg, the super-resolution generation units shown in FIGS. 5 to 7).
[0040] In some embodiments, the computer-implemented method further includes training the generator based on a generator loss function using a feedback circuit. As used herein, the term "loss function" refers to a function that indicates a loss error. In one example, the generator loss function is
number
number
number
number
[0041] The term "feature map" as used herein refers to a map or data that represents a particular feature or parameter or characteristic of an image. A feature map may be represented in a graphical or mathematical manner. A feature map may be in the form of a simplified or permuted representation of an image. For example, a feature map is a result of processing an image or other feature map using layers of a convolutional neural network, e.g., an image at scale (28, 28, 1) is input to a convolutional layer, and the convolutional layer with 23 kernels (where the kernel size is 1*1) generates a feature map at scale (26, 26, 32) by computing 32 kernels on the input image. The feature map has a width W, a height H, and a depth D, e.g., a feature map at scale (26, 26, 32) has a width 26, a height 26, and a depth 32. The feature map has 32 feature sub-maps, and the total number of feature sub-maps is equal to the depth of the feature map. The depth D is also represented by a channel of the feature map, so the feature map for scale (26, 26, 32) contains 32 channels, and each channel has a 26x26 grid of values.
[0042] The term "neural network" as used herein refers to a network for solving artificial intelligence (AI) problems. The neural network comprises multiple hidden layers. A corresponding one of the multiple hidden layers comprises multiple neurons (e.g., nodes). A plurality of neurons in a corresponding one of the multiple hidden layers are connected to a plurality of neurons in an adjacent one of the multiple hidden layers. The connections between neurons have different weights. The structure of the neural network mimics the structure of a biological neural network. The neural network can solve problems using a non-deterministic method. The parameters of the neural network may be adjusted by pre-training, for example, a number of problems are input to the neural network and results are obtained from the neural network. Feedback of these results is sent to the neural network to allow the neural network to adjust the parameters of the neural network. Pre-training allows the neural network to have a higher problem-solving ability.
[0043] The term "convolutional neural network" as used herein refers to a deep feed-forward artificial neural network. Optionally, the convolutional neural network comprises multiple convolutional layers, multiple upsampling layers, and multiple downsampling layers. For example, a corresponding one of the multiple convolutional layers can process an image. The upsampling layer and the downsampling layer can change the scale of the input image to a scale corresponding to the specific convolutional layer. The output from the upsampling layer or the downsampling layer can then be processed by a convolutional layer of the corresponding scale. This allows the convolutional layer to add or extract features whose scale is different from that of the input image. Pre-training can adjust parameters of the convolutional neural network, including but not limited to the convolution kernel, deviation, and weight of the convolutional layer. Thus, the convolutional neural network can be used for various applications, such as image identification, image feature extraction, and image feature addition.
[0044] In one example, the computer-implemented method is used to de-blur a low-resolution image. Figure 8A is a low-resolution image according to some embodiments of the present disclosure. Figure 8B is a high-resolution image generated by a computer-implemented method according to some embodiments of the present disclosure. As shown in Figure 8B, the method can de-blur the low-resolution image to a high-resolution image by utilizing a higher degree of detail recovery.
[0045] In some embodiments, the computer-implemented method further includes pre-training the convolutional neural network by the operations of inputting a plurality of training low-resolution images to the convolutional neural network, inputting a plurality of training reference images to the convolutional neural network, generating a plurality of training high-resolution images based on the plurality of training low-resolution images respectively using the generator, calculating a loss for each of the plurality of training high-resolution images based on a generator loss function, and tuning the convolutional neural network based on the loss. In one example, the training method uses a database with a large number of high-resolution images (e.g., 4000 frames of natural scene images). The training learning rate is 1e -4 and the number of iterations is set as 4000. In another example, the convolutional neural network converges after about 80 iterations.
[0046] FIG. 9 is a flowchart of a computer-implemented method according to some embodiments of the present disclosure. Referring to FIG. 9, in some embodiments, the computer-implemented method includes inputting a low-resolution image to a generator, using the generator to generate a high-resolution image based on the low-resolution image, inputting the reference image and the high-resolution image to a discriminator, and using the discriminator to verify the high-resolution image based on the reference image. Optionally, the generator and the discriminator are components of a generative adversarial network (GAN). The term "generative adversarial network" as used herein refers to a neural network that includes a generator and a discriminator. In one example, the discriminator can be initially trained to distinguish between real data and fake data that can be extracted from other random distributions. Optionally, the initial training of the discriminator is not mandatory, and the discriminator can be trained synchronously with the generator. Generally, for reasons of training efficiency and stability, the trained discriminator is used first, and the generator is used to continue training. The generator can be initialized by a random distribution (e.g., normal distribution) of data samples. During the training of the generator, a fake sample (or a lot of fake samples) is randomly drawn from the generator's distribution and transmitted to the discriminator. The real data samples (or a lot of real data samples) are also transmitted to the discriminator. The discriminator then tries to discriminate these samples as true or false. A "true sample" is a sample drawn from the real data, and a "fake sample" is a sample generated by the generator. Based on the output of the discriminator, a loss function is minimized in the generator. This adjusts the generator's parameters (e.g., model weights), which allows the generator to better distinguish between true and false samples.
[0047] In some embodiments, generating the high-resolution image includes processing the low-resolution image with a plurality of super-resolution generation units arranged in series in the generator, where a corresponding output from a corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution compared to a corresponding input of a corresponding one of the plurality of super-resolution generation units, and verifying the high-resolution image includes processing the high-resolution image with a plurality of convolutional layers and fully-connected layers arranged in series.
[0048] FIG. 10 is a structural schematic diagram of an apparatus for implementing a computer-implemented method according to some embodiments of the present disclosure. With reference to FIG. 10, in some embodiments, the apparatus for implementing the computer-implemented method includes a generator 10, a loss function calculator 20, a discriminator 40, and a feedback circuit 30. The generator 10 is configured to receive a low-resolution image as an input and output a high-resolution image to the loss function calculator 20. In some embodiments, the generator 10 further outputs the high-resolution image to the discriminator 40. The discriminator 40 is configured to receive a reference image (e.g., a high-resolution actual image, e.g., a "true sample") and determine whether the high-resolution image is true or false. In some embodiments, the loss function calculator 20 calculates a generator loss function and a discriminator loss function based on the high-resolution image and the reference image. The feedback circuit 30 is configured to mutually train the generator 10 and the discriminator 40 of the GAN based on the generator loss function and the discriminator loss function. In one example, the structure of the generator 10 is the structure described above, for example with reference to FIGS. 3-7 and related descriptions.
[0049] FIG. 11 is a structural schematic diagram of a discriminator according to some embodiments of the present disclosure. Referring to FIG. 11, in some embodiments, the discriminator 40 includes a plurality of convolution layers 300 and a fully connected layer 400 arranged in series. Optionally, the fully connected layer 400 is configured to receive an input from the last one of the plurality of convolution layers 300 arranged in series. In one example, the total number of the plurality of convolution layers 300 is 5. In another example, each of the plurality of convolution layers 300 is a 5*5 convolution layer with a stride of 2, followed by a modified linear unit (ReLU, see, for example, Nair, Hinton, “Rectified Linear Units Improve Restricted Boltzmann Machines”, Proceedings of the 27th International Conference on Machine Learning, Haifa, Israel, (2010), the entire contents of which are incorporated herein by reference). In another example, the kernel sizes of the multiple convolutional layers 300 are 32, 64, 128, 96, and 96, respectively. In another example, the fully connected layer 400 is a 96*16*16 convolutional layer.
[0050] In some embodiments, the generator loss function is:
number
number
number
[0051] In some embodiments, a neural network model is used to process the reference image and the high-resolution image. Optionally, the computation of the perceptual loss function is
number
number
[0052] In one example, the computer-implemented method is used for face hallucination of a facial image of an object. Figure 12A is a low-resolution image according to some embodiments of the present disclosure. Figure 12B is a high-resolution image generated by a computer-implemented method according to some embodiments of the present disclosure. Figure 12C is a reference image according to some embodiments of the present disclosure. As shown in Figure 12B, the method can utilize the recovered facial details (e.g., hair, eyebrows, glasses, wrinkles, etc.) to enhance the facial image to a high resolution.
[0053] In one example, the computer-implemented method is used to deblur a low-resolution image. Figure 13A is a low-resolution image according to some embodiments of the present disclosure. Figure 13B is a high-resolution image generated by a computer-implemented method according to some embodiments of the present disclosure. Figure 13C is a reference image according to some embodiments of the present disclosure. As shown in Figure 13B, the method can deblur the low-resolution image to the high-resolution image by utilizing a higher degree of detail recovery.
[0054] In some embodiments, the computer-implemented method further includes pre-training the convolutional neural network by the operations of inputting a plurality of training low-resolution images to the convolutional neural network, inputting a plurality of training reference images to the convolutional neural network, generating a plurality of training high-resolution images based on the plurality of training low-resolution images respectively using the generator, calculating a generator loss for each of the plurality of training high-resolution images based on the generator loss function, calculating a discriminator loss for each of the plurality of training high-resolution images based on the discriminator loss function, and adjusting the convolutional neural network based on the generator loss and the discriminator loss. In one example, the training method uses a database with a large number of high-resolution images (e.g., 4000 frames of natural scene images or the CelebA-HQ face image database with 200K frames of face images). The training learning rate is 1e -4 and the number of iterations is set as 100.
[0055] Meanwhile, the present disclosure provides an apparatus. FIG. 14 is a structural schematic diagram of an apparatus according to some embodiments of the present disclosure. Referring to FIG. 14, in some embodiments, the apparatus comprises a central processing unit (CPU) configured to execute operations based on computer-executable instructions stored in ROM or RAM. Optionally, data and programs required for the computer system are stored in RAM. Optionally, the CPU, ROM and RAM are electrically connected to each other via a bus. Optionally, an input / output interface is electrically connected to the bus.
[0056] In some embodiments, the apparatus comprises a memory and one or more processors, the memory and the one or more processors being connected to each other. In some embodiments, the memory stores computer-executable instructions that are adapted to control the one or more processors to perform the operations of: inputting a low-resolution image to a generator; and using the generator to generate a high-resolution image based on the low-resolution image by processing the low-resolution image using a plurality of super-resolution generation units arranged in series in the generator. Optionally, a corresponding output from a corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution compared to a corresponding input to the corresponding one of the plurality of super-resolution generation units.
[0057] In some embodiments, a corresponding one of the plurality of super-resolution generation units comprises a super-resolution generation block, a bilinear interpolation block, and a concatenation block. Optionally, the memory further stores computer-executable instructions adapted to control the one or more processors to perform the operations of inputting corresponding inputs to the super-resolution generation block and the bilinear interpolation block, respectively, processing the corresponding inputs using the super-resolution generation block to generate a first intermediate output from the super-resolution generation block, inputting the first intermediate output from the super-resolution generation block to the bilinear interpolation block, generating a second intermediate output using the bilinear interpolation block based on the corresponding input and the first intermediate output, inputting the second intermediate output to the concatenation block, and generating a corresponding output from the concatenation block based on the second intermediate output.
[0058] In some embodiments, the super-resolution generation block comprises a plurality of encoding modules and a plurality of decoding modules arranged in a U-Net architecture. Optionally, a corresponding one of the plurality of encoding modules comprises a downsampling convolution layer and a plurality of first residual blocks arranged in series. Optionally, a corresponding one of the plurality of decoding modules comprises a plurality of second residual blocks and an upsampling convolution layer arranged in series.
[0059] In some embodiments, the memory further stores computer-executable instructions that are used to control the one or more processors to perform the operations of inputting an output from a last one of the plurality of super-resolution generation units arranged in series to an additional super-resolution generation block, and processing the output from the last one of the plurality of super-resolution generation units using the additional super-resolution generation block to generate a high-resolution image.
[0060] In some embodiments, the memory further stores computer-executable instructions adapted to control the one or more processors to train the generator based on a generator loss function using a feedback loop. Optionally, the generator loss function is
number
[0061] In some embodiments, a neural network model is used to process the reference image and the high-resolution image.
number
number
number
[0062] In some embodiments, the memory further stores computer-executable instructions that are used to control the one or more processors to perform the operations of inputting a plurality of training low resolution images to a convolutional neural network; inputting a plurality of training reference images to the convolutional neural network; generating a plurality of training high resolution images based on the plurality of training low resolution images using the generator; calculating a loss for each of the plurality of training high resolution images based on the generator loss function; and adjusting the convolutional neural network based on the loss to pre-train the convolutional neural network.
[0063] In some embodiments, the memory further stores computer-executable instructions adapted to control the one or more processors to perform the operations of inputting a reference image and the high-resolution image to a discriminator and verifying the high-resolution image based on the reference image using the discriminator. Optionally, the generator and discriminator are components of a generative adversarial network (GAN).
[0064] In some embodiments, the memory further stores computer-executable instructions that are adapted to control the one or more processors to perform operations of processing a high-resolution image with multiple convolutional layers and fully-connected layers arranged in series.
[0065] In some embodiments, the memory further stores computer executable instructions adapted to control the one or more processors to mutually train the generator and the discriminator based on a generator loss function and a discriminator loss function using a feedback loop. Optionally, the generator loss function is
number
number
number
[0066] In some embodiments, a neural network model is used to process the reference image and the high-resolution image. Optionally, the computation of the perceptual loss function is
number
number
[0067] In some embodiments, the memory further stores computer-executable instructions that are used to control the one or more processors to perform the operations of inputting a plurality of training low resolution images to a convolutional neural network; inputting a plurality of training reference images to the convolutional neural network; generating a plurality of training high resolution images based on the plurality of training low resolution images using the generator; calculating a generator loss for each of the plurality of training high resolution images based on the generator loss function; calculating a discriminator loss for each of the plurality of training high resolution images based on the discriminator loss function; and adjusting the convolutional neural network based on the generator loss and the discriminator loss.
[0068] In contrast, the present disclosure provides a computer program product including a non-transitory tangible computer readable medium having computer readable instructions, which, in some embodiments, when executed by a processor, cause the processor to perform the operations of inputting a low resolution image to a generator and generating a high resolution image based on the low resolution image using the generator. Optionally, generating the high resolution image includes processing the low resolution image with a plurality of super-resolution generation units arranged in series connection in the generator, where a corresponding output from a corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution compared to a corresponding input to a corresponding one of the plurality of super-resolution generation units.
[0069] In some embodiments, a corresponding one of the plurality of super-resolution generation units comprises a super-resolution generation block, a bilinear interpolation block, and a concatenation block. Optionally, generating the high-resolution image using the generator further comprises: inputting corresponding inputs to the super-resolution generation block and the bilinear interpolation block, respectively; processing the corresponding inputs using the super-resolution generation block to generate a first intermediate output from the super-resolution generation block; inputting the first intermediate output of the super-resolution generation block to a bilinear interpolation block; generating a second intermediate output using the bilinear interpolation block based on the corresponding input and the first intermediate output; inputting the second intermediate output to a concatenation block; and generating a corresponding output from the concatenation block based on the second intermediate output.
[0070] In some embodiments, the super-resolution generation block comprises a plurality of encoding modules and a plurality of decoding modules arranged in a U-Net architecture, and optionally, a corresponding one of the plurality of encoding modules comprises a downsampling convolution layer and a plurality of first residual blocks arranged in series, and a corresponding one of the plurality of decoding modules comprises a plurality of second residual blocks and an upsampling convolution layer arranged in series.
[0071] In some embodiments, generating a high-resolution image using the generator further includes inputting an output from a last one of the multiple super-resolution generation units arranged in series to an additional super-resolution generation block, and processing the output from the last one of the multiple super-resolution generation units using the additional super-resolution generation block to generate the high-resolution image.
[0072] In some embodiments, the computer readable instructions executed by the processor further cause the processor to perform the operation of training the generator based on a generator loss function using a feedback circuit. Optionally, the generator loss function is
number
[0073] In some embodiments, a neural network model is used to process the reference image and the high-resolution image.
number
number
number
[0074] In some embodiments, the computer readable instructions executed by a processor further cause the processor to perform the operations of inputting a plurality of training low resolution images to a convolutional neural network; inputting a plurality of training reference images to the convolutional neural network; generating a plurality of training high resolution images based on the plurality of training low resolution images using the generator; calculating a loss for each of the plurality of training high resolution images based on the generator loss function; and adjusting the convolutional neural network based on the loss to pre-train the convolutional neural network.
[0075] In some embodiments, the computer readable instructions are executed by a processor to further cause the processor to perform the operations of inputting a reference image and the high resolution image to a discriminator and verifying the high resolution image based on the reference image using the discriminator. Optionally, the generator and discriminator are components of a generative adversarial network (GAN).
[0076] In some embodiments, validating the high-resolution image includes processing the high-resolution image with a plurality of convolutional layers and fully-connected layers arranged in series.
[0077] In some embodiments, the computer readable instructions are executed by a processor to cause the processor to further perform the operation of mutually training a generator and a discriminator of the GAN based on a generator loss function and a discriminator loss function using a feedback loop. Optionally, the generator loss function is
number
number
number
[0078] In some embodiments, a neural network model is used to process the reference image and the high-resolution image. Optionally, the computation of the perceptual loss function is
number
number
[0079] In some embodiments, the computer readable instructions executed by a processor further cause the processor to perform the operations of inputting a plurality of training low resolution images to a convolutional neural network; inputting a plurality of training reference images to the convolutional neural network; generating a plurality of training high resolution images respectively based on the plurality of training low resolution images using the generator; calculating a generator loss for each of the plurality of training high resolution images based on the generator loss function; calculating a discriminator loss for each of the plurality of training high resolution images based on the discriminator loss function; and adjusting the convolutional neural network based on the generator loss and the discriminator loss to pre-train a convolutional neural network.
[0080] The various illustrative neural networks, units, modules and other operations described with reference to the arrangements disclosed herein can be implemented as electronic hardware, computer software or a combination thereof. Thus, the neural networks, units, modules and other operations can be implemented or performed by a general purpose processor, a digital signal processor (DSP), an ASIC or ASSP, an FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components or any combination thereof designed to generate the arrangements disclosed herein. For example, such arrangements can be implemented at least in part as hard-wired circuitry, a circuit arrangement manufactured into an application specific integrated circuit, or a firmware program uploaded into a non-volatile memory, or a software program uploaded from or to a data storage medium as machine-readable code, such code being instructions executable by an array of logic elements, such as a general purpose processor or other digital signal processing unit. The general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller or state machine. The processor may be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a combination of multiple microprocessors, a combination of one or more microprocessors and a DSP kernel, or any other such arrangement. The software modules may reside in a non-transitory storage medium, e.g., a RAM (random access memory), a ROM (read only memory), a non-volatile RAM (NVRAM), e.g., flash RAM, an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a register, a hard disk, a removable disk, or a CD-ROM, or may be implemented by any other form of storage medium known in the art. An illustrative storage medium is coupled to the processor, such that the processor can read information from and write information to the storage medium.In the alternative, the processor and the storage medium may be integrated, or the processor and the storage medium may reside in an ASIC, or the ASIC may reside in a user terminal, or in the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
[0081] The above description of the embodiments of the present invention has been given for purposes of illustration and description. It is not exhaustive and does not limit the invention to the precise form or exemplary embodiments disclosed. Thus, the above description is illustrative and not restrictive. Of course, many modifications and variations will be apparent to those skilled in the art. The selection and description of the embodiments is intended to interpret the principles of the present invention and its best mode in practice, so that those skilled in the art can appreciate the various embodiments of the present invention and various modifications that are adapted to the particular use or embodiment under consideration. The scope of the present invention is intended to be limited by the appended claims and equivalents thereof, and all terms are to be given their broadest reasonable meaning unless otherwise stated. Thus, the terms "invention", "the present invention", etc., do not necessarily limit the scope of the claims to any particular embodiment, and the incorporation of an exemplary embodiment of the present invention is not meant to limit the invention, and no such limitation should be inferred. The present invention is limited only by the spirit and scope of the appended claims. Also, these claims may involve the use of "first", "second", etc., after which these words are nouns or elements. These terms should be understood as nomenclature, and should not be construed as limiting the number of elements modified by these nomenclature, unless a specific number is specifically given. Any benefits and advantages described may not apply to all embodiments of the present invention. As will be understood, those skilled in the art may modify the described embodiments without departing from the scope of the present invention, which is limited by the appended claims. Furthermore, no element or component of the present disclosure is made available to the public, regardless of whether such element or component is expressly described in the appended claims.
Claims
1. 1. A computer-implemented method comprising: inputting a low resolution image into a generator; generating a high-resolution image based on the low-resolution image using the generator; generating the high resolution image includes processing the low resolution image with a plurality of super-resolution generation units arranged in series in the generator, where a corresponding output from a corresponding one of the plurality of super-resolution generation units has a corresponding increased image resolution compared to a corresponding input to the corresponding one of the plurality of super-resolution generation units; The computer-implemented method further includes training the generator based on a generator loss function using a feedback loop; The generator loss function is [0010] is defined as Here, i indicates the corresponding number of multiple scales, and L m is the mean square error function, and L ψ is the perceptual loss function, and α is L m β is the weighting coefficient of L ψ 4 shows a computer-implemented method for determining a weighting factor of
2. the corresponding one of the plurality of super-resolution generation units comprises a super-resolution generation block and a bilinear interpolation block; generating the high resolution image using the generator, inputting corresponding inputs to said super-resolution generation block and said bilinear interpolation block, respectively; processing the corresponding input using the super-resolution generation block to generate a first intermediate output from the super-resolution generation block; inputting the first intermediate output from the super-resolution generation block into the bilinear interpolation block; 2. The computer-implemented method of claim 1, further comprising: generating a second intermediate output based on the corresponding input and the first intermediate output using the bilinear interpolation block.
3. The super-resolution generation block comprises a plurality of encoding modules and a plurality of decoding modules arranged in a U-Net architecture; A corresponding one of the plurality of encoding modules includes a downsampling convolution layer and a plurality of first residual blocks arranged in series; 3. The computer-implemented method of claim 2, wherein a corresponding one of the plurality of decoding modules comprises a plurality of second residual blocks and an upsampling convolutional layer arranged in series.
4. generating a high resolution image using the generator, inputting an output from the last one of the plurality of super-resolution generating units arranged in series to an additional super-resolution generating block; 4. The computer-implemented method of claim 1, further comprising: processing an output from the last one of the plurality of super-resolution generation units using the additional super-resolution generation block to generate the high resolution image.
5. a neural network model is used to process the reference image and the high-resolution image; [0025] and [0030] and where I denotes the reference image, [0045] 5. The computer-implemented method of claim 1, wherein: j denotes a high-resolution image; ψ denotes a neural network model; j denotes a corresponding one of a plurality of output layers of the neural network model; C denotes a plurality of channels of a feature map output from a corresponding one of the plurality of output layers; H denotes a height of a feature map output from a corresponding one of the plurality of output layers; and W denotes a width of a feature map output from a corresponding one of the plurality of output layers.
6. 6. The computer-implemented method of claim 5, wherein the neural network model is a VGG-19 model.
7. inputting a plurality of training low-resolution images into a convolutional neural network; inputting a plurality of training reference images into said convolutional neural network; generating a plurality of training high-resolution images based on the plurality of training low-resolution images respectively using the generator; computing a loss for each of the plurality of training high resolution images based on the generator loss function; 7. The computer-implemented method of claim 1, further comprising pre-training the convolutional neural network by the operation of: adjusting the convolutional neural network based on the loss.
8. inputting a reference image and the high resolution image into a discriminator; and verifying the high resolution image based on the reference image using the discriminator; The computer-implemented method of any one of claims 1 to 7, wherein the generator and the discriminator are components of a generative adversarial network.
9. 9. The computer-implemented method of claim 8, wherein validating the high-resolution image comprises processing the high-resolution image through a plurality of convolutional layers and fully-connected layers arranged in series.
10. 10. The computer-implemented method of claim 8 or 9, further comprising: training a generator and a discriminator of the generative adversarial network against each other based on a generator loss function and a discriminator loss function using a feedback loop.
11. The generator loss function is [0050] is defined as: The discriminator loss function is [006] is defined as Here, D denotes a discriminator, G denotes a generator, i denotes a corresponding number of scales, and α i and β i denotes a weighting coefficient corresponding to the corresponding numbers of multiple scales, E denotes a probability density distribution, [0070] denotes the perceptual loss function, [0080] denotes the probability distribution of the reference image, and x denotes [0090] Shows a sample from [0010] denotes the probability distribution of the high-resolution image, and z denotes ##EQU00011## 11. The computer-implemented method of claim 10, illustrating a sample from
12. a neural network model is used to process the reference image and the high-resolution image; The calculation of the perceptual loss function is ##EQU00012## and 12. The computer-implemented method of claim 11, wherein I denotes a reference image, j denotes the high-resolution image, ψ denotes a neural network model, j denotes a corresponding one of a plurality of output layers of the neural network model, C denotes a plurality of channels of a feature map output from a corresponding one of the plurality of output layers, H denotes a height of a feature map output from a corresponding one of the plurality of output layers, and W denotes a width of a feature map output from a corresponding one of the plurality of output layers.
13. 13. The computer-implemented method of claim 12, wherein the neural network model is a VGG-19 model.
14. 13. The computer-implemented method of claim 12, wherein the neural network model is a SphereNet model.
15. inputting a plurality of training low-resolution images into a convolutional neural network; inputting a plurality of training reference images into said convolutional neural network; generating a plurality of training high-resolution images based on the plurality of training low-resolution images respectively using the generator; calculating a generator loss for each of the plurality of training high resolution images based on the generator loss function; calculating a discriminator loss for each of the plurality of training high resolution images based on the discriminator loss function; 15. The computer-implemented method of claim 10, further comprising pre-training the convolutional neural network by the operation of: adjusting the convolutional neural network based on the generator loss and the discriminator loss.
16. 1. An apparatus comprising: Memory, one or more processors; the memory and the one or more processors are coupled to each other; The memory includes: inputting a low resolution image into a generator; generating a high-resolution image based on the low-resolution image using the generator by processing the low-resolution image using a plurality of super-resolution generation units arranged in series in the generator; compared to a corresponding input of a corresponding one of the plurality of super-resolution generation units, a corresponding output of the corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution; The operations further include training the generator based on a generator loss function using a feedback loop; The generator loss function is ##EQU00013## is defined as Here, i indicates the corresponding number of multiple scales, and L m is the mean square error function, and L ψ is the perceptual loss function, and α is L m β is the weighting coefficient of L ψ A device showing weighting coefficients.
17. A computer program comprising computer readable instructions, The computer readable instructions are executed by a processor to cause the processor to: inputting a low resolution image into a generator; generating a high-resolution image based on the low-resolution image using the generator; generating the high resolution image includes processing the low resolution image with a plurality of super-resolution generation units arranged in series in the generator, where a corresponding output from a corresponding one of the plurality of super-resolution generation units has a correspondingly increased image resolution compared to a corresponding input of a corresponding one of the plurality of super-resolution generation units; The operations further include training the generator based on a generator loss function using a feedback loop; The generator loss function is ##EQU14## is defined as Here, i indicates the corresponding number of multiple scales, and L m is the mean square error function, and L ψ is the perceptual loss function, and α is L m β is the weighting coefficient of L ψ A computer program showing weighting factors of
Citation Information
Patent Citations
Method, device, and computer program for improving the reconstruction of dense super-resolution images from diffraction-limited images acquired by single molecule localization microscopy
EP3438920A1
Display panel driver, display device, image processing device and image processing method
JP2016057990A
Image upscaling system, training method thereof, and image upscaling method
US20190005619A1
