The present disclosure relates generally to a neural network based image quality assessment system capable of rating images that do not have aligned pixels. The system can include a dual deep path convolutional network architecture.
Image Quality Assessment (IQA) is essential for the design and evaluation of imaging, display and image processing systems. While the goal of an IQA system is to mimic and quantitatively rate a Human Vision System (HVS), the complexity of such a vision system makes it difficult to define a synthetic algorithm able to provide consistent results across different distortion types and different image contents. Existing IQA methods can be broadly categorized into the following three groups: full-reference (FR) IQA methods, reduced-reference (RR) IQA methods, and no-reference (NR) IQA methods. The former two groups, i.e., the FR IQA and the RR IQA methods groups, take advantage of complete or partial information of the “perfect” reference image respectively, while the NR IQA methods are often designed to extract discriminative features or to calculate natural scene statistics to qualify the image quality. FR IQA methods can often achieve results comparable to HVS.
Since conventional IQA methods can provide consistent evaluations for different image contents when they rely on to one or more reference images as baselines, they can readily be used in supervised or semi-supervised conditions. In many cases, existing methods require that the reference image must be pixel-wise aligned with a distorted image for reliable assessment. Unfortunately, pixelwise aligned reference images are often unavailable or difficult to extract, and this largely limits deployment of IQA applications.
In one described embodiment, a method for image quality assessment of non-aligned images includes the steps of providing non-aligned reference and distorted images and inputting reference images to a first deep path of a convolutional neural network having a set of parameters. Distorted images can then be input to a second deep path of a convolutional neural network sharing a set of parameters with the first deep path convolutional neural network. Weights are shared between the first and second deep path convolutional neural networks to support extraction of a same set of features in each neural network. A fully connected layer is connected to receive input from both the first and second deep paths of the convolutional neural networks, generating an image quality assessment as a linear regressor and outputting an image quality score.
In some embodiments, both the first and second deep paths of the convolutional neural networks have multiple respective convolution layers, and at least one respective pooling layer. The first and second deep paths of the convolutional neural networks can feed into a concatenation layer to concatenate features from the first and second deep path convolutional neural networks with discriminative features being mapped in fully connected layers to generate the image quality assessment as a linear regressor. An image quality score can be output by minimizing a Euclidean loss.
In embodiments that provided for training the convolutional neural network, a training set for image quality assessment of non-aligned images can be generated. This can include the step of using raw images and providing non-aligned reference and distorted images by synthesizing a set of non-aligned images.
In another embodiment, a system for image quality assessment of non-aligned images includes a first deep path portion of a convolutional neural network having a set of parameters and a second deep path portion of the convolutional neural network sharing a set of parameters with the first deep path convolutional neural network. Weights are shared between the first and second deep path convolutional neural networks to support extraction of a same set of features in each neural network pathway. Non-aligned reference and distorted images are respectively provided to the first and second deep paths of the convolutional neural network for processing. A concatenation layer is connected to both the first and second deep paths convolutional neural network, and a fully connected layer is connected to the concatenation layer to receive input from both the first and second deep paths of the convolutional neural network, generating an image quality assessment as a linear regressor and outputting an image quality score.
The described method can work in conjunction with neural networks, convolutional neural networks, cascade neural networks, Cascade Multi-Channel Convolutional Neural Network (CMC-CNN) models, recurrent neural networks, or other suitable machine learning systems based on dual deep learning systems having input both reference and distorted images. In some versions, network parameters can be set initially identical, while in other embodiments parameters can be shared between networks. Images can be derived from video, can be taken from one or more camera systems, or can be partially or completely synthetically created.
The described method of
In operation the neural network system 200 focuses on extracting features and avoiding pixel-wise alignment. This is generally achievable at deeper layers that integrate information from different receptive fields of earlier layers. The convolution, pooling and other nonlinear operations capture structural information from the local to the global area without explicit pixel-wise alignment, and therefore make the model geometrically robust. Typically, the fully connected layers do not act using simple element-wise subtractions, but will have obtained weights suitable to not only gauge image distortion between pairs. Additionally, the fully connected layers are configurable to ignore the feature disagreement from two paths caused by nonalignment of pixels. In effect, all of the distorted samples have different image contents (such as affine variations) from the reference counterpart; so that image contents are not discriminative.
More specifically, a suitable neural network for utilization of the described method and system for image quality assessment includes convolutional layers (cony), rectified linear unit (ReLU), pooling layers (pool), concatenation layers (concat), fully connected layers (fc), and a loss layer (loss).
The cony layers are trained to extract local features. In a recursive fashion, denoting Aij as the feature map of path i in the jth layer, Wj and Bj as the weight and bias parameters of the jth layer, the local information is extracted into deeper layers by the following equation:
Aij+1=Wj*Aij+Bj
where * denotes the calculation of convolution.
In order to make a comparison between the distorted and the reference images, the same type of features can be extracted for the respective two neural network paths. In one embodiment, this can be realized by a weight sharing strategy that is applied in the dual neural network paths.
To increase the nonlinear properties and accelerate training, the activation function can be selected to be a rectified linear unit (ReLU) as follows:
Aij+1=max(0,Aij)
Compensating for the offset between similar scene content between the distorted image and the reference image is important for effective operation. Pool layers can be exploited for this purpose by integrating features from a larger local receptive field. In one embodiment, a rather large sub-image (224*224) can be considered, and information from local to global integrated as the network goes deeper. For computational efficiency, max-pooling is applied as follows:
where R is the pooling region of corresponding position.
A concatenation layer concatenates the features from both paths. Then with the fully-connected (fc#) layer, discriminative features are further combined and mapped to generate image quality assessment in a linear regressor.
Finally, the image quality score is predicted by a loss function. In one embodiment, an image quality score is predicted by minimizing the following Euclidean loss function:
where Iref, Idis and Eva are the input sub reference, distorted images and human evaluations respectively, and W, B are the parameters of convolutional and fc layers.
The disclosed dual path convolutional neural network learns discriminative features from raw data to maximally preserve information from image. Only simple local contrast normalization is needed to ensure numeric stability. The process can also be understood as a data whitening process where the intensity value of pixel I(x;y) is normalized as:
where I(x; y)N denotes values at image location (x; y) normalized by pixels in a neighboring (P×Q) window, and ε is a small positive constant.
A dual path convolutional neural network can be trained using stochastic gradient descent with the standard back-propagation. In particular, the weights of the filters of the cony or fc layer can be updated as follows:
where m is the momentum factors, η is the learning rate, j is index of the layer and Δi+1 is the gradient increment for training iteration i. λ is the weight decay factor. Momentum factor and weight decay factor may be chosen as 0.9 and 0.0005 respectively in our systems.
In one experimentally realized embodiment, testing and training relied on synthesized images. Since reference images are aligned with the corresponding distorted images, in order to train and test the neural network, an affine transform was applied to original reference images, since non-aligned reference images can preserve structures with affine transformation. The scaling factors s# and rotation θ were randomly selected to range from 0.95 to 1.05 and −5° to 5° respectively.
As shown in images 300 of
In the above disclosure, reference has been made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific implementations in which the disclosure may be practiced. It is understood that other implementations may be utilized and structural changes may be made without departing from the scope of the present disclosure. References in the specification to “one embodiment,” “an embodiment,” “an example embodiment,” etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
Implementations of the systems, devices, and methods disclosed herein may comprise or utilize a special purpose or general-purpose computer including computer hardware, such as, for example, one or more processors and system memory, as discussed herein. Implementations within the scope of the present disclosure may also include physical and other computer-readable media for carrying or storing computer-executable instructions and/or data structures. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system. Computer-readable media that store computer-executable instructions are computer storage media (devices). Computer-readable media that carry computer-executable instructions are transmission media. Thus, by way of example, and not limitation, implementations of the disclosure can comprise at least two distinctly different kinds of computer-readable media: computer storage media (devices) and transmission media.
Computer storage media (devices) includes RAM, ROM, EEPROM, CD-ROM, solid state drives (“SSDs”) (e.g., based on RAM), Flash memory, phase-change memory (“PCM”), other types of memory, other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer.
An implementation of the devices, systems, and methods disclosed herein may communicate over a computer network. A “network” is defined as one or more data links that enable the transport of electronic data between computer systems and/or modules and/or other electronic devices. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a transmission medium. Transmissions media can include a network and/or data links, which can be used to carry desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Combinations of the above should also be included within the scope of computer-readable media.
Computer-executable instructions comprise, for example, instructions and data which, when executed at a processor, cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, or even source code. Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the described features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.
Those skilled in the art will appreciate that the disclosure may be practiced in network computing environments with many types of computer system configurations, including, an in-dash vehicle computer, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, tablets, pagers, routers, switches, various storage devices, and the like. The disclosure may also be practiced in distributed system environments where local and remote computer systems, which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices.
Further, where appropriate, functions described herein can be performed in one or more of: hardware, software, firmware, digital components, or analog components. For example, one or more application specific integrated circuits (ASICs) can be programmed to carry out one or more of the systems and procedures described herein. Certain terms are used throughout the description and claims to refer to particular system components. As one skilled in the art will appreciate, components may be referred to by different names. This document does not intend to distinguish between components that differ in name, but not function.
It should be noted that the sensor embodiments discussed above may comprise computer hardware, software, firmware, or any combination thereof to perform at least a portion of their functions. For example, a sensor may include computer code configured to be executed in one or more processors, and may include hardware logic/electrical circuitry controlled by the computer code. These example devices are provided herein purposes of illustration, and are not intended to be limiting. Embodiments of the present disclosure may be implemented in further types of devices, as would be known to persons skilled in the relevant art(s).
At least some embodiments of the disclosure have been directed to computer program products comprising such logic (e.g., in the form of software) stored on any computer useable medium. Such software, when executed in one or more data processing devices, causes a device to operate as described herein.
While various embodiments of the present disclosure have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be apparent to persons skilled in the relevant art that various changes in form and detail can be made therein without departing from the spirit and scope of the disclosure. Thus, the breadth and scope of the present disclosure should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents. The foregoing description has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. Further, it should be noted that any or all of the aforementioned alternate implementations may be used in any combination desired to form additional hybrid implementations of the disclosure.
Number | Name | Date | Kind |
---|---|---|---|
10002415 | Shen | Jun 2018 | B2 |
10074038 | Hsieh | Sep 2018 | B2 |
20060268980 | Le Dinh | Nov 2006 | A1 |
20090274375 | Kavanau | Nov 2009 | A1 |
20120269441 | Marchesotti | Oct 2012 | A1 |
20150117763 | Zhang | Apr 2015 | A1 |
20160035078 | Lin | Feb 2016 | A1 |
20160358321 | Xu | Dec 2016 | A1 |
20170019454 | Almohamedh | Jan 2017 | A1 |
20170177979 | Chokshi | Jun 2017 | A1 |
20170270653 | Garnavi | Sep 2017 | A1 |
20180121756 | Becker | May 2018 | A1 |
20180286032 | Bovik | Oct 2018 | A1 |
Entry |
---|
Wang, Z. etc., “Objective Video Quality Assessment”, The Handbook of Video Databases: Design and Applications, Chapter 41, CRC Press, pp. 1041-1078, Sep. 2003. |
Number | Date | Country | |
---|---|---|---|
20190122115 A1 | Apr 2019 | US |