Ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature representation

Through a reference-free dual-stream video quality evaluation method based on intra-frame and inter-frame feature representation, combined with ResNet and Swin3D network, the dependence and complexity problems of video quality evaluation in the existing technology are solved, and efficient and high-definition video evaluation is achieved. Accurate assessment, suitable for a variety of application scenarios.

CN118570149APending Publication Date: 2024-08-30GUANGDONG BOHUA UHD INNOVATION CENT CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410630213.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing video quality evaluation methods rely on the availability of original videos, which limits their scope of application. The accuracy of reference-reduction methods is affected. The reliability and accuracy of reference-free methods are low, and video quality evaluation involves multiple complex dimensions and real-time High performance requirements make it difficult to establish a widely applicable and accurate evaluation model.

Method used

A reference-free dual-stream video quality evaluation method based on intra-frame and inter-frame feature representation is adopted to evaluate video frame quality and video dynamic quality respectively through IQA branch and VQA branch. It combines ResNet and Swin3D network to extract features, and uses pixel reorganization and cross-sampling technology. A comprehensive score is formed to ensure a comprehensive and efficient assessment of video quality.

Benefits of technology

It improves the accuracy and efficiency of video quality assessment, simplifies the scoring process, is suitable for ultra-high-definition videos, reduces computing resource consumption, is suitable for real-time video quality assessment and various application scenarios, and provides a scoring level close to that of experts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570149A
    Figure CN118570149A
Patent Text Reader

Abstract

The invention provides an ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature representation, and relates to a network which comprises an image quality evaluation branch (IQA branch) and a video quality evaluation branch (VQA branch) which take a video frame and a video clip as inputs respectively; in an IQA branch, a ResNet50 architecture is used to extract video intra-frame features; in the VQA branch, the Swin-3D (video Swin Transformer) is used for extracting features so as to evaluate the quality of the video clip; the scores of the two branches are combined through independent regression and ensemble learning, and a final video quality score is obtained. According to the method, comprehensive evaluation of the video quality is ensured, the dynamic and static characteristics of the video are considered at the same time, and the accuracy and efficiency of evaluation are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to artificial intelligence, video quality assessment, machine vision, intra-frame pixel recombination and inter-frame cross sampling technology, and in particular to an ultra-high-definition video quality assessment method based on intra-frame and inter-frame feature representation. Background Art

[0002] Video quality evaluation technology is a method to determine the quality of video by analyzing multiple dimensions of video content, such as resolution, color, contrast, frame rate, compression distortion, etc. It is widely used in video surveillance, video transmission, video editing, video playback and other fields, and is of great significance for improving user experience, optimizing video transmission efficiency, and ensuring the clarity and authenticity of video content.

[0003] Traditional video quality evaluation methods are mainly divided into three categories: the first is the method based on full-reference (FR), which requires the original video as a reference and evaluates the video quality by comparing the difference between the original video and the video to be evaluated; the second is the method based on reduced-reference (RR), which only requires partial reference information and is suitable for situations where reference information is limited; the third is the method based on no-reference (NR), which does not require any reference information and directly analyzes the quality from the video content itself. The mainstream method on the market is the full-reference method, which can provide the most accurate evaluation results, but requires the participation of the original video, which limits its scope of application.

[0004] The above methods have the following three problems: First, the full-reference method relies on the availability of the original video. When the original video is not available, the evaluation work is difficult to carry out; second, although the reduced-reference method reduces the dependence on reference information, the accuracy of the evaluation will be affected, and the reference features need to be defined in advance, which increases the complexity of the method; third, although the no-reference method is the most flexible, due to the lack of reference information, the reliability and accuracy of the evaluation results are low.

[0005] There are many aspects to the difficulty of solving the above problems and defects. First, the complexity of technical implementation stems from the multiple dimensions involved in video quality evaluation, such as static artifacts, block effects, dynamic distortion, jitter, etc. Each dimension requires precise algorithms and standards, and the superposition effects between these dimensions must also be dealt with. Second, the balance between subjective and objective indicators is a challenge, because there is an inherent difference between the actual user experience and technical indicators, which affects all objective evaluation algorithms to a certain extent. Third, the real-time nature of the evaluation system places higher demands on the efficiency of the algorithm, especially in areas such as video surveillance and video transmission that require instant feedback. Fourth, establishing a widely applicable and accurate evaluation model requires relying on diverse and large data sets, which is also a difficult problem in data collection and processing.

[0006] Solving the above problems and defects is equally significant. Accurate video quality evaluation can significantly improve users' viewing experience and meet their expectations for video clarity and detail. In addition, optimizing video transmission efficiency can help to reasonably allocate bandwidth resources and reduce unnecessary transmission costs while ensuring high-quality video transmission. High-quality video content is essential to ensure accurate communication of information, whether in news reports, educational videos or other information transmission occasions. In addition, advances in video quality evaluation technology can support video surveillance systems to provide clearer images, which plays an important role in improving public safety and incident response speed. Promoting technological innovation is also an important achievement in solving these problems. New algorithms and technological innovations can promote scientific research and technological progress in related fields, thereby promoting the development of the entire video industry. Summary of the invention

[0007] The present invention provides an ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature characterization, which is a reference-free dual-stream video quality evaluation method. By respectively evaluating the video frame quality of an IQA branch and the video dynamic quality of a VQA branch, the method of the present invention ensures a comprehensive evaluation of the video quality, while taking into account the dynamic and static characteristics of the video, thereby improving the accuracy and efficiency of the evaluation.

[0008] The technical solution of the present invention is as follows:

[0009] The ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature representation of the present invention comprises the following steps: S1. performing inter-frame cross sampling on the ultra-high-definition resolution video to form i new video segments denoted as Seg i At the same time, the video frame is divided into M*M regions, and n*n pixels are selected from each region to form a new video frame denoted as frame j; S2. Use the model pre-trained on the image network to initialize the residual network of the image quality assessment branch and the sliding window video self-attention network of the video quality assessment branch; S3. Segment output of S1 i and frame j The residual network is input into the residual network of S2 and the sliding window video self-attention network respectively. The residual network extracts the two-dimensional video image frame quality features, denoted as VEC f ; Sliding window video self-attention network extracts video dynamic quality features, denoted as VEC Seg ; S4. VEC output from S3 f and VEC Seg Processing, VEC f Flatten and regress to the quality score through full connection, that is, the quality score of the video frame, recorded as MOS f ; VEC Seg Dimensionality reduction, then with VEC f The processing method is consistent with that of the video clip, and the quality score is regressed to the quality score through full connection, which is recorded as MOS. Seg ; S5. Each video clip contains 10 video frames. In the output of S4, first calculate the MOS of each 10 f The average value of the video clip quality score MOS Seg The scores of all the clips are averaged to obtain a comprehensive score of the clip, which is recorded as MOSavg. S6. According to the value of i determined during cross sampling in S1, the comprehensive scores of all the clips are averaged to obtain the final video quality score.

[0010] Optionally, in the above-mentioned ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature representation, the video with ultra-high-definition resolution is a video with a resolution of 3840*2160, 50 frames per second, and a duration of 10 seconds.

[0011] Optionally, in the above-mentioned ultra-high-definition video quality assessment method based on intra-frame and inter-frame feature representation, in step S2, the pre-trained model is an open source model downloaded from the image network.

[0012] Optionally, in the above-mentioned ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature representation, in step S4, VEC f Reduce the dimension to 1 dimension and regress to the quality score MOS of the video frame f ; for VEC Seg Perform similar operations and regress to the quality score MOS of the video clip Seg .

[0013] Optionally, in the above-mentioned ultra-high-definition video quality assessment method based on intra-frame and inter-frame feature representation, in step S5, in the video segment, the quality scores of 10 video frames are averaged, and then averaged with the quality score of the video segment:

[0014]

[0015] in, represents the quality score of the i-th video frame among these 10 video frames, represents the average score of these 10 video frames,

[0016] Then calculate the comprehensive quality score of the video clip:

[0017]

[0018] in represents the average score of the video frames in the jth video clip, represents the quality score of the jth video segment, Copm_mos j Indicates the comprehensive score of the jth segment, MOSavg j Copm_mos j .

[0019] Optionally, in the above-mentioned ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature representation, in step S6, the quality score MOS of the entire video is calculated as follows:

[0020]

[0021] According to the technical solution of the present invention, the beneficial effects produced are:

[0022] The video quality assessment network based on intra-frame and inter-frame feature representation (IIR-VQA) proposed in the present invention provides a comprehensive and efficient video quality assessment solution by combining a dual-branch method of dynamic video quality assessment and image frame quality assessment. The network uses the swin3D network to capture the dynamic features of the video, such as jitter and motion blur, and uses ResNet50 to extract the static features of the image frame, such as coding loss and artifacts, to ensure the comprehensiveness of the assessment. The present invention can comprehensively evaluate the quality features of a video and ultimately form a scoring level close to that of experts. By predicting the scores of the two branches and taking the average, the algorithm simplifies the scoring process and improves the evaluation efficiency.

[0023] For ultra-high-definition videos, such as 4K resolution, the pixel reorganization scheme and cross-frame extraction scheme adopted not only avoid over-learning of semantic information, but also retain the local information and motion characteristics of the video, while reducing the consumption of computing resources. In addition, the modular design and flexibility of the algorithm allow parameters to be adjusted according to different video content and requirements, while its automated characteristics reduce manual intervention, reduce costs and improve efficiency. With the continuous learning and optimization of data, the algorithm is expected to play an important role in real-time video quality assessment and is suitable for a variety of application scenarios such as video surveillance and live broadcasting.

[0024] In order to better understand and illustrate the concept, working principle and effect of the present invention, the present invention is described in detail below through specific embodiments in conjunction with the accompanying drawings: BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the specific implementation of the present invention or the technical solution in the prior art, the drawings required for use in the specific implementation or the description of the prior art will be briefly introduced below.

[0026] Figure 1 It is a flow chart of the ultra-high definition video quality evaluation method based on intra-frame and inter-frame feature representation of the present invention;

[0027] Figure 2 It is a network structure diagram involved in the method of the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical method and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific examples. These examples are only illustrative and not limiting of the present invention.

[0029] The ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature representation of the present invention uses intra-frame and inter-frame representation learning technology to learn the static coding quality of video frames and the dynamic motion quality of video clips, and uses different feature extractors (such as Figure 2 The feature extractor and video feature extractor shown in FIG. 1 are used to evaluate the video quality by combining the intra-frame pixel reorganization and inter-frame cross sampling methods. Figure 1 , Figure 2 As shown, the method, from start to finish, specifically includes the following steps:

[0030] S1. Perform inter-frame cross sampling on the ultra-high-definition resolution video to form i new video segments denoted as Seg i At the same time, the video frame is divided into M*M regions, and n*n pixels are selected from each region to form a new video frame denoted as frame j ;

[0031] In this step, during the data preparation stage, the video is sampled according to the encoding characteristics of the video itself. Take a video with a resolution of 3840*2160, 50 frames per second, and a duration of 10 seconds as an example. A pixel recombination scheme is adopted, that is, the image frame is divided into several areas, and several pixels are selected at fixed positions in each area to combine into a new image frame. This recombination method can not only avoid the pre-trained model from learning too much semantic-related information, but also preserve local information as much as possible. In addition to pixel recombination, a cross-frame extraction scheme is also adopted. For a 10-second video, first a frame of image is selected in the first frame of each second to form a segment containing 10 frames of images, and then the operation is repeated until a video is cross-extracted into 50 such video segments (such as Figure 1 As shown in the figure, each segment contains 10 image frames. Such a cross-frame extraction method can retain the motion characteristics of the entire video in each video segment, while also avoiding the problem of less video content changes when extracting frame by frame.

[0032] S2. Use the models pre-trained on ImageNet to initialize the residual network (ResNet) of the IQA branch and the sliding window video self-attention network (Video Swin-Transformer, Swin3D for short) of the VQA branch.

[0033] In this step, both the ResNet of the IQA branch and the Swin3D of the VQA branch are loaded with a pre-trained model, which can be an open source model downloaded from ImageNet.

[0034] S3. Segment output from S1 i and frame j They are input into ResNet and Swin3D of S2 respectively. ResNet extracts the 2D video image frame quality features related to coding loss, artifacts, etc., recorded as VEC f ; Swin3D extracts video dynamic quality features related to jitter, motion blur, etc. (i.e., Figure 2 The video features shown), denoted as VEC Seg ;

[0035] In this step, in the VQA branch, the swin3D (video swin-Transformer) network is used to extract video dynamic quality features, namely features VEC related to jitter, motion blur, etc. Seg In the IQA branch, ResNet50 is used to extract features of 2D image frames, which are quality features related to coding loss, artifacts, etc. (i.e., Figure 2 The video frame features shown) VECf .

[0036] S4. VEC of S3 output respectively f and VEC Seg Processing, VEC f Flatten and regress to the quality score through full connection, that is, the quality score of the video frame, recorded as MOS f ; VEC Seg Dimensionality reduction, then with VEC f The processing method is consistent with that of the video clip, and the quality score is regressed to the quality score through full connection, which is recorded as MOS. Seg .

[0037] In this step, VEC f Perform a flatten operation, that is, VEC f Dimension reduction to 1 dimension, that is, regression to the video frame quality score MOS f ; for VEC Seg Perform a similar operation, that is, regress to the video clip quality score MOS Seg .

[0038] S5. Taking a video with a resolution of 3840*2160, 50 frames per second, and a duration of 10 seconds as an example, each video clip contains 10 video frames. Therefore, in the output of S4, first calculate the MOS of every 10 frames. f The average value of the video clip quality score MOS Seg The average is taken to obtain the comprehensive score of the segment, which is recorded as MOSavg.

[0039] In this step, within a video segment, the quality scores of the 10 video frames are averaged, and then averaged with the quality score of the video segment:

[0040]

[0041] in, represents the quality score of the i-th video frame among these 10 video frames, represents the average score of these 10 video frames.

[0042] Then calculate the comprehensive quality score of the video clip:

[0043]

[0044] in represents the average score of the video frames in the jth video clip, represents the quality score of the jth video segment, Copm_mos j Represents the comprehensive score of the jth segment.j Copm_mos j .

[0045] S6. According to the value of i (i means that the video is resampled into i segments) determined during the cross sampling of S1, the output MOSavg of i S5 is averaged to obtain the final video quality score.

[0046] In this step, the quality score MOS of the entire video is calculated as follows:

[0047]

[0048] The ultra-high-definition video quality evaluation method based on intra-frame and inter-frame feature representation of the present invention first performs inter-frame cross sampling on the ultra-high-definition video to form a new video segment (Seg i ), and adopts the MM region division method to select nn pixels from each region and reorganize them into a new video frame (frame j ). Then, the residual network (ResNet) of the IQA branch and the sliding window video self-attention network (Swin3D) of the VQA branch are initialized using the model pre-trained on ImageNet. The reorganized video frames and the newly formed segments are input into these two networks respectively. ResNet is used to extract the two-dimensional image frame quality features (VEC f ), while Swin3D extracts video dynamic quality features related to jitter and motion blur (VEC Seg Then, these features are processed and VEC f Flattened and regressed to a single video frame quality score (MOS) through a fully connected layer f ), and VEC Seg Dimensionality reduction and regression to the quality score (MOS) of the video clip Seg ). After obtaining the average score of every 10 video frames, it is averaged with the quality score of the corresponding video segment to obtain the comprehensive score of the segment (MOSavg). Finally, according to the value i determined during cross sampling, the comprehensive scores of all segments are averaged to obtain the final quality score of the entire video. This process ensures a comprehensive evaluation of video quality, taking into account both the dynamic and static characteristics of the video, and improving the accuracy and efficiency of the evaluation.

[0049] The video quality assessment network (IIR-VQA) based on intra-frame and inter-frame feature representation of the present invention consists of two branches, namely, an image quality assessment branch (IQA branch) and a video quality assessment branch (VQA branch), such as Figure 2As shown in the figure, video frames and video clips are used as inputs respectively. In the IQA branch, the ResNet50 architecture is used to extract features within the video frame; while in the VQA branch, Swin-3D (video Swin Transformer) is used to extract features to evaluate the quality of the video clip. The scores of the two branches are regressed separately and combined through ensemble learning to obtain the final video quality score. In addition, in order to improve the "usability ratio (UR)" indicator of the model and further improve the accuracy of single video prediction, the present invention also proposes a hybrid loss function. Finally, the present invention verifies the effectiveness of the algorithm through experiments.

[0050] Table 1

[0051]

[0052] Table 1 is a comparison between the method proposed in the present invention and the mainstream method in the industry. The bold results are the best results under this indicator. In Table 1, NAIC2023 represents the data set published in the preliminary round of the 2023 National Artificial Intelligence Competition, with a total of 100 videos with a resolution of 3840*2160, UHD-VQ5k represents the ultra-high-definition video quality evaluation data set, with a total of 5500 videos with a resolution of 3840*2160, PLCC represents the Pearson linear correlation coefficient (PLCC) used to evaluate the accuracy of video quality prediction, SRCC represents the Spearman rank correlation coefficient, which is mainly used to measure the monotonicity of the algorithm prediction results, that is, whether the change trend between the whole rental prediction result and the true value is consistent, UR represents the availability rate, when the error between the predicted value and the true value is less than 0.5, it means that the predicted value is "available", and the proportion of "available" predicted values ​​to all prediction results is the UR value, and finally, Scores represents the score, which is calculated by the following formula:

[0053] SimpleVQA is a method proposed in the article "ADeep Learning based No-reference Quality Assessment Model for UGC Videos" in 2022, and TReS is a method proposed in the article "No-Reference Image Quality Assessment via Transformers, Relative Ranking, and Self-Consistency" published by researchers from Carnegie Mellon University in 2022. MANIQA is a method proposed in the article "MANIQA: Multi-dimension Attention Network for No-Reference Image Quality Assessment" in 2022. Fast-VQA is a method proposed in the article "FAST-VQA: Efficient End-to-end Video Quality Assessment with Fragment Sampling" at CVPR, the top conference in the field of artificial intelligence in 2023.

[0054] The above description is the best embodiment based on the concept and working principle of the invention. The above embodiment should not be understood as limiting the protection scope of the present claims, and other implementations and combinations of implementations according to the concept of the present invention belong to the protection scope of the present invention.

Claims

1. A method for evaluating ultra-high-definition video quality based on intra-frame and inter-frame feature representation, characterized in that: The following steps are involved: S1. Perform inter-frame cross sampling on the ultra-high-definition resolution video to form i new video segments denoted as Seg i At the same time, the video frame is divided into M*M regions, and n*n pixels are selected from each region to form a new video frame denoted as frame j ; S2. Use the model pre-trained on the image network to initialize the residual network of the image quality assessment branch and the sliding window video self-attention network of the video quality assessment branch respectively; S3. Segment output from S1 i and frame j The residual network is input into the residual network of S2 and the sliding window video self-attention network respectively. The residual network extracts the two-dimensional video image frame quality features, which are recorded as VEC f ; The sliding window video self-attention network extracts video dynamic quality features, denoted as VEC Seg ; S4. VEC of S3 output respectively f and VEC Seg Processing, VEC f Flatten and regress to the quality score through full connection, that is, the quality score of the video frame, recorded as MOS f ; VEC Seg Dimensionality reduction, then with VEC f The processing method is consistent with that of the video clip, and the quality score is regressed to the quality score through full connection, which is recorded as MOS. Seg ; S5. Find every 10 MOS f The average value of the corresponding video clip quality score MOS Seg The average is taken to obtain the comprehensive score of the segment, which is recorded as MOSavg; S6. According to the value of i determined during cross sampling in S1, the comprehensive scores of all clips are averaged to obtain the final video quality score.

2. The ultra-high definition video quality assessment method based on intra-frame and inter-frame feature representation according to claim 1 is characterized in that: In step S2, the ultra-high-definition resolution video is a video with a resolution of 3840*2160, 50 frames per second, and a duration of 10 seconds.

3. The ultra-high definition video quality assessment method based on intra-frame and inter-frame feature representation according to claim 1 is characterized in that: In step S2, the pre-trained model is an open source model downloaded from the image network.

4. The ultra-high definition video quality assessment method based on intra-frame and inter-frame feature representation according to claim 1, characterized in that: In step S4, VEC f Reduce the dimension to 1 dimension and regress to the quality score MOS of the video frame f ; for VEC Seg Perform similar operations and regress to the quality score MOS of the video clip Seg .

5. The ultra-high definition video quality assessment method based on intra-frame and inter-frame feature representation according to claim 1, characterized in that: In step S5, Within a video clip, the quality scores of the 10 video frames are averaged, and then averaged with the quality score of the video clip: in, represents the quality score of the i-th video frame among these 10 video frames, represents the average score of these 10 video frames, Then calculate the comprehensive quality score of the video clip: in represents the average score of the video frames in the jth video clip, represents the quality score of the jth video segment, Copm_mos j Represents the comprehensive score of the jth segment, MOSavg j Copm_mos j .

6. The method for evaluating ultra-high definition video quality based on intra-frame and inter-frame feature representation according to claim 1, characterized in that: In step S6, the quality score MOS of the entire video is calculated as follows:

Citation Information

Cited By

  • Information sending method and device, electronic equipment and computer readable medium

    CN119314078A