A method, device and storage medium for evaluating image quality without reference

Using a deep learning method based on a multi-task learning network model to evaluate image quality, it solves the problem of quality degradation caused by distortion of transmission line inspection images, achieves high-accuracy image quality prediction, and is suitable for image quality assessment in harsh environments. .

CN112116567BActive Publication Date: 2024-10-15GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202010945959.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-10
Publication Date
2024-10-15
Estimated Expiration
2040-09-10

AI Technical Summary

Technical Problem

The degradation of image quality caused by distortion during the image collection and transmission process affects the accuracy of target detection and defect identification in the later stage. In particular, it is difficult to effectively evaluate the image quality of transmission line inspections under the influence of factors such as bad weather and drone jitter. .

Method used

Using a deep learning method based on a multi-task learning network model, the image to be evaluated with labels is obtained, normalized and divided into several image blocks, and the image quality is predicted using the objective function that minimizes the Euclidean loss function. Score, the average of each image block is calculated as the final quality score.

Benefits of technology

Image quality can be effectively evaluated without reference images, which improves the accuracy and consistency of image quality prediction, reduces errors in subsequent processing algorithms due to low image quality, and is suitable for quality evaluation of transmission line inspection images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112116567B_ABST
    Figure CN112116567B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device and storage medium for evaluating image quality without reference, the method comprising: obtaining an image to be evaluated that has been marked with a label, normalizing the image to be evaluated; dividing the normalized image into a number of image blocks of a preset size, and using the label of the image to be evaluated as the label of each image block; inputting each image block into a preset network model based on multi-task learning to obtain a predicted quality score of each image block; wherein the objective function of the network model based on multi-task learning is to minimize the Euclidean loss function; calculating the average of the predicted quality scores of all image blocks as the final quality score of the image to be evaluated. The present invention predicts the quality score of an image based on a deep learning method to avoid the accuracy of subsequent processing algorithms being affected by low image quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image evaluation, and in particular to a method, device and storage medium for evaluating image quality without reference. Background Art

[0002] In the process of image acquisition and transmission, images are inevitably affected by various distortions, such as compression, defocus blur, motion blur, noise, abnormal exposure, etc. The introduction of distortion changes the correlation between pixels and loses the original image information to a certain extent, which will affect the accuracy of subsequent target detection and defect recognition. In order to enable the detection and recognition algorithms to identify the target more accurately and reduce errors, it is necessary to predict the quality of the image to be detected.

[0003] Especially for the inspection images of power transmission lines, most of them use robots or drones to shoot the power transmission lines, which makes the inspection images susceptible to distortion due to various factors such as bad weather, drone shaking, shooting angle, etc., affecting the accuracy of subsequent target recognition and detection. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a reference-free image quality assessment method, device and storage medium, which predict the quality score of an image based on a deep learning method to avoid the accuracy of subsequent processing algorithms affected by low image quality.

[0005] To achieve the above object, an embodiment of the present invention provides a method for evaluating image quality without reference, comprising the following steps:

[0006] Acquire an image to be evaluated that has been marked with a label, and perform normalization processing on the image to be evaluated;

[0007] Divide the normalized image into a number of image blocks of a preset size, and use the label of the image to be evaluated as the label of each image block;

[0008] Input each image block into a preset multi-task learning-based network model to obtain a predicted quality score of each image block; wherein the objective function of the multi-task learning-based network model is to minimize the Euclidean loss function;

[0009] The average value of the predicted quality scores of all image blocks is calculated as the final quality score of the image to be evaluated.

[0010] Preferably, the normalizing the image to be evaluated specifically includes:

[0011] Substitute the pixel values ​​of different coordinates of the image to be evaluated into the formula Calculate and obtain the pixel value of the normalized image at the corresponding coordinate; wherein i and j are the coordinate value of the image to be evaluated in the horizontal direction and in the vertical direction, 1≤i≤M, 1≤j≤N, M and N are the height and width of the image to be evaluated, respectively. is the pixel value of the normalized image at the coordinate (i, j), I(i, j) is the pixel value of the image to be evaluated at the coordinate (i, j); μ(i, j) is the mean value of the image to be evaluated at the coordinate (i, j), σ(i, j) is the contrast of the image to be evaluated at the coordinate (i, j); C is a preset constant.

[0012] Preferably, the calculation formula of the mean value μ(i, j) of the image to be evaluated at the coordinate (i, j) is: Among them, P and Q are the height and width of the preset image processing window, ω p,q is a two-dimensional circularly symmetric Gaussian function, I p,q (i, j) is the pixel value of the image to be evaluated at the coordinate (i, j).

[0013] Preferably, the calculation formula of the contrast σ(i, j) of the image to be evaluated at the coordinate (i, j) is:

[0014] Preferably, the network model based on multi-task learning includes 6 convolutional layers, 1 maximum pooling layer, 2 summation layers, 1 connection layer and 5 fully connected layers; wherein, the 6 convolutional layers are divided into two groups, one group of 3 convolutional layers, the first group of convolutional layers is connected to the maximum pooling layer and a summation layer, and then connected to the second group of convolutional layers, and the second group of convolutional layers is connected to another summation layer; 6 convolutional layers, 1 maximum pooling layer and 2 summation layers constitute a CNN feature extractor; the CNN feature extractor is connected to two learning modules, the first learning module includes 2 fully connected layers for extracting natural scene statistics; the second learning module includes 1 connection layer and 3 fully connected layers for predicting image quality scores.

[0015] Preferably, the objective function of the network model based on multi-task learning is expressed as Among them, X, Y1 and Y2 are the input image block, the natural scene statistical feature label and the predicted image quality score label respectively, W1 is the first weight parameter corresponding to the CNN feature extractor, W2 and W3 are the second weight parameter corresponding to the task of extracting natural scene statistics and the third weight parameter corresponding to the task of predicting image quality score respectively, f1(X; W1, W2) is the natural scene statistical feature of the input image block obtained when the network model parameters are W1 and W2; f2(X; W1, W3) represents the predicted quality score of the input image block predicted when the network model parameters are W1 and W3.

[0016] Another embodiment of the present invention provides a non-reference image quality assessment device, the device comprising:

[0017] An image acquisition module is used to acquire an image to be evaluated that has been marked with a label and perform normalization processing on the image to be evaluated;

[0018] An image division module, used to divide the normalized image into a number of image blocks of a preset size, and use the label of the image to be evaluated as the label of each image block;

[0019] A score prediction module, used for inputting each image block into a preset multi-task learning-based network model to obtain a predicted quality score of each image block; wherein the objective function of the multi-task learning-based network model is to minimize the Euclidean loss function;

[0020] The calculation module is used to calculate the average value of the predicted quality scores of all image blocks as the final quality score of the image to be evaluated.

[0021] Another embodiment of the present invention provides a device for using a no-reference image quality assessment method, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the no-reference image quality assessment method as described in any one of the above items when executing the computer program.

[0022] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any of the reference-free image quality assessment methods described above.

[0023] Compared with the prior art, the non-reference image quality evaluation method, device and storage medium provided by the embodiments of the present invention do not require the intervention of reference images, can estimate the quality of the image based on a deep learning method and then distinguish the image quality level, and have a high consistency with the image quality score label, thereby avoiding affecting the accuracy of subsequent processing algorithms due to too low image quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flow chart of an embodiment of a method for evaluating image quality without reference provided by the present invention;

[0025] Figure 2 is a flow chart of another embodiment of a method for evaluating image quality without reference provided by the present invention;

[0026] Figure 3 is a structural schematic diagram of an embodiment of a non-reference image quality assessment device provided by the present invention;

[0027] Figure 4 It is a structural schematic diagram of an embodiment of a device using a reference-free image quality assessment method provided by the present invention. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] See also Figure 1 , is a flow chart of an embodiment of a method for evaluating image quality without reference provided by the present invention, the method comprising steps S1 to S4:

[0030] S1, obtaining an image to be evaluated that has been marked with a label, and normalizing the image to be evaluated;

[0031] S2, dividing the normalized image into a number of image blocks of a preset size, and using the label of the image to be evaluated as the label of each image block;

[0032] S3, inputting each image block into a preset multi-task learning-based network model to obtain a predicted quality score of each image block; wherein the objective function of the multi-task learning-based network model is to minimize the Euclidean loss function;

[0033] S4. Calculate the average value of the predicted quality scores of all image blocks as the final quality score of the image to be evaluated.

[0034] Specifically, an image to be evaluated that has been marked with a label is obtained, and the image to be evaluated is normalized to remove the correlation of the image. The label of the image to be evaluated is an image quality score label. In order to adapt to the quality evaluation of the transmission line inspection image, the image to be evaluated can select the transmission line inspection image.

[0035] The normalized image is divided into a number of image blocks of a preset size, and the label of the image to be evaluated is used as the label of each image block. Preferably, the size of the divided image blocks is 32×32. Each image block is used as the input of the deep learning network model.

[0036] Each image block is input into a preset multi-task learning-based network model to obtain a predicted quality score of each image block; wherein the objective function of the multi-task learning-based network model is to minimize the Euclidean loss function. In a preferred embodiment, the multi-task learning-based network model is pre-trained using a training set.

[0037] The average value of the predicted quality scores of all image blocks is calculated as the final quality score of the image to be evaluated. The average value is the ratio of the sum of the predicted quality scores of all image blocks to the number of all image blocks.

[0038] In order to deepen the understanding of the present invention, this embodiment of the present invention also provides a flowchart of another embodiment of a method for evaluating image quality without reference. Figure 2 It can be seen that the input image is first normalized, then the features are extracted using the CNN feature extractor, and then transmitted to two learning tasks. The first task is natural scene statistics (NSS) feature extraction, which serves to assist the second task, and the second task is image quality prediction.

[0039] Embodiment 1 of the present invention provides a method for evaluating image quality without reference, which is based on a deep learning network model and can effectively evaluate the quality of an image without the need for a reference image.

[0040] As an improvement of the above solution, the normalization of the image to be evaluated specifically includes:

[0041] Substitute the pixel values ​​of different coordinates of the image to be evaluated into the formula Calculate and obtain the pixel value of the normalized image at the corresponding coordinate; wherein i and j are the coordinate value of the image to be evaluated in the horizontal direction and in the vertical direction, 1≤i≤M, 1≤j≤N, M and N are the height and width of the image to be evaluated, respectively. is the pixel value of the normalized image at the coordinate (i, j), I(i, j) is the pixel value of the image to be evaluated at the coordinate (i, j); μ(i, j) is the mean value of the image to be evaluated at the coordinate (i, j), σ(i, j) is the contrast of the image to be evaluated at the coordinate (i, j); C is a preset constant.

[0042] Specifically, substitute the pixel values ​​of different coordinates of the image to be evaluated into the formula Calculate and get the pixel value of the normalized image at the corresponding coordinate. That is, the normalization process is

[0043] Where i and j are the horizontal and vertical coordinate values ​​of the image to be evaluated, 1≤i≤M, 1≤j≤N, M and N are the height and width of the image to be evaluated, respectively. is the pixel value of the normalized image at coordinate (i, j), I(i, j) is the pixel value of the image to be evaluated at coordinate (i, j); μ(i, j) is the mean value of the image to be evaluated at coordinate (i, j), that is, the local average value. σ(i, j) is the contrast of the image to be evaluated at coordinate (i, j); C is a preset constant. Generally, C = 1, in order to avoid the situation where the denominator of the normalization equation is 0.

[0044] As an improvement of the above solution, the calculation formula of the mean value μ(i, j) of the image to be evaluated at the coordinate (i, j) is: Among them, P and Q are the height and width of the preset image processing window, ω p,q is a two-dimensional circularly symmetric Gaussian function, I p,q (i, j) is the pixel value of the image to be evaluated at the coordinate (i, j).

[0045] Specifically, the calculation formula of the mean μ(i, j) of the image to be evaluated at the coordinate (i, j) is: Wherein, P and Q are respectively the height and width of the preset image processing window, and both P and Q are positive integers. Preferably, P=Q=7. p,q is a two-dimensional circularly symmetric Gaussian function, that is, a two-dimensional circularly symmetric Gaussian weighted function, I p,q (i, j) is the pixel value of the image to be evaluated at coordinate (i, j).

[0046] As an improvement of the above solution, the calculation formula of the contrast σ(i, j) of the image to be evaluated at the coordinate (i, j) is:

[0047] Specifically, the calculation formula of the contrast σ(i, j) of the image to be evaluated at the coordinate (i, j) is: When P=Q=7, the standard deviation is 7 / 6.

[0048] As an improvement of the above scheme, the network model based on multi-task learning includes 6 convolutional layers, 1 maximum pooling layer, 2 summation layers, 1 connection layer and 5 fully connected layers; wherein, the 6 convolutional layers are divided into two groups, one group of 3 convolutional layers, the first group of convolutional layers is connected to the maximum pooling layer and a summation layer, and then connected to the second group of convolutional layers, and the second group of convolutional layers is connected to another summation layer; the 6 convolutional layers, 1 maximum pooling layer and 2 summation layers constitute a CNN feature extractor; the CNN feature extractor is connected to two learning modules, the first learning module includes 2 fully connected layers for extracting natural scene statistics; the second learning module includes 1 connection layer and 3 fully connected layers for predicting image quality scores.

[0049] Specifically, by Figure 2 It can be seen that the network model based on multi-task learning includes 6 convolutional layers, 1 maximum pooling layer, 2 summation layers, 1 connection layer and 5 fully connected layers; among them, the 6 convolutional layers are divided into two groups, one group of 3 convolutional layers, the first group of convolutional layers is connected to the maximum pooling layer and a summation layer, and then connected to the second group of convolutional layers, and the second group of convolutional layers is connected to another summation layer; 6 convolutional layers, 1 maximum pooling layer and 2 summation layers form a CNN feature extractor, that is Figure 2 The dotted box in . Two learning modules are connected after the CNN feature extractor. The first learning module includes 2 fully connected layers for extracting natural scene statistics; the second learning module includes 1 connection layer and 3 fully connected layers for predicting image quality scores. If the input image block is 32×32, the network structure parameters of the network model based on multi-task learning are shown in Table 1.

[0050] Table 1 Network structure parameters of the network model based on multi-task learning

[0051]

[0052]

[0053] For the input image I, features are first extracted by the CNN feature extractor and then transmitted to two different tasks. Since the purpose of the NSS feature extraction task is to assist the image quality prediction of the second task, the feature vector of the first step in the NSS feature extraction task is transmitted to the second task, and the NSS features are extracted at the same time. In the process of extracting NSS features, 36-dimensional features are extracted for each image block using the classic natural scene statistical features (Blind / Referenceless Image Spatial Quality Evaluator, BRISQUE) as labels. In the process of predicting the image quality prediction score, after receiving the feature vector of the first step in the NSS feature extraction task, the feature vectors of the two tasks are connected to generate a new feature vector for the second task, and finally the image quality prediction score of the second task is obtained.

[0054] As an improvement of the above scheme, the objective function of the network model based on multi-task learning is expressed as Among them, X, Y1 and Y2 are the input image block, the natural scene statistical feature label and the predicted image quality score label respectively, W1 is the first weight parameter corresponding to the CNN feature extractor, W2 and W3 are the second weight parameter corresponding to the task of extracting natural scene statistics and the third weight parameter corresponding to the task of predicting image quality score respectively, f1(X; W1, W2) is the natural scene statistical feature of the input image block obtained when the network model parameters are W1 and W2; f2(X; W1, W3) represents the predicted quality score of the input image block predicted when the network model parameters are W1 and W3.

[0055] Specifically, the objective function of the network model based on multi-task learning is expressed as That is to say, the Euclidean loss function of the present invention is ||f1(X; W1, W2)-Y1||+||f2(X; W1, W3)-Y2||, and the optimization of the network model based on multi-task learning is achieved by minimizing the Euclidean loss function.

[0056] Among them, X, Y1 and Y2 are the input image block, natural scene statistical feature label and predicted image quality score label respectively, W1 is the first weight parameter corresponding to the CNN feature extractor, W2 and W3 are the second weight parameter corresponding to the task of extracting natural scene statistics and the third weight parameter corresponding to the task of predicting image quality score respectively, f1(X; W1, W2) is the natural scene statistical feature of the input image block obtained when the network model parameters are W1 and W2, that is, the NSS feature; f2(X; W1, W3) represents the predicted quality score of the input image block predicted when the network model parameters are W1 and W3.

[0057] In addition, in order to test the performance of the algorithm, Pearson linear correlation coefficient PLCC, Spearman rank correlation coefficient SRCC, Kendall rank correlation coefficient KRCC and root mean square error RMSE are used as evaluation criteria. The experimental results show that in the constructed transmission line inspection image quality evaluation database, the algorithm performance indicators reach PLCC = 0.940, SRCC = 0.886, KRCC = 0.740, RMSE = 0.110, respectively, with good quality prediction ability. Among them, the closer PLCC, SRCC, and KRCC are to 1, and the closer RMSE is to 0, the better the algorithm performance is, which also shows the effectiveness of the model.

[0058] See also Figure 3 , is a schematic structural diagram of an embodiment of a device for evaluating image quality without reference provided by the present invention, the device comprising:

[0059] The image acquisition module 11 is used to acquire the image to be evaluated that has been marked with a label and perform normalization processing on the image to be evaluated;

[0060] An image division module 12, used to divide the normalized image into a plurality of image blocks of a preset size, and use the label of the image to be evaluated as the label of each image block;

[0061] A score prediction module 13, used for inputting each image block into a preset multi-task learning-based network model to obtain a predicted quality score of each image block; wherein the objective function of the multi-task learning-based network model is to minimize the Euclidean loss function;

[0062] The calculation module 14 is used to calculate the average value of the predicted quality scores of all the image blocks as the final quality score of the image to be evaluated.

[0063] A no-reference image quality assessment device provided by an embodiment of the present invention can implement all processes of the no-reference image quality assessment method described in any of the above embodiments. The functions of each module and unit in the device and the technical effects achieved are respectively the same as the functions and technical effects achieved by the no-reference image quality assessment method described in the above embodiments, and will not be repeated here.

[0064] See also Figure 4 , is a structural diagram of an embodiment of an apparatus for using a no-reference image quality assessment method provided by the present invention, wherein the apparatus for using a no-reference image quality assessment method comprises a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and when the processor 10 executes the computer program, the no-reference image quality assessment method described in any of the above embodiments is implemented.

[0065] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 20 and executed by the processor 10 to complete the present invention. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in a reference-free image quality assessment method. For example, the computer program may be divided into an image acquisition module, an image segmentation module, a score prediction module, and a calculation module, and the specific functions of each module are as follows:

[0066] The image acquisition module 11 is used to acquire the image to be evaluated that has been marked with a label and perform normalization processing on the image to be evaluated;

[0067] An image division module 12, used to divide the normalized image into a plurality of image blocks of a preset size, and use the label of the image to be evaluated as the label of each image block;

[0068] A score prediction module 13, used for inputting each image block into a preset multi-task learning-based network model to obtain a predicted quality score of each image block; wherein the objective function of the multi-task learning-based network model is to minimize the Euclidean loss function;

[0069] The calculation module 14 is used to calculate the average value of the predicted quality scores of all the image blocks as the final quality score of the image to be evaluated.

[0070] The device using the no-reference image quality assessment method may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The device using the no-reference image quality assessment method may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram Figure 4 It is merely an example of a device using a no-reference image quality assessment method and does not constitute a limitation of the device using the no-reference image quality assessment method. It may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, the device using the no-reference image quality assessment method may also include input and output devices, network access devices, buses, etc.

[0071] The processor 10 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor 10 may also be any conventional processor, etc. The processor 10 is the control center of the device using the non-reference image quality assessment method, and uses various interfaces and lines to connect various parts of the entire device using the non-reference image quality assessment method.

[0072] The memory 20 can be used to store the computer program and / or module. The processor 10 implements various functions of the device using the reference-free image quality assessment method by running or executing the computer program and / or module stored in the memory 20 and calling the data stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0073] Wherein, if the module integrated in the device using the method for evaluating image quality without reference is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the above-mentioned computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form. Computer-readable media can include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunications signals.

[0074] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the reference-free image quality assessment method described in any of the above embodiments.

[0075] In summary, the non-reference image quality evaluation method, device and storage medium provided by the embodiments of the present invention do not require the intervention of reference images, can estimate the quality of images based on deep learning methods and then distinguish the image quality levels, and have a high consistency with the image quality score label, thereby avoiding the accuracy of subsequent processing algorithms affected by low image quality. The present invention can provide a way to evaluate the quality of transmission line inspection images, thereby quickly and accurately predicting the quality of inspection images and meeting the needs of smart grid construction.

[0076] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for evaluating image quality without reference, characterized in that: The following steps are involved: Acquire an image to be evaluated that has been marked with a label, and perform normalization processing on the image to be evaluated; Divide the normalized image into a number of image blocks of a preset size, and use the label of the image to be evaluated as the label of each image block; Input each image block into a preset multi-task learning-based network model to obtain a predicted quality score of each image block; wherein the objective function of the multi-task learning-based network model is to minimize the Euclidean loss function; Calculating the average of the predicted quality scores of all image blocks as the final quality score of the image to be evaluated; The step of normalizing the image to be evaluated specifically includes: Substitute the pixel values ​​of different coordinates of the image to be evaluated into the formula Calculate and obtain the pixel value of the normalized image at the corresponding coordinate; wherein i and j are the coordinate value of the image to be evaluated in the horizontal direction and in the vertical direction, 1≤i≤M, 1≤j≤N, M and N are the height and width of the image to be evaluated, respectively. is the pixel value of the normalized image at the coordinate (i, j), I(i, j) is the pixel value of the image to be evaluated at the coordinate (i, j); μ(i, j) is the mean value of the image to be evaluated at the coordinate (i, j), σ(i, j) is the contrast of the image to be evaluated at the coordinate (i, j); C is a preset constant; The calculation formula of the mean value μ(i, j) of the image to be evaluated at the coordinate (i, j) is: The calculation formula of the contrast σ(i, j) of the image to be evaluated at the coordinate (i, j) is: Among them, P and Q are the height and width of the preset image processing window, ω p,q is a two-dimensional circularly symmetric Gaussian function, I p,q (i, j) is the pixel value of the image to be evaluated at the coordinate (i, j).

2. The method for evaluating image quality without reference according to claim 1, wherein: The network model based on multi-task learning includes 6 convolutional layers, 1 maximum pooling layer, 2 summation layers, 1 connection layer and 5 fully connected layers; wherein, the 6 convolutional layers are divided into two groups, one group of 3 convolutional layers, the first group of convolutional layers is connected to the maximum pooling layer and a summation layer, and then connected to the second group of convolutional layers, and the second group of convolutional layers is connected to another summation layer; the 6 convolutional layers, 1 maximum pooling layer and 2 summation layers constitute a CNN feature extractor; the CNN feature extractor is connected to two learning modules, the first learning module includes 2 fully connected layers for extracting natural scene statistics; the second learning module includes 1 connection layer and 3 fully connected layers for predicting image quality scores.

3. The method for evaluating image quality without reference according to claim 2, wherein: The expression of the objective function of the network model based on multi-task learning is: Among them, X, Y1 and Y2 are the input image block, the natural scene statistical feature label and the predicted image quality score label respectively, W1 is the first weight parameter corresponding to the CNN feature extractor, W2 and W3 are the second weight parameter corresponding to the task of extracting natural scene statistics and the third weight parameter corresponding to the task of predicting image quality score respectively, f1(X; W1, W2) is the natural scene statistical feature of the input image block obtained when the network model parameters are W1 and W2; f2(X; W1, W3) represents the predicted quality score of the input image block predicted when the network model parameters are W1 and W3.

4. A non-reference image quality assessment device, characterized in that: include: An image acquisition module is used to acquire an image to be evaluated that has been marked with a label and perform normalization processing on the image to be evaluated; An image division module, used to divide the normalized image into a number of image blocks of a preset size, and use the label of the image to be evaluated as the label of each image block; A score prediction module, used for inputting each image block into a preset multi-task learning-based network model to obtain a predicted quality score of each image block; wherein the objective function of the multi-task learning-based network model is to minimize the Euclidean loss function; A calculation module, used for calculating an average value of the predicted quality scores of all image blocks as a final quality score of the image to be evaluated; The step of normalizing the image to be evaluated specifically includes: Substitute the pixel values ​​of different coordinates of the image to be evaluated into the formula Calculate and obtain the pixel value of the normalized image at the corresponding coordinate; wherein i and j are the coordinate value of the image to be evaluated in the horizontal direction and in the vertical direction, 1≤i≤M, 1≤j≤N, M and N are the height and width of the image to be evaluated, respectively. is the pixel value of the normalized image at the coordinate (i, j), I(i, j) is the pixel value of the image to be evaluated at the coordinate (i, j); μ(i, j) is the mean value of the image to be evaluated at the coordinate (i, j), σ(i, j) is the contrast of the image to be evaluated at the coordinate (i, j); C is a preset constant; The calculation formula of the mean value μ(i, j) of the image to be evaluated at the coordinate (i, j) is: The calculation formula of the contrast σ(i, j) of the image to be evaluated at the coordinate (i, j) is: Among them, P and Q are the height and width of the preset image processing window, ω p,q is a two-dimensional circularly symmetric Gaussian function, I p,q (i, j) is the pixel value of the image to be evaluated at the coordinate (i, j).

5. A device using a no-reference image quality assessment method, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the no-reference image quality assessment method as claimed in any one of claims 1 to 3 when executing the computer program.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the no-reference image quality assessment method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • A multi-objective optimization image quality evaluation method based on convolution neural network

    CN109215028A

  • Universal no-reference image quality evaluation method based on multi-task convolutional neural network

    CN110189291A

  • Reference-free quality evaluation method for image quality and computer readable storage medium

    CN111311595A

  • No-reference image quality evaluation method and system based on multi-task learning

    CN111353533A

  • Image feature learning device, image feature learning method, image feature extraction device, image feature extraction method, and program

    WO2019240281A1