No-reference image quality evaluation method based on visual cue correlation analysis
By constructing a local non-equal transposed attention sub-network and a visual cue correlation analysis module, the defect of the attention interaction method in the no-reference image quality evaluation is solved, the interaction method of the human visual system is imitated, and the accuracy and accuracy of the image quality evaluation are improved. Robust to complex distortion types and diverse content.
Patent Information
- Application Number
- CN202410788068.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-06-18
AI Technical Summary
Existing reference-free image quality evaluation methods lack the primary and secondary relationship between tokens in the attention interaction method, resulting in the interaction between different areas of the image being inconsistent with human perception. Most of them rely on single-level features and are difficult to adapt to complex distortion types. and diverse image content.
Construct a local non-equality transposed attention sub-network and a visual cue correlation analysis module to correct the local area interaction and correlation analysis module through non-equality relationships to find the similarity of image block nodes, imitate the attention interaction mode of the human visual system, and integrate different granularities Hierarchical semantic information.
It improves the subjective consistency and robustness of image quality evaluation, can better adapt to various complex distortion types and diverse image content, and improves the accuracy and generalization ability of evaluation results.
Smart Images

Figure CN118799276A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing, and further to a reference-free image quality assessment method based on visual cue association analysis in the field of image quality assessment technology. The present invention can be used in scenarios where the degree of image distortion is assessed without additional information. Background Art
[0002] Reference-free image quality assessment (BIQA) refers to a method that accurately and automatically predicts human-perceived image quality without the need for a reference image. It is widely used in the design, optimization, and evaluation of image processing, computer vision, and computer graphics applications. Since various types of distortion may be introduced at each stage of these image processing systems, resulting in image quality degradation, it is particularly important to develop image quality assessment methods that can automatically predict human observer perception.
[0003] At present, no-reference image quality assessment methods are mainly divided into traditional methods based on manual features and methods based on deep learning. The image quality assessment model based on manual features usually consists of two parts: a feature extraction unit and a quality regression model. According to the different feature extraction methods, the quality assessment model based on manual features can be divided into methods based on the statistical characteristics of natural scenes and methods guided by the human visual system. No-reference image quality assessment based on the statistical characteristics of natural scenes is based on the premise that high-fidelity images follow specific statistical characteristics. However, these statistical characteristics will change due to the degradation of image quality. The human visual system is the final receiver of visual signals. It is of great significance to utilize the perceptual characteristics of the human visual system in the design of image quality indicators. At present, the two most prominent methods guided by the human visual system are methods based on the free energy principle and methods based on visual sensitivity. However, the image quality assessment methods based on manual features have some obvious disadvantages, including dependence on professional knowledge, limited generalization ability, and difficulty in adapting to new image types and degradation patterns. These limitations have prompted image quality assessment to turn to machine learning-based methods to achieve more accurate, flexible and automated image quality assessment.
[0004] Compared with traditional methods, image quality assessment methods based on deep learning have made a qualitative leap in subjective and objective consistency. There is a high correlation between the abstract features learned from the image classification task in the pre-training stage and the no-reference image quality assessment task. The migration from the image classification task to the no-reference image quality assessment task mainly involves the supervised constraint of the image quality label on the abstract features, which enables the model to effectively establish the quality-aware feature manifold and obtain strong generalization ability. At present, many no-reference image quality assessment methods have borrowed the strategies of pre-trained language models and their variants on downstream tasks and achieved remarkable success. However, the projection distance of different distorted images in the manifold space cannot represent the quality-aware distance. That is to say, the regression relationship between the quality label MOS score and the image itself will be affected by the non-uniformity of the quality-aware feature manifold. This semantic-aware pre-training model encourages the representation of images of the same category to have similar representations, while ignoring the changes in perceived image quality.
[0005] Xiamen University disclosed a method for image quality assessment without reference based on a diffusion model in its patent application "A method for image quality assessment without reference based on a diffusion model" (application number: CN202410070380.X; application publication number: CN 117593296 A). The implementation scheme of this method is as follows: the first step is to create an image quality assessment model based on the BIQA teacher module, the BIQA student module, the feature fusion module, the noise adaptation module and the output module. The BIQA teacher module uses the CLIP model as the backbone network, and the BIQA student module uses the Transformer model as the backbone network; the second step is to obtain a large number of images, pre-process each of the images and construct an image data set; the third step is to train the image quality assessment model using the image data set; the fourth step is to use the trained image quality assessment model to evaluate image quality. The feature fusion module in this method fuses the input distortion features and quality level features according to the granularity, and ensures the consistency between the fused coarse-to-fine granularity features and the predefined noise level through the noise adaptation module, thereby further enhancing the alignment of the quality level features and ultimately improving the accuracy of the no-reference image quality evaluation. However, this method still has shortcomings: the interaction process between local blocks in the image quality evaluation process is symmetrical, and parts with different attention weights have the same influence on the final prediction result, which does not conform to the perception process of the human visual system, resulting in inaccurate evaluation results.
[0006] Xidian University disclosed a no-reference image quality evaluation method based on hybrid attention in its patent application “No-reference image quality evaluation method based on hybrid attention” (application number: CN 202310294941.X; application publication number: CN 1163094886 A). The implementation scheme of the method is as follows: the first step is to obtain the training sample set and the test sample set; the second step is to construct a network model based on hybrid attention no-reference image quality evaluation: the network model based on hybrid attention no-reference image quality evaluation includes a saliency feature map generation model and a hybrid attention network, the distorted image is first input into the saliency feature map generation model to obtain the saliency features of the image, and then the original distorted image is fused with its saliency features; the obtained fusion features are passed through the hybrid attention network to realize the feature weight allocation at the channel level and pixel level, and finally the image quality score is regressed using the weighted feature map; the third step is to iteratively train the network model based on hybrid attention no-reference image quality evaluation; the fourth step is to obtain the no-reference quality evaluation result of the image: the test sample set in the first step is used as the input of the trained no-reference image quality evaluation network model based on the hybrid attention network for forward reasoning to obtain the quality prediction score of each test sample. This method constructs a saliency map weighted map based on the attention weighting method combined with pyramid features, taking into account that the difference in distortion in different areas of the image will cause different effects of each distorted part on the overall quality score of the image, thereby improving the accuracy of quality score prediction. However, this method still has shortcomings: it relies on a single level of information and is difficult to adapt to various complex distortion types and diverse image contents. Summary of the invention
[0007] The purpose of the present invention is to propose a reference-free image quality evaluation method based on visual cue association analysis in response to the shortcomings of the above-mentioned existing methods, so as to solve the problem that there is no primary and secondary relationship between tokens in the attention interaction method in the prior art, resulting in the interaction between different areas of the image being inconsistent with human perception, mostly relying on single-level features, and being difficult to adapt to various complex distortion types and diverse image content.
[0008] The idea of achieving the purpose of the present invention is: the present invention constructs a local non-equal transposed attention sub-network to correct the interaction of local areas of the image into a non-equal relationship. The distance between the current local content in the image projected into the metric subspace and the rest of the content can represent the distance between the local subgraphs, and the parent node "closest" to the current local content is found through the argmax(·) function. In order to imitate the attention interaction mode of the human visual system when evaluating images, the present invention uses a transposed attention sub-network. In the forward attention, the current local content receives the similarity information of all other nodes, and in the reverse attention, the normalized probability value is followed to pass information to the remaining nodes, and the second dimension normalized information is used to pass information to the part with high attention weight. In this way, the problem that there is no primary and secondary relationship between tokens in the attention interaction mode in the prior art is solved, resulting in the interaction between different areas of the image being inconsistent with human perception. The present invention uses differentiable sampling in the grouping clustering task to construct the similarity between local blocks from coarse-grained to fine-grained images. Through the association parsing module, the similarities between the local contents on the image block nodes are found, and the information of important similar local blocks is aggregated to one node. This solves the problem that most existing no-reference image quality evaluation methods rely on single-level features and are difficult to adapt to various complex distortion types and diverse image contents.
[0009] The specific steps for achieving the purpose of the present invention are as follows:
[0010] Step 1: Construct a local non-equal interaction transposed attention sub-network:
[0011] Build the first and second local non-equal interaction transposed attention sub-networks with the same structure but different parameters. The structures are: the first convolutional layer, the second convolutional layer, the transposition operation layer, the third convolutional layer, the first normalization layer, the fully connected layer, and the second normalization layer. The first convolutional layer and the first normalization layer, and the first normalization layer and the second normalization layer are connected with residual connections.
[0012] Step 2: Build a visual clue association parsing module:
[0013] Building the first and second visual clue association parsing modules with the same structure but different parameter settings. The structure of each visual clue association parsing module is: the first convolution layer, the second convolution layer, the probability estimation layer, the third convolution layer, and the first and third convolution layers are skipped.
[0014] Step 3, connecting the first attention sub-network, the first visual cue association analysis module, the second attention sub-network, and the second visual cue association analysis module in series in sequence, connecting the first and second visual cue association analysis modules in parallel and then connecting them in series with the image quality regression module to form a reference-free image quality assessment network based on visual cue association analysis;
[0015] Step 4: Linearly encode all images in the generated training set:
[0016] Step 5: Train a reference-free image quality assessment network based on visual cue association analysis:
[0017] Set the training parameters, input the training set into the no-reference image quality assessment network based on visual cue association analysis, and use the Adamw optimizer to iteratively update the network parameters until the loss function converges to obtain a trained no-reference image quality assessment network;
[0018] Step 6: Perform quality evaluation on the image without reference:
[0019] Using the same method as in step 4 and step 5, the no-reference image to be evaluated is normalized, preprocessed, and linearly encoded in turn, and the linear encoding result is input into the trained no-reference image quality assessment network to output the quality assessment score.
[0020] Compared with the prior art, the present invention has the following advantages:
[0021] First, the present invention constructs a transposed attention subnetwork with local unequal interactions, and corrects the interactions between local areas of the image into unequal relationships. This overcomes the problem that there is no primary and secondary relationship between tokens in the attention interaction method in the prior art, resulting in the interaction between different areas of the image being inconsistent with the human perception process. This makes the image evaluation process in the present invention more consistent with the visual masking characteristics of the human visual mechanism, thereby improving the subjective consistency of the image quality evaluation results.
[0022] Second, the present invention uses differentiable sampling in grouping and clustering tasks to construct a visual clue association parsing module, integrating the correlation between semantic information at different granularity levels. This overcomes the problem that most existing no-reference image quality evaluation methods rely on features at a single level and are difficult to adapt to various complex distortion types and diverse image contents. This makes the present invention have the advantages of good robustness and generalization ability in different scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0024] The following is combined with Figure 1 , the specific implementation steps of the embodiment of the present invention are further described in detail.
[0025] Step 1: Construct a local non-equal interaction transposed attention sub-network.
[0026] Build two local unequally interactive transposed attention sub-networks with the same structure but different parameters. The structures are as follows: the first convolutional layer, the second convolutional layer, the transposition operation layer, the third convolutional layer, the first normalization layer, the fully connected layer, and the second normalization layer. Residual connections are made between the first convolutional layer and the first normalization layer, and between the first normalization layer and the second normalization layer.
[0027] The number of feature grouping Heads of the first convolutional layer in the first attention subnetwork is set to 6, the number of input channels of the first to third convolutional layers are set to 64, 128 and 128 respectively, the sizes of the convolution kernels are set to 1×1, 3×3 and 1×1 respectively, the step sizes are all set to 1, and the number of nodes in the fully connected layer is set to 128.
[0028] The number of input channels of the first to third convolutional layers in the second attention sub-network is set to 128, 256 and 256 respectively, the number of nodes in the fully connected layer is set to 64, and the other parameter settings are consistent with the first attention sub-network.
[0029] Step 2: Build a visual clue association parsing module.
[0030] Two visual clue association parsing modules with the same structure but different parameter settings are built. The structure of each visual clue association parsing module is: the first convolutional layer, the second convolutional layer, the probability estimation layer, and the third convolutional layer. A jump connection is made between the first and third convolutional layers.
[0031] The number of input and output channels of the first to third convolutional layers in the first visual clue association parsing module are set to 128, the convolution kernel sizes are set to 1×1, 3×3 and 1×1 respectively, the step sizes are set to 1, and the function selected for the probability estimation layer is Gumble-softmax.
[0032] The number of input and output channels of the first to third convolutional layers in the second visual clue association and parsing module are set to 64, and the other parameter settings are consistent with those of the first visual clue association and parsing module.
[0033] Step 3: Connect the first attention sub-network, the first visual cue association analysis module, the second attention sub-network, and the second visual cue association analysis module in series in sequence, connect the first and second visual cue association analysis modules in parallel, and then connect them in series with the image quality regression module to form a reference-free image quality evaluation network based on visual cue association analysis.
[0034] The structure of the image quality regression module is: normalization layer, self-attention decoding block, and fully connected layer. The number of nodes in the fully connected layer is set to 16. The self-attention decoding block is composed of three cascaded self-attention decoding layers with the same structure and parameter settings, and each self-attention decoding layer is composed of three cascaded convolutional layers, where the number of input channels of the convolutional layer is set to 192 and the number of output channels is set to 192.
[0035] Step 4: Generate training set and test set.
[0036] In an embodiment of the present invention, the KonIQ-10k publicly known database refers to: the image quality evaluation database proposed by Hosu V et al. in “Koniq-10k: An Ecologically Valid Database for Deep Learning of Blind Image Quality Assessment[J]. IEEE Transactions on Image Processing, 2020, 29: 4041-4056.”, referred to as the KonIQ-10k publicly known database.
[0037] A sample set is composed of 6000 images of dimension W×H×C and their score labels, where W, H, and C represent the width, height, and number of channels of the RGB image, respectively, W ≥ 224, H ≥ 224, and C = 3.
[0038] Each image in the sample set is cropped into a sub-image with a dimension of 224×224×3, and each cropped sub-image is randomly flipped and pixel normalized in turn; the mean of the normalized sub-image in the sample set is set to mean=[0.485,0.456,0.406], and the standard deviation is set to std=[0.229,0.224,0.225]. The R, G, and B channels of the sub-image are processed using the following formulas:
[0039]
[0040] Among them, R, G, and B represent the pixel values of each sub-image in the sample set in the red, green, and blue channels respectively, max represents the maximum pixel value that may exist in the sub-image, and R Norm ,G Norm ,B Norm Respectively represent the pixel values of the normalized sub-image in the red, green, and blue channels.
[0041] Get the quality score label of the original image corresponding to each sub-image, and form a training set with all sub-images and corresponding quality score labels.
[0042] Another 1000 images and their corresponding quality score labels are taken from the KonIQ-10k public database and the test set is generated through the same steps as the training set.
[0043] Step 5: Linearly encode all images in the training set and the test set.
[0044] Each image in the training set and the test set is divided into non-overlapping image blocks to obtain 256 local blocks of size 14×14×3. All local blocks of an image are mapped to feature vectors through linear embedding coding. All feature vectors form an input sequence, and a CLS is added to the beginning of the input sequence as a learnable token, where CLS is a random vector of the same dimension as the feature vector.
[0045] Step 6: Train a no-reference image quality assessment network based on visual cue association parsing.
[0046] The training parameters are set, and the encoded training set is input into the no-reference image quality assessment network based on visual cue association analysis. The Adamw optimizer is used to iteratively update the network parameters until the loss function converges to obtain a trained no-reference image quality assessment network.
[0047] The loss function is as follows:
[0048]
[0049] Among them, i represents the image number in the training set, represents the quality score of the i-th image after being processed by the no-reference image quality assessment network, y i represents the quality score label of the i-th image, and ∥·∥1 represents the absolute value loss function.
[0050] The training parameters are specifically set as follows: the small positive number is set to epsilon = 1e-8, and the learning rate is set to learn_ratio = 2×10 -5 , the width and height of the sub-image are set to w = 224, h = 224, the width and height of the local block are set to P = 14, and the number of training rounds is set to epoch = 30.
[0051] Step 7: Perform quality evaluation on the image without reference to be evaluated.
[0052] The linearly encoded test set is input into the trained no-reference image quality assessment network and the quality assessment score is output.
[0053] The effect of the present invention is further described below in conjunction with simulation experiments:
[0054] 1. Simulation experiment conditions:
[0055] The simulation experiment hardware platform of the present invention is: the CPU is Intel (R) Core (TM) i9-7900X CPU.3.30GHz, and the graphics card is NVIDIA Geforce RTX 3090GPU.
[0056] The simulation experiment software platform of the present invention is: the operating system version is Ubuntu 20.04.6LTS, the CUDA version is 11.3, and the Pytorch deep learning framework version is 11.8.
[0057] The input images used in the simulation experiment of the present invention are from the well-known image quality evaluation databases TID2013, KonIQ-10k and LIVEC.
[0058] The TID2013 database includes 25 reference images and 3,000 distorted images.
[0059] The KonIQ-10k database includes 10,073 distorted images.
[0060] The LIVEC database includes 1162 distorted images.
[0061] 2. Simulation content and results analysis:
[0062] The simulation experiment of the present invention adopts the present invention and two existing technologies (LPF and MetaIQA) to perform reference-free image quality evaluation on distorted images in three known image quality evaluation databases, namely TID2013, KonIQ-10k and LIVEC.
[0063] The consistency between the quality prediction value and the image label of the no-reference image is calculated to obtain an evaluation index, which is used to measure the no-reference image evaluation effects of the present invention and two prior arts (LPF method and MetaIQA method) on the distorted images in the above three known image quality evaluation databases.
[0064] In the simulation experiment, the two existing technologies used are:
[0065] The LPF method refers to the no-reference image quality evaluation method proposed by Huang Q et al. in “A Lightweight Parallel Framework for Blind Image Quality Assessment[J].arXiv preprint arXiv:2402.12043,2024.”, referred to as the LPF method.
[0066] The MetaIQA method refers to the no-reference image quality assessment method proposed by Zhu H et al. in "MetaIQA: Deep meta-learning for no-reference image quality assessment[C] / / Proceedings of the IEEE / CVF conference on computer vision and pattern recognition.2020:14143-14152.", referred to as the MetaIQA method.
[0067] In the simulation experiment, the three known image quality evaluation databases used are:
[0068] The TID2013 publicly known database refers to the image quality evaluation database proposed by Ponomarenko N et al. in “Color Image Database TID2013: Peculiarities and Preliminary Results [C]. In European Workshop on Visual Information Processing. IEEE, 2013: 106-111.”, referred to as the TID2013 publicly known database.
[0069] The KonIQ-10k public database refers to the image quality evaluation database proposed by Hosu V et al. in "Koniq-10k: An Ecologically Valid Database for Deep Learning of Blind Image Quality Assessment[J]. IEEE Transactions on Image Processing, 2020, 29: 4041-4056.", referred to as the KonIQ-10k public database.
[0070] The LIVEC public database refers to the image quality evaluation database proposed by Ghadiyaram D et al. in "Massive Online Crowdsourced Study of Subjective and Objective Picture Quality[J].IEEE Transactions on Image Processing, 2015, 25(1):372-387.", referred to as the LIVEC public database.
[0071] In order to judge the quality of the no-reference image quality evaluation of the present invention and the other two existing technologies, this simulation experiment uses the Spearman Rank-Order Correlation Coefficient (SROCC) and the Pearson Linear Correlation Coefficient (PLCC) to objectively judge the quality of the no-reference image quality evaluation of the present invention and the two existing technologies.
[0072] Spearman Rankorder Correlation Coefficient (SROCC)
[0073] The Spearman correlation determines the strength and direction of the monotonic relationship between two variables and measures the monotonicity of the algorithm's predictions. The expression is:
[0074]
[0075] Among them, r xi represents the subjective quality evaluation result of the i-th image to be tested, r yi represents the objective quality evaluation result, (r xi -r yi ) 2 It represents the difference between the two, which is calculated by sorting the difference set.
[0076] Pearson Linear Correlation Coefficient (PLCC)
[0077] x i and i They represent the subjective quality evaluation score and objective score of the i-th tested image respectively. The expression is:
[0078]
[0079] Where n is the total number of images, and The linear correlation coefficient describes the correlation between the algorithm evaluation value and the subjective score of the human eye, and also measures the accuracy of the algorithm prediction.
[0080] The simulation experiment of the present invention uses the method of the present invention and two prior arts to evaluate images in three different known databases, and calculates two consistency indices of the evaluation results of each method. The calculation results are shown in Table 1.
[0081] Table 1. Comparison of evaluation results of three methods
[0082]
[0083] As can be seen from Table 1, the Spearman rank order correlation coefficient SROCC and the Pearson linear correlation coefficient PLCC of the evaluation results of the present invention on three known image quality evaluation databases are higher than those of the two existing technologies, proving that the present invention has a better effect of no-reference image quality evaluation.
Claims
1. A no-reference image quality assessment method based on visual cue association analysis, characterized in that: The quality of the no-reference image is evaluated by constructing a no-reference image quality evaluation network based on visual cue association analysis, which includes a transposed attention sub-network with local non-equality interaction and a visual cue association analysis module; the no-reference image evaluation method comprises the following steps: Step 1: Construct a local non-equal interaction transposed attention sub-network: Build the first and second local unequally interactive transposed attention sub-networks with the same structure but different parameters. The structure of each sub-network is: the first convolutional layer, the second convolutional layer, the transposition operation layer, the third convolutional layer, the first normalization layer, the fully connected layer, and the second normalization layer. The first convolutional layer and the first normalization layer, and the first normalization layer and the second normalization layer are connected with residual connections. Step 2: Build a visual clue association parsing module: Building the first and second visual clue association parsing modules with the same structure but different parameter settings. The structure of each visual clue association parsing module is: the first convolution layer, the second convolution layer, the probability estimation layer, the third convolution layer, and the first and third convolution layers are skipped. Step 3, connecting the first attention sub-network, the first visual cue association analysis module, the second attention sub-network, and the second visual cue association analysis module in series in sequence, connecting the first and second visual cue association analysis modules in parallel and then connecting them in series with the image quality regression module to form a reference-free image quality assessment network based on visual cue association analysis; Step 4: Linearly encode all images in the generated training set: Step 5: Train a reference-free image quality assessment network based on visual cue association analysis: Set the training parameters, input the training set into the no-reference image quality assessment network based on visual cue association analysis, and use the Adamw optimizer to iteratively update the network parameters until the loss function converges to obtain a trained no-reference image quality assessment network; Step 6: Perform quality evaluation on the image without reference: Using the same method as in step 4, the no-reference image to be evaluated is normalized, preprocessed, and linearly encoded in turn, and the linear encoding result is input into the trained no-reference image quality assessment network to output the quality assessment score.
2. The method for no-reference image quality assessment based on visual cue association analysis according to claim 1, characterized in that: The local unequally interactive transposed attention subnetwork with different parameters in step 1 means that the number of feature groupings Heads of the first convolutional layer in the first attention subnetwork is set to 6, the number of input channels of the first to third convolutional layers are set to 64, 128 and 128 respectively, the sizes of the convolution kernels are set to 1×1, 3×3 and 1×1 respectively, the step sizes are all set to 1, and the number of nodes in the fully connected layer is set to 128; the number of input channels of the first to third convolutional layers in the second attention subnetwork is set to 128, 256 and 256 respectively, the number of nodes in the fully connected layer is set to 64, and the other parameter settings are consistent with the first attention subnetwork.
3. The method for no-reference image quality assessment based on visual cue association analysis according to claim 1, characterized in that: The visual clue association parsing module with different parameter settings in step 2 means that the number of input and output channels of the first to third convolutional layers in the first visual clue association parsing module are set to 128, the convolution kernel sizes are set to 1×1, 3×3 and 1×1 respectively, the step sizes are set to 1, and the function selected for the probability estimation layer is Gumble-softmax; the number of input and output channels of the first to third convolutional layers in the second visual clue association parsing module are set to 64, and the other parameter settings are consistent with the first visual clue association parsing module.
4. The method for no-reference image quality assessment based on visual cue association analysis according to claim 1, characterized in that: The structure of the image quality regression module in step 3 is: normalization layer, self-attention decoding block, fully connected layer, and the number of nodes in the fully connected layer is set to 16; the self-attention decoding block is composed of three cascaded self-attention decoding layers with the same structure and parameter settings, and each self-attention decoding layer is composed of three cascaded convolutional layers, wherein the number of input channels of the convolutional layer is set to 192, and the number of output channels is set to 192.
5. The method for no-reference image quality assessment based on visual cue association analysis according to claim 1, characterized in that: The normalization process described in step 4 means that the mean of each image in the sample set is set to mean = [0.485, 0.456, 0.406], the standard deviation is set to std = [0.229, 0.224, 0.225], and the R, G, and B channels of the image are processed using the following formulas: Among them, R, G, and B represent the pixel values of each image in the sample set in the red, green, and blue channels respectively, max represents the maximum pixel value that may exist in the image, and R Norm ,G Norm ,B Norm Respectively represent the pixel values of the normalized image in the red, green, and blue channels.
6. The method for no-reference image quality assessment based on visual cue association analysis according to claim 1, characterized in that: The steps to generate the training set described in step 4 are as follows: The first step is to form a sample set with L images of dimension W×H×C and score labels, where L ≥ 1000, W, H, and C represent the width, height, and number of channels of the RGB image, respectively, W ≥ 224, H ≥ 224, and C = 3; In the second step, each image in the sample set is cropped into a sub-image of size w×h×c, and each cropped sub-image is randomly flipped and pixel normalized in turn, where w, h, and c represent the width, height, and dimension of the input image of the reference-free image quality assessment network based on visual cue association parsing, respectively. The third step is to add a quality score label to each processed sub-image; the score refers to the average of the evaluation scores of the M evaluators on the degree of distortion of the same sub-image; In the fourth step, all processed sub-images and their corresponding quality score labels form a training set.
7. The method for no-reference image quality assessment based on visual cue association analysis according to claim 1, characterized in that: The linear coding described in step 4 refers to: dividing each image in the training set into non-overlapping image blocks to obtain N local blocks of size P×P×3, mapping all local blocks of an image into feature vectors through linear embedding coding, forming all feature vectors into an input sequence, and adding a CLS as a learnable token at the beginning of the input sequence, where N represents the total number of non-overlapping image blocks, P and P represent the width and height of each local block respectively, P is the common factor of w and h, and CLS is a random vector of the same dimension as the feature vector.
8. The method for no-reference image quality assessment based on visual cue association analysis according to claim 1, characterized in that: The training parameters set in step 5 are as follows: the small positive number is set to epsilon = 1e-8, and the learning rate is set to learn_ratio = 2×10 -5 , the width and height of the sub-image are set to w = 224, h = 224, the width and height of the local block are set to P = 14, and the number of training rounds is set to epoch = 30.
9. The method for no-reference image quality assessment based on visual cue association analysis according to claim 1, characterized in that: The loss function described in step 5 is specifically: Among them, i represents the image number in the training set, represents the quality score of the i-th image after being processed by the no-reference image quality assessment network, y i represents the quality score label of the i-th image, and ∥·∥1 represents the absolute value loss function.
Citation Information
Patent Citations
No-reference image quality evaluation method based on self-attention image coding
CN113222032A
Non-reference image quality evaluation method based on deep feature transfer learning
CN113421237A
Non-reference image quality evaluation method based on multi-local graph adaptive weighting
CN114494723A
Low-light image enhancement method based on depth feature extraction
CN116823659A
Scene text recognition method and device
WO2023083280A1
