Image quality assessment method based on EEG signals and memory characteristics
By obtaining the memory feature values of color images and constructing a deep convolutional neural network to extract EEG signal features, the problem of not considering the influence of memory characteristics in the existing technology is solved, and high-accuracy and efficient color image quality evaluation is achieved.
Patent Information
- Application Number
- CN202210604898.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-05-30
AI Technical Summary
The existing technology fails to effectively consider the impact of the memory characteristics of the human visual system when perceiving color image distortion, resulting in similar and inaccurate evaluation results. In addition, the classification accuracy of traditional machine learning methods is low, resulting in inaccurate quality evaluation results.
By obtaining the memory feature values of color images, we generate distorted images with different levels of memory, collect EEG signals from subjects, construct a deep convolutional neural network, extract EEG signal features, and train the network for quality evaluation to solve the impact of memory characteristics. and low classification accuracy.
It achieves high accuracy, high efficiency and high robustness in color image quality evaluation, conforms to the quality evaluation process of the human visual system, and provides objective and accurate evaluation results.
Smart Images

Figure CN114998252B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of image processing technology, and further relates to an image quality evaluation method based on electroencephalogram signals and memory characteristics in the field of image quality evaluation technology. The present invention can be used to evaluate the quality of color images. Background Art
[0002] In the process of collecting, processing, compressing, transmitting, etc., various types of distortion will occur to varying degrees, resulting in the problem of color image quality degradation, which brings certain difficulties to the analysis, understanding and application of visual information in color images. Therefore, in order to obtain satisfactory color image quality, the study of color image quality evaluation methods has gradually become a broad and basic issue. Among them, the visual masking characteristics, target saliency characteristics and memory characteristics of color images will affect the perception of color images by the human visual system. The study of color image quality evaluation methods targeting color image characteristics is the focus of the research on color image quality evaluation methods.
[0003] Color image quality evaluation methods are divided into subjective color image quality evaluation methods and objective color image quality evaluation methods. Subjective color image quality evaluation methods use human eyes to directly watch and subjectively score the quality of color images. The evaluation results vary due to the subjective feelings of the observer, and have the disadvantages of being time-consuming and costly. Objective color image quality evaluation methods rely on algorithms or mathematical models for evaluation. Although they have the advantages of high evaluation efficiency, short evaluation time, and low cost, there are still some controversies. That is, due to the complexity of human eye perception, whether the color image quality results obtained by mathematical models can represent the perceived quality of color images obtained by people in real situations. Therefore, color image quality evaluation methods based on EEG signals came into being. By collecting EEG signals when subjects watch color images, the color image quality is evaluated. Compared with objective methods, it can directly reflect the observer's real feelings, and at the same time overcome the disadvantages of subjective methods such as being time-consuming and costly.
[0004] Tsinghua University disclosed an image quality evaluation method based on EEG features in its patent application "Image quality evaluation method and device based on EEG features" (patent application number: CN202110700519.0, application publication number: CN 113554597 A). The implementation steps of the method are: first, obtain the color image to be evaluated, input the color image to be evaluated into the score prediction network, and obtain the color image quality score output by the score prediction network. The disadvantage of this method is that the salient target characteristics, memory characteristics and other characteristics of the color image will affect the expectations and strategies of human visual psychology when perceiving distortion, and a large number of visual psychology experiments have also verified that image characteristics have a significant impact on distortion perception. Therefore, when performing image quality evaluation, this method does not take into account the factors that affect the human visual system when perceiving the distortion of the color image, such as the salient target characteristics and memory characteristics of the color image, resulting in the problem that the quality evaluation results of color images with different image characteristics are similar, but the actual quality evaluation results are quite different.
[0005] Xidian University disclosed a video quality evaluation method based on EEG signals and target salient characteristics in its patent application "Video Quality Evaluation Method Based on EEG Signals and Target Salient Characteristics" (patent application number: CN202110601075.5, application publication number: CN113255786A). The implementation steps of this method are: 1. Distortion processing of salient target videos and non-salient target videos; 2. Collecting EEG signals and eye movement data of subjects watching salient target videos and non-salient target videos, and calculating the detection rate of subjective evaluation of subjects; 3. Segmenting EEG signals, and using linear discriminant analysis to classify the segmented EEG signals, and calculating the classification accuracy of EEG signals; 4. Evaluating the quality of salient target videos and non-salient target videos through the mapping curve of subjective evaluation detection rate and EEG signal classification accuracy. The shortcoming of this method is that when using linear discriminant analysis for classification, since linear discriminant analysis, as a traditional machine learning method, cannot learn the deep characteristics of the subjects' EEG signals, the classification accuracy of linear discriminant analysis is low. Therefore, when this method performs quality evaluation, it is affected by the classification accuracy of linear discriminant analysis, resulting in inaccurate quality evaluation results. Summary of the invention
[0006] The purpose of the present invention is to propose an image quality evaluation method based on EEG signals and memory characteristics in response to the defects of the above-mentioned prior art, so as to solve the problem that the prior art does not take into account the influence of image characteristics such as the memory characteristics of color images when the human visual system perceives the distortion of color images, resulting in similar quality evaluation results of color images with different image characteristics, but greatly different from the actual quality evaluation results, and solve the problem that when using traditional machine learning classification methods, the classification accuracy is low, resulting in inaccurate quality evaluation results.
[0007] The idea for achieving the above purpose is: the present invention obtains a memory characteristic value describing the memory characteristics of a color image, and performs distortion processing on color images with different memory characteristic values, so as to solve the problem that the human visual system is not considered to be affected by the memory characteristics of the color image when perceiving the distortion of the color image in the prior art. The present invention constructs a deep convolutional neural network based on the characteristics of high temporal resolution and low spatial resolution of EEG signals, performs temporal and spatial convolution on the EEG signals, and effectively extracts the characteristics of the EEG signals. By collecting the EEG signals of each subject repeatedly watching an image with a high memorability value and an image with a low memorability value, intercepting the EEG signal fragments of each subject when observing the image distortion, annotating the EEG signal fragments to obtain a training set, using the training set to train the constructed deep convolutional neural network, and then using the trained deep convolutional neural network to evaluate the quality of the color image, so as to solve the problem that the quality evaluation results of color images with different memory characteristics when evaluating the images are similar, but differ greatly from the actual quality evaluation results.
[0008] To achieve the above object, the present invention comprises the following steps:
[0009] (1) Obtaining the memorable feature value of each color image;
[0010] (2) Generate color distorted images with different memory strengths;
[0011] (3) Collecting the EEG signals of the subjects when they watch the color distorted images with different levels of memory;
[0012] (4) intercepting the EEG signal fragments of each subject when they perceive the image distortion;
[0013] (5) Generate training sets using EEG signal fragments;
[0014] (6) Construct a deep convolutional neural network;
[0015] (7) Training deep convolutional neural networks;
[0016] (8) Use the trained network to evaluate the quality of strong memory images and weak memory images.
[0017] Compared with the prior art, the present invention has the following advantages:
[0018] First, the present invention designs a visual psychology experiment to obtain the memory characteristic value of the color image, and generates color distorted images with different memory strengths according to the memory characteristic value of the color image, which solves the problem in the prior art that the human visual system is affected by the memory characteristics of the color image when perceiving the distortion of the color image, and makes the present invention have the characteristic of high accuracy.
[0019] Second, in view of the characteristics of EEG signals having high temporal resolution and low spatial resolution, the present invention constructs a deep convolutional neural network, performs temporal and spatial convolution on EEG signals, and effectively extracts the features of EEG signals, so that the deep convolutional neural network of the present invention can effectively learn the features of EEG signals, giving the present invention the advantage of high efficiency.
[0020] Third, the present invention collects EEG signals of each subject when repeatedly viewing images with high memorability values and images with low memorability values, intercepts EEG signal segments of each subject when observing image distortion, annotates the EEG signal segments to obtain a training set, uses the training set to train the constructed deep convolutional neural network, and then uses the trained deep convolutional neural network to evaluate the quality of color images, so as to solve the problem that the quality evaluation results of color images with different memory characteristics of the evaluated images are similar, but differ greatly from the actual quality evaluation results, so that the present invention is more in line with the process of quality evaluation of color images by the human visual system, and has the advantages of objectivity, accuracy and high robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is an implementation flow chart of the present invention. DETAILED DESCRIPTION
[0022] Please refer to the attached Figure 1 The steps of the present invention are further described in detail with reference to the accompanying drawings and embodiments.
[0023] Step 1: Obtain the memorable feature value of each color image.
[0024] Step 1.1, the embodiment of the present invention collects 250 target color images to be identified, of which 125 are natural images captured from natural documentaries, and the other 125 are character images captured from film and television dramas. In the embodiment of the present invention, 1325 natural images and 1325 character images are selected from the SUN database as filler color images.
[0025] In step 1.2, 10 unselected target color images are randomly selected from the target color images, and 110 unselected filling color images are randomly selected from the filling color images to form an image set. One unselected target color image is randomly selected from the image set, and 11 randomly selected filling color images are interspersed at adjacent positions of the target color image to obtain an image sequence of the target color image, and so on to obtain 10 image sequences of the image set. In this way of constructing an image set, 25 image sets of the target color image are obtained.
[0026] Step 1.3, all the image sequences in the 25-image set are played in a loop to the 12 subjects. When the image sequence appears repeatedly, the subject presses the space bar to give feedback, and the feedback information of the subject is recorded using Eprime software. The number of feedbacks of each subject recognizing the repeated appearance of the same image sequence is calculated, and then the average number of feedbacks of the 12 subjects on the image sequence is calculated, and the average value is used as the memorable feature value of the target color image corresponding to the image sequence. In this way, the memorable feature value of each target color image is obtained.
[0027] Step 2: Generate color distorted images with different memory strengths.
[0028] In the embodiment of the present invention, target color images with characteristic values greater than 86 are found from all target color images with memorable characteristic values, and there are 42 target color images in total. Target color images with characteristic values less than 34 are found from all target color images with memorable characteristic values, and there are 35 target color images in total.
[0029] 15 color images were randomly selected from 42 images to form a strong memory image set, and 15 color images were randomly selected from 35 images to form a weak memory image set. The Quality parameter of the VideoWriter tool of MATLAB software was adjusted to {6, 10, 15, 27, 100}. The Quality parameter {6, 10, 15, 27, 100} corresponds to 5 image distortion levels.
[0030] All images in the strong memory image set and the weak memory image set are input into the MATLAB software and the VideoWriter tool is used to output 15 strong memory distorted images with distortion level labels at each distortion level as the strong memory distorted image set, and 15 weak memory distorted images with distortion level labels at each distortion level as the weak memory distorted image set. The strong memory distorted image set and the weak memory distorted image set are taken as distorted image sets with memory labels and distortion level labels.
[0031] Step 3: Collect the EEG signals of the subjects when they watch the color distorted images with different memory strengths
[0032] All distorted images in the distorted image set are provided to 20 subjects different from the 12 subjects mentioned in step 1. Each subject repeatedly views each image with a distortion level label 50 times. The EEG signals of each subject viewing each strong memory distorted image and each weak memory distorted image of each distortion level are collected using the NeuroScan 64-bit EEG acquisition device to obtain an EEG signal set with subject labels, frequency labels, distortion level labels, and memory labels. The sampling frequency of the NeuroScan 64-bit EEG acquisition device is 1000 Hz, and the number of sampling channels is 64.
[0033] Step 4: capture the EEG signal fragments of each subject when they perceive image distortion
[0034] A FIR bandpass filter with a cutoff frequency of 0.25 Hz and 25 Hz was used. All EEG signals in the EEG signal set were input into the FIR bandpass filter to filter out EEG components such as electrooculogram and electrocardiogram in the EEG signals, and the EEG signal set after bandpass filtering was obtained. For all EEG signals after bandpass filtering, the EEG signal segments from 0 seconds to 0.5 seconds from the beginning of the signal were intercepted to obtain the EEG signal segment set with subject label, frequency label, distortion level label and memory label.
[0035] Step 5: Generate a training set using EEG signal fragments:
[0036] In step 5.1, 75% of the samples in the set of single EEG signal segments of each subject are used as the training data set, and the remaining EEG signal segments are used as the test data set.
[0037] Step 5.2, annotate the single EEG signal segments in the training data set and the test data set. The single EEG signal segment comes from viewing the color distorted image, and its label is set to "1"; the single EEG signal segment comes from viewing the color undistorted image, and its label is set to "2".
[0038] Step 5.3, combine the single EEG signal segments and their labels in the training data set to generate a training sample set. In an embodiment of the present invention, each training set sample in the training sample set is used as the input of the deep convolutional neural network model to train the network model; combine the single EEG signal segments and their labels in the test data set to generate a test sample set. In an embodiment of the present invention, each test sample in the test sample set is used as the input of the quality evaluation model after the model training is completed to detect and predict distortion.
[0039] Step 6: Build a deep convolutional neural network
[0040] The embodiment of the present invention constructs a convolutional neural network composed of three modules connected in series;
[0041] Step 6.1, the structure of the first module is: temporal convolution layer, spatial convolution layer, maximum pooling layer, ReLU activation layer, Dropout layer;
[0042] Set the parameters of each layer of the first module:
[0043] The total number of filters in the temporal convolutional layer is set to 25, the kernel size is set to 1×10, the stride is set to 3, the padding of the convolutional layer is set to 0×16, and the bias of the convolutional layer is set to no;
[0044] The total number of filters of the spatial convolution layer is set to 25, the convolution kernel size is set to 64×1, the stride is set to 3, the padding of the convolution layer is set to 0×16, and the bias of the convolution layer is set to no;
[0045] Set the size of the max pooling layer to 1×3;
[0046] The ReLU activation layer is implemented using ReLU, with its inplace parameter set to true;
[0047] The Dropout layer is implemented using Dropout, and its drop_rate parameter is set to 0.05;
[0048] Step 6.2, the structure of the second module is: convolution layer, maximum pooling layer, convolution layer, maximum pooling layer, convolution layer, maximum pooling layer, ReLU activation layer, Dropout layer;
[0049] Set the parameters of each layer of the second module:
[0050] The total number of filters in the first convolutional layer is set to 50, the convolution kernel size is set to 25×10, the stride is set to 3, the padding of the convolutional layer is set to 0×8, and the bias of the convolutional layer is set to no;
[0051] Set the size of the first max pooling layer to 1×2;
[0052] The total number of filters in the second convolutional layer is set to 100, the convolution kernel size is set to 50×10, the stride is set to 3, the padding of the convolutional layer is set to 0×8, and the bias of the convolutional layer is set to no;
[0053] Set the size of the second max pooling layer to 1×3;
[0054] The total number of filters in the third convolutional layer is set to 200, the convolution kernel size is set to 100×10, the stride is set to 3, the padding of the convolutional layer is set to 0×8, and the bias of the convolutional layer is set to no;
[0055] Set the size of the third max pooling layer to 1×3;
[0056] The ReLU activation layer is implemented using ReLU, with its inplace parameter set to true;
[0057] The Dropout layer is implemented using Dropout, and its drop_rate parameter is set to 0.01;
[0058] Step 6.3, build a third module consisting of a fully connected layer and a SoftMax activation layer in series, and set the total number of neurons in the fully connected layer to 2; the SoftMax activation layer is implemented using SoftMax, and its inplace parameter is set to true;
[0059] Step 7: Train the deep convolutional neural network:
[0060] Step 7.1, initialize the parameters of the deep convolutional neural network: the initial learning rate is set to 2×10 -3 , the learning rate decay rate is reduced by 1 / 10 for every 50 iterations; the initial downsampling rate is set to 64; the regularization parameter is set to 5×10 -4 ;
[0061] Step 7.2, input the training set into the deep convolutional neural network, use the back propagation method to iteratively update the parameters of the convolutional neural network until the loss function converges, and obtain a trained deep convolutional neural network; the loss function adopts the logarithmic loss function;
[0062] Step 8: Use the trained network to evaluate the quality of the strong memory images and the weak memory images.
[0063] Step 8.1, input the EEG signal segments with distortion labels and memory labels in the test set into the trained deep convolutional neural network, and judge each classification data output by the convolutional neural network. If the output is 1, it indicates that the deep convolutional neural network determines that the EEG signal segment corresponds to a color distorted image. If the output is 2, it indicates that the deep convolutional neural network determines that the EEG signal segment corresponds to a color undistorted image.
[0064] Step 8.2, according to whether the judgment result of the deep convolutional neural network is consistent with the actual situation, the classification results of the deep convolutional neural network for all EEG signal fragments are counted. Then, according to the label of each EEG signal, the classification results of the strong memory color image and the weak memory color image corresponding to the EEG signal are obtained, and the classification results are used as the quality evaluation results of the strong memory image and the weak memory image.
[0065] The implementation process of the present invention is further described below in conjunction with simulation experiments:
[0066] 1. Simulation conditions.
[0067] The hardware test platform for the simulation experiment is: CPU is Intel(R) Core(TM) i7-8700, the main frequency is 3.2GHz, the memory is 16GB, and the GPU is NVIDIA GeForce GT 710.
[0068] The software platforms for the simulation experiment are: Windows 7 operating system, professional EEG acquisition and analysis software Curry7, psychology experiment operation platform E-Prime 2.0, and mathematical software MATLAB R2019a.
[0069] 2. Simulation content and result analysis
[0070] The experimental process of collecting EEG signals of 20 subjects who repeatedly watch strong memory distorted images and weak memory distorted images in the simulation experiment of the present invention is as follows: first, the distortion levels of strong memory images and weak memory images are selected as 6, 10, 15, 27, and 100. After the subjects watch the original image for 1 second, they watch the distorted image generated with the above five distortion levels for 1.5 seconds. Then the EEG signals of the subjects are collected. The experimental process of collecting EEG signals consists of four computer screen interfaces. The first interface is an introduction interface, which introduces the requirements of the simulation experiment of the present invention. The second interface is a black screen interface, which inserts a white "+" sign in the middle of the black background to separate each experimental image so that they do not interfere with each other. The third interface is an image display interface, which displays a strong memory image or a weak memory image that is transformed from undistorted to distorted. After the third interface is displayed, return to the second interface to prepare the next image that is transformed from undistorted to distorted. Each strong memory image and weak memory image are played repeatedly 30 times, and the display order is random. The fifth interface is the end interface. When all the strong memory images or weak memory images are displayed, the end interface is entered.
[0071] The process of classifying the collected EEG signals in the simulation experiment of the present invention is: first, the collected EEG signals are transferred to reference, baseline corrected, filtered, and segmented to extract single EEG signal fragments. Secondly, the segmented EEG signal fragments are subjected to time domain convolution and spatial domain convolution to obtain the spatiotemporal features of the single EEG signal fragments. Again, the spatiotemporal features of the single EEG signal fragments are input into the convolution-maximum pooling module to obtain the deep features, the deep features are fully connected and the classification results are output using the SoftMax function, and the error between the classification result and the label is calculated using the logarithmic loss function. Then, the error is gradient analyzed using the back propagation method, and the neural network is optimized using the small batch stochastic gradient descent method to achieve the purpose of training the deep convolutional neural network. Finally, the EEG signals are classified using the trained deep convolutional neural network, and the classification accuracy is calculated. The classification accuracy of the EEG signals corresponding to the strong memory images is 81.04%, and the classification accuracy of the EEG signals corresponding to the weak memory images is 75.81%. Based on the difference in classification accuracy of EEG signals corresponding to strong memory images and weak memory images, it is concluded that the memory characteristics in the image have an impact on the perception of image distortion, and the higher the memory characteristic value of the image, the easier it is for the observer to perceive the image distortion.
Claims
1. An image quality assessment method based on EEG signals and memory characteristics, It is characterized in that Using the memory characteristic value of the color image, color distorted images with different memory strengths are generated, and the EEG signals of the subjects when viewing the color distorted images with different memory strengths are collected to construct and train a deep convolutional neural network; the steps of the evaluation method include the following: Step 1, obtain the memorable feature value of each color image: Step 1.1, collect X target color images to be identified, of which X / 2 color images are natural images and the other X / 2 are person images; select Y / 2 natural images from a database containing natural images and Y / 2 person images from a database containing person images as Y filling color images; where 200≤X,11*X≤Y; Step 1.2: randomly select x unselected target color images from the target color images, and randomly select y unselected filling color images from the filling color images to form an image set; randomly select 1 unselected target color image from the image set, and insert 11 randomly selected filling color images from the image set at adjacent positions of the target color image to obtain an image sequence of the target color image, and so on to obtain x image sequences of the image set; in this way of constructing the image set, z image sets of the target color image are obtained; where 10≤x,11*x≤y, Step 1.3, all image sequences in all image sets are played in a loop to a subject. When the image sequence appears repeatedly, the subject presses the space bar to give feedback, and the feedback information of the subject is recorded using Eprime software; the number of feedbacks of each subject recognizing the repeated appearance of the same image sequence is calculated, and then the average number of feedbacks of a subjects on the image sequence is calculated, and the average value is used as the memorable feature value of the target color image corresponding to the image sequence; By analogy, the memorable feature value of each target color image is obtained; where 10≤a≤50; Step 2: Generate color distorted images with different memory strengths: A strong memory image set is obtained from all target color images; a weak memory image set is obtained from all target color images; an image distortion level is set, and each image in the strong memory image set and the weak memory image set is distorted according to the distortion level to obtain a strong memory distorted image set and a weak memory distorted image set; Step 3, collect the EEG signals of the subjects when they watch the color distorted images with different memory strengths: All distorted images in the distorted image set are provided to different subjects from those in step 1 for viewing, and each subject repeatedly views the distorted images; an EEG acquisition device is used to collect EEG signals of each subject each time the subject views the distorted image, and an EEG signal set with a subject label, a frequency label, a distortion level label, and a memory label is obtained; Step 4: capture the EEG signal fragments of each subject when they perceive image distortion: Inputting all EEG signals in the EEG signal set into a bandpass filter to obtain a filtered EEG signal set; intercepting an EEG signal segment from each filtered EEG signal to obtain an EEG signal segment set with a subject label, a frequency label, a distortion level label, and a memory label; Step 5: Generate a training set using EEG signal fragments: Some samples in the EEG signal fragment set are used as training data sets, and the remaining EEG signal fragments are used as test data sets; according to the memory labels and distortion labels of the images corresponding to the EEG signals, the EEG signal fragments in the training data sets and the test data sets are labeled, and the training sets are divided into four categories: strong memory distortion training set, strong memory undistorted training set, weak memory distortion training set and weak memory undistorted training set; each EEG signal fragment input into the deep neural network in the training set corresponds to the output of each deep neural network; Step 6: Build a deep convolutional neural network: Construct a convolutional neural network consisting of three modules connected in series; Step 6.1, the structure of the first module is: temporal convolution layer, spatial convolution layer, maximum pooling layer, ReLU activation layer, Dropout layer; Set the parameters of each layer of the first module: The total number of filters in the temporal convolutional layer is set to 25, the kernel size is set to 1×10, the stride is set to 3, the padding of the convolutional layer is set to 0×16, and the bias of the convolutional layer is set to no; The total number of filters of the spatial convolution layer is set to 25, the convolution kernel size is set to 64×1, the stride is set to 3, the padding of the convolution layer is set to 0×16, and the bias of the convolution layer is set to no; Set the size of the max pooling layer to 1×3; The ReLU activation layer is implemented using ReLU, with its inplace parameter set to true; The Dropout layer is implemented using Dropout, and its drop_rate parameter is set to 0.05; Step 6.2, the structure of the second module is: convolution layer, maximum pooling layer, convolution layer, maximum pooling layer, convolution layer, maximum pooling layer, ReLU activation layer, Dropout layer; Set the parameters of each layer of the second module: The total number of filters in the first convolutional layer is set to 50, the convolution kernel size is set to 25×10, the stride is set to 3, the padding of the convolutional layer is set to 0×8, and the bias of the convolutional layer is set to no; Set the size of the first max pooling layer to 1×3; The total number of filters in the second convolutional layer is set to 100, the convolution kernel size is set to 50×10, the stride is set to 3, the padding of the convolutional layer is set to 0×8, and the bias of the convolutional layer is set to no; Set the size of the second max pooling layer to 1×2; The total number of filters in the third convolutional layer is set to 200, the convolution kernel size is set to 100×10, the stride is set to 3, the padding of the convolutional layer is set to 0×8, and the bias of the convolutional layer is set to no; Set the size of the third max pooling layer to 1×3; The ReLU activation layer is implemented using the ReLU function with its inplace parameter set to true; The Dropout layer is implemented using Dropout, and its drop_rate parameter is set to 0.01; Step 6.3, build a third module consisting of a fully connected layer and a SoftMax activation layer in series, and set the total number of neurons in the fully connected layer to 2; the SoftMax activation layer is implemented using the SoftMax function, and its inplace parameter is set to true; Step 7: Train the deep convolutional neural network: After initializing the parameters of the deep convolutional neural network, the training set is input into the deep convolutional neural network, and the parameters of the convolutional neural network are iteratively updated using the back propagation method until the cross entropy loss function converges to obtain a trained deep convolutional neural network. Step 8: Use the trained network to evaluate the quality of strong memory images and weak memory images: According to the memory labels, the EEG signal segments in the test set are divided into strong memory test set and weak memory test set. The strong memory test set and the weak memory test set are respectively input into the trained deep convolutional neural network. The classification accuracy of the deep convolutional neural network for the EEG signal segments in the strong memory test set and the weak memory test set is calculated, and the classification results are used as the quality evaluation results of strong memory images and weak memory images.
2. According to the image quality evaluation method based on EEG signals and memory characteristics described in claim 1, It is characterized in that The distortion level described in step 2 refers to setting K image distortion levels q={q 1 ,q 2 ,...,q k ,...,q K }, the interval of each distortion level is the just perceptible distortion change; the human eye distortion perception threshold refers to the distortion level of the image when the human eye can just observe the image distortion, and the just perceptible distortion change refers to gradually increasing or decreasing the distortion level under the current distortion situation until the human eye can just perceive the distortion change, where 4≤K≤6.
3. According to the image quality evaluation method based on EEG signals and memory characteristics as described in claim 1, It is characterized in that The distortion processing described in step 2 refers to calculating the distortion parameters corresponding to the distortion level according to the computer software used, inputting each image in the strong memory image set into the computer software that can perform distortion processing and setting the parameters as the distortion parameters, and the software outputs a strong memory distortion image set, and so on, to obtain a weak memory distortion image set.
4. According to the image quality evaluation method based on EEG signals and memory characteristics as described in claim 1, It is characterized in that The EEG acquisition device described in step 3 refers to: an EEG acquisition device with a sampling frequency of α Hz and a number of sampling channels of β; wherein 1000≤α, 8≤β.
5. According to the image quality evaluation method based on EEG signals and memory characteristics as described in claim 1, It is characterized in that The bandpass filter described in step 4 refers to: the lower and upper limits of the cut-off frequency are f 1 and f 2 The bandpass filter removes the myoelectric signals with a frequency distribution of 0Hz to 0.25Hz and the electrooculographic signals with a frequency distribution of 7Hz to 50Hz; where 0.25Hz≤f 1 ≤0.35Hz,7Hz≤f 2 ≤30Hz.
6. According to the image quality evaluation method based on EEG signals and memory characteristics as described in claim 1, It is characterized in that The labeling in step 5 refers to setting the label of the EEG signal segment when the subject watches the color distorted image to "F 1 "; Set the label of the EEG signal segment when the subject is watching the color undistorted image to "F 2 ”.
7. According to the image quality evaluation method based on EEG signals and memory characteristics as described in claim 1, It is characterized in that The parameter initialization in step 7 refers to: the initial learning rate is 2×10 -3 , the initial downsampling rate is set to 64, and the regularization parameter is set to 5×10 -4 .
8. According to the image quality evaluation method based on EEG signals and memory characteristics as described in claim 1, It is characterized in that The cross entropy loss function described in step 7 is as follows: in, represents the cross entropy loss function, n represents the total number of classification results after all samples in the training set are input into the deep neural network, ∑ represents the summation operation, i represents the sequence number of the deep convolutional neural network classification result corresponding to the i-th sample in the training set, y(i) represents the true value of the i-th classification result of the deep convolutional neural network corresponding to the i-th sample in the training set, log represents the logarithm operation with base 10, represents the predicted value of the i-th classification result of the deep convolutional neural network corresponding to the i-th sample in the training set, || represents the absolute value operation, represents the introduced L1 regularization term, k represents the L1 regularization coefficient, ω i Represents the weight value of the i-th classification result of the deep convolutional neural network corresponding to the i-th sample in the training set.
Citation Information
Patent Citations
Video quality evaluation method based on electroencephalogram signals and target saliency characteristics
CN113255786A
Image quality evaluation method and device based on electroencephalogram characteristics
CN113554597A
Image quality evaluation method and image quality evaluation system
WO2019047949A1
