Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
GENERATIVE METHODS OF SUPER RESOLUTION
Document Type and Number:
WIPO Patent Application WO/2017/158363
Kind Code:
A1
Abstract:
A method for training an algorithm to process at least a section of received visual data using a training dataset and reference dataset. The method comprises an iterative method with each iteration comprising the steps of: generating a set of training data using the algorithm; comparing one or more characteristics of the training data to one or more characteristics of at least a section of the reference dataset; and modifying one or more parameters of the algorithm to optimise processed visual data based on the comparison between the characteristic of the training data and the characteristic of the reference dataset. The algorithm may output the processed visual data with the same content as the at least a section of received visual data. Some aspects and/or embodiments provide for improved super-resolution of lower quality images, with a view to producing super-resolution images which have improved characteristics (e.g. less blur, less undesired smoothing) compared to other super-resolution techniques.

Inventors:
WANG ZEHAN (GB)
SHI WENZHE (GB)
HUSZAR FERENC (GB)
BISHOP ROB (GB)
Application Number:
PCT/GB2017/050728
Publication Date:
September 21, 2017
Filing Date:
March 16, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MAGIC PONY TECH LTD (GB)
International Classes:
G06T3/40
Other References:
DONG CHAO ET AL: "Image Super-Resolution Using Deep Convolutional Networks", IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, IEEE COMPUTER SOCIETY, USA, vol. 38, no. 2, 1 February 2016 (2016-02-01), pages 295 - 307, XP011591233, ISSN: 0162-8828, [retrieved on 20160107], DOI: 10.1109/TPAMI.2015.2439281
LIANG YUDONG ET AL: "Incorporating image degeneration modeling with multitask learning for image super-resolution", 2015 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), IEEE, 27 September 2015 (2015-09-27), pages 2110 - 2114, XP032826842, DOI: 10.1109/ICIP.2015.7351173
QU YANYUN ET AL: "Single Image Super-Resolution via Convolutional Neural Network and Total Variation Regularization", 1 January 2016, NETWORK AND PARALLEL COMPUTING; [LECTURE NOTES IN COMPUTER SCIENCE; LECT.NOTES COMPUTER], SPRINGER INTERNATIONAL PUBLISHING, CHAM, PAGE(S) 28 - 38, ISBN: 978-3-642-38591-9, ISSN: 0302-9743, XP047343432
H.R. SHEIKH ET AL: "An information fidelity criterion for image quality assessment using natural scene statistics", IEEE TRANSACTIONS ON IMAGE PROCESSING., vol. 14, no. 12, 1 December 2005 (2005-12-01), US, pages 2117 - 2128, XP055380156, ISSN: 1057-7149, DOI: 10.1109/TIP.2005.859389
SUMALI BRIAN ET AL: "Single image Super Resolution by no-reference image quality index optimization in PCA subspace", 2016 IEEE 12TH INTERNATIONAL COLLOQUIUM ON SIGNAL PROCESSING & ITS APPLICATIONS (CSPA), IEEE, 4 March 2016 (2016-03-04), pages 183 - 187, XP032926812, DOI: 10.1109/CSPA.2016.7515828
Attorney, Agent or Firm:
KENNEDY, Richard et al. (GB)
Download PDF:
Claims:
CLAIMS:

1 . A method for training an algorithm to process at least a section of received visual data using a training dataset and reference dataset, an iterative method with each iteration comprising the steps of: generating a set of training data using the algorithm; comparing one or more characteristics of the training data to one or more characteristics of at least a section of the reference dataset; and modifying one or more parameters of the algorithm to optimise processed visual data based on the comparison between the characteristic of the training data and the characteristic of the reference dataset; wherein the algorithm outputs the processed visual data with the same content as the at least a section of received visual data.

2. The method of claim 1 , wherein the training dataset comprises a plurality of visual data.

3. The method of any previous claim, wherein the reference dataset comprises a plurality of visual data.

4. The method of claim 3, wherein the plurality of visual data of the reference dataset are not increased quality versions of the visual data of the training dataset.

5. The method of any previous claim, further comprising the step of receiving at least a section of the training dataset.

6. The method of any previous claim, further comprising the step of receiving at least a section of the reference dataset.

7. The method of any previous claim, wherein the step of generating a set of training data using the algorithm uses all the data from the training dataset.

8. The method of any previous claim, wherein the received visual data is low- resolution visual data.

9. The method of any previous claim, wherein the processed visual data has a higher-resolution than the received visual data.

10. The method of any previous claim, wherein the processed visual data is produced by the algorithm being configured to be used for any of: removing compression artefacts; dynamic range enhancement; image generation and synthesis; image inpainting; image de-mosaicing; and denoising.

1 1 . The method of any previous claim, wherein comparing the one or more characteristics of the training data to the one or more characteristics of the reference dataset further comprises training a denoising auto-encoder algorithm via a least-squares procedure to capture the statistical characteristics.

12. The method of any of claims 1 through 10, wherein comparing the one or more characteristics of the enhanced training data to the one or more characteristics of the reference dataset further comprises an adversarial training procedure.

13. The method of any previous claim, wherein comparing the one or more characteristics of the training data to the one or more characteristics of the reference dataset further comprises using a regularised auto-encoder algorithm to minimise any differences between the statistical characteristics.

14. The method of claim 12, wherein the adversarial training procedure employs a binary classifier that discriminates between enhanced visual data and reference data.

15. The method of any previous claim, wherein the comparison between the one or more characteristics of the enhanced training data and the one or more characteristics of the reference dataset amounts to evaluating the classification performance of this discriminator algorithm.

16. The method of any previous claim, wherein the one or more characteristics of the training data and the one or more characteristics of the reference dataset are representative of the same characteristics.

17. The method of any previous claim, wherein the one or more characteristics of the training data and the one or more characteristics of the reference dataset are a statistical distribution.

18. The method of any previous claim, wherein the algorithm preserves the content of the visual data.

19. The method of any previous claim, wherein the algorithm preserves the content of the visual data by comparing one or more characteristics of an input of the algorithm and one or more characteristics of an output of the algorithm.

20. The method of claim 19, wherein the step of comparing involves assessing the similarity between one or more characteristics of an input of the algorithm and one or more characteristics of an output of the algorithm.

21 . The method of claims 19 or 20, wherein the one or more characteristics are calculated by a characteristic algorithm

22. The method of claim 21 , wherein the characteristic algorithm is developed using learning approaches, such as sufficient statistics based on activations in a convolutional neural network.

23. The method of any of claims 19 through 22, wherein the one or more characteristics are a subset of the representation of visual data in a complete or overcomplete basis, such as a wavelet basis.

24. The method of any previous claim, wherein the algorithm preserves the content of the visual data by modifying one or more parameters of the algorithm using an auxiliary objective function.

25. The method of claim 24, wherein the auxiliary objective function is a Largrange multiplier.

26. The method of any previous claim, wherein the algorithm is hierarchical and comprises a plurality of layers.

27. The method of claim 26, wherein the layers are any of sequential, recurrent, recursive, branching or merging.

28. The method of any previous claim, wherein the extracting of features is based on a predetermined extraction metric.

29. The method of any previous claim, wherein the algorithm is pre-trained, fine- tuned, or trained using a learned approach.

30. The method of claim 29, wherein the learned approach comprises machine learning techniques.

31 . The method of any previous claim, wherein the algorithm is a non-linear hierarchical algorithm.

32. The method of any previous claim, wherein the algorithm comprises any of one or more: convolutional neural networks, recurrent neural networks, random forests, or dictionary learning based methods.

33. The method of any previous claim, wherein the algorithm uses super- resolution techniques.

34. The method of any previous claim, wherein the algorithm uses a spatio- temporal approach.

35. A method of any previous claim, wherein the plurality of input sections comprises at least one low-quality input.

36. A method of any previous claim, wherein the plurality of input sections comprises a plurality of low-quality inputs

37. A method according to any one of the preceding claim, further comprising receiving the received visual data, processing the received visual data to provide the processed visual data, and outputting the processed visual data.

38. A method substantially as hereinbefore described in relation to Figure 1 .

39. Apparatus for carrying out the method of any previous claim.

40. A computer program product comprising software code for carrying out the method of any of claims 1 to 38.

41 . Apparatus comprising:

at least one processor; and

at least one memory including computer program code which, when executed by the at least one processor, causes the apparatus to perform the method of any one of claims 1 to 38.

42. A computer-readable medium having computer-readable code stored thereon, the computer-readable code, when executed by at least one processor, causing the performance of the method of any one of claims 1 to 38.

Description:
GENERATIVE METHODS OF SUPER RESOLUTION

Field of Invention

The present invention relates to a method for training an algorithm to process visual data using a plurality of datasets.

Background

Machine learning is the field of study where a computer or computers learn to perform classes of tasks using the feedback generated from the experience the machine learning process gains from computer performance of those tasks.

Typically, machine learning is classified into three main categories: (i) supervised learning; (ii) unsupervised learning and (iii) reinforcement learning.

Supervised machine learning is concerned with a computer learning one or more rules or functions to map between example inputs and desired outputs as predetermined by an operator or programmer, usually where a data set containing the inputs is labelled.

Unsupervised learning may be concerned with determining a structure for input data, for example when performing pattern recognition, and typically uses unlabelled data sets.

Reinforcement learning may be concerned with enabling a computer or computers to interact with a dynamic environment, for example determining how well a machine performs the learning..

Various hybrids of these categories are possible, such as "semi-supervised" machine learning where a training data set has only been partially labelled.

For unsupervised machine learning, there is a range of possible applications such as, for example, the application of computer vision techniques to image processing or video enhancement. Unsupervised machine learning is typically applied to solve problems where an unknown data structure might be present in the data. As the data is unlabelled, the machine learning process is required to operate l to identify implicit relationships between the data for example by deriving a clustering metric based on internally derived information. For example, an unsupervised learning technique can be used to reduce the dimensionality of a data set and attempt to identify and model relationships between clusters in the data set, and can for example generate measures of cluster membership or identify hubs or nodes in or between clusters (for example using a technique referred to as weighted correlation network analysis, which can be applied to high-dimensional data sets, or using k-means clustering to cluster data by a measure of the Euclidean distance between each datum).

Semi-supervised learning is typically applied to solve problems where there is a partially labelled data set, for example where only a subset of the data is labelled. Semi-supervised machine learning makes use of externally provided labels and objective functions as well as any implicit data relationships.

When initially configuring a machine learning system, particularly when using a supervised machine learning approach, the machine learning algorithm can be provided with some training data or a set of training examples, in which each example is typically a pair of an input signal/vector and a desired output value, label (or classification) or signal. The machine learning algorithm analyses the training data and produces a generalised function that can be used with unseen data sets to produce desired output values or signals for the unseen input vectors/signals. The user needs to decide what type of data is to be used as the training data, and to prepare a representative real-world set of data. The user must however take care to ensure that the training data contains enough information to accurately predict desired output values. The machine learning algorithm must be provided with enough data so as to be able to correctly learn and model for the dimensionality of the problem they are trying to solve, without providing too many features (which can result in too many dimensions being considered by the machine learning process during training). The user must also determine the desired structure of the learned or generalised function, for example whether to use support vector machines or decision trees. The use of unsupervised or semi-supervised machine learning approaches are often used when labelled data is not readily available, or where the system generates new labelled data from unknown data given some initial seed labels.

For example, for the case where machine learning is used for image enhancement, using dictionary representations for images, techniques are generally referred to as dictionary learning. In dictionary learning, where sufficient representations, or atoms, are not available in a dictionary to enable accurate representation of an image, machine learning techniques can be employed to tailor dictionary atoms such that they can more accurately represent the image features and thus obtain more accurate representations.

When using machine learning where there is an objective function and optimisation process, for example where using sparse coding principles, a training process is used to find optimal representations that can best represent a given signal or labelling (where the labelling can be externally provided such as in supervised or semi-supervised learning or where the labelling is implicit within the data as for unsupervised learning), subject to predetermined initial conditions such as a level of sparsity.

Current methods of neural-network super resolution use a least squares objective or a variant thereof such as peak signal-to-noise ratio. Generally the training objective is represented by:

Equation 1 where x is a low resolution image, y is a high resolution image, and y is an estimate of the high resolution image generated by a neural network with the parameters of Θ.

Least squares methods struggle when there are multiple equivalently probable solutions to the problem. For example, where there are multiple equivalently good solutions to the problem, a low resolution image may provide enough detail to be able to determine the content of the image, however not in enough details so as to be able to precisely determine the location of each object within a high-resolution version of the image. Summary of Invention

Aspects and/or embodiments are set out in the appended claims.

Some aspects and/or embodiments provide for super-resolution of lower quality images so as to produce super-resolution images which have improved characteristics (e.g. less blur, less undesired smoothing) compared to other super- resolution techniques.

Some aspects and/or embodiments can improve the effectiveness of synthesising content using machine learning techniques.

These and other aspects and embodiments are also described herein.

Certain aspects and/or embodiments seek to provide techniques for generating hierarchical algorithms that can be used to enhance visual data based on received input visual data and a plurality of pieces of training data.

Other aspects and/or embodiments seek to provide techniques for machine learning.

According to a first aspect of the invention there is provided a computer- implemented method for training an algorithm to process at least a section of received visual data. The method comprises an iterative method with each iteration comprising the steps of: generating a set of processed data using the algorithm; comparing one or more characteristics of the processed data to one or more characteristics of at least a section of a reference dataset; and modifying one or more parameters of the algorithm to optimise the output visual data by changing parameters obtained from a comparison between the characteristic of the processed data and the characteristic of the reference dataset.

Comparing one or more characteristics of the processed data to one or more characteristics of at least a section of a reference dataset may comprise matching a distribution of processed data (which may comprise reconstructed visual data) to a distribution of the reference dataset (which may comprise high resolution visual data). Alternatively, or in addition, comparing the one or more characteristics of the processed data to the one or more characteristics of at least a section of the reference dataset may comprise evaluating pixel-to-pixel differences, or evaluating differences (or similarities) at some feature level. Since the set of processed data is used in training it may be referred to herein as a "set of training data".

The algorithm may output visual data which includes the same content (e.g. the same semantic content) as the at least a section of received visual data. In other words there may be a level of consistency ("data consistency") between the output visual data and the at least a section of received visual data. For example in some embodiments a down-sampled version of the output visual data may correspond to the at least a section of received visual data. Alternatively, or in addition, the output visual data may be linked to the section of received visual data by convolutional feature matching. Those skilled in the art will appreciate that the term "content", as used herein, is not limited to pixel-by-pixel information, and may refer to other data calculated using an appropriate function, e.g. semantic content, or feature(s) output from a neural network.

In some embodiments the algorithm is trained using a training dataset, which may be a low-quality training dataset comprising a plurality of low-quality visual data. Similarly, in some embodiments the reference dataset may be a high-quality reference data set comprising a plurality of high-quality visual data. Where the term training data is used, any of the terms processed data, or processed output data may be used. Similarly, where the term training dataset is used, the term input training data may be used.

Some embodiments provide for a method of training an algorithm by iterating a number of times so as to optimise the results of the algorithm subject to a comparison between a generated set of training data and a reference data set. Using parameters based upon the optimisation the algorithm may be modified so as to output an enhanced quality version of received lower quality visual data.

Optionally, the training dataset may comprise a plurality of visual data and the reference dataset may comprise a plurality of visual data. Furthermore, in some embodiments, the plurality of high-quality visual data of the high-quality reference dataset may not be increased quality versions of the low-quality visual data of the low-quality training dataset. In some embodiments, the use of a plurality of different visual data, both low and high quality, ensures the algorithm may be optimised based on specific criteria, such as the type of the input visual data and the content of the input visual data. This may enable the method to select a subset of each of the sets of visual data so as to optimise the amount of time and resources required to obtain favourable results.

Optionally, the method may further comprise the step of receiving at least a section of the training dataset. Similarly, the method may also further comprise the step of receiving at least a section of the reference dataset

In some embodiments, receiving the data sets enables them to be stored remotely instead of being stored in memory of a device configured to perform the method.

Optionally, the step of generating a set of training data using the algorithm may use all the data from the training dataset.

In some embodiments, using all the visual data from the training dataset enables the algorithm to produce results based on the widest set of possible data, giving a bigger field of data for the comparison and optimisation of the algorithm.

Optionally, the received visual data may be low-resolution visual data and the visual data may have a higher-resolution than the received visual data.

In certain embodiments, the algorithm may be directed towards specifically increasing the resolution of the input visual data as opposed to focussing on other aspects which affect the quality of visual data.

Optionally, the visual data is produced by the algorithm being configured to be used for any of removing compression artefacts, dynamic range enhancement, image generation and synthesis, image inpainting, image de-mosaicing, or denoising.

In some embodiments, the algorithm may be directed towards any of removing compression artefacts, dynamic range inference, image inpainting, image de-mosaicing, and denoising so as to allow for enhancing the quality of the received visual data in a plurality of ways. Optionally, comparing the one or more characteristics of the training data to the one or more characteristics of the reference dataset further comprises training a denoising auto-encoder algorithm via a least-squares procedure to capture the statistical characteristics. In some embodiments it may comprise an adversarial training procedure or a regularised auto-encoder algorithm so as to minimise any differences between the statistical characteristics. The adversarial training procedure may employ a binary classifier that discriminates between enhanced visual data and high-quality reference data. Similarly, in some embodiments, the comparison between the one or more characteristics of the enhanced training data and the one or more characteristics of the reference dataset may amount to evaluating the classification performance of this discriminator algorithm.

A number of methods of comparing the characteristics may be used, depending on embodiment, so as to optimise the comparison between the two data sets. In some embodiments, optimising the comparison enables the parameters to the algorithm to be modified so as to ensure any output visual data is representative of the input visual data.

Optionally, the one or more characteristics of the enhanced training data and the one or more characteristics of the reference dataset may be representative of the same characteristics, such as in some embodiments being a statistical distribution.

In some embodiments, using the same characteristics ensures an accurate comparison between the two data sets, so as to optimise the parameters of the algorithm and produce high-quality visual data more representative of the low-quality visual data provided as an input.

Optionally, the algorithm preserves the content of the visual data, which may be achieved by comparing one or more characteristics of an input of the algorithm and one or more characteristics of an output of the algorithm. Comparing the input and output of the algorithm may involve assessing the similarity between one or more characteristics of an input of the algorithm and one or more characteristics of an output of the algorithm, where the one or more characteristics may be calculated by a characteristic algorithm. The characteristic algorithm is developed using learning approaches, such as sufficient statistics based on activations in a convolutional neural network whereby the one or more characteristics may be a subset of the representation of visual data in a complete or overcomplete basis, such as a wavelet basis.

In some embodiments, comparing the input and the output of the algorithm ensures the algorithm produces high-quality visual data more representative of the low-quality visual data provided as an input.

Optionally, the algorithm may preserve the content of the visual data by modifying one or more parameters of the algorithm using an auxiliary objective function which may be a Largrange multiplier.

In some embodiments, preserving the content of the visual data ensures the output visual data resembles a higher quality version of the low-quality visual data provided as an input to the algorithm.

Optionally, the algorithm is hierarchical and comprises a plurality of layers furthermore, the layers are any of sequential, recurrent, recursive, branching or merging.

Having a number of layers in some embodiments, which may or may not be sequential, recurrent, recursive, branching or merging allows different levels of processing to occur at different times and the layers can work in parallel, ensuring optimal efficiency when enhancing the resolution of the visual data

Optionally, the extracting of features is based on a predetermined extraction metric.

In some embodiments, enabling a variety of features to be extracted as set by the predetermined extraction metric ensures the enhancement can be tailored to a particular system. As such, in some of these embodiments the computational expense can be increased or decreased appropriately based on system resources.

Optionally, the algorithm is pre-trained, fine-tuned, or trained using a learned approach.

In some embodiments, hierarchical or non-hierarchical algorithms can be substantially accurate and therefore enable a more accurate reconstruction, for example produce higher quality visual data from the low-quality visual data that is transmitted, for example where quality can be measured by resolution, a perceptual measure or metric determining that the quality is sufficiently aesthetically pleasing or by a low reproduction error rate in comparison to the original high-quality visual data. In another example, the hierarchical or non-hierarchical algorithms can produce higher quality versions of visual data using the fidelity data. In some optional embodiments, a down-sampled version of the resulting visual data comes out to be the same or similar as a down-sampled version of the original visual data. In some embodiments, using a learned approach can substantially tailor the hierarchical model or models for each portion of visual data.

Optionally, the learned approach comprises machine learning techniques. The algorithm is a non-linear or hierarchical algorithm, which may comprise one or more of convolutional neural networks, recurrent neural networks, random forests, or dictionary learning based methods.

In some embodiments, non-linear models can be substantially accurate in reconstructing visual data than dictionary-based approaches. In these embodiments, through using a learning-based approach, i.e. an approach that does not rely on predefined visual data features and operators, the model(s) can be optimised for each section or sequence of sections.

In some embodiments, the training of convolutional neural networks can be more computationally complex than dictionary learning for a similar accuracy, but the resulting model or algorithm can also be more flexible in representing visual data while using fewer coefficients for the reconstruction. In some embodiments, the resultant convolutional neural network model to be transmitted alongside the lower- quality visual data can be both smaller and can be more accurate in the reconstruction of the higher-quality visual data.

Some aspects can provide an improved technique for generating reconstruction parameters that can be used, when converting original high-quality visual data into a down-sampled low-quality visual data, to allow recreation of higher quality visual data without significant loss in quality, for example having a low reconstruction error in comparison with the original visual data, and with a reduction in visual data transferred over a network. In such aspects, the application of such a technique can reduce the data transmitted when transmitting visual data in comparison with existing techniques while enabling reproduction of the visual data at its original quality without significant loss in quality in comparison to the original visual data (where quality can be defined by objective metrics such as error rate, PSNR and SSIM as well as subjective measures) or, alternatively, based on a perception measure or metric rather than on a pixel-wise comparison of images. In such aspects, such a proposed technique can allow minimal changes to be made to the overall infrastructure of service providers, as it can augment most existing compression techniques, and can provide advantages in encoding and streaming applications.

Optionally, the hierarchical algorithm uses super-resolution techniques and/or a spatio-temporal approach.

In some embodiments, optionally for use for a section of visual data, the example based model may be a neural network and can use spatio-temporal convolution. In some embodiments, separating visual data into a series of sections allows for the individual sections to be down-sampled thus reducing the visual data size, thereby allowing for lower quality sections to be transmitted as re-encoded visual data in the original or optionally a more optimal codec but at a lower quality. In some embodiments, a spatio-temporal network can allow an improvement in performance by exploiting the temporal information in the visual data and, for example, within a similar scene in sequential sections of visual data, there may be stationary sections of background in the sequential sections providing information relevant for the higher-quality version of that scene such that temporally consecutive sections can be used to super resolve one section.

Optionally, the plurality of input sections may comprise at least one low-quality input or a plurality of low-quality inputs, wherein quality can be measured subjectively.

Aspects and/or embodiments include a computer program product comprising software code to effect the method and/or apparatus of other aspects and/or embodiments herein described. It should be noted that in some aspects and/or embodiments, the terms model and/or algorithm and/or representation and/or parameters and/or functions can be used interchangeably.

It should also be noted that visual data, in some embodiments, may comprise image and/or video data.

References to visual data can be references to video data and/or image data in some aspects and/or embodiments and vice versa. References to low-quality and/or lower-quality can be references to low-resolution and/or lower-resolution in some aspects and/or embodiments and vice versa. References to high-quality and/or higher-quality and/or highest quality and/or original quality can be references to high- resolution and/or higher-resolution and/or highest-resolution and/or original resolution and/or increased fidelity in some aspects and/or embodiments and vice versa. References to sections can be references to frames and/or portions of frames in some aspects and/or embodiments and vice versa. References to enhance or enhancement can be references to upscale and/or upscaling in some aspects and/or embodiments and vice versa.

Brief Description of Figures

Embodiments of the present invention will now be described, by way of example only with reference to the accompanying drawing, in which:

Figure 1 is a flow chart showing a method of training an algorithm to enhance the quality of visual data using a plurality of datasets;

Figure 2 shows an apparatus comprising a processing apparatus and memory according to an exemplary embodiment.

Specific Description

Various embodiments will now be described in detail with reference to the Figures referenced above.

In some embodiments it is possible to overcome the problem of having multiple probable solutions to a particular piece of input visual data by computing the maximum-a-posteriori ('MAP') solution. As mentioned above, a least-squares method picks an average of all possible solutions, thereby resulting in an output which may not accurately represent a higher quality version of the inputted visual data. In contrast a MAP-trained network would pick a most probable output when compared to a training data set. MAP estimation can be difficult as it requires knowledge of the entire distribution of natural images and because it has to generate realistic textures even when not present in the lower-quality visual data.

The MAP solution may be modified and other techniques used, such as generative modelling, to improve the efficiency and reduce the difficulties mentioned previously. In some embodiments objective function for MAP estimation may be represented as: min -E log p(y(x; θ) \χ)

Equation 2 where x is low quality visual data, y is an estimate of the high quality visual data when passed through a neural network with the parameters of Θ, and p is the distribution of natural visual data.

This may be decomposed using the Bayes' rule to: max E x log p (x|y(x; 0)) + E x logp (y(x; 0))

Equation 3 where the first term, E logp (x|y(x; 0)), is the likelihood and the second term, E logp (y(x; 0)), is the prior. In some embodiments, the likelihood may represent the low quality visual data, x, should be the same as the estimated high quality visual data, y, when y has been down-sampled.

In some embodiments, Equation 3 may be modified to omit the first term (i.e. the likelihood) to give: max E x logp (y(x; 0))

Equation 4 This gives an unsupervised generative training objective with no reference to the original high quality visual data. Knowledge regarding the high quality visual data is encapsulated within the image prior distribution, p.

In some embodiments, this objective function required no reference to corresponding input and output pairs, and relies on comparing probability distributions, therefore resulting in an unsupervised learning or a generative modelling approach.

Further embodiments of the invention may use this approach to generate high quality versions of inputted low quality visual data by training an algorithms so that the objective function, for example the objective function described by Equation 4, is optimised. In some embodiments, only low-quality data is required along with a high- quality reference data set which may contain unrelated visual data.

An embodiment of the invention will now be described in relation to Figure 1 which shows a method 100 used to train an algorithm 1 10. In this embodiment, processing involves increasing the quality of the input visual data 120. It will be appreciated the method may be able to process visual data in a number of ways, such as by creating photorealistic outputs, removing noise from received visual data, and generating or synthesising new images. An algorithm 1 10 receives at least one section of low-quality visual data 120 used to initialise the algorithm 1 10 with a set of parameters 1 15. The algorithm 1 10 may also receive a low-quality visual data training set 130. In some embodiments the plurality of low-quality visual data training set 130 may be a selection of low quality images, frames of video data or rendered frames. The person skilled in the art will appreciate other types of low-quality visual data may be received by the algorithm 1 10.

The low-quality visual data training set 130 may be received by the algorithm 1 10 from an external source, such as the Internet, alternatively the low-quality visual data training set 130 may be stored in a memory of a device configured to perform the method 100.

The low-quality visual data 120 is used as a training data set and provided to the algorithm 1 10 which, using the parameters 1 15, seeks to produce estimated enhanced quality visual data set 140 corresponding to the low-quality visual data training set 130. In some embodiments only a subset of the low-quality visual data 120 may be used when producing the estimate enhanced quality visual data set 140. The estimated enhanced quality visual data set 140 may comprise a set of visual data representing enhanced quality versions of the corresponding lower quality visual data from a subset of the low-quality visual data training set 130. In some embodiments, the entire low-quality visual data training set 130 may be used.

In some embodiments, the enhanced quality visual data set 140 may be used as an input to comparison algorithm 160, along with a high quality visual data reference set 150. The high-quality visual data reference set 150 may be received by the algorithm 1 10, from an external source, such as the Internet, alternatively the high-quality visual data reference set 150 may be stored in a memory of a device configured to perform the method 100.

The comparison algorithm 160 may use a plurality of characteristics determined from the high-quality visual data reference set 150 and the estimated enhanced quality visual data set 140 to determine similarities and differences between the two data sets 140, 150. The comparison may be made between empirical probability distributions of visual data. The plurality of characteristics use may include sufficient statistics computed across subsets of visual data.

The comparison algorithm 160 may utilise an adversarial training procedure such as the one used to train Generative Adversarial Network ( ΑΝ'). In some embodiments, such an algorithm may employ a discriminator trained to discriminate between data items sampled from the high-quality visual data reference set 150 and those sampled from the estimated enhanced quality visual data set 140. The classification accuracy of this discriminator may then form the basis of the comparison.

In yet another embodiment, the comparison algorithm 160 may involve training denoising auto-encoders via a least-squares procedure to capture the statistical characteristics of the high-quality visual data reference set 150 and the estimate enhanced visual data set 140. These auto encoders may then be utilised to estimate gradients of the Kullback Leibler divergence between the two distributions. In a further embodiment, the comparison algorithm 160 may involve moment matching which may directly minimise differences between the plurality of characteristics, which may be the sufficient statistics mentioned previously, determined from the high-quality visual data reference set 150 and the estimated enhanced quality visual data set 140.

In another embodiment of the invention, the comparison algorithm 160 may compute the maximum mean discrepancy in a reproducing Kernel Hilbert space between the high-quality visual data reference set 150 and the estimated enhanced quality visual data set 140.

In some embodiments, the comparison algorithm 160 produces updated parameters 165 which can be used to replace the parameters 1 15 of the algorithm 1 10. Using the updated parameters 165, the method 100 may iterate, seeking to reduce the differences between the plurality of characteristics determined from the high-quality visual data 130 and the estimated enhanced quality visual data 140, each time using the updated parameters 165 produced by the comparison algorithm 160.

The method 100 continues to iterate until the algorithm 1 10 produces an estimated enhanced quality visual data 140 representative of high quality visual data corresponding to the low-quality visual data training set 130. After training the algorithm 1 10, an enhanced quality visual data 170 may be output wherein the enhanced quality visual data 170 corresponds to an enhanced quality version of the at least one section of low-quality visual data 120.

In some embodiments, the invention may be used to apply a style transfer to the input visual data. For example, input visual data may be a computer graphics rendering and the method 100 may be used to process the computer graphics rendering. Using a photorealistic set of reference data 150 the output of the algorithm 1 10 may appear to have photo-real characteristics so as to represent a photo-real version of the computer graphics rendering.

In an alternative embodiment, the invention may be used to recover information from corrupted or lower-quality input visual data, by using a reference data set to recover estimates of the corrupted or visual content. In yet further embodiments, the invention may be used for the removal of compression artefacts; dynamic range inference; image inpainting; image de- mosaicing and denoising. Thereby allowing for a range of visual data to be processed, each with different quality degrading characteristics. It will be appreciated other characteristics which affect the quality of the visual data may be enhanced by the algorithm. Furthermore, in some embodiments, the algorithm may be configured to process the visual data consisting of one or more of the above-mentioned quality characteristics.

It should also be appreciated that particular combinations of the various features described and defined in any aspects of the invention can be implemented and/or supplied and/or used independently

Some of the example embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations as sequential processes, operations may be performed in parallel, or concurrently or simultaneously. In addition, the order or operations may be re-arranged. The processes may be terminated when their operations are completed, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subprograms, etc.

Methods discussed above, some of which are illustrated by the flow charts, may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the relevant tasks may be stored in a machine or computer readable medium such as a storage medium. A processing apparatus may perform the relevant tasks.

Figure 2 shows an apparatus 200 comprising a processing apparatus 202 and memory 204 according to an exemplary embodiment. Computer-readable code 206 may be stored on the memory 204 and may, when executed by the processing apparatus 202, cause the apparatus 200 to perform methods as described here, for example a method with reference to Figure 1. The processing apparatus 202 may be of any suitable composition and may include one or more processors of any suitable type or suitable combination of types. Indeed, the term "processing apparatus" should be understood to encompass computers having differing architectures such as single/multi-processor architectures and sequencers/parallel architectures. For example, the processing apparatus may be a programmable processor that interprets computer program instructions and processes data. The processing apparatus may include plural programmable processors. Alternatively, the processing apparatus may be, for example, programmable hardware with embedded firmware. The processing apparatus may alternatively or additionally include Graphics Processing Units (GPUs), or one or more specialised circuits such as field programmable gate arrays FPGA, Application Specific Integrated Circuits (ASICs), signal processing devices etc. In some instances, processing apparatus may be referred to as computing apparatus or processing means.

The processing apparatus 202 is coupled to the memory 204 and is operable to read/write data to/from the memory 204. The memory 204 may comprise a single memory unit or a plurality of memory units, upon which the computer readable instructions (or code) is stored. For example, the memory may comprise both volatile memory and non-volatile memory. In such examples, the computer readable instructions/program code may be stored in the non-volatile memory and may be executed by the processing apparatus using the volatile memory for temporary storage of data or data and instructions. Examples of volatile memory include RAM, DRAM, and SDRAM etc. Examples of non-volatile memory include ROM, PROM, EEPROM, flash memory, optical storage, magnetic storage, etc.

An algorithm, as the term is used here, and as it is used generally, is conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of optical, electrical, or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. Methods described in the illustrative embodiments may be implemented as program modules or functional processes including routines, programs, objects, components, data structures, etc, that perform particular tasks or implement particular functionality, and may be implemented using existing hardware. Such existing hardware may include one or more processors (e.g. one or more central processing units), digital signal processors (DSPs), application-specific-integrated- circuits , field programmable gate arrays (FPGAs), computers, or the like.

Unless specifically stated otherwise, or as is apparent from the discussion, terms such as processing or computing or calculating or determining or the like, refer to the actions and processes of a computer system, or similar electronic computing device. Note also that software implemented aspects of the example embodiments may be encoded on some form of non-transitory program storage medium or implemented over some type of transmission medium. The program storage medium may be magnetic (e.g. a floppy disk or a hard drive) or optical (e.g. a compact disk read only memory, or CD ROM), and may be read only or random access. Similarly the transmission medium may be twisted wire pair, coaxial cable, optical fiber, or other suitable transmission medium known in the art. The example embodiments are not limited by these aspects in any given implementation.




 
Previous Patent: EXERCISE APPARATUS

Next Patent: SURGICAL INSTRUMENT