CN116797510A - Image processing methods, devices, computer equipment and storage media - Google Patents

Image processing methods, devices, computer equipment and storage media Download PDF

Info

Publication number
CN116797510A
CN116797510A CN202210240302.0A CN202210240302A CN116797510A CN 116797510 A CN116797510 A CN 116797510A CN 202210240302 A CN202210240302 A CN 202210240302A CN 116797510 A CN116797510 A CN 116797510A
Authority
CN
China
Prior art keywords
image
evaluated
pixel
similarity
chromaticity
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210240302.0A
Other languages
Chinese (zh)
Inventor
方国浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weiguang Co ltd
Original Assignee
Zeku Technology Shanghai Corp Ltd
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 Zeku Technology Shanghai Corp Ltd filed Critical Zeku Technology Shanghai Corp Ltd
Priority to CN202210240302.0A priority Critical patent/CN116797510A/en
Publication of CN116797510A publication Critical patent/CN116797510A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

The present application relates to an image processing method, an image processing apparatus, a computer device, a storage medium, and a computer program product. The method comprises the following steps: acquiring an image to be evaluated and a reference image corresponding to the image to be evaluated; respectively extracting pixel gradient information and pixel chromaticity information of an image to be evaluated and a reference image; determining and obtaining gradient similarity of corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel gradient information, and determining chromaticity similarity of the corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel chromaticity information; determining contrast evaluation information of the image to be evaluated based on the gradient similarity and the chromaticity similarity; acquiring structure evaluation information of an image to be evaluated; the structure evaluation information is used for representing the similarity degree of the structure; and determining a quality evaluation result corresponding to the image to be evaluated based on the contrast evaluation information and the structure evaluation information. By adopting the method, the accuracy of the image quality evaluation result can be improved.

Description

图像处理方法、装置、计算机设备和存储介质Image processing methods, devices, computer equipment and storage media

技术领域Technical field

本申请涉及计算机技术领域,特别是涉及一种图像处理方法、装置、计算机设备、计算机可读存储介质和计算机程序产品。The present application relates to the field of computer technology, and in particular to an image processing method, device, computer equipment, computer-readable storage medium and computer program product.

背景技术Background technique

随着计算机技术的发展,通过计算机设备可以对图像进行质量评估。图像质量评估在许多领域有着广泛的应用,因此对评估结果的高效性、可靠性的需求日益增加。图像质量评估,可以使用数学模型给出图像质量的量化值,传统技术中,通过对待评估图像和失真图像直接做差取平方求和,计算复杂度低,容易实现。With the development of computer technology, image quality assessment can be performed through computer equipment. Image quality assessment is widely used in many fields, so there is an increasing demand for efficient and reliable assessment results. For image quality assessment, mathematical models can be used to give a quantitative value of image quality. In traditional technology, the difference between the image to be evaluated and the distorted image is directly squared and summed, which has low computational complexity and is easy to implement.

然而,传统的图像质量评估方法,存在评估结果准确性低的问题。However, traditional image quality assessment methods have the problem of low accuracy of assessment results.

发明内容Contents of the invention

本申请实施例提供了一种图像处理方法、装置、计算机设备、计算机可读存储介质和计算机程序产品,可以提高图像质量评估结果的准确性。Embodiments of the present application provide an image processing method, device, computer equipment, computer-readable storage medium, and computer program product, which can improve the accuracy of image quality assessment results.

一方面,本申请提供了一种图像处理方法。所述方法包括:获取待评估图像和所述待评估图像对应的参考图像;分别提取所述待评估图像和所述参考图像的像素梯度信息以及像素色度信息;基于提取到的像素梯度信息确定得到所述待评估图像和所述参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定所述待评估图像和所述参考图像之间的对应像素点的色度相似度;基于所述梯度相似度和色度相似度,确定所述待评估图像的对比度评估信息;获取所述待评估图像的结构评估信息;所述结构评估信息用于表征所述待评估图像和所述参考图像之间的结构相似程度;基于所述对比度评估信息和所述结构评估信息,确定所述待评估图像对应的质量评估结果。On the one hand, this application provides an image processing method. The method includes: obtaining an image to be evaluated and a reference image corresponding to the image to be evaluated; respectively extracting pixel gradient information and pixel chromaticity information of the image to be evaluated and the reference image; and determining based on the extracted pixel gradient information. Obtain the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image, and determine the chromaticity of the corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel chromaticity information Similarity; based on the gradient similarity and chromaticity similarity, determine the contrast evaluation information of the image to be evaluated; obtain the structure evaluation information of the image to be evaluated; the structure evaluation information is used to characterize the image to be evaluated The degree of structural similarity between the image and the reference image; based on the contrast evaluation information and the structure evaluation information, determine the quality evaluation result corresponding to the image to be evaluated.

另一方面,本申请还提供了一种图像处理装置。所述装置包括:图像获取模块,用于获取待评估图像和所述待评估图像对应的参考图像;信息提取模块,用于分别提取所述待评估图像和所述参考图像的像素梯度信息以及像素色度信息;相似度计算模块,用于基于提取到的像素梯度信息确定得到所述待评估图像和所述参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定所述待评估图像和所述参考图像之间的对应像素点的色度相似度;对比度评估模块,用于基于所述梯度相似度和色度相似度,确定所述待评估图像的对比度评估信息;结构评估模块,用于获取所述待评估图像的结构评估信息;所述结构评估信息用于表征所述待评估图像和所述参考图像之间的结构相似程度;评估结果获得模块,用于基于所述对比度评估信息和所述结构评估信息,确定所述待评估图像对应的质量评估结果。On the other hand, this application also provides an image processing device. The device includes: an image acquisition module, used to acquire an image to be evaluated and a reference image corresponding to the image to be evaluated; an information extraction module, used to extract pixel gradient information and pixels of the image to be evaluated and the reference image, respectively. Chromaticity information; a similarity calculation module, configured to determine the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel gradient information, and determine based on the extracted pixel chromaticity information. The chromaticity similarity of the corresponding pixel points between the image to be evaluated and the reference image; a contrast evaluation module, used to determine the contrast evaluation information of the image to be evaluated based on the gradient similarity and chromaticity similarity. ; A structural evaluation module, used to obtain the structural evaluation information of the image to be evaluated; the structural evaluation information is used to characterize the structural similarity between the image to be evaluated and the reference image; an evaluation result acquisition module, used to Based on the contrast evaluation information and the structure evaluation information, a quality evaluation result corresponding to the image to be evaluated is determined.

另一方面,本申请还提供了一种计算机设备。所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述图像处理方法的步骤。On the other hand, this application also provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the above image processing method are implemented.

另一方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述图像处理方法的步骤。On the other hand, this application also provides a computer-readable storage medium. The computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above image processing method are implemented.

另一方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述图像处理方法的步骤。On the other hand, this application also provides a computer program product. The computer program product includes a computer program that implements the steps of the above image processing method when executed by a processor.

上述图像处理方法、装置、计算机设备、计算机可读存储介质和计算机程序产品,通过分别提取所述待评估图像和所述参考图像的像素梯度信息以及像素色度信息,基于提取到的像素梯度信息确定得到所述待评估图像和所述参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定所述待评估图像和所述参考图像之间的对应像素点的色度相似度,基于所述梯度相似度和色度相似度,确定所述待评估图像的对比度评估信息,获取所述待评估图像的结构评估信息,基于所述对比度评估信息和所述结构评估信息,确定所述待评估图像对应的质量评估结果,由于结合了梯度相似度、色度相似度来得到对比度评估信息,并且结合了结构评估信息,得到的评估结果更贴近人眼主观评测结果,提高了图像评估结果的准确性。The above-mentioned image processing method, device, computer equipment, computer-readable storage medium and computer program product, by respectively extracting the pixel gradient information and pixel chromaticity information of the image to be evaluated and the reference image, based on the extracted pixel gradient information Determine and obtain the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image, and determine the color of the corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel chromaticity information. Degree similarity, based on the gradient similarity and chromaticity similarity, determine the contrast evaluation information of the image to be evaluated, obtain the structure evaluation information of the image to be evaluated, based on the contrast evaluation information and the structure evaluation information , determine the quality evaluation results corresponding to the image to be evaluated. Since the gradient similarity and chromaticity similarity are combined to obtain the contrast evaluation information, and combined with the structure evaluation information, the evaluation results obtained are closer to the subjective evaluation results of the human eye, improving improve the accuracy of image evaluation results.

附图说明Description of the drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present application or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.

图1为一个实施例中图像处理方法的应用环境图;Figure 1 is an application environment diagram of the image processing method in one embodiment;

图2为一个实施例中图像处理方法的流程图;Figure 2 is a flow chart of an image processing method in one embodiment;

图3为一个实施例中获取所述待评估图像的结构评估信息的步骤流程图;Figure 3 is a flow chart of steps for obtaining the structure evaluation information of the image to be evaluated in one embodiment;

图4为一个实施例中图像位置对应关系示意图;Figure 4 is a schematic diagram of image position correspondence in one embodiment;

图5为一个实施例中图像处理方法的总体流程图;Figure 5 is an overall flow chart of an image processing method in one embodiment;

图6为一个实施例中图像处理装置的结构框图;Figure 6 is a structural block diagram of an image processing device in one embodiment;

图7为一个实施例中计算机设备的结构框图。Figure 7 is a structural block diagram of a computer device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.

本申请实施例提供的图像处理方法,可以应用于如图1所示的应用环境中。其中,终端102通过网络与服务器104进行通信。其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑、物联网设备和便携式可穿戴设备,物联网设备可为智能音箱、智能电视、智能空调、智能车载设备等。便携式可穿戴设备可为智能手表、智能手环、头戴设备等。服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The image processing method provided by the embodiment of the present application can be applied in the application environment as shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. . Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented as an independent server or a server cluster composed of multiple servers.

具体地,终端可以采集图像发送至服务器,请求服务器对采集的图像进行质量评估,服务器将终端发送的图像作为待评估图像,获取待评估图像对应的参考图像,分别提取待评估图像和参考图像的像素梯度信息以及像素色度信息,基于提取到的像素梯度信息确定得到待评估图像和参考图像之间的对应像素点的梯度相似度,并基于提取到的像素色度信息确定待评估图像和参考图像之间的对应像素点的色度相似度,基于梯度相似度和色度相似度,确定待评估图像的对比度评估信息,获取待评估图像的结构评估信息,结构评估信息用于表征待评估图像和参考图像之间的结构相似程度基于对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果,向终端返回得到的质量评估结果。Specifically, the terminal can collect images and send them to the server, and request the server to perform quality assessment on the collected images. The server uses the images sent by the terminal as the images to be evaluated, obtains the reference images corresponding to the images to be evaluated, and extracts the values of the images to be evaluated and the reference images respectively. Pixel gradient information and pixel chromaticity information, based on the extracted pixel gradient information, determine the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image, and determine the image to be evaluated and the reference image based on the extracted pixel chromaticity information The chromaticity similarity of the corresponding pixels between the images, based on the gradient similarity and chromaticity similarity, determines the contrast evaluation information of the image to be evaluated, and obtains the structural evaluation information of the image to be evaluated. The structural evaluation information is used to characterize the image to be evaluated. The degree of structural similarity between the image and the reference image is based on the contrast evaluation information and the structure evaluation information, the quality evaluation result corresponding to the image to be evaluated is determined, and the obtained quality evaluation result is returned to the terminal.

在一个实施例中,如图2所示,提供了一种图像处理方法,该方法可以由终端和服务器协同执行,也可以由终端或者服务器单独执行。本实施例中以该方法应用于图1中的服务器为例进行举例说明,包括以下步骤:In one embodiment, as shown in Figure 2, an image processing method is provided, which can be executed by a terminal and a server in cooperation, or can be executed by the terminal or the server alone. In this embodiment, the method is applied to the server in Figure 1 as an example to illustrate, including the following steps:

步骤202,获取待评估图像和待评估图像对应的参考图像。Step 202: Obtain the image to be evaluated and the reference image corresponding to the image to be evaluated.

其中,待评估图像指的需要进行质量评估的图像。在一个实施例中,待评估图像可以是终端拍摄的夜景图像。待评估图像对应的参考图像指的是对待评估图像进行质量评估时作为评估参考的标准图像。可以理解的是,待评估图像和参考图像之间的相似度越高,则待评估图像的质量越好。Among them, the image to be evaluated refers to the image that needs to be evaluated for quality. In one embodiment, the image to be evaluated may be a night scene image captured by a terminal. The reference image corresponding to the image to be evaluated refers to the standard image used as an evaluation reference when evaluating the quality of the image to be evaluated. It can be understood that the higher the similarity between the image to be evaluated and the reference image, the better the quality of the image to be evaluated.

在一个实施例中,终端可以采集夜景图像,将夜景图像发送至服务器,请求服务器对夜景图像进行质量评估,服务器接收到夜景图像后,将夜景图像作为待评估图像,将对夜景图像进行长曝光得到的图像作为参考图像对终端拍摄的夜景图像的质量进行评估。In one embodiment, the terminal can collect night scene images, send the night scene images to the server, and request the server to evaluate the quality of the night scene images. After the server receives the night scene images, it will use the night scene images as images to be evaluated and perform long exposure on the night scene images. The obtained image is used as a reference image to evaluate the quality of the night scene image captured by the terminal.

在一个实施例中,待评估图像也可以是参考图像进行失真处理后得到的失真图像。这里的失真处理可以是高斯模糊处理、添加白噪声、压缩处理等等。进而服务器可以对失真处理得到的图像进行质量评估。In one embodiment, the image to be evaluated may also be a distorted image obtained by subjecting the reference image to distortion processing. The distortion processing here can be Gaussian blur processing, adding white noise, compression processing, etc. Then the server can evaluate the quality of the image obtained by distortion processing.

步骤204,分别提取待评估图像和参考图像的像素梯度信息以及像素色度信息。Step 204: Extract pixel gradient information and pixel chromaticity information of the image to be evaluated and the reference image respectively.

其中,待评估图像的像素梯度信息指的是待评估图像中各个像素的梯度信息,待评估图像的像素色度信息指的是待评估图像中各个像素的色度信息。参考图像的像素梯度信息指的是参考图像中各个像素的梯度信息,参考图像的像素色度信息指的是参考图像中各个像素的色度信息。像素的梯度信息例如可以是像素的垂直梯度和水平梯度中的至少一种。The pixel gradient information of the image to be evaluated refers to the gradient information of each pixel in the image to be evaluated, and the pixel chromaticity information of the image to be evaluated refers to the chromaticity information of each pixel in the image to be evaluated. The pixel gradient information of the reference image refers to the gradient information of each pixel in the reference image, and the pixel chromaticity information of the reference image refers to the chromaticity information of each pixel in the reference image. The gradient information of the pixel may be, for example, at least one of a vertical gradient and a horizontal gradient of the pixel.

具体地,服务器可以对待评估图像中的各个像素提取梯度信息,得到待评估图像的像素梯度信息,对待评估图像中的各个像素提取色度信息,得到待评估图像的像素色度信息。服务器可以对参考图像中的各个像素提取梯度信息,得到参考图像的像素梯度信息,对参考图像中的各个像素提取色度信息,得到参考图像的像素色度信息。Specifically, the server can extract gradient information from each pixel in the image to be evaluated to obtain pixel gradient information of the image to be evaluated, and extract chromaticity information from each pixel in the image to be evaluated to obtain pixel chromaticity information of the image to be evaluated. The server can extract gradient information from each pixel in the reference image to obtain pixel gradient information of the reference image, and extract chromaticity information from each pixel in the reference image to obtain pixel chromaticity information of the reference image.

在一个实施例中,待评估图像和参考图像均为RGB图像,服务器可以基于待评估图像在各个颜色通道的像素值进行色度转换,得到待评估图像的像素色度信息,基于参考图像在各个颜色通道的像素值进行色度转换,得到参考图像的像素色度信息。In one embodiment, the image to be evaluated and the reference image are both RGB images. The server can perform chromaticity conversion based on the pixel values of the image to be evaluated in each color channel to obtain the pixel chromaticity information of the image to be evaluated. Based on the reference image in each color channel The pixel values of the color channels undergo chromaticity conversion to obtain the pixel chromaticity information of the reference image.

步骤206,基于提取到的像素梯度信息确定得到待评估图像和参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定待评估图像和参考图像之间的对应像素点的色度相似度。Step 206: Determine the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel gradient information, and determine the corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel chromaticity information. chroma similarity.

其中,待评估图像和参考图像之间的对应像素点指的是待评估图像和参考图像之间像素位置相同的像素点。例如,待评估图像中第一行第二列的像素点,在参考图像中与之对应的像素点指的是参考图像中第一行第二列的像素点。梯度相似度用于表征两个像素点之间的梯度信息的相似程度。色度相似度用于表征两个像素点之间的色度信息的相似程度。The corresponding pixel points between the image to be evaluated and the reference image refer to the pixel points with the same pixel position between the image to be evaluated and the reference image. For example, the pixels in the first row and second column of the image to be evaluated, and the corresponding pixels in the reference image refer to the pixels in the first row and second column of the reference image. Gradient similarity is used to characterize the similarity of gradient information between two pixels. Chroma similarity is used to characterize the similarity of chroma information between two pixels.

具体地,参考图像与待评估图像包含相同的像素位置,对于每一个像素位置,服务器可以计算待评估图像和参考图像在该像素位置处的两个像素点之间的梯度相似度,并计算待评估图像和参考图像在该像素位置处的两个像素点之间的色度相似度。Specifically, the reference image and the image to be evaluated contain the same pixel position. For each pixel position, the server can calculate the gradient similarity between the two pixels of the image to be evaluated and the reference image at the pixel position, and calculate the pixel position to be evaluated. Evaluates the chromaticity similarity between two pixels at that pixel location in the image and the reference image.

步骤208,基于梯度相似度和色度相似度,确定待评估图像的对比度评估信息。Step 208: Determine the contrast evaluation information of the image to be evaluated based on the gradient similarity and chromaticity similarity.

其中,待评估图像的对比度评估信息用于表征待评估图像和参考图像之间的对比度相似度。对比度评估信息与梯度相似度呈正相关,并且和色度相似度呈正相关。Among them, the contrast evaluation information of the image to be evaluated is used to characterize the contrast similarity between the image to be evaluated and the reference image. Contrast evaluation information is positively correlated with gradient similarity and is positively correlated with chromaticity similarity.

具体地,对于每一个像素位置,服务器可以基于该像素位置对应的梯度相似度和色度相似度得到该像素位置对应的对比度相似度,基于所有像素位置的对比度相似度计算相似度平均值,得到待评估图像的对比度评估信息。Specifically, for each pixel position, the server can obtain the contrast similarity corresponding to the pixel position based on the gradient similarity and chromaticity similarity corresponding to the pixel position, and calculate the similarity average based on the contrast similarities of all pixel positions to obtain Contrast evaluation information for the image to be evaluated.

在一个实施例中,考虑到图像中各个区域所包含的图像内容对于图像的重要程度并不相同,可以对待评估图像进行划分,得到多个图像块,对各个图像块设置不同的权重,从而在计算待评估图像的对比度评估信息时,服务器可以将各个像素位置的对比度相似度与该像素位置所属图像块的权重进行相乘,以对各个像素位置的对比度相似度进行更新,最后将更新后的对比度相似度相加并除以像素位置数量,得到待评估图像的对比度评估信息。In one embodiment, considering that the image content contained in each area in the image is not equally important to the image, the image to be evaluated can be divided to obtain multiple image blocks, and different weights are set for each image block, so as to When calculating the contrast evaluation information of the image to be evaluated, the server can multiply the contrast similarity of each pixel position by the weight of the image block to which the pixel position belongs to update the contrast similarity of each pixel position, and finally update the contrast similarity of each pixel position. The contrast similarities are added and divided by the number of pixel positions to obtain the contrast evaluation information of the image to be evaluated.

步骤210,获取待评估图像的结构评估信息;结构评估信息用于表征待评估图像和参考图像之间的结构相似程度。Step 210: Obtain the structural evaluation information of the image to be evaluated; the structural evaluation information is used to characterize the structural similarity between the image to be evaluated and the reference image.

自然图像具有极高的结构性,表现在图像的像素间存在着很强的相关性,这些相关性在视觉场景中携带着关于物体结构的重要信息。假设人类视觉系统(HSV)主要从可视区域内获取结构信息,那么通过探测结构信息是否改变可以感知图像失真的近似信息,衡量两幅图像的相似度。基于此,本申请实施例中,可以进一步获取结构评估信息,结构评估信息用于表征待评估图像和参考图像之间的结构相似程度。Natural images have extremely high structure, which is reflected in the strong correlation between pixels in the image. These correlations carry important information about the structure of objects in the visual scene. Assuming that the human visual system (HSV) mainly obtains structural information from the visible area, then by detecting whether the structural information changes, the approximate information of image distortion can be perceived and the similarity of two images can be measured. Based on this, in the embodiment of the present application, the structure evaluation information can be further obtained. The structure evaluation information is used to characterize the structural similarity between the image to be evaluated and the reference image.

具体地,在一个实施例中,服务器可以分别计算待评估图像和参考图像的像素值离散度,并计算待评估图像和参考图像之间的像素值变化趋势相关度,进而可以基于待评估图像的像素值离散度、参考图像的像素值离散度以及待评估图像和参考图像之间的像素值变化趋势相关度确定待评估图像的结构评估信息。其中,结构评估信息与像素值变化趋势相关度呈正相关,与像素值离散度呈负相关。Specifically, in one embodiment, the server can separately calculate the pixel value dispersion of the image to be evaluated and the reference image, and calculate the pixel value change trend correlation between the image to be evaluated and the reference image, and can further calculate the dispersion of the pixel values based on the image to be evaluated and the reference image. The pixel value dispersion, the pixel value dispersion of the reference image, and the pixel value change trend correlation between the image to be evaluated and the reference image determine the structural evaluation information of the image to be evaluated. Among them, the structure evaluation information is positively correlated with the pixel value change trend correlation and negatively correlated with the pixel value dispersion.

步骤212,基于对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果。Step 212: Determine the quality evaluation result corresponding to the image to be evaluated based on the contrast evaluation information and the structure evaluation information.

其中,质量评估结果用于评估图像的质量损失程度。质量评估结果可以是具体数值,或者质量评估等级,质量评估等级例如可以是:差,一般,良好,非常好。Among them, the quality assessment results are used to evaluate the degree of quality loss of the image. The quality evaluation result may be a specific numerical value, or a quality evaluation grade. For example, the quality evaluation grade may be: poor, average, good, or very good.

具体地,服务器可以将对比度评估信息和结构评估信息相乘,以得到待评估图像对应的质量评估结果。Specifically, the server may multiply the contrast evaluation information and the structure evaluation information to obtain a quality evaluation result corresponding to the image to be evaluated.

在一个实施例中,服务器还可以获取待评估图像的亮度评估信息,亮度评估信息用于表征待评估图像与参考图像之间的亮度相似度,进而服务器可以基于亮度评估信息、对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果。In one embodiment, the server can also obtain the brightness evaluation information of the image to be evaluated. The brightness evaluation information is used to characterize the brightness similarity between the image to be evaluated and the reference image. The server can then obtain the brightness evaluation information, contrast evaluation information and structure based on the brightness evaluation information. Evaluation information to determine the quality evaluation results corresponding to the image to be evaluated.

进一步地,服务器可以将质量评估结果返回至终端。Further, the server can return the quality assessment result to the terminal.

上述图像处理方法中,通过分别提取待评估图像和参考图像的像素梯度信息以及像素色度信息,基于提取到的像素梯度信息确定得到待评估图像和参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定待评估图像和参考图像之间的对应像素点的色度相似度,基于梯度相似度和色度相似度,确定待评估图像的对比度评估信息,获取待评估图像的结构评估信息,基于对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果,由于结合了梯度相似度、色度相似度来得到对比度评估信息,并且结合了结构评估信息,得到的评估结果更贴近人眼主观评测结果,提高了图像评估结果的准确性。In the above image processing method, by respectively extracting the pixel gradient information and pixel chromaticity information of the image to be evaluated and the reference image, the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image is determined based on the extracted pixel gradient information. , based on the extracted pixel chromaticity information, determine the chromaticity similarity of the corresponding pixel points between the image to be evaluated and the reference image, based on the gradient similarity and chromaticity similarity, determine the contrast evaluation information of the image to be evaluated, and obtain the image to be evaluated The structural evaluation information of the image is based on the contrast evaluation information and the structural evaluation information to determine the quality evaluation result corresponding to the image to be evaluated. The contrast evaluation information is obtained by combining gradient similarity and chromaticity similarity, and combined with the structural evaluation information, we get The evaluation results are closer to the subjective evaluation results of the human eye, improving the accuracy of the image evaluation results.

在一个实施例中,基于提取到的像素梯度信息确定待评估图像和参考图像之间的对应像素点的梯度相似度,包括:对于待评估图像的每个待评估像素点,计算待评估像素点的水平梯度和垂直梯度,基于水平梯度和垂直梯度确定待评估像素点的第一目标梯度;对于参考图像的每个参考像素点,计算参考像素点的水平梯度和垂直梯度,基于水平梯度和垂直梯度确定参考像素点的第二目标梯度;基于待评估图像和参考图像之间的对应像素点的第一目标梯度和第二目标梯度,确定待评估图像和参考图像之间的对应像素点的梯度相似度。In one embodiment, determining the gradient similarity of the corresponding pixel point between the image to be evaluated and the reference image based on the extracted pixel gradient information includes: for each pixel point to be evaluated in the image to be evaluated, calculating the pixel point to be evaluated The horizontal gradient and vertical gradient of The gradient determines the second target gradient of the reference pixel point; based on the first target gradient and the second target gradient of the corresponding pixel point between the image to be evaluated and the reference image, determine the gradient of the corresponding pixel point between the image to be evaluated and the reference image. Similarity.

具体地,对于待评估图像的每个待评估像素点,服务器可以通过以下公式(1)计算待评估像素点的水平梯度:Specifically, for each pixel to be evaluated in the image to be evaluated, the server can calculate the horizontal gradient of the pixel to be evaluated through the following formula (1):

其中,f(x)为像素值,Cgh(x)为计算得到的水平梯度。Among them, f(x) is the pixel value, and Cg h (x) is the calculated horizontal gradient.

对于待评估图像的每个待评估像素点,服务器可以通过以下公式(2)计算待评估像素点的垂直梯度:For each pixel to be evaluated in the image to be evaluated, the server can calculate the vertical gradient of the pixel to be evaluated through the following formula (2):

其中,f(x)为像素值,Cgv(x)为计算得到的垂直梯度。Among them, f(x) is the pixel value, and Cg v (x) is the calculated vertical gradient.

在计算得到待评估像素点的水平梯度和垂直梯度后,服务器可以通过以下公式(3)确定待评估像素点的第一目标梯度:After calculating the horizontal gradient and vertical gradient of the pixel to be evaluated, the server can determine the first target gradient of the pixel to be evaluated through the following formula (3):

其中,Cg(x)为第一目标梯度。Among them, Cg(x) is the first target gradient.

对于参考图像的每个参考像素点,服务器可以采用与待评估像素点相同的计算方式,计算参考像素点的水平梯度和垂直梯度,以及基于水平梯度和垂直梯度确定参考像素点的第二目标梯度。For each reference pixel of the reference image, the server can use the same calculation method as the pixel to be evaluated, calculate the horizontal gradient and vertical gradient of the reference pixel, and determine the second target gradient of the reference pixel based on the horizontal gradient and vertical gradient. .

在计算得到每个待评估像素点的第一目标梯度以及每个参考像素点的第二目标梯度后,服务器基于待评估图像和参考图像之间的对应像素点的第一目标梯度和第二目标梯度,并通过以下公式(4)计算待评估图像和参考图像之间的对应像素点的梯度相似度:After calculating the first target gradient of each pixel to be evaluated and the second target gradient of each reference pixel, the server calculates the first target gradient and the second target gradient of the corresponding pixel between the image to be evaluated and the reference image. Gradient, and calculate the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image through the following formula (4):

其中,Cg1(x)为对应像素点的第一目标梯度,Cg2(x)为对应像素点的第二目标梯度,M1是常量,Scg(x)为对应像素点的梯度相似度。Among them, Cg 1 (x) is the first target gradient of the corresponding pixel point, Cg 2 (x) is the second target gradient of the corresponding pixel point, M 1 is a constant, S cg (x) is the gradient similarity of the corresponding pixel point .

上述实施例中,通过对待评估像素点和参考像素点按照相同的方式计算水平梯度和垂直梯度,并根据平梯度和垂直梯度计算目标梯度,最终基于目标梯度计算得到待评估图像和参考图像之间的对应像素点的梯度相似度,得到的梯度相似度可以准确地反映待评估图像和参考图像之间的对应像素点的梯度信息相似程度。In the above embodiment, the horizontal gradient and the vertical gradient are calculated in the same way for the pixel points to be evaluated and the reference pixel points, and the target gradient is calculated based on the flat gradient and the vertical gradient. Finally, the relationship between the image to be evaluated and the reference image is calculated based on the target gradient. The gradient similarity of the corresponding pixels can accurately reflect the similarity of the gradient information of the corresponding pixels between the image to be evaluated and the reference image.

在一个实施例中,基于提取到的像素色度信息确定待评估图像和参考图像之间的对应像素点的色度相似度,包括:对于待评估图像的每个待评估像素点,获取待评估像素点分别在红色通道、绿色通道以及蓝色通道的像素值,基于获得的像素值计算待评估像素点在第一色度通道的第一待评估色度值以及在第二色度通道的第二待评估色度值;对于参考图像的每个参考像素点,获取参考像素点分别在红色通道、绿色通道以及蓝色通道的像素值,基于获得的像素值计算参考像素点在第一色度通道的第一参考色度值以及在第二色度通道的第二参考色度值;基于待评估图像和参考图像之间的对应像素点的第一待评估色度值和第一参考色度值,确定待评估图像和参考图像之间的对应像素点的第一色度相似度分量;基于待评估图像和参考图像之间的对应像素点的第二待评估色度值和第二参考色度值,确定待评估图像和参考图像之间的对应像素点的第二色度相似度分量;基于第一色度相似度分量和第二色度相似度分量,确定待评估图像和参考图像之间的对应像素点的色度相似度。In one embodiment, determining the chromaticity similarity of the corresponding pixel point between the image to be evaluated and the reference image based on the extracted pixel chromaticity information includes: for each pixel point to be evaluated in the image to be evaluated, obtain The pixel values of the pixels in the red channel, green channel and blue channel are calculated based on the obtained pixel values. The first chromaticity value to be evaluated in the first chromaticity channel and the second chromaticity value in the second chromaticity channel are calculated. Second, the chromaticity value to be evaluated; for each reference pixel point of the reference image, obtain the pixel values of the reference pixel point in the red channel, green channel, and blue channel respectively, and calculate the first chromaticity value of the reference pixel point based on the obtained pixel values. The first reference chromaticity value of the channel and the second reference chromaticity value of the second chromaticity channel; the first chromaticity value to be evaluated and the first reference chromaticity value based on the corresponding pixel points between the image to be evaluated and the reference image value, determine the first chromaticity similarity component of the corresponding pixel point between the image to be evaluated and the reference image; based on the second chromaticity value to be evaluated and the second reference color of the corresponding pixel point between the image to be evaluated and the reference image The second chromaticity similarity component of the corresponding pixel point between the image to be evaluated and the reference image is determined based on the first chromaticity similarity component and the second chromaticity similarity component. The relationship between the image to be evaluated and the reference image is determined. The chromaticity similarity between corresponding pixels.

具体地,本实施例中,待评估图像和参考图像均为RGB图像,考虑到色度通道包含了色度信息,可以作为特征度量颜色失真,那么对于待评估图像的每个待评估像素点,获取待评估像素点分别在红色通道、绿色通道以及蓝色通道的像素值,并通过以下公式(5)计算待评估像素点在第一色度通道的第一待评估色度值以及在第二色度通道的第二待评估色度值:Specifically, in this embodiment, the image to be evaluated and the reference image are both RGB images. Considering that the chromaticity channel contains chromaticity information and can be used as a feature to measure color distortion, then for each pixel to be evaluated in the image to be evaluated, Obtain the pixel values of the pixel to be evaluated in the red channel, green channel and blue channel respectively, and calculate the first chromaticity value to be evaluated in the first chromaticity channel and the second chromaticity value in the second chromaticity channel of the pixel to be evaluated through the following formula (5) The second chromaticity value to be evaluated for the chroma channel:

其中,R代表红色通道的像素值,G代表绿色通道的像素值,B代表蓝色通道的像素值,P代表第一色度通道的第一待评估色度值,Q代表第二色度通道的第二待评估色度值。Among them, R represents the pixel value of the red channel, G represents the pixel value of the green channel, B represents the pixel value of the blue channel, P represents the first chromaticity value to be evaluated of the first chroma channel, and Q represents the second chroma channel. The second chromaticity value to be evaluated.

同样的,对于参考图像的每个参考像素点,服务器在获取参考像素点分别在红色通道、绿色通道以及蓝色通道的像素值后,可以通过以上公式(5)基于获得的像素值计算参考像素点在第一色度通道的第一参考色度值以及在第二色度通道的第二参考色度值。Similarly, for each reference pixel of the reference image, after the server obtains the pixel values of the reference pixel in the red channel, green channel, and blue channel, it can calculate the reference pixel based on the obtained pixel values through the above formula (5) Point a first reference chroma value in a first chroma channel and a second reference chroma value in a second chroma channel.

在分别计算得到每一个评估像素点在第一色度通道的第一待评估色度值以及在第二色度通道的第二待评估色度值,以及每一个参考像素点在第一色度通道的第一参考色度值以及在第二色度通道的第二参考色度值,基于得到的这些色度值,服务器可以计算待评估图像和参考图像之间的对应像素点的第一色度相似度分量,并计算待评估图像和参考图像之间的对应像素点的第二色度相似度分量,基于第一色度相似度分量和第二色度相似度分量,确定待评估图像和参考图像之间的对应像素点的色度相似度,具体参考以下公式(6):The first chromaticity value to be evaluated in the first chromaticity channel and the second chromaticity value to be evaluated in the second chromaticity channel of each evaluation pixel point are respectively calculated, and each reference pixel point is in the first chromaticity channel. The first reference chromaticity value of the channel and the second reference chromaticity value of the second chromaticity channel. Based on these obtained chromaticity values, the server can calculate the first color of the corresponding pixel point between the image to be evaluated and the reference image. similarity component, and calculate the second chroma similarity component of the corresponding pixel point between the image to be evaluated and the reference image, and determine the image to be evaluated and based on the first chroma similarity component and the second chroma similarity component. Refer to the chromaticity similarity of corresponding pixels between reference images, specifically refer to the following formula (6):

上述公式中,Scc(x)为色度相似度,M2为常量,“*”的前一项为计算第一色度相似度分量,其中P1(x)、P2(x)分别为待评估图像和参考图像之间的对应像素点在第一色度通道的第一参考色度值;“*”的后一项为计算第二色度相似度分量,其中Q1(x)、Q2(x)分别为待评估图像和参考图像之间的对应像素点在第二色度通道的第二参考色度值。In the above formula, S cc (x) is the chromaticity similarity, M 2 is a constant, and the first term of "*" is to calculate the first chromaticity similarity component, where P 1 (x) and P 2 (x) are respectively is the first reference chromaticity value in the first chromaticity channel of the corresponding pixel point between the image to be evaluated and the reference image; the last term of "*" is to calculate the second chromaticity similarity component, where Q 1 (x) , Q 2 (x) are respectively the second reference chromaticity value in the second chromaticity channel of the corresponding pixel point between the image to be evaluated and the reference image.

上述实施例中,通过参考图像和待评估图像各自的像素点在两个不同色度通道的色度相似度,来计算评估图像和参考图像之间的对应像素点的色度相似度,计算结果更加准确。In the above embodiment, the chromaticity similarity of the corresponding pixels between the evaluation image and the reference image is calculated based on the chromaticity similarity of the respective pixels in the reference image and the image to be evaluated in two different chromaticity channels. The calculation result more precise.

在一个实施例中,基于梯度相似度和色度相似度,确定待评估图像的对比度评估信息,包括:将待评估图像和待评估图像之间的对应像素点组成像素点对;对于每一个像素点对,基于像素点对的梯度相似度和色度相似度确定对比度分量;对比度分量和像素点对的梯度相似度呈正相关,并且和像素点对的色度相似度呈正相关;基于各个像素点对的对比度分量进行均值计算,得到待评估图像的对比度评估信息。In one embodiment, determining the contrast evaluation information of the image to be evaluated based on the gradient similarity and the chromaticity similarity includes: forming a pixel point pair from the corresponding pixel points between the image to be evaluated and the image to be evaluated; for each pixel For point pairs, the contrast component is determined based on the gradient similarity and chromaticity similarity of the pixel point pair; the contrast component is positively correlated with the gradient similarity of the pixel point pair, and is positively correlated with the chromaticity similarity of the pixel point pair; based on each pixel point Calculate the mean value of the contrast components to obtain the contrast evaluation information of the image to be evaluated.

具体地,对于每一个像素点对,服务器基于像素点对的梯度相似度和色度相似度确定对比度分量,最后将所有对比度分量加和并且计算平均值,得到待评估图像的对比度评估信息。Specifically, for each pixel pair, the server determines the contrast component based on the gradient similarity and chromaticity similarity of the pixel pair, and finally adds up all the contrast components and calculates the average value to obtain the contrast evaluation information of the image to be evaluated.

在一个具体的实施例中,服务器可以参考以下公式(7)计算得到待评估图像的对比度评估信息:In a specific embodiment, the server can refer to the following formula (7) to calculate the contrast evaluation information of the image to be evaluated:

其中,C为对比度评估信息,N为待评估图像的像素点总数量,α和β为可变参数,默认为1。Among them, C is the contrast evaluation information, N is the total number of pixels in the image to be evaluated, α and β are variable parameters, and the default is 1.

上述实施例中,通过计算所有对应像素点的色度相似度的均值作为待评估图像的色度评估信息,可以很好的对待评估图像的色度信息进行质量评估。In the above embodiment, by calculating the mean value of the chromaticity similarity of all corresponding pixel points as the chromaticity evaluation information of the image to be evaluated, the quality of the chromaticity information of the image to be evaluated can be well evaluated.

在一个实施例中,如图3所示,获取待评估图像的结构评估信息,包括:In one embodiment, as shown in Figure 3, obtaining the structural evaluation information of the image to be evaluated includes:

步骤302,分别对待评估图像和参考图像进行划分,得到参考图像对应的多个参考图像块以及待评估图像对应的多个待评估图像块。Step 302: Divide the image to be evaluated and the reference image respectively to obtain multiple reference image blocks corresponding to the reference image and multiple image blocks to be evaluated corresponding to the image to be evaluated.

步骤304,将待评估图像块以及与待评估图像块存在图像位置对应关系的参考图像块组成图像对,得到图像对集合。Step 304: Combine the image block to be evaluated and the reference image block that has an image position corresponding relationship with the image block to be evaluated to form an image pair to obtain an image pair set.

其中,参考图像块与待评估图像块之间存在图像位置对应关系指的是参考图像块在参考图像中的位置与待评估图像块在变换图像中的位置对应,那么对于参考图像块中每个像素,在与其位置对应的待评估图像块中均存在位置相同的像素。举个例子,假设将参考图像A划分为4个参考图像块A1、A2、A3、A4,变换图像B按照相同的方式划分为尺寸、位置及数量相同的4个待评估图像块B1、B2、B3、B4,则图像位置对应关系如图4所示,其中,虚线箭头表示图像位置对应关系,由图4可以看出,参考图像块A1和待评估图像块B1之间存在位置对应关系,参考图像块A2和待评估图像块B2之间存在位置对应关系,参考图像块A3和待评估图像块B3之间存在位置对应关系,参考图像块A4和待评估图像块B4之间存在位置对应关系,即组成图像对的参考图像块和待评估图像块在图像中所处的位置是一致的。Wherein, the image position correspondence between the reference image block and the image block to be evaluated means that the position of the reference image block in the reference image corresponds to the position of the image block to be evaluated in the transformed image, then for each reference image block Pixels with the same position exist in the image blocks to be evaluated corresponding to their positions. For example, assume that the reference image A is divided into four reference image blocks A1, A2, A3, and A4, and the transformed image B is divided in the same way into four image blocks to be evaluated, B1, B2, B3, B4, the image position correspondence relationship is shown in Figure 4, in which the dotted arrow represents the image position correspondence relationship. It can be seen from Figure 4 that there is a position correspondence relationship between the reference image block A1 and the image block B1 to be evaluated. Reference There is a positional correspondence between the image block A2 and the image block to be evaluated B2, there is a positional correspondence between the reference image block A3 and the image block to be evaluated B3, there is a positional correspondence between the reference image block A4 and the image block to be evaluated B4, That is, the positions of the reference image blocks and the image blocks to be evaluated that make up the image pair are consistent in the image.

具体地,服务器可以对参考图像进行划分,得到多个参考图像块,对变换图像进行划分,得到多个待评估图像块,将参考图像块以及与参考图像块存在图像位置对应关系的待评估图像块组成图像对,得到图像对集合。其中划分指的是将图像中的像素进行区域划分。其中多个指的是至少两个。在一些实施例中,服务器可以采用相同的图像块划分方式对参考图像以及变换图像分别进行划分,从而使得待评估图像块与参考图像块的数量、位置以及尺寸是匹配的。在一些实施例中,服务器可以获取滑动窗口,按照预设滑动方式将滑动窗口在参考图像上进行滑动,将处于滑动窗口内的图像区域作为参考图像块,按照该预设滑动方式将滑动窗口在变换图像上进行滑动,将处于滑动窗口内的图像区域作为待评估图像块,从而可以得到尺寸、数量完全相同,且图像位置一一对应的参考图像块和待评估图像块。Specifically, the server can divide the reference image to obtain multiple reference image blocks, divide the transformed image to obtain multiple image blocks to be evaluated, and combine the reference image blocks and the image to be evaluated that have an image position corresponding relationship with the reference image block. The blocks form image pairs to obtain a set of image pairs. Division refers to dividing the pixels in the image into regions. Where multiple refers to at least two. In some embodiments, the server may use the same image block dividing method to divide the reference image and the transformed image respectively, so that the number, position, and size of the image blocks to be evaluated match the reference image blocks. In some embodiments, the server can obtain the sliding window, slide the sliding window on the reference image according to the preset sliding method, use the image area within the sliding window as the reference image block, and slide the sliding window on the reference image according to the preset sliding method. Sliding is performed on the transformed image, and the image area within the sliding window is used as the image block to be evaluated, so that the reference image block and the image block to be evaluated can be obtained with the same size and number, and one-to-one correspondence between the image positions.

步骤306,对于图像对集合中的图像对,计算图像对中的图像块之间的像素值变化趋势相关度,以及计算图像对中各个图像块对应的像素值离散度。Step 306: For the image pairs in the image pair set, calculate the pixel value change trend correlation between the image blocks in the image pair, and calculate the pixel value dispersion corresponding to each image block in the image pair.

其中,像素值变化趋势相关度指的是两个图像块之间的像素值的变换趋势之间的相关程度。像素值变化趋势相关度具体可以是两个图像块的像素值之间的协方差。像素值离散度指的是图像块中像素值的离散程度。像素值离散度具体可以是图像块的方差。Among them, the pixel value change trend correlation refers to the degree of correlation between the transformation trends of pixel values between two image blocks. Specifically, the pixel value change trend correlation may be the covariance between the pixel values of two image blocks. Pixel value dispersion refers to the degree of dispersion of pixel values in an image block. The pixel value dispersion may specifically be the variance of the image block.

步骤308,基于像素值变化趋势相关度以及图像对中各个图像块对应的像素值离散度得到图像对对应的中间相似度。Step 308: Obtain the intermediate similarity corresponding to the image pair based on the pixel value change trend correlation and the pixel value dispersion corresponding to each image block in the image pair.

其中,图像对对应的相似度与像素值变化趋势相关度成正相关关系,与像素值离散度成负相关关系。Among them, the similarity between the image pairs is positively correlated with the pixel value change trend correlation, and is negatively correlated with the pixel value dispersion.

具体的,对于图像对集合中的图像对,服务器可以计算图像对中的图像块之间的像素值变化趋势相关度,以及图像对中各个图像块对应的像素值离散度,基于像素值变化趋势相关度以及图像对中各个图像块对应的像素值离散度得到图像对对应的中间相似度,该中间相似度用于表征对图像对中的图像块进行结构(structure)对比得到的相似度。Specifically, for the image pairs in the image pair set, the server can calculate the pixel value change trend correlation between the image blocks in the image pair, and the pixel value dispersion corresponding to each image block in the image pair, based on the pixel value change trend The correlation degree and the pixel value dispersion corresponding to each image block in the image pair are used to obtain the intermediate similarity corresponding to the image pair. The intermediate similarity is used to characterize the similarity obtained by comparing the structure of the image blocks in the image pair.

在一个实施例中,像素值变化趋势相关度为协方差,像素值离散度为方差,服务器可以参考以下公式(8)计算图像对中的图像块之间的相似度,其中,S为图像块之间的相似度,σ12为图像块之间像素值的协方差,σ1和σ2分别为图像对中两个图像块像素值的方差,M4为常量:In one embodiment, the pixel value change trend correlation is the covariance, and the pixel value dispersion is the variance. The server can refer to the following formula (8) to calculate the similarity between the image blocks in the image pair, where S is the image block. The similarity between them, σ 12 is the covariance of pixel values between image blocks, σ 1 and σ 2 are the variances of the pixel values of the two image blocks in the image pair, and M 4 is a constant:

步骤310,获取各个待评估图像块的预设关注度,基于预设关注度对待评估图像块所在图像对对应的结构相似度进行关注处理,得到图像对对应的目标相似度。Step 310: Obtain the preset degree of attention of each image block to be evaluated, and perform attention processing on the structural similarity corresponding to the image pair where the image block to be evaluated is located based on the preset degree of attention, to obtain the target similarity corresponding to the image pair.

其中,预设关注度指的是预先设定的对待评估图像块的关注程度。预设关注度例如可以是权重。The preset degree of attention refers to the preset degree of attention to the image block to be evaluated. The preset degree of attention may be a weight, for example.

具体地,对于每一个待评估图像块,服务器可以将该待评估图像的预设关注度与该待评估图像块所在图像对对应的结构相似度相乘,得到该待评估图像块所在图像对对应的目标相似度。Specifically, for each image block to be evaluated, the server can multiply the preset degree of attention of the image to be evaluated by the structural similarity corresponding to the image pair where the image block to be evaluated is located, to obtain the corresponding image pair of the image block to be evaluated. target similarity.

步骤312,对图像对集合中各个图像对对应的目标相似度进行统计,得到待评估图像的结构评估信息。Step 312: Statistics are made on the target similarity corresponding to each image pair in the image pair set to obtain the structure evaluation information of the image to be evaluated.

具体的,在得到图像对集合中各个图像对对应的相似度后,服务器可以对这些相似度进行统计,得到统计相似度,统计具体可以是求相似度的平均值或者求相似度的中位数中的至少一种,将统计相似度作为待评估图像的结构评估信息。Specifically, after obtaining the similarity corresponding to each image pair in the image pair set, the server can perform statistics on these similarities to obtain the statistical similarity. Specifically, the statistics can be to find the average similarity or the median similarity. At least one of them uses statistical similarity as structural evaluation information of the image to be evaluated.

上述实施例中,通过对待评估图像和参考图像进行划分,可以以图像块为单位,通过图像块之间的像素值变化趋势相关度以及各个图像块的像素值离散度计算待评估图像和参考图像之间的结构相似度,并且可以通过获取各个待评估图像块的预设关注度对相似度进行关注处理,将关注处理得到的相似度进行统计得到结构评估信息,得到的结构评估信息更加准确。In the above embodiment, by dividing the image to be evaluated and the reference image, the image to be evaluated and the reference image can be calculated based on the image block as a unit, based on the correlation of the pixel value change trend between the image blocks and the pixel value dispersion of each image block. The structural similarity between the image blocks can be obtained, and the similarity can be paid attention to by obtaining the preset attention degree of each image block to be evaluated, and the similarity obtained by the attention processing can be statistically obtained to obtain the structure evaluation information, and the obtained structure evaluation information can be more accurate.

在一个实施例中,上述方法还包括:计算待评估图像各个像素点的第一像素值均值,以及计算参考图像各个像素点的第二像素值均值;基于第一像素值均值和第二像素值均值,确定待评估图像的亮度评估信息,亮度评估信息与第一像素值均值以及第二像素值均值的乘积呈正相关,并且第一像素值均值和第二像素值均值的平方和成负相关;基于对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果,包括:基于亮度评估信息、对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果。In one embodiment, the above method further includes: calculating the first mean pixel value of each pixel point in the image to be evaluated, and calculating the second mean pixel value of each pixel point in the reference image; based on the first mean pixel value and the second pixel value The mean value determines the brightness evaluation information of the image to be evaluated, the brightness evaluation information is positively correlated with the product of the first pixel value mean and the second pixel value mean, and the sum of the squares of the first pixel value mean and the second pixel value mean is negatively correlated; Determining the quality evaluation result corresponding to the image to be evaluated based on the contrast evaluation information and the structure evaluation information includes: determining the quality evaluation result corresponding to the image to be evaluated based on the brightness evaluation information, contrast evaluation information and structure evaluation information.

具体地,服务器可以对待评估图像所有像素点的像素值相加并除以待评估图像中像素点总数量得到第一像素值均值,并对参考图像所有像素点的像素值相加并除以参考图像中像素点总数量得到第二像素值均值,进而基于第一像素值均值和第二像素值均值,确定待评估图像的亮度评估信息。该亮度评估信息用于表征待评估图像和参考图像之间的亮度相似度。Specifically, the server can add the pixel values of all pixels in the image to be evaluated and divide by the total number of pixels in the image to be evaluated to obtain the first mean pixel value, and add the pixel values of all the pixels in the reference image and divide by the reference The second average pixel value is obtained from the total number of pixels in the image, and then the brightness evaluation information of the image to be evaluated is determined based on the first average pixel value and the second average pixel value. The brightness evaluation information is used to characterize the brightness similarity between the image to be evaluated and the reference image.

在一个具体的实施例中,服务器可以参考以下公式(9)计算得到亮度评估信息,其中,L为亮度评估信息,μ1为第二像素值均值,μ2为第二像素值均值,M3为常量:In a specific embodiment, the server can calculate the brightness evaluation information by referring to the following formula (9), where L is the brightness evaluation information, μ 1 is the second pixel value mean, μ 2 is the second pixel value mean, M 3 is a constant:

在得到亮度评估信息后,服务器可以基于亮度评估信息、对比度评估信息和结构评估信息对待评估图像进行质量评估,得到待评估图像对应的质量评估结果,参考以下公式(10):After obtaining the brightness evaluation information, the server can perform a quality evaluation of the image to be evaluated based on the brightness evaluation information, contrast evaluation information, and structure evaluation information to obtain the quality evaluation result corresponding to the image to be evaluated. Refer to the following formula (10):

SITD=C*L*S (10)SITD=C*L*S (10)

上述实施例中,通过计算待评估图像和参考图像中的像素值均值得到亮度评估信息,结合亮度评估信息、对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果,得到的质量评估结果更加准确。In the above embodiment, the brightness evaluation information is obtained by calculating the mean value of pixel values in the image to be evaluated and the reference image, and the quality evaluation result corresponding to the image to be evaluated is determined by combining the brightness evaluation information, contrast evaluation information and structure evaluation information, and the obtained quality evaluation The results are more accurate.

在一个具体的实施例中,提供了一种图像处理方法,该图像处理方法的具体流程可以参见图5。以下结合图5,并且以该方法应用于图1中的服务器为例进行说明,包括以下步骤:In a specific embodiment, an image processing method is provided. The specific flow of the image processing method can be seen in Figure 5. The following is explained in conjunction with Figure 5 and taking the method applied to the server in Figure 1 as an example, including the following steps:

1、获取待评估图像和待评估图像对应的参考图像。1. Obtain the image to be evaluated and the reference image corresponding to the image to be evaluated.

其中,待评估图像为夜景图像。参考图像为对夜景图像进行长曝光得到的图像。待评估图像和参考图像均为RGB图像。Among them, the image to be evaluated is a night scene image. The reference image is an image obtained by performing a long exposure on a night scene image. Both the image to be evaluated and the reference image are RGB images.

2、分别提取待评估图像的每一个待评估像素点的像素梯度Cg1以及参考图像的每一个参考像素点的像素梯度Cg2,基于待评估图像的像素梯度Cg1和参考图像的像素梯度Cg2计算待评估图像和参考图像之间的对应像素点的梯度相似度Scg。2. Extract the pixel gradient Cg 1 of each pixel point to be evaluated in the image to be evaluated and the pixel gradient Cg 2 of each reference pixel point in the reference image, based on the pixel gradient Cg 1 of the image to be evaluated and the pixel gradient Cg of the reference image. 2 Calculate the gradient similarity Scg of the corresponding pixels between the image to be evaluated and the reference image.

具体地,服务器可以参考以上公式(1)-(3)计算像素梯度,并参考以上公式(4)计算梯度相似度。Specifically, the server may refer to the above formulas (1)-(3) to calculate the pixel gradient, and refer to the above formula (4) to calculate the gradient similarity.

3、分别提取待评估图像的每一个待评估像素点在第一色度通道的色度P1和在第二色度通道的色度Q13. Extract the chromaticity P 1 in the first chromaticity channel and the chromaticity Q 1 in the second chromaticity channel of each pixel point to be evaluated in the image to be evaluated.

4、分别提取参考图像的每一个参考像素点在第一色度通道的色度P2和在第二色度通道的色度Q24. Extract the chroma P 2 in the first chroma channel and the chroma Q 2 in the second chroma channel of each reference pixel point of the reference image respectively.

5、服务器基于待评估图像和参考图像之间的对应像素点在第一色度通道的色度P1和P2,以及在第二色度通道的色度Q1和Q2计算色度相似度Scc。5. The server calculates chromaticity similarity based on the chromaticity P 1 and P 2 of the first chroma channel and the chroma Q 1 and Q 2 of the second chroma channel of the corresponding pixels between the image to be evaluated and the reference image. Degree Scc.

具体地,服务器可以获取待评估图像分别在R通道、G通道和B通道的像素值,并且获取参考图像分别在R通道、G通道和B通道的像素值,参考以上公式(5)提取第一色度通道的色度值以及第二色度通道的色度值,并参考以上公式(6)计算色度相似度Scc。Specifically, the server can obtain the pixel values of the R channel, G channel, and B channel of the image to be evaluated, and obtain the pixel values of the R channel, G channel, and B channel of the reference image, and extract the first pixel value by referring to the above formula (5). The chroma value of the chroma channel and the chroma value of the second chroma channel, and refer to the above formula (6) to calculate the chroma similarity Scc.

6、将待评估图像和待评估图像之间的对应像素点组成像素点对,对于每一个像素点对,基于像素点对的梯度相似度和色度相似度确定对比度分量,基于各个像素点对的对比度分量进行均值计算,得到待评估图像的对比度评估因子C。6. The corresponding pixels between the image to be evaluated and the image to be evaluated are formed into pixel pairs. For each pixel pair, the contrast component is determined based on the gradient similarity and chromaticity similarity of the pixel pair. Based on each pixel pair The contrast components are averaged to obtain the contrast evaluation factor C of the image to be evaluated.

其中,对比度分量和像素点对的梯度相似度呈正相关,并且和像素点对的色度相似度呈正相关。服务器可以参考以上公式(7)计算得到对比度评估因子C。Among them, the contrast component is positively correlated with the gradient similarity of the pixel pair, and is positively correlated with the chromaticity similarity of the pixel pair. The server can calculate the contrast evaluation factor C by referring to the above formula (7).

7、计算待评估图像所有的待评估像素点的像素值均值μ1以及参考图像所有的参考像素点的像素值均值μ2,基于μ1和μ2计算得到亮度评估因子L。7. Calculate the mean pixel value μ 1 of all the pixels to be evaluated in the image to be evaluated and the mean pixel value μ 2 of all the reference pixels in the reference image, and calculate the brightness evaluation factor L based on μ 1 and μ 2 .

具体地,服务器可以参考以上公式(9)计算得到亮度评估因子L。Specifically, the server can calculate the brightness evaluation factor L with reference to the above formula (9).

8、计算待评估图像所有的待评估像素点的像素值的方差σ1,计算参考图像所有的参考像素点的像素值的方差σ28. Calculate the variance σ 1 of the pixel values of all the pixels to be evaluated in the image to be evaluated, and calculate the variance σ 2 of the pixel values of all the reference pixels in the reference image.

9、计算待评估图像和参考图像之间像素值的协方差σ129. Calculate the covariance σ 12 of the pixel values between the image to be evaluated and the reference image.

10、基于方差σ1、方差σ2和协方差σ12,计算待评估图像和参考图像之间的结构评估因子S。10. Based on the variance σ 1 , variance σ 2 and covariance σ 12 , calculate the structure evaluation factor S between the image to be evaluated and the reference image.

具体地,服务器可以参考以上公式(8)计算得到结构评估因子S。Specifically, the server can calculate the structure evaluation factor S by referring to the above formula (8).

11、基于亮度评估因子L、对比度评估因子C和结构评估因子S,确定待评估图像的质量评估结果。11. Based on the brightness evaluation factor L, contrast evaluation factor C and structure evaluation factor S, determine the quality evaluation result of the image to be evaluated.

具体地,服务器可以参考以上公式(10)计算得到质量评估结果。Specifically, the server can calculate the quality assessment result with reference to the above formula (10).

上述实施例中,考虑到夜景图像往往对比度较大,并且图像色度变化比较明显,通过计算夜景图像和参考图像之间的梯度相似度以及色度相似度来得到对比度评估因子,并结合夜景图像的亮度评估因子和结构评估因子来得到夜景图像的质量评估结果,可以得到比较严谨的图像质量评估结果,更加贴近人眼主观评测的结果。In the above embodiment, considering that night scene images often have large contrast and the image chromaticity changes are relatively obvious, the contrast evaluation factor is obtained by calculating the gradient similarity and chromaticity similarity between the night scene image and the reference image, and combined with the night scene image The brightness evaluation factor and structure evaluation factor are used to obtain the quality evaluation results of the night scene image, and a more rigorous image quality evaluation result can be obtained, which is closer to the subjective evaluation results of the human eye.

应该理解的是,虽然如上的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的方法的图像处理装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个图像处理装置实施例中的具体限定可以参见上文中对于图像处理方法的限定,在此不再赘述。Based on the same inventive concept, embodiments of the present application also provide an image processing device for implementing the above-mentioned method. The solution to the problem provided by this device is similar to the solution described in the above method. Therefore, for the specific limitations in one or more image processing device embodiments provided below, please refer to the above limitations on the image processing method. I won’t go into details here.

在一个实施例中,如图6所示,提供了一种图像处理装置600,包括:In one embodiment, as shown in Figure 6, an image processing device 600 is provided, including:

图像获取模块602,用于获取待评估图像和待评估图像对应的参考图像;The image acquisition module 602 is used to acquire the image to be evaluated and the reference image corresponding to the image to be evaluated;

信息提取模块604,用于分别提取待评估图像和参考图像的像素梯度信息以及像素色度信息;Information extraction module 604, used to extract pixel gradient information and pixel chromaticity information of the image to be evaluated and the reference image respectively;

相似度计算模块606,用于基于提取到的像素梯度信息确定得到待评估图像和参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定待评估图像和参考图像之间的对应像素点的色度相似度;The similarity calculation module 606 is used to determine the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel gradient information, and to determine the gradient similarity between the image to be evaluated and the reference image based on the extracted pixel chromaticity information. Chroma similarity between corresponding pixels;

对比度评估模块608,用于基于梯度相似度和色度相似度,确定待评估图像的对比度评估信息;Contrast evaluation module 608 is used to determine the contrast evaluation information of the image to be evaluated based on gradient similarity and chromaticity similarity;

结构评估模块610,用于获取待评估图像的结构评估信息;结构评估信息用于表征待评估图像和参考图像之间的结构相似程度;The structure evaluation module 610 is used to obtain the structure evaluation information of the image to be evaluated; the structure evaluation information is used to characterize the structural similarity between the image to be evaluated and the reference image;

评估结果获得模块612,用于基于对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果。The evaluation result obtaining module 612 is used to determine the quality evaluation result corresponding to the image to be evaluated based on the contrast evaluation information and the structure evaluation information.

上述图像处理装置,通过分别提取待评估图像和参考图像的像素梯度信息以及像素色度信息,基于提取到的像素梯度信息确定得到待评估图像和参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定待评估图像和参考图像之间的对应像素点的色度相似度,基于梯度相似度和色度相似度,确定待评估图像的对比度评估信息,获取待评估图像的结构评估信息,基于对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果,由于结合了梯度相似度、色度相似度来得到对比度评估信息,并且结合了结构评估信息,得到的评估结果更贴近人眼主观评测结果,提高了图像评估结果的准确性。The above image processing device extracts the pixel gradient information and pixel chromaticity information of the image to be evaluated and the reference image respectively, and determines the gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel gradient information, Based on the extracted pixel chromaticity information, determine the chromaticity similarity of the corresponding pixel points between the image to be evaluated and the reference image. Based on the gradient similarity and chromaticity similarity, determine the contrast evaluation information of the image to be evaluated, and obtain the image to be evaluated. The structure evaluation information of The evaluation results are closer to the subjective evaluation results of the human eye, improving the accuracy of the image evaluation results.

在一个实施例中,相似度计算模块,还用于对于待评估图像的每个待评估像素点,计算待评估像素点的水平梯度和垂直梯度,基于水平梯度和垂直梯度确定待评估像素点的第一目标梯度;对于参考图像的每个参考像素点,计算参考像素点的水平梯度和垂直梯度,基于水平梯度和垂直梯度确定参考像素点的第二目标梯度;基于待评估图像和参考图像之间的对应像素点的第一目标梯度和第二目标梯度,确定待评估图像和参考图像之间的对应像素点的梯度相似度。In one embodiment, the similarity calculation module is also used to calculate the horizontal gradient and vertical gradient of the pixel to be evaluated for each pixel to be evaluated in the image to be evaluated, and determine the gradient of the pixel to be evaluated based on the horizontal gradient and the vertical gradient. The first target gradient; for each reference pixel point of the reference image, calculate the horizontal gradient and vertical gradient of the reference pixel point, and determine the second target gradient of the reference pixel point based on the horizontal gradient and vertical gradient; based on the relationship between the image to be evaluated and the reference image The first target gradient and the second target gradient of the corresponding pixels between the images are determined to determine the gradient similarity of the corresponding pixels between the image to be evaluated and the reference image.

在一个实施例中,相似度计算模块,还用于对于待评估图像的每个待评估像素点,获取待评估像素点分别在红色通道、绿色通道以及蓝色通道的像素值,基于获得的像素值计算待评估像素点在第一色度通道的第一待评估色度值以及在第二色度通道的第二待评估色度值;对于参考图像的每个参考像素点,获取参考像素点分别在红色通道、绿色通道以及蓝色通道的像素值,基于获得的像素值计算参考像素点在第一色度通道的第一参考色度值以及在第二色度通道的第二参考色度值;基于待评估图像和参考图像之间的对应像素点的第一待评估色度值和第一参考色度值,确定待评估图像和参考图像之间的对应像素点的第一色度相似度分量;基于待评估图像和参考图像之间的对应像素点的第二待评估色度值和第二参考色度值,确定待评估图像和参考图像之间的对应像素点的第二色度相似度分量;基于第一色度相似度分量和第二色度相似度分量,确定待评估图像和参考图像之间的对应像素点的色度相似度。In one embodiment, the similarity calculation module is also used to obtain, for each pixel to be evaluated in the image to be evaluated, the pixel values of the pixel to be evaluated in the red channel, the green channel, and the blue channel respectively, based on the obtained pixels. Calculate the first chromaticity value to be evaluated in the first chromaticity channel of the pixel point to be evaluated and the second chromaticity value to be evaluated in the second chromaticity channel; for each reference pixel point of the reference image, obtain the reference pixel point Calculate the first reference chromaticity value of the reference pixel point in the first chromaticity channel and the second reference chromaticity value in the second chromaticity channel based on the pixel values in the red channel, green channel and blue channel respectively. value; based on the first chromaticity value to be evaluated and the first reference chromaticity value of the corresponding pixel point between the image to be evaluated and the reference image, determine the first chromaticity similarity of the corresponding pixel point between the image to be evaluated and the reference image degree component; based on the second chromaticity value to be evaluated and the second reference chromaticity value of the corresponding pixel point between the image to be evaluated and the reference image, determine the second chromaticity of the corresponding pixel point between the image to be evaluated and the reference image Similarity component; based on the first chromaticity similarity component and the second chromaticity similarity component, determine the chromaticity similarity of the corresponding pixel points between the image to be evaluated and the reference image.

在一个实施例中,对比度评估模块,还用于将待评估图像和待评估图像之间的对应像素点组成像素点对;对于每一个像素点对,基于像素点对的梯度相似度和色度相似度确定对比度分量;对比度分量和像素点对的梯度相似度呈正相关,并且和像素点对的色度相似度呈正相关;基于各个像素点对的对比度分量进行均值计算,得到待评估图像的对比度评估信息。In one embodiment, the contrast evaluation module is also used to form a pixel pair between the image to be evaluated and the corresponding pixels between the image to be evaluated; for each pixel pair, based on the gradient similarity and chromaticity of the pixel pair The similarity determines the contrast component; the contrast component is positively correlated with the gradient similarity of the pixel pair, and is positively correlated with the chromaticity similarity of the pixel pair; based on the mean calculation of the contrast component of each pixel pair, the contrast of the image to be evaluated is obtained Evaluate information.

在一个实施例中,结构评估模块,还用于分别对待评估图像和参考图像进行划分,得到参考图像对应的多个参考图像块以及待评估图像对应的多个待评估图像块;将待评估图像块以及与待评估图像块存在图像位置对应关系的参考图像块组成图像对,得到图像对集合;对于图像对集合中的图像对,计算图像对中的图像块之间的像素值变化趋势相关度,以及计算图像对中各个图像块对应的像素值离散度;基于像素值变化趋势相关度以及图像对中各个图像块对应的像素值离散度得到图像对对应的中间相似度;获取各个待评估图像块的预设关注度,基于预设关注度对待评估图像块所在图像对对应的中间相似度进行关注处理,得到图像对对应的目标相似度;对图像对集合中各个图像对对应的目标相似度进行统计,得到待评估图像的结构评估信息。In one embodiment, the structure evaluation module is also used to divide the image to be evaluated and the reference image respectively to obtain multiple reference image blocks corresponding to the reference image and multiple image blocks to be evaluated corresponding to the image to be evaluated; Blocks and reference image blocks that have an image position correspondence relationship with the image blocks to be evaluated form an image pair to obtain a set of image pairs; for the image pairs in the image pair set, calculate the pixel value change trend correlation between the image blocks in the image pair. , and calculate the pixel value dispersion corresponding to each image block in the image pair; obtain the intermediate similarity corresponding to the image pair based on the pixel value change trend correlation and the pixel value dispersion corresponding to each image block in the image pair; obtain each image to be evaluated Based on the preset attention degree of the block, the intermediate similarity corresponding to the image pair where the image block to be evaluated is located is focused on to obtain the target similarity corresponding to the image pair; the target similarity corresponding to each image pair in the image pair set is obtained Perform statistics to obtain the structural evaluation information of the image to be evaluated.

在一个实施例中,上述装置还用于:亮度评估模块,用于计算待评估图像各个像素点的第一像素值均值,以及计算参考图像各个像素点的第二像素值均值;基于第一像素值均值和第二像素值均值,确定待评估图像的亮度评估信息,亮度评估信息与第一像素值均值以及第二像素值均值的乘积呈正相关,并且第一像素值均值和第二像素值均值的平方和成负相关;评估结果获得模块,还用于基于亮度评估信息、对比度评估信息和结构评估信息,确定待评估图像对应的质量评估结果。In one embodiment, the above device is also used for: a brightness evaluation module, used to calculate the first average pixel value of each pixel point of the image to be evaluated, and calculate the second average pixel value of each pixel point of the reference image; based on the first pixel The mean value of the first pixel value and the mean value of the second pixel value determine the brightness evaluation information of the image to be evaluated. The brightness evaluation information is positively correlated with the product of the mean value of the first pixel value and the mean value of the second pixel value, and the mean value of the first pixel value and the mean value of the second pixel value are The sum of squares is negatively correlated; the evaluation result acquisition module is also used to determine the quality evaluation result corresponding to the image to be evaluated based on the brightness evaluation information, contrast evaluation information and structure evaluation information.

上述图像处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Each module in the above image processing device can be implemented in whole or in part by software, hardware and combinations thereof. Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图7所示。该计算机设备包括处理器、存储器、输入/输出接口(Input/Output,简称I/O)和通信接口。其中,处理器、存储器和输入/输出接口通过系统总线连接,通信接口通过输入/输出接口连接到系统总线。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质和内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储图像数据。该计算机设备的输入/输出接口用于处理器与外部设备之间交换信息。该计算机设备的通信接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种图像处理方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in Figure 7 . The computer device includes a processor, a memory, an input/output interface (Input/Output, referred to as I/O), and a communication interface. Among them, the processor, memory and input/output interface are connected through the system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes non-volatile storage media and internal memory. The non-volatile storage medium stores operating systems, computer programs and databases. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media. The computer device's database is used to store image data. The input/output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. The computer program implements an image processing method when executed by the processor.

本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 7 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Specific computer equipment can May include more or fewer parts than shown, or combine certain parts, or have a different arrangement of parts.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行图像处理方法的步骤。An embodiment of the present application also provides a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the image processing method.

本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行图像处理方法。Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, causes the computer to execute an image processing method.

需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all It is information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccess Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。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 completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage. In the media, when executed, the computer program may include the processes of the above method embodiments. Any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetic variable memory (Magnetoresistive Random) Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene memory, etc. Volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM). The databases involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include blockchain-based distributed databases, etc., but are not limited thereto. The processors involved in the various embodiments provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to this.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined in any way. To simplify the description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, all possible combinations should be used. It is considered to be within the scope of this manual.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-described embodiments only express several implementation modes of the present application, and their descriptions are relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all fall within the protection scope of the present application. Therefore, the scope of protection of this application should be determined by the appended claims.

Claims (10)

1.一种图像处理方法,其特征在于,包括:1. An image processing method, characterized by comprising: 获取待评估图像和所述待评估图像对应的参考图像;Obtain an image to be evaluated and a reference image corresponding to the image to be evaluated; 分别提取所述待评估图像和所述参考图像的像素梯度信息以及像素色度信息;Extract pixel gradient information and pixel chromaticity information of the image to be evaluated and the reference image respectively; 基于提取到的像素梯度信息确定得到所述待评估图像和所述参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定所述待评估图像和所述参考图像之间的对应像素点的色度相似度;The gradient similarity of the corresponding pixel points between the image to be evaluated and the reference image is determined based on the extracted pixel gradient information, and the gradient similarity between the image to be evaluated and the reference image is determined based on the extracted pixel chromaticity information. Chroma similarity between corresponding pixels; 基于所述梯度相似度和色度相似度,确定所述待评估图像的对比度评估信息;Based on the gradient similarity and the chromaticity similarity, determine the contrast evaluation information of the image to be evaluated; 获取所述待评估图像的结构评估信息;所述结构评估信息用于表征所述待评估图像和所述参考图像之间的结构相似程度;Obtain the structural evaluation information of the image to be evaluated; the structural evaluation information is used to characterize the structural similarity between the image to be evaluated and the reference image; 基于所述对比度评估信息和所述结构评估信息,确定所述待评估图像对应的质量评估结果。Based on the contrast evaluation information and the structure evaluation information, a quality evaluation result corresponding to the image to be evaluated is determined. 2.根据权利要求1所述的方法,其特征在于,所述基于提取到的像素梯度信息确定所述待评估图像和所述参考图像之间的对应像素点的梯度相似度,包括:2. The method of claim 1, wherein determining the gradient similarity of corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel gradient information includes: 对于所述待评估图像的每个待评估像素点,计算所述待评估像素点的水平梯度和垂直梯度,基于所述水平梯度和所述垂直梯度确定所述待评估像素点的第一目标梯度;For each pixel point to be evaluated in the image to be evaluated, calculate the horizontal gradient and vertical gradient of the pixel point to be evaluated, and determine the first target gradient of the pixel point to be evaluated based on the horizontal gradient and the vertical gradient. ; 对于所述参考图像的每个参考像素点,计算所述参考像素点的水平梯度和垂直梯度,基于所述水平梯度和所述垂直梯度确定所述参考像素点的第二目标梯度;For each reference pixel point of the reference image, calculate the horizontal gradient and vertical gradient of the reference pixel point, and determine the second target gradient of the reference pixel point based on the horizontal gradient and the vertical gradient; 基于所述待评估图像和所述参考图像之间的对应像素点的第一目标梯度和第二目标梯度,确定所述待评估图像和所述参考图像之间的对应像素点的梯度相似度。Based on the first target gradient and the second target gradient of the corresponding pixel point between the image to be evaluated and the reference image, a gradient similarity of the corresponding pixel point between the image to be evaluated and the reference image is determined. 3.根据权利要求1所述的方法,其特征在于,所述基于提取到的像素色度信息确定所述待评估图像和所述参考图像之间的对应像素点的色度相似度,包括:3. The method of claim 1, wherein determining the chromaticity similarity of corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel chromaticity information includes: 对于所述待评估图像的每个待评估像素点,获取所述待评估像素点分别在红色通道、绿色通道以及蓝色通道的像素值,基于获得的像素值计算所述待评估像素点在第一色度通道的第一待评估色度值以及在第二色度通道的第二待评估色度值;For each pixel point to be evaluated in the image to be evaluated, the pixel values of the pixel point to be evaluated in the red channel, the green channel and the blue channel are obtained, and the pixel value of the pixel point to be evaluated is calculated based on the obtained pixel values. A first chromaticity value to be evaluated in one chromaticity channel and a second chromaticity value to be evaluated in a second chromaticity channel; 对于所述参考图像的每个参考像素点,获取所述参考像素点分别在红色通道、绿色通道以及蓝色通道的像素值,基于获得的像素值计算所述参考像素点在第一色度通道的第一参考色度值以及在第二色度通道的第二参考色度值;For each reference pixel point of the reference image, obtain the pixel values of the reference pixel point in the red channel, green channel and blue channel respectively, and calculate the first chroma channel of the reference pixel point based on the obtained pixel values. a first reference chromaticity value and a second reference chromaticity value in the second chromaticity channel; 基于所述待评估图像和所述参考图像之间的对应像素点的第一待评估色度值和第一参考色度值,确定所述待评估图像和所述参考图像之间的对应像素点的第一色度相似度分量;Determine the corresponding pixel point between the image to be evaluated and the reference image based on the first chromaticity value to be evaluated and the first reference chromaticity value of the corresponding pixel point between the image to be evaluated and the reference image The first chroma similarity component of 基于所述待评估图像和所述参考图像之间的对应像素点的第二待评估色度值和第二参考色度值,确定所述待评估图像和所述参考图像之间的对应像素点的第二色度相似度分量;Determine the corresponding pixel point between the image to be evaluated and the reference image based on the second chromaticity value to be evaluated and the second reference chromaticity value of the corresponding pixel point between the image to be evaluated and the reference image The second chromaticity similarity component; 基于所述第一色度相似度分量和所述第二色度相似度分量,确定所述待评估图像和所述参考图像之间的对应像素点的色度相似度。Based on the first chromaticity similarity component and the second chromaticity similarity component, chromaticity similarity of corresponding pixel points between the image to be evaluated and the reference image is determined. 4.根据权利要求1所述的方法,其特征在于,所述基于所述梯度相似度和色度相似度,确定所述待评估图像的对比度评估信息,包括:4. The method of claim 1, wherein determining the contrast evaluation information of the image to be evaluated based on the gradient similarity and the chromaticity similarity includes: 将所述待评估图像和所述待评估图像之间的对应像素点组成像素点对;The corresponding pixel points between the image to be evaluated and the image to be evaluated are formed into a pixel point pair; 对于每一个像素点对,基于所述像素点对的梯度相似度和色度相似度确定对比度分量;所述对比度分量和所述像素点对的梯度相似度呈正相关,并且和所述像素点对的色度相似度呈正相关;For each pixel pair, a contrast component is determined based on the gradient similarity and chromaticity similarity of the pixel pair; the contrast component is positively correlated with the gradient similarity of the pixel pair, and is positively correlated with the pixel pair The chromaticity similarity is positively correlated; 基于各个像素点对的对比度分量进行均值计算,得到所述待评估图像的对比度评估信息。An average value is calculated based on the contrast component of each pixel pair to obtain the contrast evaluation information of the image to be evaluated. 5.根据权利要求1所述的方法,其特征在于,所述获取所述待评估图像的结构评估信息,包括:5. The method according to claim 1, characterized in that said obtaining the structural evaluation information of the image to be evaluated includes: 分别对所述待评估图像和所述参考图像进行划分,得到所述参考图像对应的多个参考图像块以及所述待评估图像对应的多个待评估图像块;Divide the image to be evaluated and the reference image respectively to obtain a plurality of reference image blocks corresponding to the reference image and a plurality of image blocks to be evaluated corresponding to the image to be evaluated; 将所述待评估图像块以及与所述待评估图像块存在图像位置对应关系的参考图像块组成图像对,得到图像对集合;The image block to be evaluated and the reference image block that has an image position corresponding relationship with the image block to be evaluated are formed into an image pair to obtain an image pair set; 对于所述图像对集合中的图像对,计算所述图像对中的图像块之间的像素值变化趋势相关度,以及计算所述图像对中各个图像块对应的像素值离散度;For the image pairs in the image pair set, calculate the pixel value change trend correlation between the image blocks in the image pair, and calculate the pixel value dispersion corresponding to each image block in the image pair; 基于所述像素值变化趋势相关度以及所述图像对中各个图像块对应的像素值离散度得到所述图像对对应的中间相似度;Obtain the intermediate similarity corresponding to the image pair based on the pixel value change trend correlation and the pixel value dispersion corresponding to each image block in the image pair; 获取各个待评估图像块的预设关注度,基于所述预设关注度对所述待评估图像块所在图像对对应的中间相似度进行关注处理,得到所述图像对对应的目标相似度;Obtain the preset degree of attention of each image block to be evaluated, and perform attention processing on the intermediate similarity corresponding to the image pair where the image block to be evaluated is located based on the preset degree of attention, to obtain the target similarity corresponding to the image pair; 对所述图像对集合中各个所述图像对对应的目标相似度进行统计,得到所述待评估图像的结构评估信息。Statistics are performed on the target similarity corresponding to each image pair in the image pair set to obtain the structure evaluation information of the image to be evaluated. 6.根据权利要求1至5任意一项所述的方法,其特征在于,所述方法还包括:6. The method according to any one of claims 1 to 5, characterized in that the method further includes: 计算所述待评估图像各个像素点的第一像素值均值,以及计算所述参考图像各个像素点的第二像素值均值;Calculate the first average pixel value of each pixel point of the image to be evaluated, and calculate the second average pixel value of each pixel point of the reference image; 基于所述第一像素值均值和所述第二像素值均值,确定所述待评估图像的亮度评估信息,所述亮度评估信息与所述第一像素值均值以及第二像素值均值的乘积呈正相关,并且所述第一像素值均值和第二像素值均值的平方和成负相关;Based on the first average pixel value and the second average pixel value, brightness evaluation information of the image to be evaluated is determined, and the product of the brightness evaluation information and the first average pixel value and the second average pixel value is positive. Correlated, and the sum of the squares of the first pixel value mean and the second pixel value mean is negatively correlated; 所述基于所述对比度评估信息和所述结构评估信息,确定所述待评估图像对应的质量评估结果,包括:Determining the quality evaluation result corresponding to the image to be evaluated based on the contrast evaluation information and the structure evaluation information includes: 基于所述亮度评估信息、所述对比度评估信息和所述结构评估信息,确定所述待评估图像对应的质量评估结果。Based on the brightness evaluation information, the contrast evaluation information and the structure evaluation information, a quality evaluation result corresponding to the image to be evaluated is determined. 7.一种图像处理装置,其特征在于,包括:7. An image processing device, characterized in that it includes: 图像获取模块,用于获取待评估图像和所述待评估图像对应的参考图像;An image acquisition module, used to acquire an image to be evaluated and a reference image corresponding to the image to be evaluated; 信息提取模块,用于分别提取所述待评估图像和所述参考图像的像素梯度信息以及像素色度信息;An information extraction module, configured to extract pixel gradient information and pixel chromaticity information of the image to be evaluated and the reference image respectively; 相似度计算模块,用于基于提取到的像素梯度信息确定得到所述待评估图像和所述参考图像之间的对应像素点的梯度相似度,基于提取到的像素色度信息确定所述待评估图像和所述参考图像之间的对应像素点的色度相似度;A similarity calculation module, configured to determine the gradient similarity of corresponding pixel points between the image to be evaluated and the reference image based on the extracted pixel gradient information, and determine the gradient similarity to be evaluated based on the extracted pixel chromaticity information. The chromaticity similarity of corresponding pixels between the image and the reference image; 对比度评估模块,用于基于所述梯度相似度和色度相似度,确定所述待评估图像的对比度评估信息;A contrast evaluation module, configured to determine the contrast evaluation information of the image to be evaluated based on the gradient similarity and chromaticity similarity; 结构评估模块,用于获取所述待评估图像的结构评估信息;所述结构评估信息用于表征所述待评估图像和所述参考图像之间的结构相似程度;A structure evaluation module, used to obtain the structure evaluation information of the image to be evaluated; the structure evaluation information is used to characterize the structural similarity between the image to be evaluated and the reference image; 评估结果获得模块,用于基于所述对比度评估信息和所述结构评估信息,确定所述待评估图像对应的质量评估结果。An evaluation result obtaining module is configured to determine the quality evaluation result corresponding to the image to be evaluated based on the contrast evaluation information and the structure evaluation information. 8.一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机程序,其特征在于,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至6中任一项所述的图像处理方法的步骤。8. A computer device, including a memory and a processor, and a computer program is stored in the memory, characterized in that, when the computer program is executed by the processor, the processor causes the processor to execute claims 1 to 6 The image processing method described in any one of the steps. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的图像处理方法的步骤。9. A computer-readable storage medium with a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the image processing method according to any one of claims 1 to 6 are implemented. 10.一种计算机程序产品,包括计算机程序,其特征在于,该计算机程序被处理器执行时实现权利要求1至6中任一项所述的图像处理方法的步骤。10. A computer program product, comprising a computer program, characterized in that when the computer program is executed by a processor, the steps of the image processing method according to any one of claims 1 to 6 are implemented.
CN202210240302.0A 2022-03-10 2022-03-10 Image processing methods, devices, computer equipment and storage media Pending CN116797510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210240302.0A CN116797510A (en) 2022-03-10 2022-03-10 Image processing methods, devices, computer equipment and storage media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210240302.0A CN116797510A (en) 2022-03-10 2022-03-10 Image processing methods, devices, computer equipment and storage media

Publications (1)

Publication Number Publication Date
CN116797510A true CN116797510A (en) 2023-09-22

Family

ID=88044251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210240302.0A Pending CN116797510A (en) 2022-03-10 2022-03-10 Image processing methods, devices, computer equipment and storage media

Country Status (1)

Country Link
CN (1) CN116797510A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117611578A (en) * 2024-01-17 2024-02-27 深圳市新良田科技股份有限公司 Image processing method and image processing system
CN118015033A (en) * 2024-02-02 2024-05-10 嘉洋智慧安全科技(北京)股份有限公司 Image processing method, device, equipment and medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117611578A (en) * 2024-01-17 2024-02-27 深圳市新良田科技股份有限公司 Image processing method and image processing system
CN117611578B (en) * 2024-01-17 2024-06-11 深圳市新良田科技股份有限公司 Image processing method and image processing system
CN118015033A (en) * 2024-02-02 2024-05-10 嘉洋智慧安全科技(北京)股份有限公司 Image processing method, device, equipment and medium
CN118015033B (en) * 2024-02-02 2024-09-17 嘉洋智慧安全科技(北京)股份有限公司 Image processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN108895981B (en) Three-dimensional measurement method, device, server and storage medium
CN112819737B (en) Remote sensing image fusion method of multi-scale attention depth convolution network based on 3D convolution
CN109325550B (en) A reference-free image quality assessment method based on image entropy
WO2022100510A1 (en) Image distortion evaluation method and apparatus, and computer device
Wu et al. FW-GAN: Underwater image enhancement using generative adversarial network with multi-scale fusion
TW201833867A (en) Training method and device for neural network model for image processing and computer readable storage medium
WO2022116104A1 (en) Image processing method and apparatus, and device and storage medium
CN110298829A (en) A kind of lingual diagnosis method, apparatus, system, computer equipment and storage medium
CN116797510A (en) Image processing methods, devices, computer equipment and storage media
CN115131229A (en) Image noise reduction, filtering data processing method, device and computer equipment
CN113850748B (en) Point cloud quality evaluation system and method
CN114581318A (en) Method and system for image enhancement with low illumination
CN117911370A (en) Skin image quality evaluation method and device, electronic equipment and storage medium
WO2023065665A1 (en) Image processing method and apparatus, device, storage medium and computer program product
CN115601820A (en) Face fake image detection method, device, terminal and storage medium
CN114724218A (en) Video detection method, device, equipment and medium
Cui et al. Progressive dual-branch network for low-light image enhancement
CN111641822B (en) A Repositioning Stereo Image Quality Evaluation Method
CN109754390A (en) A Reference-Free Image Quality Evaluation Method Based on Hybrid Visual Features
CN110796635A (en) Shear wave transformation-based light field image quality evaluation method
CN115170834A (en) Chromatic aberration measuring method and device and electronic equipment
CN112233089B (en) A Reference-Free Stereo Hybrid Distortion Image Quality Evaluation Method
CN114764771A (en) Image quality evaluation method, device, equipment, chip and storage medium
CN118158375A (en) Stereoscopic video quality evaluation method, stereoscopic video quality evaluation device and computer equipment
CN116883257A (en) Image defogging method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20241014

Address after: 6th Floor, No.1 Chongqing Road, Banqiao District, Xinbei City, Taiwan, China, China

Applicant after: Weiguang Co.,Ltd.

Country or region after: Samoa

Address before: 200131 room 01, 8th floor (7th floor, real estate registration floor), No. 1, Lane 61, shengxia Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant before: Zheku Technology (Shanghai) Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right