No-reference image quality assessment method based on channel attention

By introducing the channel attention mechanism and feature fusion module into the reference-free image quality evaluation, the problem of failing to consider human visual characteristics in the existing technology is solved, and high-precision image quality prediction is achieved.

CN114820515BActive Publication Date: 2024-09-06WEINAN DAILY PRINTING HOUSE +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210445072.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-26
Publication Date
2024-09-06
Estimated Expiration
2042-04-26

AI Technical Summary

Technical Problem

Existing reference-free image quality evaluation methods fail to effectively consider human visual characteristics and distortion non-uniformity, resulting in differences between prediction results and subjective ratings.

Method used

Using a method based on channel attention, the image is input into the ResNet50 network to extract features. Features of the area of ​​interest are obtained through the channel attention layer, and multi-scale pooling and fusion are performed in the feature enhancement module. Low-level and high-level features are combined to predict input quality. The network makes predictions.

Benefits of technology

The attention mechanism is used to obtain the features of the area of ​​interest to satisfy human visual perception, and the feature fusion module is used to enhance the representation of detailed information to achieve high-precision image quality prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114820515B
    Figure CN114820515B
Patent Text Reader

Abstract

The present invention discloses a reference-free image quality evaluation method based on channel attention, including: inputting an image into a ResNet50 network, extracting features through layer1-4 layers of the ResNet50 network respectively, and obtaining four features; inputting each feature into the channel attention layer respectively to obtain features of the concerned area of ​​the image; inputting each feature of the concerned area into a feature enhancement module to obtain enhanced features; fusing the four enhanced features, and after the fusion features; inputting the fusion features into a quality prediction network for quality prediction to obtain a prediction result. The attention mechanism is used to obtain the features of the concerned area to meet the visual perception of the human eye; the low-level features are effectively combined with the high-level features through the feature fusion module, and the detail information is strengthened while characterizing the global information, multi-scale information is obtained, and high-precision prediction is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image processing and relates to a reference-free image quality evaluation method based on channel attention. Background Art

[0002] With the rapid development of multimedia, image processing and communication technology, digital images, as one of the most intuitive and effective information carriers, transmit important visual signals and are widely used in all aspects of life. However, due to inevitable factors in the process of image acquisition, compression, storage and transmission, image distortion causes image quality degradation, such as shooting jitter, uneven exposure and other problems will cause image quality degradation. Image quality has a great influence on the acquisition of human visual information. If the image quality is low, it will not only affect the viewing effect but also fail to accurately capture useful information. Therefore, it is of great significance to effectively evaluate the visual perception quality of the output image at each stage of image acquisition.

[0003] Image quality assessment is divided into full-reference, semi-reference and no-reference types. Both full-reference and semi-reference require the participation of reference images, while no-reference directly processes distorted images. Since it is difficult to find reference images in real life, no-reference image quality assessment has become a hot topic in recent years, and many researchers are studying this technology. At present, most existing methods use the image quality assessment framework of deep learning. The literature (Kang L, Ye P, Li Y, et al. Convolutional neural networks for no-reference image quality assessment [C] / / Proceedings of the IEEE conference on computer vision and pattern recognition. 2014: 1733-1740.) first applied convolutional neural networks to no-reference image quality assessment. In this model, only simple convolution and pooling operations were used. Based on this, no-reference image quality assessment has developed rapidly. The paper (Bosse S, Maniry D, Müller KR, et al. Deep neural networks for no-reference and full-reference image quality assessment [J]. IEEE Transactions on image processing, 2017, 27 (1): 206-219.) proposed an end-to-end image quality assessment method, which inputs the distorted image into a convolutional neural network to extract relevant features and maps them to the quality assessment network for quality prediction. The model can be used for full-reference quality assessment with minor adjustments. In order to solve the problem of limited datasets, the paper (Liu X, Van De Weijer J, Bagdanov A D. Rankiqa: Learning from rankings for no-reference image quality assessment [C] / / Proceedings of the IEEE International Conference on Computer Vision. 2017: 1040-1049.) uses a twin network to rank synthetic distorted images, expand the dataset, and migrate the trained twin network to CNN for quality prediction. Compared with full-reference quality evaluation, one challenge faced by no-reference image quality evaluation is the lack of reference images for comparison. Therefore, some researchers introduced the idea of ​​full reference into no-reference quality evaluation.The literature (Lin KY, Wang G. Hallucinated-IQA: No-reference image quality assessment via adversarial learning [C] / / Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2018: 732-741.) generates a pseudo reference image of the distorted image as a reference image through a generative adversarial network, then pairs the pseudo reference image with the distorted image and passes it into a convolutional neural network to learn the perceived difference, thereby achieving a more accurate quality prediction. The literature (Ma Y, Cai X, Sun F, et al. No-reference image quality assessment based on multi-task generative adversarial network [J]. IEEE Access, 2019, 7: 146893-146902.) proposes a method for simultaneously generating quality maps of no-reference images based on a multi-task generative adversarial network, and combines a specific loss function to improve the accuracy of the pseudo reference image, thereby achieving a more accurate prediction.

[0004] At present, most deep learning-based no-reference image quality evaluations directly process distorted images without considering the visual characteristics of the human eye and the non-uniformity of distortion. In real life, when observing an image, the human eye focuses on the salient area, thus giving a greater weight to the area. However, these methods ignore the visual characteristics and non-uniformity of distortion, resulting in some differences between the prediction results and the subjective scores. Summary of the invention

[0005] The purpose of the present invention is to provide a reference-free image quality assessment method based on channel attention, which solves the problem of low quality prediction accuracy of distorted images existing in the prior art.

[0006] The technical solution adopted by the present invention is a reference-free image quality evaluation method based on channel attention, comprising the following steps:

[0007] Step 1: Input the image into the ResNet50 network, and extract features through layer 1-4 of the ResNet50 network to obtain four features;

[0008] Step 2: Input each feature into the channel attention layer to obtain the features of the focused area of ​​the image;

[0009] Step 3: Input each concerned region feature into the feature enhancement module to obtain enhanced features;

[0010] Step 4: Fuse the four enhanced features and obtain the fused features;

[0011] Step 5: Input the fused features into the quality prediction network for quality prediction to obtain the prediction results.

[0012] The present invention is also characterized in that:

[0013] Feature F in step 1 i Extraction is performed by the following formula:

[0014] F i =f(W i *X) (1);

[0015] In the above formula, X represents the input image, W i represents the overall parameters of each layer of the network, and f(·) represents the feature extraction of the image.

[0016] Step 2 specifically includes the following steps:

[0017] Step 2.1: For feature F i Perform global pooling operation to obtain aggregated spatial information F avg :

[0018] F avg =AvgPool(F i ) (2);

[0019] In the above formula, AvgPool represents the global average pooling operation;

[0020] Step 2.2: Use 1*1 convolution to transform F avg Perform dimensionality reduction and dimensionality increase, and obtain the channel attention weight coefficient M through the activation function:

[0021] M=σ(W1(W0(F avg ))) (3);

[0022] In the above formula, W0 and W1 represent the weight parameters when reducing and increasing the dimension, and σ is the Sigmoid activation function;

[0023] Step 2.3: Combine the weight coefficient M with the feature F i Superimpose to obtain the feature F of the concerned area i ′:

[0024]

[0025] Step 3 specifically includes the following steps:

[0026] Step 3.1: Each region of interest feature F i ′ Perform multi-scale pooling operations respectively to obtain multi-scale features, and fuse each multi-scale feature to obtain a multi-scale information flow

[0027] Step 3.2: Multi-scale information flow Perform 1*1 and 3*3 convolution operations, and obtain the enhancement matrix M through the activation function e :

[0028]

[0029] In the above formula, W2 and W3 represent the weight parameters of 1*1 and 3*3 convolution, and σ is the Sigmoid activation function;

[0030] Step 3.3: Each region of interest feature F i ′ are superimposed with the enhancement matrix to obtain the enhanced feature F i ″:

[0031]

[0032] In step 5, a regression network is used for quality prediction, and the quality prediction network consists of four fully connected layers.

[0033] The beneficial effects of the present invention are as follows: the reference-free image quality evaluation method based on channel attention of the present invention obtains the features of the concerned area through the attention mechanism to meet the visual perception of the human eye; the low-level features are effectively combined with the high-level features through the feature fusion module, and the detail information is enhanced while characterizing the global information, so as to obtain multi-scale information and achieve high-precision prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a flow chart of the reference-free image quality assessment method based on channel attention of the present invention. DETAILED DESCRIPTION

[0035] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0036] The channel attention-based no-reference image quality assessment method includes the following steps:

[0037] Step 1: Preprocess the images in the database to keep them in a uniform size, input the preprocessed images into the ResNet50 network, and extract features through layer 1-4 of the ResNet50 network to obtain multi-level features F i , the feature extraction method is as follows:

[0038] Fi =f(W i *X) (1);

[0039] In the above formula, X represents the input image, W i represents the overall parameters of each layer of the network, and f(·) represents the feature extraction of the image.

[0040] Traditional convolutional networks or fully connected networks will have more or less information loss and loss problems when transmitting information, and will also cause gradient disappearance or gradient explosion, and cannot achieve good training results when training the network. The ResNet network used in the present invention solves this problem to a certain extent, and transmits the input information to the output through the residual network, protects the integrity of the information, and simplifies the learning objectives and difficulty. The network parameters are initialized through pre-training, and the images in the pre-processed database are input into the ResNet network, wherein the ResNet network uses a convolutional layer with a step size of 2 for downsampling, and uses global average pooling instead of a fully connected layer; at the same time, when the ResNet network extracts features, when the size of the feature map is reduced by half, the number of feature maps will double, maintaining the complexity of the network.

[0041] Step 2: Input each feature into the channel attention layer to obtain the features of the image's region of interest; add a channel attention mechanism to the ResNet50 network layer 1-4 (i.e., input the output of the ResNet50 network layer 1-4 into the channel attention layer) to obtain the image's region of interest. Use channel attention to model the correlation between different channels, automatically obtain the importance of each feature channel through network learning, and assign different weight coefficients to each channel to strengthen the features of the region of interest.

[0042] Step 2.1: For each feature F i Perform global pooling operation to obtain aggregated spatial information F avg :

[0043] F avg =AvgPool(F i ) (2);

[0044] In the above formula, AvgPool represents the global average pooling operation;

[0045] Step 2.2: Use 1*1 convolution to transform F avg Perform dimensionality reduction and dimensionality increase, and obtain the channel attention weight coefficient M through the activation function:

[0046] M=σ(W1(W0(F avg ))) (3);

[0047] In the above formula, W0 and W1 represent the weight parameters when reducing and increasing the dimension, and σ is the Sigmoid activation function;

[0048] Step 2.3: Combine the weight coefficient M with the feature F i Superimpose to obtain the feature F of the concerned area i ′([F1′,F2′,F3′,F4′]):

[0049]

[0050] Step 3: Input each concerned region feature into the feature enhancement module to obtain enhanced features;

[0051] Step 3.1: Each region of interest feature F i ′ Perform multi-scale pooling operations respectively. The pooling operation consists of pooling layers with receptive fields of 3*3, 5*5, and 7*7, respectively, to obtain multi-scale features, and fuse each multi-scale feature to obtain a multi-scale information flow

[0052] Step 3.2: Multi-scale information flow Perform 1*1 and 3*3 convolution operations, and obtain the enhancement matrix M through the activation function e :

[0053]

[0054] In the above formula, W2 and W3 represent the weight parameters of 1*1 and 3*3 convolution, and σ is the Sigmoid activation function;

[0055] Step 3.3: Each region of interest feature F i ′ are superimposed with the enhancement matrix to obtain the enhanced feature F i ″:

[0056]

[0057] Step 4: Fuse the four enhanced features. The fused feature is C(F i ″). In the ResNet50 network, the receptive field of the low-level network is small, the detail information representation ability is strong, but the global information representation ability is weak; the receptive field of the high-level network is large, the global information representation ability is strong, and the geometric detail information representation ability is weak. The enhanced features obtained from Layer1-4 are fused to effectively combine the low-level features with the high-level features, and the detail information is enhanced while representing the global information, and the information diversity is obtained. The fused feature is C(F i ″).

[0058] Step 5: Fusion feature C(F i″) is input into the quality prediction network for quality prediction to obtain the prediction result. The quality prediction is performed using a regression network, which consists of four fully connected layers, and the fused feature C(F i ″) is used as the network input and the distorted image quality score is predicted after regression training.

[0059] Through the above methods, the reference-free image quality evaluation method based on channel attention of the present invention obtains the features of the concerned area through the attention mechanism to meet the visual perception of the human eye; the low-level features are effectively combined with the high-level features through the feature fusion module, and the detail information is enhanced while characterizing the global information, so as to obtain multi-scale information and achieve high-precision prediction.

Claims

1. A reference-free image quality assessment method based on channel attention, characterized in that: The following steps are involved: Step 1: Input the image into the ResNet50 network, and extract features through layer 1-4 of the ResNet50 network to obtain four features; Step 2: Input each of the features into the channel attention layer to obtain the features of the focused area of ​​the image; Step 3: input each of the concerned region features into a feature enhancement module to obtain enhanced features; Step 4, fusing the four enhanced features, and performing the fusion feature; Step 5: Input the fusion features into the quality prediction network to perform quality prediction and obtain a prediction result; Feature F in step 1 i Extraction is performed by the following formula: F i =f(W i *X) (1); In the above formula, X represents the input image, W i represents the overall parameters of each layer of the network, and f(·) represents feature extraction of the image; Step 2 specifically includes the following steps: Step 2.1: For feature F i Perform global pooling operation to obtain aggregated spatial information F avg : F avg =AvgPool(F i ) (2); In the above formula, AvgPool represents the global average pooling operation; Step 2.2: Use 1*1 convolution to transform F avg Perform dimensionality reduction and dimensionality increase, and obtain the channel attention weight coefficient M through the activation function: M=σ(W1(W0(F avg ))) (3); In the above formula, W0 and W1 represent the weight parameters when reducing and increasing the dimension, and σ is the Sigmoid activation function; Step 2.3: Combine the weight coefficient M with the feature F i Superimpose to obtain the feature F of the concerned area i ′: Step 3 specifically includes the following steps: Step 3.1: Each of the concerned region features F i ′ Perform multi-scale pooling operations respectively to obtain multi-scale features, and fuse each multi-scale feature to obtain a multi-scale information flow Step 3.2: Perform 1*1 and 3*3 convolution operations, and obtain the enhancement matrix M through the activation function e : In the above formula, W2 and W3 represent the weight parameters of 1*1 and 3*3 convolution, and σ is the Sigmoid activation function; Step 3.3: Each region of interest feature F i ′ are superimposed with the enhancement matrix to obtain the enhanced feature F i ″:

2. The channel attention-based reference-free image quality assessment method according to claim 1, characterized in that: In step 5, a regression network is used for quality prediction, and the quality prediction network consists of four fully connected layers.