WO2022105117A1 - Method and device for image quality assessment, computer device, and storage medium - Google Patents

Method and device for image quality assessment, computer device, and storage medium Download PDF

Info

Publication number
WO2022105117A1
WO2022105117A1 PCT/CN2021/090416 CN2021090416W WO2022105117A1 WO 2022105117 A1 WO2022105117 A1 WO 2022105117A1 CN 2021090416 W CN2021090416 W CN 2021090416W WO 2022105117 A1 WO2022105117 A1 WO 2022105117A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
feature
training
network
generation network
Prior art date
Application number
PCT/CN2021/090416
Other languages
French (fr)
Chinese (zh)
Inventor
陈昊
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2022105117A1 publication Critical patent/WO2022105117A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computational Linguistics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Evolutionary Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Library & Information Science (AREA)
  • Databases & Information Systems (AREA)
  • Image Analysis (AREA)

Abstract

The present application relates to computer vision technologies in the technical field of artificial intelligence. Disclosed are a method and device for image quality assessment, a computer device, and a storage medium. The present application, by constructing an image-generating network and by training the image-generating network with a training sample set in a preset database, acquires an image feature extractor; receives an image to be assessed and utilizes the image feature extractor to extract an image feature of said image; performs eigenvector transformation of the image feature of said image to transform the image feature into an eigenvector; constructs a network regression function, utilizes the network regression function to calculate a regression value of the eigenvector, and determines the quality of said image on the basis of the regression value of the eigenvector. In addition, the present application also relates to the blockchain technology in that said image can be stored in a blockchain. The present application constructs an image quality assessment system by means of simplifying a deep-learning network and employing a machine regression scheme. The image quality assessment system is quickly adaptable to various scenarios.

Description

一种图像质量评价的方法、装置、计算机设备及存储介质A method, device, computer equipment and storage medium for image quality evaluation
本申请要求于2020年11月17日提交中国专利局、申请号为202011288901.7,发明名称为“一种图像质量评价的方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on November 17, 2020 with the application number 202011288901.7 and the invention titled "A method, device, computer equipment and storage medium for image quality evaluation", all of which The contents are incorporated herein by reference.
技术领域technical field
本申请属于人工智能技术领域,具体涉及一种图像质量评价的方法、装置、计算机设备及存储介质。The present application belongs to the technical field of artificial intelligence, and specifically relates to a method, device, computer equipment and storage medium for image quality evaluation.
背景技术Background technique
目前,在一系列的智能图像应用领域中,判别输入图像的质量好坏往往是开启后续一系列操作的关键。一般而言,解决图像质量评估的通用思路是尽可能地模拟人类判别的思路,当前的图像质量评估大致有两种主体解决思路:At present, in a series of intelligent image application fields, judging the quality of the input image is often the key to start a series of subsequent operations. Generally speaking, the general idea of solving image quality assessment is to simulate the idea of human discrimination as much as possible. There are roughly two main solutions for current image quality assessment:
一、基于定义重要指标的方式,即采用特征工程的方式进行图像质量的判定,该思路以SSIM(Structural SIMilarity,结构相似性),FSIM(feature similarity,图像质量衡量标准),NIQE(Natural image quality evaluator,图像质量评价)等评价方案为代表,基本思想是使用通过定义衡量图像明暗度、边缘清晰程度等的指标来进行判定。1. Based on the method of defining important indicators, that is, feature engineering is used to determine image quality. This idea is based on SSIM (Structural SIMilarity, structural similarity), FSIM (feature similarity, image quality measurement standard), NIQE (Natural image quality) Evaluator, image quality evaluation) and other evaluation schemes are represented, and the basic idea is to use the definition of indicators to measure the brightness of the image, the clarity of the edge, etc. to determine.
二、基于卷积深度学习网络的方法,该方法往往是采用神经网络拟合人的判定结果。Second, the method based on the convolutional deep learning network, which often uses a neural network to fit the judgment results of people.
但是,在图像质量评价过程中,发明人意识到以上两种方式均存在一定的缺陷,对于定义重要指标的图像质量评价方式,往往受限于指标定义不足的影响,导致方法泛化能力不足,并且特征指标的设计往往需要设计者具有较高的数学水平以及丰富的经验,并不能快速适应各种场景。However, in the process of image quality evaluation, the inventor realized that the above two methods both have certain defects. For the image quality evaluation method that defines important indicators, it is often limited by the influence of insufficient definition of indicators, resulting in insufficient generalization ability of the method. Moreover, the design of feature indicators often requires designers to have a high level of mathematics and rich experience, and cannot quickly adapt to various scenarios.
而对于卷积深度学习网络的图片质量评价方法对于计算资源的开销有着较高的要求,在一些场合(如移动端)会有较大的使用限制,目前移动端的运算能力和内存均存在一定的限制,难以部署卷积深度学习网络。However, the image quality evaluation method of convolutional deep learning network has high requirements on the overhead of computing resources, and in some occasions (such as mobile terminals), there will be large usage restrictions. At present, the computing power and memory of mobile terminals have certain limitations. limitations, making it difficult to deploy convolutional deep learning networks.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的在于提出一种图像质量评价的方法、装置、计算机设备及存储介质,以解决现有的图像质量评估方案存在的应用场景局限性较大,无法快速适应各种场景的技术问题。The purpose of the embodiments of the present application is to propose a method, device, computer equipment and storage medium for image quality evaluation, so as to solve the problem that the existing image quality evaluation solutions have relatively limited application scenarios and cannot quickly adapt to various scenarios. question.
为了解决上述技术问题,本申请实施例提供一种图像质量评价的方法,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiments of the present application provide a method for image quality evaluation, which adopts the following technical solutions:
一种图像质量评价的方法,包括:A method of image quality evaluation, comprising:
构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;Build an image generation network, train the image generation network through the training sample set in the preset database, and obtain an image feature extractor;
接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;Receive the image to be evaluated, and use the image feature extractor to extract the image features of the image to be evaluated;
对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;Convert the image features of the image to be evaluated into feature vectors, and convert the image features into feature vectors;
构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。Build a network regression function, use the network regression function to calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
为了解决上述技术问题,本申请实施例还提供一种图像质量评价的装置,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application also provides an image quality evaluation device, which adopts the following technical solutions:
一种图像质量评价的装置,包括:A device for evaluating image quality, comprising:
构建模块,用于构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;The building module is used to build an image generation network, train the image generation network through the training sample set in the preset database, and obtain an image feature extractor;
提取模块,用于接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;an extraction module for receiving the image to be evaluated, and extracting image features of the image to be evaluated by using an image feature extractor;
转化模块,用于对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;The transformation module is used to transform the image features of the image to be evaluated into feature vectors, and convert the image features into feature vectors;
评估模块,用于构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。The evaluation module is used to construct a network regression function, use the network regression function to calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
为了解决上述技术问题,本申请实施例还提供一种计算机设备,采用了如下所述的技术方案:In order to solve the above-mentioned technical problems, the embodiment of the present application also provides a computer device, which adopts the following technical solutions:
一种计算机设备,包括存储器和处理器,存储器中存储有计算机可读指令,处理器执行计算机可读指令时实现如下图像质量评价的方法:A computer device includes a memory and a processor, wherein computer-readable instructions are stored in the memory, and the processor implements the following image quality evaluation method when executing the computer-readable instructions:
构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;Build an image generation network, train the image generation network through the training sample set in the preset database, and obtain an image feature extractor;
接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;Receive the image to be evaluated, and use the image feature extractor to extract the image features of the image to be evaluated;
对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;Convert the image features of the image to be evaluated into feature vectors, and convert the image features into feature vectors;
构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。Build a network regression function, use the network regression function to calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
为了解决上述技术问题,本申请实施例还提供一种计算机可读存储介质,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiments of the present application also provide a computer-readable storage medium, which adopts the following technical solutions:
一种计算机可读存储介质,计算机可读存储介质上存储有计算机可读指令,计算机可读指令被处理器执行时实现如下图像质量评价的方法:A computer-readable storage medium, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor, the following image quality evaluation method is implemented:
构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;Build an image generation network, train the image generation network through the training sample set in the preset database, and obtain an image feature extractor;
接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;Receive the image to be evaluated, and use the image feature extractor to extract the image features of the image to be evaluated;
对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;Convert the image features of the image to be evaluated into feature vectors, and convert the image features into feature vectors;
构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。Build a network regression function, use the network regression function to calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
与现有技术相比,本申请实施例主要有以下有益效果:Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects:
本申请公开了一种图像质量评价的方法、装置、计算机设备及存储介质,属于人工智能技术领域,本申请通过构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。本申请通过通过简化深度学习网络以及采用机器回归的方式来构建图像质量评价系统,在进行图像质量评价时,先通过训练好的深度学习网络获取图像特征,然后基于利用网络回归函数计算图像特征的回归值,最后基于图像特征的回归值确定待评估图像的质量,本申请构建的图像质量评价系统结构简单,不会占用过多的服务器资源,有效降低计算资源消耗,可以满足移动端的部署使用要求。同时,最终通过网络回归函数对图像质量进行评价,可以针对评价结果做出数学上的解释,方便使用者直观的分析问题。The present application discloses an image quality evaluation method, device, computer equipment and storage medium, which belong to the technical field of artificial intelligence. The present application trains the image generation network by constructing an image generation network and using a training sample set in a preset database. Obtain the image feature extractor; receive the image to be evaluated, and use the image feature extractor to extract the image features of the image to be evaluated; perform feature vector transformation on the image features of the image to be evaluated, and convert the image features into feature vectors; build a network regression function, using The network regression function calculates the regression value of the feature vector, and determines the quality of the image to be evaluated according to the regression value of the feature vector. The present application constructs an image quality evaluation system by simplifying the deep learning network and adopting machine regression. When performing image quality evaluation, the image features are first obtained through the trained deep learning network, and then the image features are calculated based on the network regression function. Regression value, and finally determine the quality of the image to be evaluated based on the regression value of the image features. The image quality evaluation system constructed in this application has a simple structure, does not occupy too many server resources, effectively reduces computing resource consumption, and can meet the deployment and use requirements of mobile terminals . At the same time, the image quality is finally evaluated by the network regression function, and a mathematical explanation can be made for the evaluation result, which is convenient for users to analyze the problem intuitively.
附图说明Description of drawings
为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the solutions in the present application more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present application. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1示出了本申请可以应用于其中的示例性系统架构图;FIG. 1 shows an exemplary system architecture diagram to which the present application can be applied;
图2示出了根据本申请的图像质量评价的方法的一个实施例的流程图;FIG. 2 shows a flow chart of an embodiment of a method for image quality evaluation according to the present application;
图3示出了图2中步骤S201的一种具体实施方式的流程图;Fig. 3 shows a flowchart of a specific implementation manner of step S201 in Fig. 2;
图4示出了图2中步骤S204的一种具体实施方式的流程图;Fig. 4 shows a flowchart of a specific implementation manner of step S204 in Fig. 2;
图5示出了根据本申请的图像质量评价的装置的一个实施例的结构示意图;FIG. 5 shows a schematic structural diagram of an embodiment of an apparatus for evaluating image quality according to the present application;
图6示出了根据本申请的计算机设备的一个实施例的结构示意图。FIG. 6 shows a schematic structural diagram of an embodiment of a computer device according to the present application.
具体实施方式Detailed ways
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of this application; the terms used herein in the specification of the application are for the purpose of describing specific embodiments only It is not intended to limit the application; the terms "comprising" and "having" and any variations thereof in the description and claims of this application and the above description of the drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the description and claims of the present application or the above drawings are used to distinguish different objects, rather than to describe a specific order.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a server 105 . The network 104 is a medium used to provide a communication link between the terminal devices 101 , 102 , 103 and the server 105 . The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages and the like. Various communication client applications may be installed on the terminal devices 101 , 102 and 103 , such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, and the like.
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。The terminal devices 101, 102, and 103 can be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Players, Laptops and Desktops, etc.
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的页面提供支持的后台服务器。The server 105 may be a server that provides various services, such as a background server that provides support for the pages displayed on the terminal devices 101 , 102 , and 103 .
需要说明的是,本申请实施例所提供的图像质量评价的方法一般由服务器/终端设备执行,相应地,图像质量评价的装置一般设置于服务器/终端设备中。It should be noted that the image quality evaluation method provided in the embodiments of the present application is generally performed by a server/terminal device, and accordingly, an image quality evaluation apparatus is generally set in the server/terminal device.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
继续参考图2,示出了根据本申请的图像质量评价的的方法的一个实施例的流程图。所述的图像质量评价的方法,包括以下步骤:Continuing to refer to FIG. 2 , a flowchart of an embodiment of the method for image quality evaluation according to the present application is shown. The described image quality evaluation method includes the following steps:
S201,构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器。S201: Build an image generation network, train the image generation network through a training sample set in a preset database, and obtain an image feature extractor.
其中,可以基于深度深度卷积神经网络模型构建图像生成网络,卷积神经网络(Convolutional Neural Networks,CNN)是一类包含卷积计算且具有深度结构的前馈神经网络(Feedforward Neural Networks),是深度学习(deep learning)的代表算法之一。卷积神经网络具有表征学习(representation learning)能力,能够按其阶层结构对输入信息进行平移不变分类(shift-invariant classification),因此也被称为“平移不变人工神经网络”。卷积神经网络仿造生物的视知觉(visual perception)机制构建,可以进行监督学习和非监督学习,其卷积层内的卷积核参数共享和层间连接的稀疏性使得卷积神经网络能够以较小的计算量对格点化(grid-like topology)特征,例如像素和音频进行学习,有稳定的效果且对数据没有额外的特征工程要求。Among them, an image generation network can be constructed based on a deep convolutional neural network model. Convolutional Neural Networks (CNN) is a kind of feedforward neural network (Feedforward Neural Networks) that includes convolution calculation and has a deep structure. One of the representative algorithms of deep learning. Convolutional neural network has the ability of representation learning and can perform shift-invariant classification of input information according to its hierarchical structure, so it is also called "shift-invariant artificial neural network". Convolutional neural network is constructed by imitating the visual perception mechanism of biology, which can perform supervised learning and unsupervised learning. Small computational effort to learn grid-like topology features, such as pixels and audio, with stable results and no additional feature engineering requirements on the data.
其中,图像生成网络包括编码层encoder和解码层decoder,编码层encoder包括若干个卷积核,解码层decoder包括若干个反卷积核,卷积核与反卷积核一一对应,编码层encoder的卷积核与对应解码层decoder的反卷积核之间建立有连通通道,编码层encoder的卷积核提取图像特征后,可以通过连通通道将提取的图像特征直接传送对应解码层decoder的反卷积核上。编码层encoder为全卷积层,编码层encoder用于提取输入图像的图像特征,图像特征提取器也由该部分构成。解码层decoder为逆卷积层,解码层decoder用于对提取的图像特征进行解码,将图像特征还原为输入图像,解码层decoder对图像特征进行还原的目的是完成对编码层encoder的验证。需要说明的是,在构建图像生成网络时,分别为编码层encoder和解码层decoder设置损失函数L1和L2,在进行图像生成网络进行迭代更新时,可以基于L1损失函数和L2损失函数对图像生成网络迭代更新。Among them, the image generation network includes an encoding layer encoder and a decoding layer decoder. The encoding layer encoder includes several convolution kernels, and the decoding layer decoder includes several deconvolution kernels. The convolution kernels correspond to the deconvolution kernels one by one. The encoding layer encoder A connected channel is established between the convolution kernel of the corresponding decoding layer decoder and the deconvolution kernel of the corresponding decoding layer decoder. After the convolution kernel of the encoding layer encoder extracts the image features, the extracted image features can be directly transmitted through the connected channel to the inverse of the corresponding decoding layer decoder. on the convolution kernel. The encoding layer encoder is a full convolution layer, and the encoding layer encoder is used to extract the image features of the input image, and the image feature extractor is also composed of this part. The decoding layer decoder is a deconvolution layer. The decoding layer decoder is used to decode the extracted image features and restore the image features to the input image. The purpose of the decoding layer decoder to restore the image features is to complete the verification of the encoding layer encoder. It should be noted that when constructing an image generation network, the loss functions L1 and L2 are set for the encoding layer encoder and the decoding layer decoder respectively. When the image generation network is iteratively updated, the image generation can be based on the L1 loss function and the L2 loss function. Iterative update of the network.
具体的,基于深度深度卷积神经网络模型构建图像生成网络,并从预设数据库中获取训练样本集,通过训练样本集对图像生成网络进行训练,得到训练完成的图像生成网络后,通过图像生成网络的编码层encoder中的卷积核构建图像特征提取器。Specifically, an image generation network is constructed based on a deep convolutional neural network model, a training sample set is obtained from a preset database, the image generation network is trained through the training sample set, and after the trained image generation network is obtained, the image generation network is The convolution kernels in the encoder layer of the network build image feature extractors.
S202,接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征。S202: Receive the image to be evaluated, and use an image feature extractor to extract image features of the image to be evaluated.
具体的,在产生图像评估需求时,接收图像评估指令,基于图像评估指令获取待评估图像,并利用上述构建的图像特征提取器提取待评估图像的图像特征。需要说明的是,经过压缩过后的编码层encoder部分网络构建出图像特征提取器,图像特征提取器在进行特征提取时会输出了多尺度的图像特征,同时上一层的图像特征又是下一层的图像输入。在本申请一种具体的实施例中,共构建5层特征提取卷积层,当输入图像为512x512大小时,这5层提取出的图像特征分别为尺度特征0、尺度特征1、尺度特征2、尺度特征3和尺度特征4,尺度特征0、尺度特征1、尺度特征2、尺度特征3和尺度特征4大小分别为512x512、256x256、128x128、64x64、32x32。Specifically, when an image evaluation requirement is generated, an image evaluation instruction is received, an image to be evaluated is acquired based on the image evaluation instruction, and the image feature of the image to be evaluated is extracted by using the image feature extractor constructed above. It should be noted that the image feature extractor is constructed by the encoder part of the compressed coding layer network, and the image feature extractor will output multi-scale image features during feature extraction, and the image features of the previous layer are the same as the next layer. image input to the layer. In a specific embodiment of the present application, a total of 5 layers of feature extraction convolution layers are constructed. When the input image is 512×512 in size, the image features extracted from these 5 layers are scale feature 0, scale feature 1, and scale feature 2 respectively. , scale feature 3 and scale feature 4, scale feature 0, scale feature 1, scale feature 2, scale feature 3 and scale feature 4 are 512x512, 256x256, 128x128, 64x64, 32x32 respectively.
在本实施例中,图像质量评价的方法运行于其上的电子设备(例如图1所示的服务器/终端设备)可以通过有线连接方式或者无线连接方式接收图像评估指令。需要指出的是,上述无线连接方式可以包括但不限于3G/4G连接、WiFi连接、蓝牙连接、WiMAX连接、Zigbee连接、UWB(ultra wideband)连接、以及其他现在已知或将来开发的无线连接方式。In this embodiment, the electronic device (for example, the server/terminal device shown in FIG. 1 ) on which the image quality evaluation method runs may receive the image evaluation instruction through a wired connection or a wireless connection. It should be pointed out that the above wireless connection methods may include but are not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or developed in the future .
S203,对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量。S203, transform the image features of the image to be evaluated into feature vectors, and convert the image features into feature vectors.
具体的,在利用图像特征提取器提取待评估图像的图像特征后,通过将利用图像特征提取器提取待评估图像的多个图像特征进行空间金字塔池化(Spatial Pyramid Pooling,SPP),将待评估图像的多个图像特征转化为特征向量,特征向量为大小一致的向量,将待评估图像的多个图像特征转化为特征向量有利于在后续步骤中利用所述网络回归函数计算图像特征的回归值。其中,空间金字塔池化可以使得任意大小的特征图都能够转换成固定大小的特征向量,并将固定大小的特征向量送入全连接层。Specifically, after using the image feature extractor to extract the image features of the image to be evaluated, by using the image feature extractor to extract the multiple image features of the image to be evaluated for spatial pyramid pooling (Spatial Pyramid Pooling, SPP), the to-be-evaluated The multiple image features of the image are converted into feature vectors, and the feature vectors are vectors of the same size. Converting multiple image features of the image to be evaluated into feature vectors is beneficial to use the network regression function to calculate the regression value of the image features in the subsequent steps. . Among them, spatial pyramid pooling can convert feature maps of any size into fixed-size feature vectors, and send the fixed-size feature vectors to the fully connected layer.
S204,构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。S204, construct a network regression function, use the network regression function to calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
在本申请具体的实施例中中,将图像评估任务拆分为图像特征提取与多元回归评价过程。通过多元网络回归函数计算特征向量的回归值,基于构建网络回归函数计算特征向量 的回归值,对特征向量的回归值进行归一化,使得特征向量的回归值落入0-1之间值域,该回归值可看作是对图像特征多个维度的综合评分,最后根据特征张量的回归值确定所述待评估图像的质量,这里主要采用贝叶斯核回归的方式来构建起多维图像特征的网络回归函数。In a specific embodiment of the present application, the image evaluation task is divided into image feature extraction and multiple regression evaluation processes. The regression value of the eigenvector is calculated by the multivariate network regression function, the regression value of the eigenvector is calculated based on the construction of the network regression function, and the regression value of the eigenvector is normalized so that the regression value of the eigenvector falls within the range of 0-1. , the regression value can be regarded as a comprehensive score of multiple dimensions of image features, and finally the quality of the image to be evaluated is determined according to the regression value of the feature tensor. Here, the Bayesian kernel regression method is mainly used to construct a multi-dimensional image. The network regression function of the feature.
具体的,图像特征转化为特征向量之后,基于贝叶斯核回归方程构建网络回归函数,并利用网络回归函数计算特征向量的回归值,对特征向量的回归值进行归一化,并根据归一后的特征向量回归值确定待评估图像的质量。如回归值为1表示图像质量优秀,如回归值为0表示图像质量不合格。Specifically, after the image features are converted into feature vectors, a network regression function is constructed based on the Bayesian kernel regression equation, and the network regression function is used to calculate the regression value of the feature vector, and the regression value of the feature vector is normalized. The resulting eigenvector regression value determines the quality of the image to be evaluated. If the regression value is 1, the image quality is excellent, and if the regression value is 0, the image quality is unqualified.
本申请公开了一种图像质量评价的方法、装置、计算机设备及存储介质,属于人工智能技术领域,本申请通过构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。本申请通过通过简化深度学习网络以及采用机器回归的方式来构建图像质量评价系统,在进行图像质量评价时,先通过训练好的深度学习网络获取图像特征,然后基于利用网络回归函数计算图像特征的回归值,最后基于图像特征的回归值确定待评估图像的质量,本申请构建的图像质量评价系统结构简单,不会占用过多的服务器资源,有效降低计算资源消耗,可以满足移动端的部署使用要求。同时,最终通过网络回归函数对图像质量进行评价,可以针对评价结果做出数学上的解释,方便使用者直观的分析问题。The present application discloses an image quality evaluation method, device, computer equipment and storage medium, which belong to the technical field of artificial intelligence. The present application trains the image generation network by constructing an image generation network and using a training sample set in a preset database. Obtain the image feature extractor; receive the image to be evaluated, and use the image feature extractor to extract the image features of the image to be evaluated; perform feature vector transformation on the image features of the image to be evaluated, and convert the image features into feature vectors; build a network regression function, using The network regression function calculates the regression value of the feature vector, and determines the quality of the image to be evaluated according to the regression value of the feature vector. The present application constructs an image quality evaluation system by simplifying the deep learning network and adopting machine regression. When performing image quality evaluation, the image features are first obtained through the trained deep learning network, and then the image features are calculated based on the network regression function. Regression value, and finally determine the quality of the image to be evaluated based on the regression value of the image features. The image quality evaluation system constructed in this application has a simple structure, does not occupy too many server resources, effectively reduces computing resource consumption, and can meet the deployment and use requirements of mobile terminals . At the same time, the image quality is finally evaluated by the network regression function, and a mathematical explanation can be made for the evaluation result, which is convenient for users to analyze the problem intuitively.
进一步地,在构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器的步骤之前,还包括:Further, before the steps of constructing the image generation network, training the image generation network through the training sample set in the preset database, and acquiring the image feature extractor, it also includes:
获取预设数据库中的图像数据,并对图像数据进行预处理;Obtain the image data in the preset database, and preprocess the image data;
对进行预处理后的图像数据进行标注,并对标注后的图像数据进行随机组合,得到训练样本集和验证数据集;Label the preprocessed image data, and randomly combine the labelled image data to obtain a training sample set and a validation data set;
将训练样本集和验证数据集存储到预设数据库中。Store training sample sets and validation datasets in a preset database.
具体的,从预设数据库中获取图像数据,对图像数据进行标注,标注时可以针对图像数据的质量指标进行标注。对标注后的图像数据进行随机组合,得到训练样本集和验证数据集,如可以将标注后的图像数据随机分为10等份的样本子集,其中,随机组合9样本子集作为训练样本集,将剩余的样本子集作为验证数据集,将训练样本集和验证数据集存储到预设数据库中。Specifically, the image data is acquired from a preset database, the image data is marked, and the quality index of the image data can be marked during marking. Randomly combine the labeled image data to obtain a training sample set and a verification data set. For example, the labeled image data can be randomly divided into 10 equal sample subsets, of which 9 sample subsets are randomly combined as the training sample set , the remaining sample subset is used as the validation data set, and the training sample set and the validation data set are stored in the preset database.
进一步地,请参考图3,图3示出了图2中步骤S201的一种具体实施方式的流程图,图像生成网络包括编码层和解码层,编码层包括若干个卷积核,解码层包括若干个反卷积核,卷积核与反卷积核一一对应,构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器的步骤,具体包括:Further, please refer to FIG. 3, which shows a flowchart of a specific implementation of step S201 in FIG. 2, the image generation network includes an encoding layer and a decoding layer, the encoding layer includes several convolution kernels, and the decoding layer includes Several deconvolution kernels, the convolution kernels correspond to the deconvolution kernels one-to-one, construct an image generation network, train the image generation network through the training sample set in the preset database, and obtain the steps of image feature extractor, which specifically includes :
S301,提取训练样本集中的训练样本,依次将每一个训练样本导入到图像生成网络的编码层;S301, extracting training samples in a training sample set, and sequentially importing each training sample into an encoding layer of an image generation network;
S302,利用每一个训练样本对图像生成网络中的编码层进行训练,得到若干个个训练完成的卷积核;S302, using each training sample to train the coding layer in the image generation network to obtain several trained convolution kernels;
S303,基于深度学习压缩算法对训练完成的若干个卷积核进行筛选,去除若干个卷积核中的冗余项;S303, screen several convolution kernels that have been trained based on the deep learning compression algorithm, and remove redundant items in the several convolution kernels;
S304,利用去除冗余项后的若干个卷积核构建图像特征提取器。S304, constructing an image feature extractor by using several convolution kernels after removing redundant items.
其中,深度学习压缩(deep compression)算法通过对神经网络进行训练,获取训练后的神经网络各个卷积层的权重,设定权重阈值,然后把低于权重阈值的卷积层删除掉,然后迭代训练,通过迭代训练一次次地去掉冗余层。最后把神经网络中保留的卷积层的权重进行聚类和权值共享,将聚类中心点的值作为所有权值的值,通过不断调整聚类中心点 和中心点的数量,以获得较好的模型压缩效果,最后将权值进行哈夫曼编码。本提案采用Deep compression的方法可以在不损失精度的情况将神经网络进行压缩,其中可以将神经网络的大小压缩至原有大小的35倍到49倍,且推理时使存储的应用更有效。Among them, the deep compression algorithm trains the neural network, obtains the weight of each convolutional layer of the trained neural network, sets the weight threshold, and then deletes the convolutional layers below the weight threshold, and then iterates For training, redundant layers are removed again and again through iterative training. Finally, the weights of the convolutional layers retained in the neural network are clustered and the weights are shared, and the value of the cluster center point is used as the value of the ownership value. The model compression effect, and finally the weights are Huffman encoded. This proposal adopts the Deep Compression method to compress the neural network without losing precision, in which the size of the neural network can be compressed to 35 times to 49 times the original size, and the application of storage is more efficient during inference.
具体的,提取训练样本集中的训练样本,依次将每一个训练样本导入到图像生成网络的编码层encoder,编码层encoder中预先设置有若干个卷积核,利用每一个训练样本对图像生成网络中的编码层encoder的卷积核进行训练,得到若干个个训练完成的卷积核,设定权重阈值,基于深度学习压缩算法对训练完成的若干个卷积核进行筛选,把低于权重阈值的卷积层删除掉,以去除若干个卷积核中的冗余项,利用去除冗余项后的若干个卷积核构建图像特征提取器。Specifically, the training samples in the training sample set are extracted, and each training sample is sequentially imported into the encoding layer encoder of the image generation network. The encoding layer encoder is preset with a number of convolution kernels, and each training sample is used for the image generation network. The convolution kernel of the encoding layer encoder is trained, and several trained convolution kernels are obtained, the weight threshold is set, and several convolution kernels after training are screened based on the deep learning compression algorithm. The convolution layer is removed to remove redundant items in several convolution kernels, and an image feature extractor is constructed by using several convolution kernels after removing redundant items.
进一步地,在利用每一个训练样本对图像生成网络卷积层中的编码层进行训练,得到若干个个训练完成的卷积核的步骤之后,还包括:Further, after using each training sample to train the coding layer in the convolutional layer of the image generation network to obtain several trained convolution kernels, the method further includes:
采集编码层中每一个卷积核的训练结果;Collect the training results of each convolution kernel in the coding layer;
将每一个卷积核的训练结果导入对应的反卷积核中,通过每一个卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核。The training result of each convolution kernel is imported into the corresponding deconvolution kernel, and the corresponding deconvolution kernel is trained through the training result of each convolution kernel, and several trained deconvolution kernels are obtained.
具体的,采集编码层encoder中每一个卷积核的训练结果,对编码层encoder中每一个卷积核的训练结果进行标注,利用标注后的编码层encoder中每一个卷积核的训练结果训练对应解码层decoder中的反卷积核,得到若干个个训练完成的反卷积核。Specifically, the training results of each convolution kernel in the encoding layer encoder are collected, the training results of each convolution kernel in the encoding layer encoder are marked, and the training results of each convolution kernel in the marked encoding layer encoder are used for training. Corresponding to the deconvolution kernel in the decoder of the decoding layer, several trained deconvolution kernels are obtained.
进一步地,在将每一个卷积核的训练结果导入对应的反卷积核中,通过每一个卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核的步骤之后,还包括:Further, import the training result of each convolution kernel into the corresponding deconvolution kernel, train the corresponding deconvolution kernel through the training result of each convolution kernel, and obtain several deconvolution kernels that have been trained. After the steps, also include:
提取验证数据集中的验证样本,将验证数据集导入到图像生成网络;Extract the validation samples in the validation dataset, and import the validation dataset into the image generation network;
利用若干个个训练完成的卷积核分别对验证样本进行特征提取,得到若干个验证样本的特征提取结果;Use several trained convolution kernels to perform feature extraction on the verification samples respectively, and obtain the feature extraction results of several verification samples;
将若干个验证样本的特征提取结果分别导入到对应的反卷积核进行特征还原,得到特征还原结果;The feature extraction results of several verification samples are respectively imported into the corresponding deconvolution kernels for feature restoration, and the feature restoration results are obtained;
基于特征还原结果与验证样本,使用反向传播算法进行拟合,获取预测误差;Based on the feature restoration results and verification samples, use the back-propagation algorithm for fitting to obtain the prediction error;
将预测误差与预设阈值进行比较,若预测误差大于预设阈值,则对图像生成网络进行迭代更新,直到预测误差小于或等于预设阈值为止,获取图像生成网络。The prediction error is compared with the preset threshold, and if the prediction error is greater than the preset threshold, the image generation network is iteratively updated until the prediction error is less than or equal to the preset threshold, and the image generation network is acquired.
其中,反向传播算法,即误差反向传播算法(Backpropagation algorithm,BP算法)适合于多层神经元网络的一种学习算法,它建立在梯度下降法的基础上,用于深度学习网络的误差计算。BP网络的输入、输出关系实质上是一种映射关系:一个n输入m输出的BP神经网络所完成的功能是从n维欧氏空间向m维欧氏空间中一有限域的连续映射,这一映射具有高度非线性。BP算法的学习过程由正向传播过程和反向传播过程组成。在正向传播过程中,输入信息通过输入层经隐含层,逐层处理并传向输出层,并转入反向传播,逐层求出目标函数对各神经元权值的偏导数,构成目标函数对权值向量的梯量,以作为修改权值的依据。Among them, the backpropagation algorithm, that is, the error backpropagation algorithm (Backpropagation algorithm, BP algorithm) is a learning algorithm suitable for multi-layer neuron networks. It is based on the gradient descent method and is used for the error of deep learning networks. calculate. The input and output relationship of BP network is essentially a mapping relationship: the function completed by a BP neural network with n input and m output is a continuous mapping from n-dimensional Euclidean space to a finite field in m-dimensional Euclidean space. A map is highly nonlinear. The learning process of BP algorithm consists of forward propagation process and back propagation process. In the process of forward propagation, the input information is processed layer by layer through the hidden layer through the input layer and transmitted to the output layer, and then transferred to the back propagation, and the partial derivative of the objective function to the weight of each neuron is obtained layer by layer, which constitutes The gradient of the objective function to the weight vector is used as the basis for modifying the weight.
具体的,提取验证数据集中的验证样本,将验证数据集导入到图像生成网络,利用若干个个训练完成的卷积核分别对验证样本进行特征提取,通过对应的反卷积核进行特征还原,然后反向传播算法计算预测误差,将预测误差与预设误差阈值进行比较,若预测误差大于预设误差阈值,则基于编码层encoder和解码层decoder的损失函数L1和L2对图像生成网络进行迭代更新,直到预测误差小于或等于预设误差阈值为止,获取验证通过的图像生成网络。Specifically, the verification samples in the verification data set are extracted, the verification data set is imported into the image generation network, and several trained convolution kernels are used to extract the features of the verification samples respectively, and the corresponding deconvolution kernels are used to restore the features. Then the backpropagation algorithm calculates the prediction error and compares the prediction error with the preset error threshold. If the prediction error is greater than the preset error threshold, the image generation network is iterated based on the loss functions L1 and L2 of the encoder layer encoder and decoder layer decoder. Update until the prediction error is less than or equal to the preset error threshold, and obtain the image generation network that has passed the verification.
进一步地,对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量的步骤,具体包括:Further, the image features of the image to be evaluated are transformed into feature vectors, and the steps of transforming the image features into feature vectors include:
基于空间金字塔池化对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量。Based on spatial pyramid pooling, the image features of the image to be evaluated are transformed into feature vectors, and the image features are transformed into feature vectors.
具体的,在利用图像特征提取器提取待评估图像的图像特征后,通过将利用图像特征提取器提取待评估图像的多个图像特征进行空间金字塔池化,将待评估图像的多个图像特征转化为特征向量,特征向量为大小一致的向量,将待评估图像的多个图像特征转化为特征向量有利于在后续步骤中利用所述网络回归函数计算图像特征的回归值。其中,空间金字塔池化可以使得任意大小的特征图都能够转换成固定大小的特征向量,并将固定大小的特征向量送入全连接层。Specifically, after using the image feature extractor to extract the image features of the image to be evaluated, multiple image features of the image to be evaluated are extracted by using the image feature extractor to perform spatial pyramid pooling to convert the multiple image features of the image to be evaluated. is a feature vector, and the feature vector is a vector with the same size. Converting multiple image features of the image to be evaluated into a feature vector is beneficial to use the network regression function to calculate the regression value of the image feature in the subsequent steps. Among them, spatial pyramid pooling can convert feature maps of any size into fixed-size feature vectors, and send the fixed-size feature vectors to the fully connected layer.
在本申请具体的实施例中,将图像特征通过空间金字塔池化,转为全链接形式的特征向量。这里的空间金字塔池化是指分别对上述不同尺度的图像特征进行形变卷积操作,最终获得全链接形式的特征向量。In the specific embodiment of the present application, the image features are converted into feature vectors in the form of full links through spatial pyramid pooling. The spatial pyramid pooling here refers to performing deformation and convolution operations on the above image features of different scales, and finally obtains feature vectors in the form of full links.
进一步地,请参考图4,图4示出了图2中步骤S204的一种具体实施方式的流程图,构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量的步骤,具体包括:Further, please refer to Fig. 4, Fig. 4 shows a flow chart of a specific implementation of step S204 in Fig. 2, constructing a network regression function, using the network regression function to calculate the regression value of the eigenvector, and according to the regression of the eigenvector. value to determine the quality of the image to be evaluated, including:
S401,基于贝叶斯算法构建初始回归函数;S401, constructing an initial regression function based on a Bayesian algorithm;
S402,提取图像特征提取器的参数,并基于图像特征提取器的参数计算特征权值;S402, extract the parameters of the image feature extractor, and calculate the feature weights based on the parameters of the image feature extractor;
S403,将特征权值导入初始回归函数,得到网络回归函数;S403, import the feature weights into the initial regression function to obtain the network regression function;
S404,将特征向量导入网络回归函数,计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。S404, import the feature vector into the network regression function, calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
具体的,基于贝叶斯方程式构建初始回归函数,贝叶斯方程式具体如下:Specifically, the initial regression function is constructed based on the Bayesian equation. The Bayesian equation is as follows:
Figure PCTCN2021090416-appb-000001
Figure PCTCN2021090416-appb-000001
其中,这里的Y是指贝叶斯回归值,i指的是输入图像的序号,h是指高维的响应函数,z是指图像特征,x是指潜在的因子,β是指权重,ε是调制系数。求解响应函数h可以基于核函数的方法进行推导,因此h可以写成如下形式:Among them, Y here refers to the Bayesian regression value, i refers to the serial number of the input image, h refers to the high-dimensional response function, z refers to the image feature, x refers to the potential factor, β refers to the weight, ε is the modulation factor. Solving the response function h can be derived based on the method of the kernel function, so h can be written in the following form:
Figure PCTCN2021090416-appb-000002
Figure PCTCN2021090416-appb-000002
其中,α为核函数的前系数,这里核函数采用的是高斯核函数,因而这里K(z,z’)可以改写为:Among them, α is the former coefficient of the kernel function, where the kernel function uses a Gaussian kernel function, so here K(z, z') can be rewritten as:
Figure PCTCN2021090416-appb-000003
Figure PCTCN2021090416-appb-000003
其中,exp为e指数,M为训练集容量,即样本数量。上述K进一步进行改写:Among them, exp is the e index, and M is the training set capacity, that is, the number of samples. The above K is further rewritten:
Figure PCTCN2021090416-appb-000004
Figure PCTCN2021090416-appb-000004
其中,这里的r是符合以下条件:Among them, r here is to meet the following conditions:
r mm~δ mf 1(r m)+(1-δ m)P 0 r mmm f 1 (r m )+(1-δ m )P 0
其中,m=1,……,M;rm是贝叶斯定理条件概率的概率值,f是概率密度函数,δ m~bernouli(π),bernouli是指复合伯努利分布,δ是方差,至此这里可以将回归过程改造成一个基于贝叶斯高斯核的回归。 Among them, m=1,...,M; rm is the probability value of the conditional probability of Bayes' theorem, f is the probability density function, δ m ~ bernouli (π), bernouli refers to the composite Bernoulli distribution, δ is the variance, At this point, the regression process can be transformed into a regression based on a Bayesian Gaussian kernel.
具体的,在将图像特征转化为特征向量后,基于贝叶斯算法构建初始回归函,提取图像特征提取器的参数,并基于图像特征提取器的参数计算特征权值,对特征权值进行归一化,将归一化后的特征权值导入初始回归函数,得到网络回归函数,将特征向量导入网络回归函数,计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。Specifically, after the image features are converted into feature vectors, an initial regression function is constructed based on the Bayesian algorithm, the parameters of the image feature extractor are extracted, and the feature weights are calculated based on the parameters of the image feature extractor, and the feature weights are normalized. To normalize, import the normalized feature weights into the initial regression function to obtain the network regression function, import the feature vector into the network regression function, calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector .
需要强调的是,为进一步保证上述待评估图像的私密和安全性,上述待评估图像还可以存储于一区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned images to be evaluated, the above-mentioned images to be evaluated can also be stored in a node of a blockchain.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,该计算机可读指令可存储于一计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. , when the computer-readable instructions are executed, the processes of the above-mentioned method embodiments may be included. Wherein, the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of the accompanying drawings are sequentially shown in the order indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order and may be performed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution sequence is also It does not have to be performed sequentially, but may be performed alternately or alternately with other steps or at least a portion of sub-steps or stages of other steps.
进一步参考图5,作为对上述图2所示方法的实现,本申请提供了一种图像质量评价的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。With further reference to FIG. 5 , as an implementation of the method shown in FIG. 2 above, the present application provides an embodiment of an apparatus for evaluating image quality. The apparatus embodiment corresponds to the method embodiment shown in FIG. 2 . Specifically, it can be applied to various electronic devices.
如图5所示,本实施例所述的图像质量评价的装置包括:As shown in FIG. 5 , the apparatus for image quality evaluation described in this embodiment includes:
构建模块501,用于构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;The building module 501 is used to build an image generation network, and train the image generation network through a training sample set in a preset database to obtain an image feature extractor;
提取模块502,用于接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征; Extraction module 502, for receiving the image to be evaluated, and extracting image features of the image to be evaluated by using an image feature extractor;
转化模块503,用于对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;The conversion module 503 is used to convert the image features of the image to be evaluated into feature vectors, and convert the image features into feature vectors;
评估模块504,用于构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。The evaluation module 504 is configured to construct a network regression function, use the network regression function to calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
进一步地,该图像质量评价的装置还包括:Further, the device for image quality evaluation also includes:
预处理模块,用于获取预设数据库中的图像数据,并对图像数据进行预处理;The preprocessing module is used to obtain the image data in the preset database and preprocess the image data;
标注模块,用于对进行预处理后的图像数据进行标注,并对标注后的图像数据进行随机组合,得到训练样本集和验证数据集;The labeling module is used to label the preprocessed image data, and randomly combine the labelled image data to obtain a training sample set and a verification data set;
存储模块,用于将训练样本集和验证数据集存储到预设数据库中。The storage module is used to store the training sample set and the validation data set in the preset database.
进一步地,图像生成网络包括编码层和解码层,编码层包括若干个卷积核,解码层包括若干个反卷积核,卷积核与反卷积核一一对应,构建模块501具体包括:Further, the image generation network includes an encoding layer and a decoding layer, the encoding layer includes several convolution kernels, and the decoding layer includes several deconvolution kernels, and the convolution kernels correspond to the deconvolution kernels one-to-one. The building module 501 specifically includes:
提取单元,用于提取训练样本集中的训练样本,依次将每一个训练样本导入到图像生成网络的编码层;The extraction unit is used to extract the training samples in the training sample set, and sequentially import each training sample into the coding layer of the image generation network;
第一训练单元,用于利用每一个训练样本对图像生成网络中的编码层进行训练,得到若干个个训练完成的卷积核;The first training unit is used to train the coding layer in the image generation network by using each training sample to obtain several trained convolution kernels;
压缩单元,用于基于深度学习压缩算法对训练完成的若干个卷积核进行筛选,去除若干个卷积核中的冗余项;The compression unit is used to screen several convolution kernels after training based on the deep learning compression algorithm, and remove redundant items in several convolution kernels;
构建单元,用于利用去除冗余项后的若干个卷积核构建图像特征提取器。The construction unit is used to construct an image feature extractor using several convolution kernels after removing redundant items.
进一步地,该图像质量评价的装置还包括:Further, the device for image quality evaluation also includes:
采集单元,用于采集编码层中每一个卷积核的训练结果;The acquisition unit is used to collect the training results of each convolution kernel in the coding layer;
第二训练单元,用于将每一个卷积核的训练结果导入对应的反卷积核中,通过每一个卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核。The second training unit is used to import the training result of each convolution kernel into the corresponding deconvolution kernel, train the corresponding deconvolution kernel through the training result of each convolution kernel, and obtain several training completed inverse convolution kernels. convolution kernel.
进一步地,该图像质量评价的装置还包括:Further, the device for image quality evaluation also includes:
验证单元,用于提取验证数据集中的验证样本,将验证数据集导入到图像生成网络;The verification unit is used to extract the verification samples in the verification data set, and import the verification data set into the image generation network;
卷积单元,用于利用若干个个训练完成的卷积核分别对验证样本进行特征提取,得到若干个验证样本的特征提取结果;The convolution unit is used to extract the features of the verification samples by using several trained convolution kernels to obtain the feature extraction results of several verification samples;
还原单元,用于将若干个验证样本的特征提取结果分别导入到对应的反卷积核进行特征还原,得到特征还原结果;The restoration unit is used to import the feature extraction results of several verification samples into the corresponding deconvolution kernels for feature restoration, and obtain the feature restoration results;
拟合单元,用于基于特征还原结果与验证样本,使用反向传播算法进行拟合,获取预测误差;The fitting unit is used to restore the result and the verification sample based on the feature, and use the back-propagation algorithm to perform fitting to obtain the prediction error;
迭代单元,用于将预测误差与预设阈值进行比较,若预测误差大于预设阈值,则对图像生成网络进行迭代更新,直到预测误差小于或等于预设阈值为止,获取图像生成网络。The iterative unit is configured to compare the prediction error with a preset threshold, and if the prediction error is greater than the preset threshold, iteratively update the image generation network until the prediction error is less than or equal to the preset threshold, and acquire the image generation network.
进一步地,转化模块具体包括:Further, the conversion module specifically includes:
转化单元,用于基于空间金字塔池化对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量。The transformation unit is used to transform the image features of the image to be evaluated based on the spatial pyramid pooling, and convert the image features into feature vectors.
进一步地,评估模块504具体包括:Further, the evaluation module 504 specifically includes:
函数构建单元,用于基于贝叶斯算法构建初始回归函数;The function construction unit is used to construct the initial regression function based on the Bayesian algorithm;
参数提取单元,用于提取图像特征提取器的参数,并基于图像特征提取器的参数计算特征权值;a parameter extraction unit for extracting parameters of the image feature extractor, and calculating feature weights based on the parameters of the image feature extractor;
导入单元,用于将特征权值导入初始回归函数,得到网络回归函数;The import unit is used to import the feature weights into the initial regression function to obtain the network regression function;
评估单元,用于将特征向量导入网络回归函数,计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。The evaluation unit is used to import the feature vector into the network regression function, calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
本申请公开了一种图像质量评价的装置,属于人工智能技术领域,本申请通过构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。本申请通过通过简化深度学习网络以及采用机器回归的方式来构建图像质量评价系统,在进行图像质量评价时,先通过训练好的深度学习网络获取图像特征,然后基于利用网络回归函数计算图像特征的回归值,最后基于图像特征的回归值确定待评估图像的质量,本申请构建的图像质量评价系统结构简单,不会占用过多的服务器资源,有效降低计算资源消耗,可以满足移动端的部署使用要求。同时,最终通过网络回归函数对图像质量进行评价,可以针对评价结果做出数学上的解释,方便使用者直观的分析问题。The application discloses an image quality evaluation device, belonging to the technical field of artificial intelligence. The application constructs an image generation network, trains the image generation network through a training sample set in a preset database, and obtains an image feature extractor; Evaluate the image, and use the image feature extractor to extract the image features of the image to be evaluated; perform feature vector transformation on the image features of the image to be evaluated, and convert the image features into feature vectors; build a network regression function, and use the network regression function to calculate the regression of the feature vector value, and determine the quality of the image to be evaluated according to the regression value of the feature vector. The present application constructs an image quality evaluation system by simplifying the deep learning network and adopting machine regression. When performing image quality evaluation, the image features are first obtained through the trained deep learning network, and then the image features are calculated based on the network regression function. Regression value, and finally determine the quality of the image to be evaluated based on the regression value of the image features. The image quality evaluation system constructed in this application has a simple structure, does not occupy too many server resources, effectively reduces computing resource consumption, and can meet the deployment and use requirements of mobile terminals . At the same time, the image quality is finally evaluated by the network regression function, and a mathematical explanation can be made for the evaluation result, which is convenient for users to analyze the problem intuitively.
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图6,图6为本实施例计算机设备基本结构框图。To solve the above technical problems, the embodiments of the present application also provide computer equipment. Please refer to FIG. 6 for details. FIG. 6 is a block diagram of the basic structure of a computer device according to this embodiment.
所述计算机设备6包括通过系统总线相互通信连接存储器61、处理器62、网络接口63。需要指出的是,图中仅示出了具有组件61-63的计算机设备6,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application  Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 6 includes a memory 61 , a processor 62 , and a network interface 63 that communicate with each other through a system bus. It should be pointed out that only the computer device 6 with components 61-63 is shown in the figure, but it should be understood that it is not required to implement all of the shown components, and more or less components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, special-purpose Integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded devices, etc.
所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。The computer equipment may be a desktop computer, a notebook computer, a palmtop computer, a cloud server and other computing equipment. The computer device can perform human-computer interaction with the user through a keyboard, a mouse, a remote control, a touch pad or a voice control device.
所述存储器61至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器61可以是所述计算机设备6的内部存储单元,例如该计算机设备6的硬盘或内存。在另一些实施例中,所述存储器61也可以是所述计算机设备6的外部存储设备,例如该计算机设备6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器61还可以既包括所述计算机设备6的内部存储单元也包括其外部存储设备。本实施例中,所述存储器61通常用于存储安装于所述计算机设备6的操作系统和各类应用软件,例如图像质量评价的方法的计算机可读指令等。此外,所述存储器61还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 61 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. In some embodiments, the memory 61 may be an internal storage unit of the computer device 6 , such as a hard disk or a memory of the computer device 6 . In other embodiments, the memory 61 may also be an external storage device of the computer device 6, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Of course, the memory 61 may also include both the internal storage unit of the computer device 6 and its external storage device. In this embodiment, the memory 61 is generally used to store the operating system and various application software installed on the computer device 6 , such as computer-readable instructions of a method for evaluating image quality. In addition, the memory 61 can also be used to temporarily store various types of data that have been output or will be output.
所述处理器62在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器62通常用于控制所述计算机设备6的总体操作。本实施例中,所述处理器62用于运行所述存储器61中存储的计算机可读指令或者处理数据,例如运行所述图像质量评价的方法的计算机可读指令。In some embodiments, the processor 62 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. This processor 62 is typically used to control the overall operation of the computer device 6 . In this embodiment, the processor 62 is configured to execute computer-readable instructions stored in the memory 61 or process data, for example, computer-readable instructions for executing the image quality evaluation method.
所述网络接口63可包括无线网络接口或有线网络接口,该网络接口63通常用于在所述计算机设备6与其他电子设备之间建立通信连接。The network interface 63 may include a wireless network interface or a wired network interface, and the network interface 63 is generally used to establish a communication connection between the computer device 6 and other electronic devices.
本申请公开了一种计算机设备,属于人工智能技术领域,本申请通过构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。本申请通过通过简化深度学习网络以及采用机器回归的方式来构建图像质量评价系统,在进行图像质量评价时,先通过训练好的深度学习网络获取图像特征,然后基于利用网络回归函数计算图像特征的回归值,最后基于图像特征的回归值确定待评估图像的质量,本申请构建的图像质量评价系统结构简单,不会占用过多的服务器资源,有效降低计算资源消耗,可以满足移动端的部署使用要求。同时,最终通过网络回归函数对图像质量进行评价,可以针对评价结果做出数学上的解释,方便使用者直观的分析问题。The application discloses a computer device, which belongs to the technical field of artificial intelligence. The application constructs an image generation network, trains the image generation network through a training sample set in a preset database, and obtains an image feature extractor; receives an image to be evaluated, And use the image feature extractor to extract the image features of the image to be evaluated; transform the image features of the image to be evaluated into feature vectors, and convert the image features into feature vectors; build a network regression function, use the network regression function to calculate the regression value of the feature vector, and The quality of the image to be evaluated is determined according to the regression value of the feature vector. The present application constructs an image quality evaluation system by simplifying the deep learning network and adopting machine regression. When performing image quality evaluation, the image features are first obtained through the trained deep learning network, and then the image features are calculated based on the network regression function. Regression value, and finally determine the quality of the image to be evaluated based on the regression value of the image features. The image quality evaluation system constructed in this application has a simple structure, does not occupy too many server resources, effectively reduces computing resource consumption, and can meet the deployment and use requirements of mobile terminals . At the same time, the image quality is finally evaluated by the network regression function, and a mathematical explanation can be made for the evaluation result, which is convenient for users to analyze the problem intuitively.
本申请还提供了另一种实施方式,即提供一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令可被至少一个处理器执行,以使所述至少一个处理器执行如上述的图像质量评价的方法的步骤。The present application also provides another implementation manner, that is, to provide a computer-readable storage medium, the computer-readable storage medium may be non-volatile or volatile, and the computer-readable storage medium stores Computer readable instructions executable by at least one processor to cause the at least one processor to perform the steps of the method for image quality assessment as described above.
本申请公开了一种存储介质,属于人工智能技术领域,本申请通过构建图像生成网络,通过预设数据库中的训练样本集对图像生成网络进行训练,获取图像特征提取器;接收待评估图像,并利用图像特征提取器提取待评估图像的图像特征;对待评估图像的图像特征进行特征向量转化,将图像特征转化为特征向量;构建网络回归函数,利用网络回归函数计算特征向量的回归值,并根据特征向量的回归值确定待评估图像的质量。本申请通过通过简化深度学习网络以及采用机器回归的方式来构建图像质量评价系统,在进行图像质量评价时,先通过训练好的深度学习网络获取图像特征,然后基于利用网络回归函数计算图像特征的回归值,最后基于图像特征的回归值确定待评估图像的质量,本申请构建的图像质量评价系统结构简单,不会占用过多的服务器资源,有效降低计算资源消耗,可以满足 移动端的部署使用要求。同时,最终通过网络回归函数对图像质量进行评价,可以针对评价结果做出数学上的解释,方便使用者直观的分析问题。The application discloses a storage medium, which belongs to the technical field of artificial intelligence. The application constructs an image generation network, trains the image generation network through a training sample set in a preset database, and obtains an image feature extractor; receives an image to be evaluated, And use the image feature extractor to extract the image features of the image to be evaluated; transform the image features of the image to be evaluated into feature vectors, and convert the image features into feature vectors; build a network regression function, use the network regression function to calculate the regression value of the feature vector, and The quality of the image to be evaluated is determined according to the regression value of the feature vector. The present application constructs an image quality evaluation system by simplifying the deep learning network and adopting machine regression. When performing image quality evaluation, the image features are first obtained through the trained deep learning network, and then the image features are calculated based on the network regression function. Regression value, and finally determine the quality of the image to be evaluated based on the regression value of the image features. The image quality evaluation system constructed in this application has a simple structure, does not occupy too many server resources, effectively reduces computing resource consumption, and can meet the deployment and use requirements of mobile terminals . At the same time, the image quality is finally evaluated by the network regression function, and a mathematical explanation can be made for the evaluation result, which is convenient for users to analyze the problem intuitively.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。Obviously, the above-described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The accompanying drawings show the preferred embodiments of the present application, but do not limit the scope of the patent of the present application. This application may be embodied in many different forms, rather these embodiments are provided so that a thorough and complete understanding of the disclosure of this application is provided. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or perform equivalent replacements for some of the technical features. . Any equivalent structure made by using the contents of the description and drawings of the present application, which is directly or indirectly used in other related technical fields, is also within the scope of protection of the patent of the present application.

Claims (20)

  1. 一种图像质量评价的方法,包括:A method of image quality evaluation, comprising:
    构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器;constructing an image generation network, and training the image generation network through a training sample set in a preset database to obtain an image feature extractor;
    接收待评估图像,并利用所述图像特征提取器提取所述待评估图像的图像特征;receiving an image to be evaluated, and extracting image features of the image to be evaluated using the image feature extractor;
    对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量;The image features of the image to be evaluated are transformed into feature vectors, and the image features are transformed into feature vectors;
    构建网络回归函数,利用所述网络回归函数计算所述特征向量的回归值,并根据所述特征向量的回归值确定所述待评估图像的质量。A network regression function is constructed, the regression value of the feature vector is calculated by using the network regression function, and the quality of the image to be evaluated is determined according to the regression value of the feature vector.
  2. 如权利要求1所述的图像质量评价的方法,其中,在所述构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器的步骤之前,还包括:The method for image quality evaluation according to claim 1, wherein, before the step of constructing an image generation network, training the image generation network through a training sample set in a preset database, and acquiring an image feature extractor, Also includes:
    获取所述预设数据库中的图像数据,并对所述图像数据进行预处理;acquiring image data in the preset database, and preprocessing the image data;
    对进行预处理后的所述图像数据进行标注,并对标注后的所述图像数据进行随机组合,得到训练样本集和验证数据集;Labeling the preprocessed image data, and randomly combining the labeled image data to obtain a training sample set and a verification data set;
    将所述训练样本集和所述验证数据集存储到所述预设数据库中。The training sample set and the verification data set are stored in the preset database.
  3. 如权利要求2所述的图像质量评价的方法,其中,所述图像生成网络包括编码层和解码层,所述编码层包括若干个卷积核,所述解码层包括若干个反卷积核,所述卷积核与所述反卷积核一一对应,所述构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器的步骤,具体包括:The method for image quality evaluation according to claim 2, wherein the image generation network includes an encoding layer and a decoding layer, the encoding layer includes several convolution kernels, and the decoding layer includes several deconvolution kernels, The convolution kernels correspond to the deconvolution kernels one-to-one, the image generation network is constructed, the image generation network is trained through the training sample set in the preset database, and the steps of acquiring the image feature extractor are as follows: include:
    提取所述训练样本集中的训练样本,依次将每一个所述训练样本导入到所述图像生成网络的编码层;extracting training samples in the training sample set, and sequentially importing each of the training samples into the coding layer of the image generation network;
    利用每一个所述训练样本对所述图像生成网络中的编码层进行训练,得到若干个个训练完成的卷积核;Use each of the training samples to train the coding layer in the image generation network to obtain several trained convolution kernels;
    基于深度学习压缩算法对训练完成的若干个所述卷积核进行筛选,去除若干个所述卷积核中的冗余项;Screening several of the convolution kernels that have been trained based on the deep learning compression algorithm, to remove redundant items in several of the convolution kernels;
    利用去除所述冗余项后的若干个所述卷积核构建所述图像特征提取器。The image feature extractor is constructed by using several of the convolution kernels after removing the redundant items.
  4. 如权利要求3所述的图像质量评价的方法,其中,在所述利用每一个所述训练样本对所述图像生成网络卷积层中的编码层进行训练,得到若干个个训练完成的卷积核的步骤之后,还包括:The method for image quality evaluation according to claim 3, wherein, in the coding layer in the convolutional layer of the image generation network is trained by using each of the training samples to obtain several convolutional convolutions that have been trained. After the nuclear step, it also includes:
    采集所述编码层中每一个卷积核的训练结果;Collect the training result of each convolution kernel in the coding layer;
    将每一个所述卷积核的训练结果导入对应的反卷积核中,通过每一个所述卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核。Import the training results of each of the convolution kernels into the corresponding deconvolution kernels, train the corresponding deconvolution kernels through the training results of each of the convolution kernels, and obtain several trained deconvolution kernels .
  5. 如权利要求4所述的图像质量评价的方法,其中,在所述将每一个所述卷积核的训练结果导入对应的反卷积核中,通过每一个所述卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核的步骤之后,还包括:The method for image quality evaluation according to claim 4, wherein, in the process of importing the training result of each of the convolution kernels into the corresponding deconvolution kernel, training is performed by the training results of each of the convolution kernels. The corresponding deconvolution kernel, after obtaining several steps of training completed deconvolution kernels, also includes:
    提取所述验证数据集中的验证样本,将所述验证数据集导入到所述图像生成网络;extracting verification samples in the verification data set, and importing the verification data set into the image generation network;
    利用若干个个训练完成的所述卷积核分别对所述验证样本进行特征提取,得到若干个所述验证样本的特征提取结果;Using several trained convolution kernels to perform feature extraction on the verification samples, respectively, to obtain the feature extraction results of several verification samples;
    将若干个所述验证样本的特征提取结果分别导入到对应的反卷积核进行特征还原,得到特征还原结果;The feature extraction results of several of the verification samples are respectively imported into the corresponding deconvolution kernels for feature restoration, and feature restoration results are obtained;
    基于所述特征还原结果与验证样本,使用反向传播算法进行拟合,获取预测误差;Based on the feature restoration result and the verification sample, the back-propagation algorithm is used for fitting to obtain the prediction error;
    将所述预测误差与预设阈值进行比较,若所述预测误差大于预设阈值,则对所述图像生成网络进行迭代更新,直到所述预测误差小于或等于预设阈值为止,获取所述图像生成网络。Compare the prediction error with a preset threshold, and if the prediction error is greater than a preset threshold, iteratively update the image generation network until the prediction error is less than or equal to a preset threshold, and acquire the image Generate a network.
  6. 如权利要求1至5任意一项所述的图像质量评价的方法,其中,所述对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量的步骤,具体包括:The method for evaluating image quality according to any one of claims 1 to 5, wherein the step of converting the image features of the image to be evaluated into feature vectors, and converting the image features into feature vectors, specifically includes the following steps: :
    基于空间金字塔池化对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量。The image features of the image to be evaluated are transformed into feature vectors based on spatial pyramid pooling, and the image features are transformed into feature vectors.
  7. 如权利要求6所述的图像质量评价的方法,其中,所述构建网络回归函数,利用所述网络回归函数计算所述特征向量的回归值,并根据所述特征向量的回归值确定所述待评估图像的质量的步骤,具体包括:The method for evaluating image quality according to claim 6, wherein the network regression function is constructed, a regression value of the feature vector is calculated by using the network regression function, and the to-be-to-be-regression value is determined according to the regression value of the feature vector. The steps to assess the quality of the image include:
    基于贝叶斯算法构建初始回归函数;Construct the initial regression function based on the Bayesian algorithm;
    提取所述图像特征提取器的参数,并基于所述图像特征提取器的参数计算特征权值;extracting parameters of the image feature extractor, and calculating feature weights based on the parameters of the image feature extractor;
    将所述特征权值导入所述初始回归函数,得到网络回归函数;Importing the feature weights into the initial regression function to obtain a network regression function;
    将所述特征向量导入所述网络回归函数,计算所述特征向量的回归值,并根据所述特征向量的回归值确定所述待评估图像的质量。The feature vector is imported into the network regression function, the regression value of the feature vector is calculated, and the quality of the image to be evaluated is determined according to the regression value of the feature vector.
  8. 一种图像质量评价的装置,包括:A device for evaluating image quality, comprising:
    构建模块,用于构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器;a building module for constructing an image generation network, training the image generation network through a training sample set in a preset database, and obtaining an image feature extractor;
    提取模块,用于接收待评估图像,并利用所述图像特征提取器提取所述待评估图像的图像特征;an extraction module for receiving an image to be evaluated, and extracting image features of the image to be evaluated by using the image feature extractor;
    转化模块,用于对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量;a conversion module, for converting the image features of the image to be evaluated into feature vectors, and converting the image features into feature vectors;
    评估模块,用于构建网络回归函数,利用所述网络回归函数计算所述特征向量的回归值,并根据所述特征向量的回归值确定所述待评估图像的质量。An evaluation module, configured to construct a network regression function, use the network regression function to calculate the regression value of the feature vector, and determine the quality of the image to be evaluated according to the regression value of the feature vector.
  9. 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现如下所述的图像质量评价的方法:A computer device, comprising a memory and a processor, wherein computer-readable instructions are stored in the memory, and when the processor executes the computer-readable instructions, the method for evaluating image quality as described below is implemented:
    构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器;constructing an image generation network, and training the image generation network through a training sample set in a preset database to obtain an image feature extractor;
    接收待评估图像,并利用所述图像特征提取器提取所述待评估图像的图像特征;receiving an image to be evaluated, and extracting image features of the image to be evaluated using the image feature extractor;
    对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量;The image features of the image to be evaluated are transformed into feature vectors, and the image features are transformed into feature vectors;
    构建网络回归函数,利用所述网络回归函数计算所述特征向量的回归值,并根据所述特征向量的回归值确定所述待评估图像的质量。A network regression function is constructed, the regression value of the feature vector is calculated by using the network regression function, and the quality of the image to be evaluated is determined according to the regression value of the feature vector.
  10. 如权利要求9所述的计算机设备,其中,在所述构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器的步骤之前,还包括:The computer device according to claim 9, wherein, before the step of constructing an image generation network, training the image generation network through a training sample set in a preset database, and acquiring an image feature extractor, the method further comprises:
    获取所述预设数据库中的图像数据,并对所述图像数据进行预处理;acquiring image data in the preset database, and preprocessing the image data;
    对进行预处理后的所述图像数据进行标注,并对标注后的所述图像数据进行随机组合,得到训练样本集和验证数据集;Labeling the preprocessed image data, and randomly combining the labeled image data to obtain a training sample set and a verification data set;
    将所述训练样本集和所述验证数据集存储到所述预设数据库中。The training sample set and the verification data set are stored in the preset database.
  11. 如权利要求10所述的计算机设备,其中,所述图像生成网络包括编码层和解码层,所述编码层包括若干个卷积核,所述解码层包括若干个反卷积核,所述卷积核与所述反卷积核一一对应,所述构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器的步骤,具体包括:The computer device of claim 10, wherein the image generation network includes an encoding layer and a decoding layer, the encoding layer includes a number of convolution kernels, the decoding layer includes a number of deconvolution kernels, and the volume The accumulation kernel corresponds to the deconvolution kernel one-to-one, and the image generation network is constructed, and the image generation network is trained through the training sample set in the preset database, and the steps of acquiring the image feature extractor include:
    提取所述训练样本集中的训练样本,依次将每一个所述训练样本导入到所述图像生成网络的编码层;extracting training samples in the training sample set, and sequentially importing each of the training samples into the coding layer of the image generation network;
    利用每一个所述训练样本对所述图像生成网络中的编码层进行训练,得到若干个个训练完成的卷积核;Use each of the training samples to train the coding layer in the image generation network to obtain several trained convolution kernels;
    基于深度学习压缩算法对训练完成的若干个所述卷积核进行筛选,去除若干个所述卷积核中的冗余项;Screening several of the convolution kernels that have been trained based on the deep learning compression algorithm, to remove redundant items in several of the convolution kernels;
    利用去除所述冗余项后的若干个所述卷积核构建所述图像特征提取器。The image feature extractor is constructed by using several of the convolution kernels after removing the redundant items.
  12. 如权利要求11所述的计算机设备,其中,在所述利用每一个所述训练样本对所述图像生成网络卷积层中的编码层进行训练,得到若干个个训练完成的卷积核的步骤之后,还包括:The computer device according to claim 11, wherein, in the step of using each of the training samples to train the coding layer in the convolutional layer of the image generation network to obtain several trained convolution kernels After that, also include:
    采集所述编码层中每一个卷积核的训练结果;Collect the training result of each convolution kernel in the coding layer;
    将每一个所述卷积核的训练结果导入对应的反卷积核中,通过每一个所述卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核。Import the training results of each of the convolution kernels into the corresponding deconvolution kernels, train the corresponding deconvolution kernels through the training results of each of the convolution kernels, and obtain several trained deconvolution kernels .
  13. 如权利要求12所述的计算机设备,其中,在所述将每一个所述卷积核的训练结果导入对应的反卷积核中,通过每一个所述卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核的步骤之后,还包括:The computer device according to claim 12, wherein, in the process of importing the training result of each of the convolution kernels into the corresponding deconvolution kernel, the corresponding deconvolution kernel is trained by the training result of each of the convolution kernels. The convolution kernel, after the steps of obtaining several deconvolution kernels that have been trained, also include:
    提取所述验证数据集中的验证样本,将所述验证数据集导入到所述图像生成网络;extracting verification samples in the verification data set, and importing the verification data set into the image generation network;
    利用若干个个训练完成的所述卷积核分别对所述验证样本进行特征提取,得到若干个所述验证样本的特征提取结果;Using several trained convolution kernels to perform feature extraction on the verification samples, respectively, to obtain the feature extraction results of several verification samples;
    将若干个所述验证样本的特征提取结果分别导入到对应的反卷积核进行特征还原,得到特征还原结果;The feature extraction results of several of the verification samples are respectively imported into the corresponding deconvolution kernels for feature restoration, and feature restoration results are obtained;
    基于所述特征还原结果与验证样本,使用反向传播算法进行拟合,获取预测误差;Based on the feature restoration result and the verification sample, the back-propagation algorithm is used for fitting to obtain the prediction error;
    将所述预测误差与预设阈值进行比较,若所述预测误差大于预设阈值,则对所述图像生成网络进行迭代更新,直到所述预测误差小于或等于预设阈值为止,获取所述图像生成网络。Compare the prediction error with a preset threshold, and if the prediction error is greater than a preset threshold, iteratively update the image generation network until the prediction error is less than or equal to a preset threshold, and acquire the image Generate a network.
  14. 如权利要求9至13任意一项所述的计算机设备,其中,所述对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量的步骤,具体包括:The computer device according to any one of claims 9 to 13, wherein the step of performing feature vector transformation on the image features of the image to be evaluated, and converting the image features into feature vectors, specifically includes:
    基于空间金字塔池化对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量。The image features of the image to be evaluated are transformed into feature vectors based on spatial pyramid pooling, and the image features are transformed into feature vectors.
  15. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下所述的图像质量评价的方法:A computer-readable storage medium, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor, the method for evaluating image quality as described below is implemented:
    构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器;constructing an image generation network, and training the image generation network through a training sample set in a preset database to obtain an image feature extractor;
    接收待评估图像,并利用所述图像特征提取器提取所述待评估图像的图像特征;receiving an image to be evaluated, and extracting image features of the image to be evaluated using the image feature extractor;
    对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量;The image features of the image to be evaluated are transformed into feature vectors, and the image features are transformed into feature vectors;
    构建网络回归函数,利用所述网络回归函数计算所述特征向量的回归值,并根据所述特征向量的回归值确定所述待评估图像的质量。A network regression function is constructed, the regression value of the feature vector is calculated by using the network regression function, and the quality of the image to be evaluated is determined according to the regression value of the feature vector.
  16. 如权利要求15所述的计算机可读存储介质,其中,在所述构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器的步骤之前,还包括:The computer-readable storage medium according to claim 15, wherein, before the step of constructing an image generation network, training the image generation network through a training sample set in a preset database, and acquiring an image feature extractor, Also includes:
    获取所述预设数据库中的图像数据,并对所述图像数据进行预处理;acquiring image data in the preset database, and preprocessing the image data;
    对进行预处理后的所述图像数据进行标注,并对标注后的所述图像数据进行随机组合,得到训练样本集和验证数据集;Labeling the preprocessed image data, and randomly combining the labeled image data to obtain a training sample set and a verification data set;
    将所述训练样本集和所述验证数据集存储到所述预设数据库中。The training sample set and the verification data set are stored in the preset database.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述图像生成网络包括编码层和解码层,所述编码层包括若干个卷积核,所述解码层包括若干个反卷积核,所述卷积核与所述反卷积核一一对应,所述构建图像生成网络,通过预设数据库中的训练样本集对所述图像生成网络进行训练,获取图像特征提取器的步骤,具体包括:The computer-readable storage medium of claim 16, wherein the image generation network includes an encoding layer and a decoding layer, the encoding layer includes several convolution kernels, the decoding layer includes several deconvolution kernels, The convolution kernels correspond to the deconvolution kernels one-to-one, the image generation network is constructed, the image generation network is trained through the training sample set in the preset database, and the steps of acquiring the image feature extractor are as follows: include:
    提取所述训练样本集中的训练样本,依次将每一个所述训练样本导入到所述图像生成网络的编码层;extracting training samples in the training sample set, and sequentially importing each of the training samples into the coding layer of the image generation network;
    利用每一个所述训练样本对所述图像生成网络中的编码层进行训练,得到若干个个训练完成的卷积核;Use each of the training samples to train the coding layer in the image generation network to obtain several trained convolution kernels;
    基于深度学习压缩算法对训练完成的若干个所述卷积核进行筛选,去除若干个所述卷积核中的冗余项;Screening several of the convolution kernels that have been trained based on the deep learning compression algorithm, to remove redundant items in several of the convolution kernels;
    利用去除所述冗余项后的若干个所述卷积核构建所述图像特征提取器。The image feature extractor is constructed by using several of the convolution kernels after removing the redundant items.
  18. 如权利要求17所述的计算机可读存储介质,其中,在所述利用每一个所述训练样本对所述图像生成网络卷积层中的编码层进行训练,得到若干个个训练完成的卷积核的步骤之后,还包括:The computer-readable storage medium according to claim 17, wherein, in the training of the coding layer in the convolutional layer of the image generation network by using each of the training samples, a plurality of trained convolutional layers are obtained. After the nuclear step, it also includes:
    采集所述编码层中每一个卷积核的训练结果;Collect the training result of each convolution kernel in the coding layer;
    将每一个所述卷积核的训练结果导入对应的反卷积核中,通过每一个所述卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核。Import the training results of each of the convolution kernels into the corresponding deconvolution kernels, train the corresponding deconvolution kernels through the training results of each of the convolution kernels, and obtain several trained deconvolution kernels .
  19. 如权利要求18所述的计算机可读存储介质,其中,在所述将每一个所述卷积核的训练结果导入对应的反卷积核中,通过每一个所述卷积核的训练结果训练对应的反卷积核,得到若干个个训练完成的反卷积核的步骤之后,还包括:The computer-readable storage medium according to claim 18, wherein, in the process of importing the training result of each of the convolution kernels into the corresponding deconvolution kernel, training is performed through the training results of each of the convolution kernels. The corresponding deconvolution kernel, after obtaining several steps of training completed deconvolution kernels, also includes:
    提取所述验证数据集中的验证样本,将所述验证数据集导入到所述图像生成网络;extracting verification samples in the verification data set, and importing the verification data set into the image generation network;
    利用若干个个训练完成的所述卷积核分别对所述验证样本进行特征提取,得到若干个所述验证样本的特征提取结果;Using several trained convolution kernels to perform feature extraction on the verification samples, respectively, to obtain the feature extraction results of several verification samples;
    将若干个所述验证样本的特征提取结果分别导入到对应的反卷积核进行特征还原,得到特征还原结果;The feature extraction results of several of the verification samples are respectively imported into the corresponding deconvolution kernels for feature restoration, and feature restoration results are obtained;
    基于所述特征还原结果与验证样本,使用反向传播算法进行拟合,获取预测误差;Based on the feature restoration result and the verification sample, the back-propagation algorithm is used for fitting to obtain the prediction error;
    将所述预测误差与预设阈值进行比较,若所述预测误差大于预设阈值,则对所述图像生成网络进行迭代更新,直到所述预测误差小于或等于预设阈值为止,获取所述图像生成网络。Compare the prediction error with a preset threshold, and if the prediction error is greater than a preset threshold, iteratively update the image generation network until the prediction error is less than or equal to a preset threshold, and acquire the image Generate a network.
  20. 如权利要求15至19任意一项所述的计算机可读存储介质,其中,所述对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量的步骤,具体包括:The computer-readable storage medium according to any one of claims 15 to 19, wherein the step of transforming the image features of the to-be-evaluated image into feature vectors, and converting the image features into feature vectors, specifically includes :
    基于空间金字塔池化对所述待评估图像的图像特征进行特征向量转化,将所述图像特征转化为特征向量。The image features of the image to be evaluated are transformed into feature vectors based on spatial pyramid pooling, and the image features are transformed into feature vectors.
PCT/CN2021/090416 2020-11-17 2021-04-28 Method and device for image quality assessment, computer device, and storage medium WO2022105117A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011288901.7A CN112418292A (en) 2020-11-17 2020-11-17 Image quality evaluation method and device, computer equipment and storage medium
CN202011288901.7 2020-11-17

Publications (1)

Publication Number Publication Date
WO2022105117A1 true WO2022105117A1 (en) 2022-05-27

Family

ID=74832061

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/090416 WO2022105117A1 (en) 2020-11-17 2021-04-28 Method and device for image quality assessment, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN112418292A (en)
WO (1) WO2022105117A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115984843A (en) * 2022-12-06 2023-04-18 北京信息科技大学 Remanufacturing raw material evaluation method and device, storage medium and electronic equipment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112418292A (en) * 2020-11-17 2021-02-26 平安科技(深圳)有限公司 Image quality evaluation method and device, computer equipment and storage medium
US20240046440A1 (en) * 2021-04-14 2024-02-08 Shenzhen Institutes Of Advanced Technology Chinese Academy Of Sciences Image data quality evaluation method and apparatus, terminal device, and readable storage medium
CN113112518B (en) * 2021-04-19 2024-03-26 深圳思谋信息科技有限公司 Feature extractor generation method and device based on spliced image and computer equipment
CN113486939A (en) * 2021-06-30 2021-10-08 平安证券股份有限公司 Method, device, terminal and storage medium for processing pictures
CN117135306A (en) * 2022-09-15 2023-11-28 深圳Tcl新技术有限公司 Television definition debugging method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949277A (en) * 2019-03-04 2019-06-28 西北大学 A kind of OCT image quality evaluating method based on sequence study and simplified residual error network
CN110033446A (en) * 2019-04-10 2019-07-19 西安电子科技大学 Enhancing image quality evaluating method based on twin network
CN111242036A (en) * 2020-01-14 2020-06-05 西安建筑科技大学 Crowd counting method based on encoding-decoding structure multi-scale convolutional neural network
US20200234141A1 (en) * 2017-10-24 2020-07-23 Deepnorth Inc. Image Quality Assessment Using Similar Scenes as Reference
CN112418292A (en) * 2020-11-17 2021-02-26 平安科技(深圳)有限公司 Image quality evaluation method and device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10002415B2 (en) * 2016-04-12 2018-06-19 Adobe Systems Incorporated Utilizing deep learning for rating aesthetics of digital images
JP7202091B2 (en) * 2018-07-13 2023-01-11 日本放送協会 Image quality evaluation device, learning device and program
CN110766658B (en) * 2019-09-23 2022-06-14 华中科技大学 Non-reference laser interference image quality evaluation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200234141A1 (en) * 2017-10-24 2020-07-23 Deepnorth Inc. Image Quality Assessment Using Similar Scenes as Reference
CN109949277A (en) * 2019-03-04 2019-06-28 西北大学 A kind of OCT image quality evaluating method based on sequence study and simplified residual error network
CN110033446A (en) * 2019-04-10 2019-07-19 西安电子科技大学 Enhancing image quality evaluating method based on twin network
CN111242036A (en) * 2020-01-14 2020-06-05 西安建筑科技大学 Crowd counting method based on encoding-decoding structure multi-scale convolutional neural network
CN112418292A (en) * 2020-11-17 2021-02-26 平安科技(深圳)有限公司 Image quality evaluation method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115984843A (en) * 2022-12-06 2023-04-18 北京信息科技大学 Remanufacturing raw material evaluation method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN112418292A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
WO2022105117A1 (en) Method and device for image quality assessment, computer device, and storage medium
CN110929622B (en) Video classification method, model training method, device, equipment and storage medium
CN113139628B (en) Sample image identification method, device and equipment and readable storage medium
WO2022105118A1 (en) Image-based health status identification method and apparatus, device and storage medium
CN113761153B (en) Picture-based question-answering processing method and device, readable medium and electronic equipment
CN112863683B (en) Medical record quality control method and device based on artificial intelligence, computer equipment and storage medium
CN111898703B (en) Multi-label video classification method, model training method, device and medium
CN111352965A (en) Training method of sequence mining model, and processing method and equipment of sequence data
CN116580257A (en) Feature fusion model training and sample retrieval method and device and computer equipment
CN112668482B (en) Face recognition training method, device, computer equipment and storage medium
CN113821668A (en) Data classification identification method, device, equipment and readable storage medium
CN113628059A (en) Associated user identification method and device based on multilayer graph attention network
CN114282059A (en) Video retrieval method, device, equipment and storage medium
CN114241459B (en) Driver identity verification method and device, computer equipment and storage medium
CN112995414B (en) Behavior quality inspection method, device, equipment and storage medium based on voice call
CN117454495A (en) CAD vector model generation method and device based on building sketch outline sequence
WO2023213157A1 (en) Data processing method and apparatus, program product, computer device and medium
WO2023231753A1 (en) Neural network training method, data processing method, and device
CN111709473A (en) Object feature clustering method and device
CN116821113A (en) Time sequence data missing value processing method and device, computer equipment and storage medium
CN116431827A (en) Information processing method, information processing device, storage medium and computer equipment
CN116975347A (en) Image generation model training method and related device
CN112966150A (en) Video content extraction method and device, computer equipment and storage medium
CN113239215A (en) Multimedia resource classification method and device, electronic equipment and storage medium
CN113139490B (en) Image feature matching method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21893273

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893273

Country of ref document: EP

Kind code of ref document: A1