HEVC (High Efficiency Video Coding) video quality enhancement framework combining space-time domain up-and-down sampling

By combining the HEVC video quality enhancement framework with spatial and temporal up and down sampling, and using coding information and motion vector information, the problem of poor quality of HEVC compressed video in the low bit rate segment is solved, and significant improvements are achieved without increasing the amount of data. Improve video quality.

CN118678080APending Publication Date: 2024-09-20SICHUAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310247533.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

HEVC compressed video has a compression effect in the low bit rate segment, resulting in poor video quality. Existing methods fail to effectively utilize coding information and coding rules, and cannot effectively improve the quality of compressed video.

Method used

An HEVC video quality enhancement framework that combines spatial and temporal domain upsampling and downsampling is adopted to reduce the spatial and temporal data volume of the input sequence through the pre-encoding downsampling module, and then restore the frame rate and resolution through the spatial and spatial and temporal domain joint resolution upsampling module. And combined with motion vector information, the CNN-based super-resolution and space-time domain joint resolution up-conversion module is used to improve video quality.

Benefits of technology

It achieves improved compressed video quality with the smallest possible amount of data. Experimental results show that PSNR exceeds the H.265/HEVC standard, significantly improving video quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The invention provides an HEVC (High Efficiency Video Coding) video quality enhancement framework combining space-time domain up-and-down sampling, which is characterized in that before the framework is coded, a space-time domain resolution down-conversion module is constructed, and the resolution and frame rate of an input original video sequence are reduced to half of the original resolution and frame rate; encoding is carried out through an HM16.9 encoder based on the HEVC standard, and code stream information is obtained; after decoding, the original resolution and frame rate are recovered by means of a provided spatial domain resolution up-conversion module CSVR and a space-time domain resolution up-conversion module STRIB, and the network performance is improved by using MV information. Experimental results show that the algorithm framework can significantly improve the quality of the compressed video. The method can be widely applied to the fields of digital film shooting transmission, literary and sports activity live broadcast, remote education training, target detection and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to video coding and video processing technology in the field of image communication, and in particular to the construction and optimization of convolutional neural networks. Background Art

[0002] In recent years, with the rapid development of video applications, video has gradually replaced text and pictures to become the most mainstream multimedia information carrier. However, due to the limitations of transmission and storage technology, videos are generally compressed to reduce the amount of data in actual applications. The current mainstream compression standard HEVC can compress the amount of data well, but in the low bit rate segment, certain compression effects will inevitably appear in the compressed video. These compression effects lead to poor viewing experience of related video applications, affecting the further development of video applications.

[0003] The quality enhancement of compressed video refers to improving the subjective and objective quality of compressed video by building effective algorithms at both ends of encoding. In particular, with the rapid development of video analysis and video processing applications based on machine vision, video quality improvement is not limited to satisfying human viewing, but also needs to take into account or meet the needs of machine processing and machine analysis. Usually, the video quality improvement algorithm does not need to change the encoding standard of video encoding, but only improves the quality of the reconstructed frames of the compressed video through external loop filtering or post-processing algorithms after encoding. With the further development of the compressed video quality improvement task, the more general compressed video quality improvement task also includes the optimization of compression coding technology and the design of new compression coding frameworks. For example, in video conferencing applications, the quality of compressed video can be improved by designing a deep learning-based loop filter combined with a bit rate control algorithm; for example, a compressed video coding framework combined with a super-resolution algorithm is designed to improve the quality of low-bitrate compressed video.

[0004] After the video is compressed and encoded, it forms bitstream information. The bitstream information contains the parameters and residual information of each sub-process of video encoding. It is the concentrated energy of the video after removing redundant information as much as possible. The bitstream information has a small amount of data and is easy to transmit and store. When the video is needed, the bitstream information is decoded and restored to a visible video format. The bitstream information contains a lot of coding information, including block information, quantization information, motion information, coding frame type, etc. Many existing methods, especially those based on deep learning, only focus on improving network performance, do not effectively utilize coding information, and only process the decoded video. In the bitstream information, there are often many valuable coding information that can improve the performance of the compressed video quality enhancement algorithm. With the development of video coding standards, the video coding algorithms built into the video coding standards can adaptively compress different types of content in different regions of different videos effectively. The compression effect generated in this process can be found in the coding information. The corresponding reasons and traces. This shows that the use of coding information is of great significance for improving the compressed video quality enhancement algorithm. Summary of the invention

[0005] In order to improve the quality of HEVC compressed videos, few works have considered the use of coding information and coding rules, as well as the construction of quality improvement frameworks. To address the above problems, this paper proposes a HEVC video quality enhancement framework that combines spatial and temporal up and down sampling, which can improve the quality of compressed videos as much as possible with as little data as possible.

[0006] The basic idea of ​​the present invention is to reduce the amount of spatial-temporal data of the input sequence through a downsampling module before encoding, and then enter the encoder for encoding, and then restore the frame rate and resolution through a spatial-domain upsampling module and a spatial-temporal joint resolution upsampling module, and fully combine the motion vector MV information in the compressed video code stream in this process.

[0007] The specific process mainly includes the following steps: (1) Before encoding, the resolution and frame rate of the input original video sequence are reduced to half of the original through the downsampling module, where the bicubic downsampling method is used in the spatial domain and the alternate frame extraction method is used in the temporal domain; (2) encoding the low frame rate and low resolution video obtained in (1) via a HEVC encoder to obtain bitstream information; (3) Extract MV related information from the bitstream information, decode based on the bitstream information in (2), and perform spatial domain resolution up-conversion on the low frame rate and low resolution decoded video to obtain a high resolution and low frame rate compressed video. The spatial domain super-resolution method used in this process is a CNN-based super-resolution algorithm CVSR. The super-resolution algorithm used is based on multi-frame input, uses deformable convolution for alignment, and extracts features through a multi-scale residual module. Finally, the feature map resolution is improved through an upsampling layer, and the global residual is used to reduce the parameter operation value and improve the network performance. (4) The low frame rate and low resolution are generated by the space-time domain resolution up-conversion module to restore the resolution of the time domain discarded frames. The method used in this process is the space-time domain joint resolution up-conversion module STRIB based on CNN. Compared with the conventional video frame insertion network, the STRIB module can improve the resolution of the generated frames while generating the discarded frames. Compared with the conventional method of generating first and then super-resolution, it has better performance. Its network construction can be divided into two parts: generated frame estimation and resolution improvement. In the generated frame estimation part, the MV information weight map is first combined to extract features, and then the feature map of the discarded frame is generated by estimating the convolution kernel and pixel generation. In the resolution improvement part, the features of the previous and next frames are motion compensated by the motion compensation module. The process is shown in formula (1). The features of the previous and next frames and the generated frame features are processed by the spatial alignment module STDF through deformable convolution, and then processed by the feature fusion module composed of several convolution layers. Finally, the high-resolution feature map is obtained through the upsampling layer, and the corresponding high-resolution frame generated in process (3) is used as the global residual structure; (1) Experimental results show that the HEVC compressed video quality improvement algorithm framework of the present invention can achieve better quality improvement compared with HEVC. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 MV information extraction diagram; Figure 2 CNN-based spatial resolution upsampling module CVSR network diagram; Figure 3 Network diagram of STRIB, a spatial-temporal resolution upsampling module based on CNN; Figure 4 Block diagram of the proposed HEVC video quality enhancement framework combining spatial and temporal up and down sampling. DETAILED DESCRIPTION

[0009] The present invention is further described in detail below in conjunction with the embodiments. It is necessary to point out that the following embodiments are only used to further illustrate the present invention and cannot be understood as limiting the scope of protection of the present invention. Technical personnel familiar with the relevant field may make some non-essential improvements and adjustments to the present invention according to the above invention content for specific implementation, which should still fall within the scope of protection of the present invention.

[0010] The HEVC video quality improvement framework combined with spatial-temporal resolution transformation of the present invention is compared with the H.265 / HEVC standard test model HM16.9 as follows: 1. The configuration file is encoder_lowdelay_P_main.cfg, and the quantization step size (QP) of the H.265 / HEVC standard and the quantization step size (QP) of the algorithm of the present invention are both selected as 27, 32, 37, 42, and 47; 2. The encoding object is the standard test video sequence. There are 18 video sequences from 5 classes of the HEVC standard test sequence, with resolutions including: 2560×1600, 1920×1080, 1280×720, 832×480, and 416×240; 3. Encode and process the video to be encoded using the HM16.9 standard method and the algorithm framework proposed in the present invention respectively, and calculate the objective parameter BDBR of the decoded video based on the PSNR and the number of encoded bits of the decoded video; 4. The experimental results are shown in Table 1. Statistics show that the PSNR of the method of the present invention exceeds that of H.265 / HEVC.

[0011] Table 1 Comparison of PSNR between the method of the present invention and the H.265 / HEVC standard frame Space / time union Test sequence ΔBDBR PeopleOnStreet -29.75% Traffic -31.46% Average A -30.60% BasketballDrive -22.78% BQTerrace -25.04% Cactus -25.48% Kimono -36.50% ParkScene -38.92% average B -29.75% BasketballDrill -31.73% BQMall -33.57% PartyScene -30.62% RaceHorses -17.47% average C -28.35% BasketballPass -33.35% BlowingBubbles -37.19% BQSquare -14.45% RaceHorses -30.22% average D -28.80% FourPeople -31.02% Johnny -37.68% KristenAndSara -33.45% Average E -33.79% AVERAGE -30.04%

Claims

1. A HEVC video quality enhancement framework combining spatial and temporal up and down sampling, characterized by: (1) Before encoding, the resolution and frame rate of the input original video sequence are reduced to half of the original ones, using the bicubic downsampling method in the spatial domain and the alternate frame extraction method in the temporal domain; (2) encoding the low frame rate and low resolution video obtained in (1) via a HEVC encoder to obtain bitstream information; (3) Based on the bitstream information in (2), the low frame rate and low resolution decoded video is decoded and spatial super-resolution is performed to obtain a high resolution and low frame rate compressed video. The spatial super-resolution method used in this process is a CNN-based super-resolution algorithm. (4) The low frame rate and low resolution are generated by the space-time joint super-resolution module to restore the resolution of the discarded frames in the time domain. The method used in this process is the space-time joint super-resolution module STRIB based on CNN; The network structure of STRIB is as follows: the previous and next compressed video frames in the low-resolution and low-frame-rate compressed video are sequentially passed through the feature extraction module MFEB based on MV information, the convolution kernel estimation module, and the pixel generation module to obtain the first feature map; the previous and next frame inputs are respectively passed through the motion compensation module MCB based on MV information to obtain the second feature map and the third feature map; the first feature map, the second feature map, and the third feature map are fused at the channel level to obtain the fourth feature map; The fourth feature map is passed through the STDF module to obtain a fifth feature map; the fifth feature map is passed through the feature fusion module and the upsampling layer to obtain a sixth feature map; the corresponding high-resolution and low-frame-rate video frame obtained in (3) is subjected to feature fusion to obtain a seventh feature map; the seventh feature map and the sixth feature map are added to finally obtain an output feature map; The network structure of MFEB is as follows: the first input of MFEB is the motion vector weight map, which is sequentially passed through four average pooling layers with a scale of 2 to obtain the fifteenth feature map, the sixteenth feature map, the seventeenth feature map, and the eighteenth feature map. The above four feature maps are passed through two 3×3 convolutional layers and one ReLU activation layer to obtain the nineteenth feature map, the twentieth feature map, the twenty-first feature map, and the twenty-second feature map; the second input of MFEB is set to be the eighth feature map, the eighth feature map is passed through the first feature extraction block to obtain the ninth feature map, the ninth feature map is passed through the second feature extraction block to obtain the tenth feature map, the tenth feature map is passed through the third feature extraction block to obtain the eleventh feature map, and the eleventh feature map is passed through the third feature extraction block. After passing through the fourth feature extraction block, the twelfth feature map is obtained. After passing through the fifth feature extraction block, the twelfth feature map is obtained. The twelfth feature map is multiplied by the aforementioned twenty-second feature map, and then added to the thirteenth feature map, and then input to the sixth feature extraction block to obtain the fourteenth feature map. The eleventh feature map is multiplied by the aforementioned twenty-first feature map, and then added to the fourteenth feature map, and then input to the seventh feature extraction block to obtain the fifteenth feature map. The tenth feature map is multiplied by the aforementioned twentieth feature map, and then added to the fifteenth feature map, and then input to the eighth feature extraction block to obtain the twenty-third feature map. The ninth feature map is multiplied by the aforementioned nineteenth feature map, and then added to the twenty-third feature map, and then input to the ninth feature extraction block to obtain the output feature. The MCB module specifically: based on the block-level MV information in the bitstream information, solves the motion vectors of the previous and next frames for the current frame, and performs motion compensation operations on the previous and next frames based on the motion vectors; The MV information used by the above modules includes the horizontal motion vector and the vertical motion vector of the coding block in the bitstream information.