An image quality assessment method based on multiple features and multiple combinations

The low-level to high-level semantic features of images are extracted through the ResNet-50 network, and through feature combination selection and MLP regression models, the problem of low image quality prediction accuracy in the existing technology is solved, and the accuracy and efficiency of image quality evaluation are improved. , enhancing its application value in specific fields.

CN118608927BActive Publication Date: 2024-10-22GUANGDONG JIADERUN MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411088583.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-22
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

Existing image quality evaluation methods ignore low-level semantic features of images, resulting in low accuracy in predicting overall image quality, which limits their application in fields such as medical image analysis and automatic image recognition.

Method used

ResNet-50 is used as the backbone network for feature extraction. Through feature multiple combination selection and MLP regression prediction model, low-level to high-level semantic features of the image are extracted, and the performance of the model is improved through feature combination, and finally the image quality is accurately predicted.

Benefits of technology

It improves the accuracy and efficiency of image quality evaluation and ensures its application value in fields such as medical image analysis and automatic image recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608927B_ABST
    Figure CN118608927B_ABST
Patent Text Reader

Abstract

This invention discloses an image quality assessment method based on multiple feature combinations, comprising the following steps: a feature extraction backbone network, feature multiple combination selection, and a multilayer perceptron (MLP) regression prediction model. By setting up a feature extraction backbone network, feature multiple combination selection, and an MLP regression prediction model, this invention first performs normalization preprocessing on the image before feature extraction, which helps reduce model training time and improve model prediction accuracy. Simultaneously, ResNet-50 is used as the semantic feature extraction backbone network, and weights pre-trained on ImageNet are used. To represent more complete information of the overall image and capture local image distortions, the ResNet-50 network is further used to extract features from the image simultaneously, from low-level semantics to high-level semantics, ensuring the accuracy of the system's final overall image quality prediction and guaranteeing the effectiveness of the final image evaluation process.
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 quality assessment, and more specifically, to an image quality assessment method based on multiple features and multiple combinations. Background Art

[0002] Image quality refers to people's evaluation of the visual experience of images. For image processing systems, the main body of information is images, and the main indicator for measuring this system is image quality. Image quality evaluation is mainly divided into: full reference image quality evaluation, no reference image quality evaluation, and reduced reference image quality evaluation. Among them, the no reference image quality evaluation method is particularly involved. This method is an algorithm designed based on the characteristics of the image itself and the standards of human perception, so as to evaluate the image quality that conforms to human perception, and does not require the use of high-quality reference images as the evaluation standard.

[0003] The current image quality assessment method uses neural networks for feature extraction and utilizes the output features of the last layer of the network, which represents the high-level semantic features of the image and often ignores the low-level semantic features of the image, such as the texture and edge features of the image. This results in the system's final prediction of the overall image quality being low in accuracy, affecting the processing of the final result and limiting the application effect of image quality assessment technology (such as medical image analysis, automatic image recognition and other fields). Summary of the invention

[0004] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides an image quality evaluation method based on multiple features and multiple combinations. By setting a feature extraction backbone network, multiple feature combination selection and an MLP regression prediction model, the image is first normalized and preprocessed before feature extraction is performed on the image, which helps to reduce the training time of the model and improve the accuracy of the model prediction. At the same time, ResNet-50 is used as the backbone network for semantic feature extraction, and the weights pre-trained on ImageNet are used. When the ResNet-50 network is further used to extract features from the image, the overall image features from low-level semantics to high-level semantic features are extracted synchronously, and the accuracy of the system's final prediction of the overall image quality is guaranteed, thereby ensuring the effect of the final image evaluation processing, so as to solve the problems raised in the above-mentioned background technology.

[0005] To achieve the above object, the present invention provides the following technical solution: an image quality evaluation method based on multiple features and multiple combinations, comprising the following steps:

[0006] S1. Feature extraction backbone network: First, the ResNet-50 network is used to extract features from the image, and the semantic features of the image from low-level to high-level are extracted. That is, the ResNet-50 network has four layers of Conv Block units. The image passes through the last ID Block in the first layer of Conv Block, at which time the low-level features of the edge and color of the image are extracted. The image passes through the last ID Block in the second layer of Conv Block, and the abstract level of the image features is gradually increased. At this time, deeper textures and local patterns are extracted. The image passes through the last ID Block in the third layer of Conv Block, and high-level and abstract features are captured. The image passes through the last ID Block in the fourth layer of Conv Block. At this time, the generated feature map contains global complete abstract information. After each layer of convolution, the input image is output with its features, thereby obtaining four sets of features, and globally average pooling them into vectors, which are 256 dimensions, 512 dimensions, 1024 dimensions, and 2048 dimensions respectively;

[0007] S2, multiple combination selection of features: The four groups of features in S1 are then recorded as F1, F2, F3, and F4, and the features are multiple combined, that is, the single-level features are double-superimposed and triple-superimposed to improve the performance of the model. After the image passes through the last ID Block in the first layer Conv Block, it is sent to the AVG Pool for adaptive average pooling, that is, the overall feature information of the image is downsampled by one layer. While reducing the image dimension, the information is passed to the next module for feature extraction, and finally the multi-dimensional input data is converted into a one-dimensional linear form by the Flatten layer. Specifically, each element of the two-dimensional array is extracted one by one through the Flatten layer to form a continuous one-dimensional array, which is passed to the subsequent neural network model to further process and understand the image, and finally obtain F1;

[0008] After the image passes through the last ID Block in the second layer Conv Block, it is sent to the AVG Pool for adaptive average pooling. The Flatten layer converts the multi-dimensional input data into a one-dimensional linear form and passes it to the subsequent neural network model. The processing path of the AVG Pool and Flatten layers is consistent with F1, and finally F2 is obtained;

[0009] After the image passes through the last ID Block in the third layer Conv Block, it is sent to the AVG Pool for adaptive average pooling. The Flatten layer converts the multi-dimensional input data into a one-dimensional linear form and passes it to the subsequent neural network model. The processing path of the AVG Pool and Flatten layers is consistent with F1, and finally F3 is obtained;

[0010] After the image passes through the last ID Block in the fourth layer Conv Block, it is sent to the AVG Pool for adaptive average pooling, and the Flatten layer converts the multi-dimensional input data into a one-dimensional linear form and passes it to the subsequent neural network model. The processing path of the AVG Pool and Flatten layers is consistent with F1, and finally F4 is obtained;

[0011] At this time, the image is permuted and combined in a specific path by performing a combination of double superposition and triple superposition and then output. Specifically, the image is repeated three times through the path of F1, then once through the path of F2, then twice through the path of F3, and finally once through the path of F4, so as to obtain the final data, that is, the combination of F1⊕F1⊕F1⊕F2⊕F3⊕F3⊕F4 (where ⊕ represents the connection method of the feature vector) is applied to the model to process and output the image;

[0012] S3, MLP regression prediction model: Through the above selection of feature combinations, the optimal combination of F1⊕F1⊕F1⊕F2⊕F3⊕F3⊕F4 is obtained, and its dimension is 5376 dimensions. Finally, the vector is input into MLP for dimensionality reduction so that it can be accurately mapped to the quality score. MLP consists of two fully connected layers. The first layer reduces the 5376-dimensional feature vector to 128 dimensions, and the second layer reduces the 128-dimensional feature vector to 1 dimension and directly maps it to the quality score.

[0013] In a preferred embodiment, in step S1, the data set is divided into a training set and a test set in a ratio of 8:2, the number of training batches is 64, and the epoch of model training is set to 3000, using the L1 loss function and Adam optimizer, and the learning rate is set to 0.001. The trained model is saved and tested on the test set using the saved model.

[0014] In a preferred embodiment, the CSIQ dataset includes 30 original images and 866 composite distorted images, which covers six types of distortion: Gaussian blur, additive color Gaussian noise, additive Gaussian white noise, global contrast attenuation, JPEG compression and JPEG2000 compression. Each distortion type generates 866 degraded versions of the original images through 4 to 5 different degradation levels.

[0015] In a preferred embodiment, the data set also includes TID2013 and KADID-10K. TID2013 contains 25 reference images and 3,000 distorted images. TID2013 introduces 7 additional distortion types: color saturation, multiple Gaussian noise, comfort noise, lossy compression, color image quantization, color deviation and sparse sampling. Each type of distortion has five different levels. KADID-10K: contains 10,125 distorted images, which are derived from 81 reference images. The data set contains 25 different types of image distortion, including Gaussian blur, JPEG compression, added noise, and chroma distortion. Each distortion type has different degrees of application on different images.

[0016] The technical effects and advantages of the present invention are as follows: the present invention sets a feature extraction backbone network, feature multiple combination selection and MLP regression prediction model. Before extracting features from images, the image is first normalized and preprocessed, which helps to reduce the training time of the model and improve the accuracy of model prediction. At the same time, ResNet-50 is used as the backbone network for semantic feature extraction, and weights pre-trained on ImageNet are used. In order to represent more complete information of the overall image and capture local distortion of the image, the ResNet-50 network is further used to extract features from the image, and the overall image features from low-level semantics to high-level semantic features are extracted synchronously, and the accuracy of the system's final prediction of the overall image quality is guaranteed, thereby ensuring the effect of its final image evaluation processing, and exerting a more excellent application value in the fields of medical image analysis and automatic image recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is the overall model framework flow chart of the present invention;

[0018] Figure 2 It is a schematic diagram of the fitting effect of the predicted value and the true value on the CSIQ data set of the present invention;

[0019] Figure 3 It is a schematic diagram of the fitting effect of the predicted value and the true value on the TID2013 data set of the present invention;

[0020] Figure 4It is a schematic diagram of the fitting effect between the predicted value and the true value on the KADID-10K data set of the present invention. DETAILED DESCRIPTION

[0021] 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.

[0022] like Figures 1 to 4 The image quality evaluation method based on multiple features and multiple combinations shown in the figure comprises the following steps:

[0023] S1. Feature extraction backbone network: First, the ResNet-50 network is used to extract features from the image, and the semantic features of the image from low-level to high-level are extracted. That is, the ResNet-50 network has four layers of Conv Block units. The image passes through the last ID Block in the first layer of Conv Block, at which time the low-level features of the edge and color of the image are extracted. The image passes through the last ID Block in the second layer of Conv Block, and the abstract level of the image features is gradually increased. At this time, deeper textures and local patterns are extracted. The image passes through the last ID Block in the third layer of Conv Block, and high-level and abstract features are captured. The image passes through the last ID Block in the fourth layer of Conv Block. At this time, the generated feature map contains global complete abstract information. After each layer of convolution, the input image is output with its features, thereby obtaining four sets of features, and globally average pooling them into vectors, which are 256 dimensions, 512 dimensions, 1024 dimensions, and 2048 dimensions respectively;

[0024] S2. Multiple combination selection of features: Features at different levels in an image are usually complementary, that is, they each capture different aspects or levels of information of the image. Combining them together can make up for the shortcomings of features at a single level, thereby improving the model's ability to understand the input data. The feature fusion method has an impact on the subsequent analysis tasks to a certain extent. Therefore, a new feature fusion method is proposed in this application. At present, most methods for processing multi-scale features are to calculate the weights of each feature to highlight the importance of a certain feature, and then apply it to the subsequent tasks. In this application, in order to measure the impact of the importance of each feature on the subsequent prediction effect, the features are combined multiple times, that is, by doubly and triple superposition of features at a certain level to improve the performance of the model. Specifically, the four groups of features in S1 are respectively recorded as F1, F2, F3, and F4, and the features are combined multiple times, that is, by double superposition and triple superposition of features at a single level to improve the performance of the model. In the double superposition, by combining F1⊕F1⊕F2⊕F3⊕F 4. Select a combination method that is more accurate in predicting the image quality from F1⊕F2⊕F2⊕F3⊕F4, F1⊕F2⊕F3⊕F3⊕F4, and F1⊕F2⊕F3⊕F4⊕F4 (where ⊕ represents the connection method of the feature vectors) and apply it to the model; in the triple superposition, by combining F1⊕F1⊕F1⊕F2⊕F3⊕F4, F1⊕F2⊕F2⊕F2⊕F3⊕F4, F1⊕F2⊕F3⊕F3⊕F4, and F1⊕F2⊕F3⊕F4⊕F4⊕ Select an optimal superposition method in F4. Through five experiments on the CSIQ data set, as shown in Tables 1 and 2, the results are taken as the average of the five experiments. The combination of double superposition F1⊕F2⊕F3⊕F3⊕F4 and the combination of triple superposition F1⊕F1⊕F1⊕F2⊕F3⊕F4 respectively achieve the best prediction effect (in bold). At this time, the two optimal superposition methods are further combined, that is, the combination of F1⊕F1⊕F1⊕F2⊕F3⊕F3⊕F4 is used in the model;

[0025] S3, MLP regression prediction model: Through the above selection of feature combinations, the optimal combination of F1⊕F1⊕F1⊕F2⊕F3⊕F3⊕F4 is selected, and its dimension is 5376. Since the vector dimension is large, it is necessary to input the vector into MLP for dimensionality reduction so that it can be more accurately mapped to the quality score. Specifically, MLP consists of two fully connected layers. The first layer reduces the 5376-dimensional feature vector to 128 dimensions, and the second layer reduces the 128-dimensional feature vector to 1 dimension and directly maps it to the quality score, and finally obtains the predicted data of the image.

[0026] Among them, Table 1. Comparison table of various combinations of double superposition on CSIQ dataset

[0027]

[0028] Table 2. Comparison of various combinations of triple superposition on the CSIQ dataset

[0029]

[0030] Model training and prediction: In the model training and prediction stages, the dataset was divided into training set and test set in a ratio of 8:2. The number of training batches was 64, and the epoch of model training was set to 3000. The L1 loss function and Adam optimizer were used, and the learning rate was set to 0.001. The trained model was saved and tested on the test set.

[0031] Experimental analysis

[0032] The proposed algorithm was tested multiple times on the recognized datasets (LIVE, CSIQ, TID2013, KADID-10K), and the average values ​​of the two evaluation indicators, Pearson linear correlation coefficient (PLCC) and Spearman rank-order correlation coefficient (SROCC), were used to evaluate the proposed algorithm. PLCC is used to evaluate the accuracy of the prediction of the image quality evaluation model, that is, to describe the correlation between the objective evaluation score of the algorithm and the subjective score of the human eye; SROCC is used to measure the monotonicity of the prediction of the image quality evaluation algorithm. The calculation formula is as follows:

[0033]

[0034] Where N represents the number of images, represents the objective score value of the i-th image, represents the objective score mean, represents the subjective score value of the i-th image, Represents the mean of subjective scores. The value of PLCC is between [-1,1], and the larger the value, the higher the accuracy.

[0035] Where N represents the number of images, represents the subjective score value of the i-th image, In order to demonstrate the effectiveness of the proposed algorithm, the two evaluation indicators of several other algorithms are compared. The results of the double and triple superposition methods are shown in Table 3. The best result is represented by *, the second best result is represented by #, and the third best result is represented by &. Figure 1 , Figure 2 and Figure 3 Respectively represent the fitting effect diagrams of predicted values ​​and true values ​​on the CSIQ, TID2013 and KADID-10k datasets.

[0036] Table 3. Comparison of two indicators of different algorithms

[0037]

[0038] Dataset introduction:

[0039] CSIQ: Includes 30 original images and 866 composite distorted images, which covers six types of distortion: Gaussian blur, additive color Gaussian noise, additive Gaussian white noise, global contrast attenuation, JPEG compression, and JPEG2000 compression. Each distortion type generates 866 degraded versions of the original image through 4 to 5 different degradation levels.

[0040] TID2013: Contains 25 reference images and 3000 distorted images. Compared with TID2008, TID2013 introduces 7 additional distortion types: color saturation, multi-Gaussian noise, comfort noise, lossy compression, color image quantization, color deviation and sparse sampling, and each type of distortion has five different levels.

[0041] KADID-10K: Contains 10,125 distorted images derived from 81 reference images. The dataset contains 25 different types of image distortions, including Gaussian blur, JPEG compression, added noise, chroma distortion, etc. Each distortion type is applied to different images to varying degrees.

[0042] Ablation experiment

[0043] This application proposes an image quality evaluation method based on multiple features and multiple combinations, that is, in order to more accurately represent the semantic features of the image from low-level to high-level, multi-layer perceptual features are extracted in the feature extraction backbone network for feature fusion. Therefore, in order to illustrate that the semantic features of each layer have a certain improvement on the accuracy of image quality prediction, and help to reduce the training time of the model and improve the accuracy of model prediction, and ensure the effect of its final image evaluation, this application conducts an ablation experiment on the CSIQ dataset, and the experimental results are as follows: (where the output feature corresponding to stage1 is F1, the output feature corresponding to stage2 is F2, the output feature corresponding to stage3 is F3, and the output feature corresponding to stage4 is F4)

[0044] Table 4. Multi-layer perception feature ablation experiment

[0045]

[0046] From Table 4, we can see that the features output from stage1 are used to measure the PLCC and SROCC indicators for evaluating image quality, which are only 0.918 and 0.944. The features output from stage4, the last layer of the network, are used to evaluate image quality, and their PLCC and SROCC values ​​are 0.900 and 0.924. This shows that the algorithm model that only extracts low-level semantic features or high-level semantic features of the image for image quality prediction is not very good. This is because the information representation of the image is insufficient, so that the image quality assessment is inaccurate. As the number of layers increases, the values ​​of PLCC and SROCC also increase. In addition, among the four combinations of two-stage superposition, the combination of stage1+stage2+stage3+stage3+stage4 shows the best effect; among the four combinations of three-stage superposition, the combination of stage1⊕stage1⊕stage1⊕stage2⊕stage3⊕stage4 shows the best effect. Finally, the double and triple superposition methods were combined again, and the PLCC and SROCC values ​​reached the optimal results of 0.957 and 0.963.

[0047] Therefore, the output features F1⊕F1⊕F1⊕F2⊕F3⊕F3⊕F4 corresponding to stage1⊕stage1⊕stage1⊕stage2⊕stage3⊕stage3⊕stage4 can ensure the accuracy of the system's final prediction of the overall image quality and ensure the effect of its final image evaluation processing.

[0048] Finally, a few points should be explained: First, in the description of this application, it should be noted that, unless otherwise specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, which may refer to mechanical connection or electrical connection, or internal communication between two components, or direct connection. "upper", "lower", "left", "right", etc. are only used to indicate relative positional relationships. When the absolute position of the object being described changes, the relative positional relationship may change;

[0049] Secondly: In the drawings of the embodiments disclosed in the present invention, only the structures related to the embodiments disclosed in the present invention are involved, and other structures can refer to the general design. In the absence of conflict, the same embodiment and different embodiments of the present invention can be combined with each other;

[0050] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An image quality assessment method based on multiple features and multiple combinations, Features: The following steps are included: S1. Feature extraction backbone network: First, the ResNet-50 network is used to extract features from the image, and the semantic features of the image from low-level to high-level are extracted. That is, the ResNet-50 network has four layers of Conv Block units. The image passes through the last ID Block in the first layer of Conv Block, at which time the low-level features of the edge and color of the image are extracted. The image passes through the last ID Block in the second layer of Conv Block, and the abstract level of the image features is gradually increased. At this time, deeper textures and local patterns are extracted. The image passes through the last ID Block in the third layer of Conv Block, and high-level and abstract features are captured. The image passes through the last ID Block in the fourth layer of Conv Block. At this time, the generated feature map contains global complete abstract information. After each layer of convolution, the input image is output with its features, thereby obtaining four sets of features, and globally average pooling them into vectors, which are 256 dimensions, 512 dimensions, 1024 dimensions, and 2048 dimensions respectively; S2, multiple combination selection of features: The four groups of features in S1 are then recorded as F1, F2, F3, and F4, and the features are multiple combined, that is, the single-level features are double-superimposed and triple-superimposed to improve the performance of the model. After the image passes through the last ID Block in the first layer Conv Block, it is sent to the AVG Pool for adaptive average pooling, that is, the overall feature information of the image is downsampled by one layer. While reducing the image dimension, the information is passed to the next module for feature extraction, and finally the multi-dimensional input data is converted into a one-dimensional linear form by the Flatten layer. Specifically, each element of the two-dimensional array is extracted one by one through the Flatten layer to form a continuous one-dimensional array, which is passed to the subsequent neural network model to further process and understand the image, and finally obtain F1; After the image passes through the last ID Block in the second layer Conv Block, it is sent to the AVG Pool for adaptive average pooling. The Flatten layer converts the multi-dimensional input data into a one-dimensional linear form and passes it to the subsequent neural network model. The processing path of the AVG Pool and Flatten layers is consistent with F1, and finally F2 is obtained; After the image passes through the last ID Block in the third layer Conv Block, it is sent to the AVG Pool for adaptive average pooling. The Flatten layer converts the multi-dimensional input data into a one-dimensional linear form and passes it to the subsequent neural network model. The processing path of the AVG Pool and Flatten layers is consistent with F1, and finally F3 is obtained; After the image passes through the last ID Block in the fourth layer Conv Block, it is sent to the AVG Pool for adaptive average pooling, and the Flatten layer converts the multi-dimensional input data into a one-dimensional linear form and passes it to the subsequent neural network model. The processing path of the AVG Pool and Flatten layers is consistent with F1, and finally F4 is obtained; At this time, the image is permuted and combined in a specific path by performing a combination of double superposition and triple superposition on the image and then outputted. Specifically, the image is repeated three times from the path of F1, then once from the path of F2, then twice from the path of F3, and finally once from the path of F4, so as to obtain the final data. ⊕ is set to represent the connection method of the feature vector, that is, the combination method of F1⊕F1⊕F1⊕F2⊕F3⊕F3⊕F4 is used in the model to process and output the image. S3, MLP regression prediction model: By selecting the feature combination, the optimal combination of F1⊕F1⊕F1⊕F2⊕F3⊕F3⊕F4 is obtained, and its dimension is 5376 dimensions. Finally, the vector is input into MLP for dimensionality reduction so that it can be accurately mapped to the quality score. MLP consists of two fully connected layers. The first layer reduces the 5376-dimensional feature vector to 128 dimensions, and the second layer reduces the 128-dimensional feature vector to 1 dimension and directly maps it to the quality score.

2. The image quality assessment method based on multiple features and multiple combinations according to claim 1, Features: In step S1, the dataset is divided into a training set and a test set in a ratio of 8:

2. The number of training batches is 64, and the epoch of model training is set to 3000. The L1 loss function and Adam optimizer are used, and the learning rate is set to 0.

001. The trained model is saved and tested on the test set.

3. The image quality assessment method based on multiple features and multiple combinations according to claim 2, Features: The dataset contains the CSIQ dataset, which includes 30 original images and 866 composite distorted images, covering six types of distortion: Gaussian blur, additive color Gaussian noise, additive Gaussian white noise, global contrast attenuation, JPEG compression and JPEG2000 compression. Each distortion type generates 866 degraded versions of the original images through 4 to 5 different degradation levels.

4. The image quality assessment method based on multiple features and multiple combinations according to claim 2, Features: The dataset contains the TID2013 dataset, which contains 25 reference images and 3000 distorted images. The TID2013 dataset introduces 7 additional distortion types: color saturation, multiple Gaussian noise, comfort noise, lossy compression, color image quantization, color deviation and sparse sampling, and each type of distortion has five different levels.

5. The image quality assessment method based on multiple features and multiple combinations according to claim 2, Features: The data set includes the KADID-10K data set, which includes 10,125 distorted images. The 10,125 images are derived from 81 reference images and include 25 different types of image distortions, including Gaussian blur, JPEG compression, noise addition, and chromaticity distortion.