A video super-resolution method based on 3D convolution
Through the combination of multi-level 3D convolutional neural network and adversarial generation network, the problem of long-term dependency extraction of video frames in video super-resolution is solved, efficient video frame feature extraction and super-resolution generation are achieved, and existing problems are solved. The problem of excessive calculation in technology.
Patent Information
- Application Number
- CN202211556262.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-06
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-12-06
AI Technical Summary
Existing video super-resolution algorithms are difficult to handle the long-term span dependencies of high-resolution video frames, resulting in a lack of video frame reference information, excessive calculations, and difficulty in achieving effective video frame feature extraction.
Multi-level 3D convolutional neural network and adversarial generative network (GAN) are used to group video frames for feature extraction and super-resolution generation. The correlation between video frames is extracted through 3D convolution, and the generation ability of GAN is used to achieve Dependency feature extraction and super-resolution features for long-span video frames.
It effectively avoids the lack of video frame reference information, realizes dependency feature extraction and super-resolution functions of long-span video frames, reduces the amount of calculation, and improves the efficiency of video super-resolution.
Smart Images

Figure CN115797178B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision, and in particular to a video super-resolution method based on 3D convolution. Background Art
[0002] With the development of science and technology, low-resolution electronic displays are gradually being replaced by ultra-high-definition displays such as 2K / 4K displays, and consumers are increasingly demanding ultra-high-definition video sources. However, due to the backwardness of early shooting equipment and other issues, old movies and TV shows do not have ultra-high-definition sources, which seriously affects the viewing experience. At the same time, the video super-resolution algorithm based on deep neural networks has been widely used in the technical application of processing standard-definition videos into ultra-high-definition videos, and has made great progress. In the existing method, the video is decoded and input into the neural network. The time span of 100 frames of a video with a resolution of 1920*1080 is relatively long. The memory required after decoding is as high as 100*1920*1080*3*64≈4.6GB. The existing single-layer deep neural network algorithm model is difficult to process such large-scale data, which ultimately leads to the algorithm's inability to establish the interdependence of image frames with a long span, which in turn leads to the loss of video frame reference information.
[0003] The difficulty of solving the above problems is as follows: in the prior art, video frames are generally subjected to simple convolution calculations, or adversarial generative networks are combined with optical flow algorithms to extract features of image frame dependencies, and the extracted features are used as reference information for the current video frame. However, in super-resolution applications, the amount of video frame data is large, which makes it difficult to establish image frames with a long time span.
[0004] When super-resolution is performed on a certain frame of a video, the more original information is input, the closer the super-resolution picture is to the real situation; due to the general video encoding characteristics, the dozens of frames before and after the video, or even hundreds of frames, are strongly correlated with the current frame; and the amount of data after the video is decoded is very large. The significance of solving the above problems is: multi-level 3D convolution can process data in batches and input them into the neural network in batches, especially inputting multiple shallow neural networks in batches. The multi-level 3D convolutional neural network can quickly reduce the data while extracting information features; the computational complexity of the adversarial generative network is determined by the number of channels, width, and depth. After the amount of data is reduced, the number of channels and width will decrease, and the depth remains unchanged. Therefore, the computational complexity of the adversarial generative network decreases rapidly with the sharp decrease in the amount of input data, thereby solving the problem that the current single-layer neural network is difficult to solve due to the large amount of input data, resulting in huge computational complexity and difficulty in calculation. Summary of the invention
[0005] The present invention provides a video super-resolution method based on 3D convolution, so as to solve the problem of missing video frame reference information caused by the inability of super-resolution algorithms to extract dependency features of long-span video frames in existing methods.
[0006] The technical solution of the present invention is as follows:
[0007] The video super-resolution method based on 3D convolution of the present invention comprises the following steps: S1. video frame grouping: reading video frames from a video file and grouping the video frames; S2. 3D convolution calculation: constructing a feature extraction algorithm model based on a 3D convolutional neural network; S3. constructing a super-resolution algorithm model based on a generative adversarial network (GAN).
[0008] Optionally, in the above-mentioned 3D convolution-based video super-resolution method, in step S1, a general codec software tool is used to read the video file, decode the video frames into a general array matrix, and store them in the memory in sequence; select a certain frame of the video frame, and divide the m adjacent frames of the video frame before and after the video frame into n groups in sequence; splice the video frames of each group as the input data of each level of 3D convolution.
[0009] Optionally, in the above-mentioned 3D convolution-based video super-resolution method, in step S2, a multi-level, multi-input 3D convolutional neural network model is constructed, and first a frame of video frame before super-resolution is input, and a set of feature maps are obtained after passing through the convolutional neural network; each level inputs a set of video frames and feature maps of the previous level, and outputs a set of feature maps; after multiple levels of output, a set of feature maps finally output by the 3D convolution algorithm model is obtained.
[0010] Optionally, in the above-mentioned 3D convolution-based video super-resolution method, in step S3, an upsampling algorithm model is constructed based on a generative adversarial network (GAN) to implement a super-resolution generation algorithm. The super-resolution generation algorithm inputs a set of feature maps that are finally output by the 3D convolution calculation, and outputs the current super-resolved video frame.
[0011] Optionally, in the above-mentioned 3D convolution-based video super-resolution method, the super-resolution algorithm model includes: a pre-super-resolution video frame input network based on CNN convolution, a feature extraction network based on 3D convolution, and a super-resolution enhancement network based on a GAN adversarial generation network.
[0012] According to the technical solution of the present invention, the beneficial effects produced are:
[0013] The video super-resolution method based on 3D convolution of the present invention uses 3D convolution to extract the dependency between image frames according to the correlation between video frames, and combines the generation capability of the Generative Adversarial Network (GAN) to adopt multi-level image frame grouping input, thereby avoiding the problem that the old method cannot extract the dependency features of long-time span video frames and causes the missing of video frame reference information. Ultimately, the super-resolution function of dependency feature extraction of long-time span video frames is realized.
[0014] 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
[0015] 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 are briefly introduced below.
[0016] Figure 1 is a flow chart of a method for video super-resolution based on 3D convolution of the present invention;
[0017] Figure 2 It is a schematic diagram of a super-resolution algorithm model involved in the method of the present invention;
[0018] Figure 3 It is a schematic diagram of a super-resolution algorithm model involved in the method of the present invention. DETAILED DESCRIPTION
[0019] 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.
[0020] The video super-resolution method based on 3D convolution of the present invention groups video frames as input data, uses multi-level 3D convolution to extract the correlation between video frames, and combines the generation ability of GAN adversarial generative network to achieve the video super-resolution function of long-time span video frame dependency feature extraction. Specifically, a multi-level 3D convolution method is adopted, and the video frames are grouped as input data and 3D convolution is used in sequence to extract features (i.e., extract the correlation between video frames) to obtain the relationship between a certain frame of video image and other video frames before super-resolution. According to the principle that the closer the adjacent, the closer the relationship between video frames, multi-level group input can reduce unnecessary feature extraction between video frames, thereby reducing the amount of calculation, and finally making it possible to input video frames with a long time span and extract features of the dependency relationship of the video frames.
[0021] The working principle of the present invention is: using 3D convolution to extract the correlation of video frames, establish connections between video frames, and then realize the function of extracting dependency features of long-span video frames; using the generation characteristics of the adversarial generative network GAN, the low-resolution feature map is generated into a high-resolution image. The idea of the method of the present invention is to first extract features, and then use these features as input data for the adversarial generative network. The adversarial generative network can be designed to upsample or downsample. The present invention aims to improve the resolution rather than reduce the resolution, so the adversarial generative network is designed to upsample to achieve the function of improving the resolution.
[0022] like Figure 1 As shown, the video super-resolution method based on 3D convolution of the present invention comprises the following steps:
[0023] S1. Video frame grouping: Read video frames from the video file and group them into groups. Preprocess the data structure of the data stream according to the data structure requirements of the algorithm model.
[0024] In this step, a general codec software tool is used to read the video file, decode the video frames into a general array matrix, and store them in the memory in sequence; a certain frame of the video frame is selected, and the m adjacent frames of the video frame before and after the video frame are divided into n groups in sequence; each group of video frames is spliced in a general way, and used as the input data for each level of 3D convolution.
[0025] S2.3D convolution calculation: Based on the 3D convolutional neural network, a feature extraction algorithm model is constructed.
[0026] A multi-level, multi-input 3D convolutional neural network model is constructed. First, a frame of video frame before super-resolution is input, and a set of feature maps are obtained through a convolutional neural network (CNN). Each level inputs a set of video frames and the feature maps of the previous level, and outputs a set of feature maps. After multiple levels of output, a set of feature maps are finally output by the 3D convolution algorithm model (i.e., feature extraction algorithm model).
[0027] like Figure 2 As shown, ① prepare a frame of video before super-resolution (i.e., Figure 2 ② The first-level 3D convolutional neural network (3D convolution 1) takes the feature map C and the first group of video frames (video frame group 1) as input data, and extracts features through the first-level 3D convolutional neural network to obtain a set of feature maps. Figure 1 ;③The second level 3D convolutional neural network (3D convolution 2) converts the features Figure 1and the second group of video frames (video frame group 2) as input data, and after feature extraction by the second-level 3D convolutional neural network, a set of features is obtained Figure 2 ; ④ And so on, the final output feature map n will be used as the input data of the GAN adversarial generation network.
[0028] like Figure 2 The figure shows a schematic diagram of the super-resolution algorithm model of the present invention. The algorithm model consists of three parts: a pre-super-resolution video frame input network based on CNN convolution, a feature extraction network based on 3D convolution, and a super-resolution enhancement network based on GAN adversarial generation network.
[0029] S3.GAN Adversarial Generation (Generative Adversarial Network): Based on the Generative Adversarial Network (GAN), a super-resolution algorithm model is constructed.
[0030] Based on the Generative Adversarial Network (GAN), an upsampling algorithm model (i.e., super-resolution algorithm model) is constructed to implement a super-resolution generation algorithm, which inputs a set of feature maps finally output by 3D convolution calculation and outputs the current super-resolution video frame.
[0031] like Figure 3 As shown, it is a schematic diagram of the super-resolution algorithm model of the present invention. In step S2, a feature map n is obtained, which describes the dependency between the current video frame and other video frames, as well as the information carried by the video frame. The feature map n is used as the input data of the resolution enhancement network (GAN adversarial generation network). After the adversarial generation network, the resolution is enhanced and a high-resolution video frame is generated and output. This video frame is the final super-resolution video frame output. At this point, the implementation of the algorithm model of video super-resolution based on 3D convolution is completed.
[0032] The method of the present invention utilizes the correlation between video frames and combines the feature extraction capability of 3D convolution between video frames to design a new video super-resolution algorithm model, supports the feature extraction of long-time span video frame dependencies, and in particular, extracts the correlation between video frames based on 3D convolution, designs an algorithm model for extracting dependency features based on 3D convolution, implements a multi-level, multi-input video frame dependency feature extraction algorithm, and then implements a video super-resolution method. In this way, the input of multiple groups of video frames at multiple levels is supported, and combined with the generation capability of GAN adversarial neural network, the super-resolution function of providing information reference for long-time span video frame dependencies is finally realized.
[0033] 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 video super-resolution method based on 3D convolution, characterized in that: The following steps are involved: S1. Video frame grouping: reading video frames from a video file and grouping the video frames; S2.3D convolution calculation: Based on 3D convolutional neural network, build a feature extraction algorithm model; S3. Build a super-resolution algorithm model based on the Generative Adversarial Network (GAN); In step S1, a general encoding and decoding software tool is used to read the video file, decode the video frame into a general array matrix, and store it in memory in sequence; Select a certain frame of the video frame, and divide the m frames of video before and after the video frame into n groups in sequence; splice the video frames of each group as the input data of each level of 3D convolution; In step S2, a multi-level, multi-input 3D convolutional neural network model is constructed. First, a video frame before super-resolution is input, and a set of feature maps are obtained through the convolutional neural network; each level inputs a set of video frames and the feature maps of the previous level, and outputs a set of feature maps; after multiple levels of output, a set of feature maps finally output by the 3D convolution algorithm model is obtained; In step S3, based on the Generative Adversarial Network (GAN), an upsampling algorithm model is constructed to implement a super-resolution generation algorithm, wherein the super-resolution generation algorithm inputs a set of feature maps finally output by 3D convolution calculation and outputs a current super-resolved video frame; The super-resolution algorithm model includes: a pre-super-resolution video frame input network based on CNN convolution, a feature extraction network based on 3D convolution, and a super-resolution enhancement network based on GAN adversarial generation network.
Citation Information
Patent Citations
Video super-resolution method based on multi-frame grouping and feedback network
CN113409190A
Temporal bottleneck attention architecture for video action recognition
US11270124B1
