Efficient distributed video compressed sensing reconstruction system and method
By using the ISTA-Net++ algorithm and deep reconstruction network FMCDR-Net in the video compression perception system, the video frames are efficiently reconstructed, and the problems of high computational complexity and unstable recovery results in the prior art are solved, and high-quality and fast video reconstruction effects are achieved.
Patent Information
- Application Number
- CN202411725723.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-11-28
AI Technical Summary
The existing video compression perception methods have high computational complexity, unstable recovery results, and additional hyperparameters and calculations limit their flexibility and practical applications.
The distributed video compression perception system is adopted to independently and initially reconstruct keyframes and non-keyframes through the ISTA-Net++ algorithm, and the deep reconstruction network FMCDR-Net is used to perform deep reconstruction of non-keyframes to improve the reconstruction quality and efficiency.
It significantly improves the quality of non-keyframe reconstruction, realizes rapid high-quality video reconstruction, reduces computing complexity and storage requirements, and improves the flexibility and practical application capabilities of the system.
Smart Images

Figure CN119583801A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image processing, and in particular relates to an efficient distributed video compression sensing reconstruction system and method. Background Art
[0002] Since Compressed Sensing (CS) requires fewer measurements in signal acquisition than Nyquist sampling theory, it has been applied to image and video coding. CS theory shows that if a signal is compressible or sparse in a certain transform domain, it can be accurately reconstructed from a small number of measurements. Mathematically, x∈R N×1 represents the original signal, Φ∈R M×N is a linear random sampling matrix. Therefore, the CS measurement value y∈R M×1 It can be obtained by linear projection y = Φx. The ratio γ of M to N is called the sampling rate. The inverse problem of CS is a typical ill-posed problem. How to design the sampling matrix and how to accurately reconstruct the original signal from a small number of measurements remain the main challenges facing CS theory.
[0003] Most existing works on video compression sensing are based on a distributed compressed video sensing architecture, where frames are sampled individually and restored jointly by exploiting spatiotemporal correlations. Multi-hypothesis reconstructs the residual between the target frame and its multi-hypothesis prediction. Since the residual is more compressible than the original signal, multi-hypothesis has achieved good performance in both restoration quality and computational complexity, becoming a milestone in video compression sensing and receiving widespread attention. As an alternative to multi-hypothesis-based methods, some techniques focus on sparsity and exploit spatiotemporal correlations by building adaptive dictionaries. However, the above methods usually restore the original signal through iterative optimization, resulting in high computational complexity and unstable restoration results.
[0004] Due to the success of convolutional neural networks in image CS, some video compressed sensing methods based on convolutional neural networks have been proposed recently and have achieved performance superior to traditional methods. Some of these methods use long short-term memory networks to extract motion features between adjacent frames for video compressed sensing reconstruction. In order to better utilize the non-local correlation between frames, some methods develop a two-stage network with explicit motion compensation to obtain a more suitable sparse representation in the video frame group domain. Some methods do not use optical flow estimation, but use deformable convolutions for temporal alignment and fuse inter-frame information through 3D convolution to restore the target frame. Although the performance of these methods is promising, the additional hyperparameters and computations limit their flexibility and practical application. Summary of the invention
[0005] The purpose of the present invention is to solve the problems existing in the prior art and to provide an efficient distributed video compression sensing reconstruction system and method.
[0006] To achieve the above object, the technical solution of the present invention is: an efficient distributed video compression sensing reconstruction system, including an encoding module and a decoding module;
[0007] The encoding module comprises:
[0008] A video frame image grouping module extracts video sequence frame images to form video image frame groups;
[0009] A compression coding module compresses and samples the key frames and non-key frames in the video image frame group, obtains the corresponding compression results and transmits them to the decoding module;
[0010] The decoding module comprises:
[0011] Key frame reconstruction module, after the key frame compression result reaches the decoding module, it is independently reconstructed by the ISTA-Net++ algorithm;
[0012] The non-key frame preliminary reconstruction module uses the non-key frame compression results to perform preliminary reconstruction using the ISTA-Net++ algorithm;
[0013] The non-key frame deep reconstruction module uses the key frames obtained after independent reconstruction and the non-key frames obtained after preliminary reconstruction to complete the deep reconstruction of the non-key frames through the deep reconstruction network to obtain the final reconstructed non-key frames;
[0014] The video frame image reconstruction module reconstructs the key frames obtained by independent reconstruction and the non-key frames obtained by final reconstruction to form a decoded video sequence.
[0015] In one embodiment of the present invention, the video frame image grouping module extracts video sequence frame images from the input video sequence and forms a GOP frame group, the first frame image in the frame group is a key frame, and the remaining frame images are non-key frames; the frame images in each frame group will be transmitted in the order of key frames and non-key frames.
[0016] In one embodiment of the present invention, the compression coding module obtains the measurement value by performing block-based frame-by-frame compression sampling using a convolutional layer with a predetermined kernel size and step size. The sampling process is expressed as shown in formula (1):
[0017] y=A(X)=W Φ *X (1)
[0018] Where X is the original signal; y is the compressed sensing measurement value; A(X) represents the compressed sensing sampling of the original signal X; W Φis the convolution kernel, where the subscript Φ is a fixed random Gaussian matrix; * is the convolution operation. In order to obtain the convolution kernel W Φ , the fixed random Gaussian matrix Φ∈R M×N Reshape into M convolution kernels, each with a kernel size of
[0019] In one embodiment of the present invention, the key frame reconstruction module and the non-key frame preliminary reconstruction module respectively use the initialization module and the network reconstruction module in the ISTA-Net++ algorithm to complete the independent reconstruction and preliminary reconstruction of the key frames and non-key frames.
[0020] In one embodiment of the present invention, the initialization module in the ISTA-Net++ algorithm combines the convolution operation and the pixel shuffle layer of deep learning to handle the dimensionality mismatch problem between the original image and its compressed sensing measurement value; it is defined as shown in formula (2):
[0021]
[0022] In the formula, is the initialization measurement value; Y is the compressed measurement value; AT(Y) indicates that the compressed measurement value is initialized to match the dimension between the original image and its compressed sensing measurement value; is the convolution kernel, subscript Φ T Indicates the transposition of a fixed random Gaussian matrix Φ; PixelShuffle represents a tensor reshaping algorithm, which can output an image with an input of (N, C×upscale_factor2, H, W) as (N, C, H×upscale_factor, W×upscale_factor) after passing through the PixelShuffle layer, where N is the number of samples in the image, C is the number of channels, H is the width of the image, W is the height of the image, and upscale_factor is the scale factor. In order to obtain Φ T ∈R N×M Reconstructed into N convolution kernels, each with a kernel size of 1×1×M; the pixelshuffle layer reshapes the tensor N×1×1 into a tensor
[0023] In one embodiment of the present invention, the network reconstruction module in the ISTA-Net++ algorithm is to expand ISTA and alternate between the dynamic gradient descent module and the dynamic proximal mapping module K times; in order to process multiple ratios at the same time, a dynamic expansion strategy is used to expand the soft threshold iterative algorithm, the dynamic expansion strategy takes the compressed sensing ratio as input, and uses a global condition module to pass the information of the input ratio to each stage;
[0024] The dynamic gradient descent module converts one of the outputs of the conditional module into an iterative step size ρ of the Kth stage k and the output of the K-1 stage initialization module With a fixed random Gaussian matrix Φ and the compressed measurement value Y as input, the output of the dynamic gradient descent module at the K stage is defined as shown in formula (3):
[0025]
[0026] In the formula, R k is the output of the dynamic gradient descent module in the Kth stage, A represents the process of compressed sensing sampling using the measurement matrix, and A T It indicates that the initialization process is performed to match the dimensionality between the original image and its compressed sensing measurement value.
[0027] The dynamic near-end mapping module introduces additional noise level mapping As input, it is flexible to various degradation levels; the dynamic proximal mapping module consists of two residual blocks and And two convolutional layers and The two convolutional layers are used to extract image features and reconstruct them respectively, and perform long jump connections. The output of the dynamic proximal mapping module in the Kth stage is expressed as shown in formula (4):
[0028]
[0029] To more flexibly handle multiple ratios in a single model, ISTA-Net ++ The conditional module is designed in the algorithm to predict the conditional information transmitted to each stage; the output of the conditional module is set where ρ k is the iteration step length of the Kth stage, σ k is the noise size of the Kth stage. Three fully connected layers are used in the conditional module. The first two activation functions are relu, and Softplus is used as the last activation function. The conditional information generated by the conditional module is expressed as shown in formula (5):
[0030]
[0031] In the formula, H CM (γ) represents the entire processing process of the conditional module, where γ is the compressed sensing sampling rate.
[0032] In one embodiment of the present invention, the non-key frame deep reconstruction module adopts a deep reconstruction network FMCDR-Net to compensate each non-key frame by using the two most recent key frames; the deep reconstruction network FMCDR-Net is intended to utilize the temporal redundancy existing in key frames and non-key frames to improve the quality of non-key frame reconstruction in video compression sensing; the deep reconstruction network FMCDR-Net includes an FMC-Net network module and an FDR-Net network module, the former performs preliminary reconstruction and enhancement on non-key frames, and the latter performs deep reconstruction on the preliminary reconstruction and enhanced non-key frames.
[0033] In one embodiment of the present invention, the FMC-Net network module is composed of a feature extraction component, a memory component, and a reconstruction component. Drawing on the design concept of STMC-Net, the reconstruction of non-key frames is enhanced through the spatiotemporal correlation between key frames and non-key frames; the input of the FMC-Net network module is the reconstructed key frames from the current video image frame group and the preliminarily reconstructed non-key frames from the current video image frame group, and the output is the preliminarily reconstructed enhanced non-key frames.
[0034] In one embodiment of the present invention, the FDR-Net network module is composed of two convolutional layers and multiple residual blocks, aiming to effectively learn and utilize frame difference information; two reconstructed key frames, one preliminary reconstructed and enhanced non-key frame and three frame difference maps are feature fused to form a six-channel input feature map, and features are extracted from the input feature map by the first convolutional layer, and then passed through multiple residual blocks and long jump connections to retain the original information while learning the residual; finally, the final reconstructed non-key frame is generated by the second convolutional layer.
[0035] The present invention also provides an efficient distributed video compression sensing reconstruction method, including an encoding process and a decoding process; wherein:
[0036] The coding process includes:
[0037] Extracting video sequence frame images from the input video sequence to form a video image frame group;
[0038] Compress and sample the key frames and non-key frames in the video image frame group respectively, obtain the corresponding compression results and transmit them to the decoding module;
[0039] The decoding process includes
[0040] The ISTA-Net++ algorithm is used to independently reconstruct the key frame compression results;
[0041] The ISTA-Net++ algorithm is used to preliminarily reconstruct the non-key frame compression results;
[0042] Using the key frames obtained after independent reconstruction and the non-key frames obtained after preliminary reconstruction, the deep reconstruction of the non-key frames is completed through the deep reconstruction network to obtain the final reconstructed non-key frames;
[0043] The key frames obtained by independent reconstruction and the non-key frames obtained by final reconstruction are recombined to form a decoded video sequence.
[0044] Compared with the prior art, the present invention has the following beneficial effects: the method of the present invention firstly converts ISTA-Net ++ A distributed video compression sensing system is introduced to independently reconstruct and preliminarily reconstruct key frames and non-key frames, making full use of the intra-frame correlation. Through the designed two-stage deep reconstruction network module, the correlation between frames is fully utilized to deeply reconstruct non-key frames. The deep reconstruction network module FMC-Net in the first stage performs motion compensation to obtain non-key frames with preliminary enhanced reconstruction; the deep reconstruction network module FDR-Net in the second stage uses frame difference information to perform residual reconstruction to restore details to obtain the final reconstructed non-key frames. The method of the present invention can significantly improve the reconstruction quality of non-key frames and achieve high-quality rapid reconstruction of video. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of the overall architecture of an efficient distributed video compression sensing reconstruction network according to an embodiment of the present invention;
[0046] Figure 2 The present invention is a flowchart of the implementation and application of the video compression sensing reconstruction network module according to an embodiment of the present invention.
[0047] Figure 3 ISTA-Net is an embodiment of the present invention. ++ Schematic diagram of the network architecture.
[0048] Figure 4 It is a visual comparison diagram of the reconstruction effect of the method of the present invention on the coastguard sequence at different sampling rates. DETAILED DESCRIPTION
[0049] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings.
[0050] like Figure 1 As shown, the present invention provides an efficient distributed video compression sensing reconstruction system, including an encoding module and a decoding module;
[0051] The encoding module comprises:
[0052] A video frame image grouping module extracts video sequence frame images to form video image frame groups;
[0053] A compression coding module compresses and samples the key frames and non-key frames in the video image frame group, obtains the corresponding compression results and transmits them to the decoding module;
[0054] The decoding module comprises:
[0055] Key frame reconstruction module, after the key frame compression result reaches the decoding module, it is independently reconstructed by the ISTA-Net++ algorithm;
[0056] The non-key frame preliminary reconstruction module uses the non-key frame compression results to perform preliminary reconstruction using the ISTA-Net++ algorithm;
[0057] The non-key frame deep reconstruction module uses the key frames obtained after independent reconstruction and the non-key frames obtained after preliminary reconstruction to complete the deep reconstruction of the non-key frames through the deep reconstruction network to obtain the final reconstructed non-key frames;
[0058] The video frame image reconstruction module reconstructs the key frames obtained by independent reconstruction and the non-key frames obtained by final reconstruction to form a decoded video sequence.
[0059] The video frame image grouping module extracts the video sequence frame images from the input video sequence and forms a GOP frame group. The first frame image in the frame group is a key frame, and the remaining frame images are non-key frames; the frame images in each frame group will be transmitted in the order of key frames and non-key frames.
[0060] Compression coding module, unlike most methods that use a fixed random Gaussian matrix, this compression coding module obtains measurement values by using a convolutional layer with a special kernel size and step size for block-based frame-by-frame compression sampling, which not only reduces the computational complexity and storage requirements, but also enables key frames and non-key frames to be sampled at different sampling rates. The sampling process is expressed as shown in formula (1):
[0061] y=A(X)=W Φ *X (1)
[0062] Where X is the original signal; y is the compressed sensing measurement value; A(X) represents the compressed sensing sampling of the original signal X; W Φ is the convolution kernel, where the subscript Φ is a fixed random Gaussian matrix; * is the convolution operation. In order to obtain the convolution kernel W Φ , the fixed random Gaussian matrix Φ∈R M×N Reshape into M convolution kernels, each with a kernel size of
[0063] The key frame reconstruction module and the non-key frame preliminary reconstruction module respectively use the initialization module and the network reconstruction module in the ISTA-Net++ algorithm to complete the independent reconstruction and preliminary reconstruction of key frames and non-key frames.
[0064] See also Figure 3 As shown in Figure 2, the initialization module in the ISTA-Net++ algorithm combines the convolution operation and pixel shuffle layer of deep learning to deal with the dimensionality mismatch problem between the original image and its compressed sensing measurement value; it is defined as shown in formula (2):
[0065]
[0066] In the formula, is the initialization measurement value; Y is the compressed measurement value; AT(Y) indicates that the compressed measurement value is initialized to match the dimension between the original image and its compressed sensing measurement value; is the convolution kernel, subscript Φ T Indicates the transposition of a fixed random Gaussian matrix Φ; PixelShuffle represents a tensor reshaping algorithm, which can output an image with an input of (N, C×upscale_factor2, H, W) as (N, C, H×upscale_factor, W×upscale_factor) after passing through the PixelShuffle layer, where N is the number of samples in the image, C is the number of channels, H is the width of the image, W is the height of the image, and upscale_factor is the scale factor. In order to obtain Φ T ∈R N×M Reconstructed into N convolution kernels, each with a kernel size of 1×1×M; the pixelshuffle layer reshapes the tensor N×1×1 into a tensor
[0067] See also Figure 3 As shown in the figure, the network reconstruction module in the ISTA-Net++ algorithm is to expand the traditional ISTA and alternate between the dynamic gradient descent module and the dynamic proximal mapping module K times; in order to process multiple ratios at the same time, a dynamic expansion strategy is used to expand the soft threshold iterative algorithm. The dynamic expansion strategy takes the compressed sensing ratio as input and uses a global condition module to pass the information of the input ratio to each stage;
[0068] The dynamic gradient descent module converts one of the outputs of the conditional module into an iterative step size ρ of the Kth stage k and the output of the K-1 stage initialization module With a fixed random Gaussian matrix Φ and the compressed measurement value Y as input, the output of the dynamic gradient descent module at the K stage is defined as shown in formula (3):
[0069]
[0070] In the formula, Rk is the output of the dynamic gradient descent module in the Kth stage, A represents the process of compressed sensing sampling using the measurement matrix, and A T It indicates that the initialization process is performed to match the dimensionality between the original image and its compressed sensing measurement value.
[0071] The dynamic near-end mapping module introduces additional noise level mapping As input, it is flexible to various degradation levels; the dynamic proximal mapping module consists of two residual blocks and And two convolutional layers and The two convolutional layers are used to extract image features and reconstruct them respectively, and perform long jump connections. The output of the dynamic proximal mapping module in the Kth stage is expressed as shown in formula (4):
[0072]
[0073] To more flexibly handle multiple ratios in a single model, ISTA-Net ++ The conditional module is designed in the algorithm to predict the conditional information transmitted to each stage. The conditional information transmitted to the dynamic gradient descent module and the dynamic proximal mapping module has great potential in improving the generalization performance. where ρ k is the iteration step length of the Kth stage, σ k is the noise size of the Kth stage. Three fully connected layers are used in the conditional module. The first two activation functions are relu, and Softplus is used as the last activation function. The conditional information generated by the conditional module is expressed as shown in formula (5):
[0074]
[0075] In the formula, H CM (γ) represents the entire processing process of the conditional module, where γ is the compressed sensing sampling rate.
[0076] Non-keyframe deep reconstruction module, due to the higher sampling rate, keyframes are passed through ISTA-Net ++ The reconstruction has better reconstruction quality, so it can be introduced into non-key frame recovery; the non-key frame deep reconstruction module adopts the deep reconstruction network FMCDR-Net to compensate each non-key frame by using the two most recent key frames (from the current GOP and the next GOP);
[0077] The deep reconstruction network FMCDR-Net aims to improve the quality of non-keyframe reconstruction in video compression sensing by utilizing the temporal redundancy existing in keyframes and non-keyframes; this method is based on the observation that the differences between frames contain valuable information that can be used to improve the quality of non-keyframe reconstruction. The deep reconstruction network FMCDR-Net includes the FMC-Net network module and the FDR-Net network module. The former performs preliminary reconstruction enhancement on non-keyframes, and the latter performs deep reconstruction on the preliminary reconstruction enhanced non-keyframes.
[0078] The FMC-Net network module draws on the design concept of STMC-Net to enhance the reconstruction of non-keyframes through the spatiotemporal correlation between keyframes and non-keyframes. The network module mainly consists of three components: feature extraction component, memory component, and reconstruction component. Each component plays a vital role in extracting, processing, and reconstructing the features of keyframes and non-keyframes. The feature extraction component consists of two convolutional layers and a maximum pooling layer to extract spatial features for keyframes and non-keyframes respectively. The memory component consists of two convolutional layers to perform feature connections on the spatial features from keyframes and non-keyframes to form a rich feature representation that captures spatial and temporal correlations. The reconstruction component consists of two convolutional layers, the first convolutional layer is used to process the memory-enhanced features, and the second convolutional layer is used to output the preliminary enhanced non-keyframes. Finally, the Sigmoid function is used for normalization. FMC-Net uses the memory mechanism to capture rich contextual information, make good use of the spatiotemporal correlation between keyframes and non-keyframes, and achieve remarkable results in the preliminary enhanced reconstruction of non-keyframes.
[0079] The FDR-Net network module consists of two convolutional layers and multiple residual blocks, which is designed to effectively learn and utilize frame difference information; the network uses six input channels: two reconstructed key frames, one preliminary enhanced reconstructed non-key frame, and three frame difference maps. This multi-channel input allows the network to capture the spatial and temporal relationship between frames. We compare the reconstructed key frame from the current GOP, the reconstructed key frame of the next GOP, and the preliminary enhanced reconstructed non-key frame from the current GOP to obtain three frame difference maps. Then the two reconstructed key frames, one preliminary enhanced reconstructed non-key frame, and the three frame difference maps are fused to form a six-channel input feature map. The first convolutional layer is used to extract features from the input feature map, and then multiple residual blocks are passed through, and long jump connections are performed to retain the original information while learning the residual. Finally, the second convolutional layer is used to generate the final reconstructed non-key frame.
[0080] The key to FDR-Net is its ability to effectively utilize frame difference information. By feeding keyframes and their differences from target non-keyframes into the network, the model can predict non-keyframes more accurately. The residual blocks in the network facilitate the learning of complex mappings by focusing on residual information, simplifying the learning process and enhancing convergence. The use of frame difference mapping in the network is particularly useful because by integrating multiple sources of information (keyframes and their differences), it captures temporal redundancy between frames, providing additional information that pure spatial data cannot provide, and can fully exploit inter-frame correlations compared to methods that rely solely on spatial information. Secondly, residual connections help learn subtle changes between frames, which is critical for high-quality reconstruction of non-keyframes.
[0081] The present invention also provides an efficient distributed video compression sensing reconstruction method, including an encoding process and a decoding process; wherein:
[0082] The coding process includes:
[0083] Extracting video sequence frame images from the input video sequence to form a video image frame group;
[0084] Compress and sample the key frames and non-key frames in the video image frame group respectively, obtain the corresponding compression results and transmit them to the decoding module;
[0085] The decoding process includes
[0086] The ISTA-Net++ algorithm is used to independently reconstruct the key frame compression results;
[0087] The ISTA-Net++ algorithm is used to preliminarily reconstruct the non-key frame compression results;
[0088] Using the key frames obtained after independent reconstruction and the non-key frames obtained after preliminary reconstruction, the deep reconstruction of the non-key frames is completed through the deep reconstruction network to obtain the final reconstructed non-key frames;
[0089] The key frames obtained by independent reconstruction and the non-key frames obtained by final reconstruction are recombined to form a decoded video sequence.
[0090] like Figure 2 As shown, the process of implementing and applying the system and method of the present invention includes:
[0091] Step 1: Get the network training dataset and test set. We use UCF-101, which contains 13,320 video clips with a resolution of 320 × 240, to train our network. This dataset is randomly divided into 80% for training and 20% for validation. Due to the limitation of GPU memory, all frames are centrally cropped into patches of size 160 × 160, and only the brightness component is retained.
[0092] Step 2: Construct the network model of video compression sensing reconstruction of the system of the present invention. The overall network structure is as follows: Figure 1 As shown, it consists of three parts: a compressed sampling network, a preliminary reconstruction network and a two-stage deep reconstruction network.
[0093] Step 3: Set the network model loss function, hyperparameters, and optimization method. In each training stage of the network, the mean square error is used as the loss function:
[0094]
[0095] Where B represents the batch size, is the corresponding preliminary reconstructed non-key frame or preliminary enhanced reconstructed non-key frame, k i is the corresponding reconstructed key frame, Θ is the corresponding network parameter, and is the network output. This paper uses the ADAM optimizer to update the network parameters, sets the learning rate to 0.0001, the batch size to 12, and applies the ReLU activation function to the output of each convolutional layer.
[0096] Step 4: Use the prepared training set to train the network model. To accelerate convergence, we first pre-train each sub-network separately and sequentially, and then train all these networks jointly.
[0097] Step 5: Use the trained network model to perform video compressed sensing reconstruction, and use peak signal-to-noise ratio (PSNR) and structural similarity (SSIM) as evaluation indicators to verify the performance of the network: calculate the peak signal-to-noise ratio (PSNR) and structural similarity (SSIM) between the original image and the reconstructed image.
[0098] As an implementable embodiment, the model of the present invention uses the dataset UCF-101 as a training set and the standard CIF video development sequence to test our model.
[0099] As an implementable method, objective evaluation indicators include full reference evaluation indicators peak signal-to-noise ratio (PSNR) and structural similarity (SSIM). The higher the PSNR value, the closer the output image and the reference image are in content. The higher the SSIM value, the more similar the two images are in structure.
[0100] This embodiment verifies and analyzes the method. More specifically, in the experiment, the method is compared with 9 representative video reconstruction methods in terms of reconstruction quality and reconstruction speed, including three traditional methods: MH-BCS-SPL, RRS and GSR-InterF-SSIM, and six deep learning-based methods: CSVideoNet, PRCVSNet, 2sER-VGSR-Net, STM-Net, ImrNet, and DUMHAN.
[0101] All experiments are implemented on pytorch, and the experimental platform is configured with Intel Core i5-12400F CPU and RTX 4060 GPU.
[0102] The sequences use standard QCIF video development sequences football, hall, mother-daughter, soccer, tennis and ice sequences.
[0103] In Table 1, we can see that the reconstruction quality of FMCDR-Net exceeds that of other methods. When the key frame sampling rate is 0.7 and the non-key frame sampling rate is 0.1, the PSNR is improved by 4.63, 4.24, and 2.84 on average compared with the other three methods. The SSIM is improved by 0.09, 0.08, and 0.05 on average.
[0104] When the key frame sampling rate is 0.7 and the non-key frame sampling rate is 0.05, compared with the other three methods, the PSNR is improved by 4.64, 7.51, and 3.21 on average, and the SSIM is improved by 0.10, 0.15, and 0.07 on average.
[0105] When the key frame sampling rate is 0.7 and the non-key frame sampling rate is 0.01, compared with the other three methods, the PSNR is improved by 6.22, 9.29, and 4.54 on average, and the SSIM is improved by 0.18, 0.29, and 0.11 on average.
[0106] From the above results analysis, it can be seen that when the sampling rate of key frames is the same, the lower the sampling rate of non-key frames, the more significant the advantage of the video compression sensing reconstruction method of the present invention in reconstruction quality compared with the other three methods.
[0107] In Table 1, we can see that the reconstruction speed of FMCDR-Net is much lower than that of other methods. It takes only 9ms on average to restore the video frames of the above six video sequences, achieving millisecond-level reconstruction. However, the reconstruction time of video frames of other methods at any sampling rate is higher than tens of seconds, and their reconstruction delay cannot meet the real-time requirements. Compared with other existing video compression sensing reconstruction methods, the video compression sensing reconstruction method of the present invention breaks the bottleneck of slow recovery speed of traditional compression sensing.
[0108] Table 1 Comparison of PSNR, SSIM and reconstruction speed of video frames reconstructed on six QCIF video sequences with traditional methods
[0109]
[0110] We will compare the designed FMCDR-Net with six recent methods that utilize deep learning: CSVideoNet, PRCVSNet, 2sER-VGSR-Net, STM-Net, ImrNet, and DUMHAN. For fair comparison, FMCDR-Net is trained and evaluated on the same dataset as the aforementioned methods.
[0111] In Table 2, we can see the comparison results on the UCF-101 dataset. FMCDR-Net achieves good average PSNR and SSIM values at each sampling rate.
[0112] When the keyframe sampling rate is 0.2 and the non-keyframe sampling rate is 0.037, the PSNR is improved by 5.81, 1.59, 1.45, and 0.18 on average compared with CSVideoNet, PRCVSNet, 2sER-VGSR-Net, and STM-Net. The SSIM is improved by 0.12,−,0.04, and 0.00 on average.
[0113] When the keyframe sampling rate is 0.2 and the non-keyframe sampling rate is 0.018, the PSNR is improved by 6.69, 2.85, 2.18, and 0.64 on average compared with CSVideoNet, PRCVSNet, 2sER-VGSR-Net, and STM-Net. The SSIM is improved by 0.14,−,0.06, and 0.00 on average.
[0114] When the keyframe sampling rate is 0.2 and the non-keyframe sampling rate is 0.009, the PSNR is improved by 6.74, 4.11, 2.58, and 0.99 on average compared with CSVideoNet, PRCVSNet, 2sER-VGSR-Net, and STM-Net. The SSIM is improved by 0.16,−,0.08, and 0.01 on average.
[0115] Compared with ImrNet and DUMHAN, although FMCDR-Net is lacking in PSNR, these two methods achieve PSNR improvement by increasing the model depth. This will inevitably lead to a larger model skeleton, increasing the difficulty of model training and practical application. As can be seen from Table 2, the memory consumption of FMCDR-Net is lower than that of ImrNet and DUMHAN models, and is even only one-third of DUMHAN.
[0116] In terms of running speed, FMCDR-Net achieves comparable results due to its compact architecture. All experimental results confirm the effectiveness of our approach even at low sampling rates and large time intervals.
[0117] Table 2 Comparison of PSNR, SSIM and reconstruction speed of video frames reconstructed on the UCF-101 dataset with deep learning-based methods
[0118]
[0119] Figure 4 It is a visual comparison diagram of the reconstruction effect of the method of the present invention on the coastguard sequence at different sampling rates.
[0120] The above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. An efficient distributed video compression sensing reconstruction system, characterized in that: Includes encoding module and decoding module; The encoding module comprises: A video frame image grouping module extracts video sequence frame images to form video image frame groups; A compression coding module compresses and samples the key frames and non-key frames in the video image frame group, obtains the corresponding compression results and transmits them to the decoding module; The decoding module comprises: Key frame reconstruction module, after the key frame compression result reaches the decoding module, it is independently reconstructed by the ISTA-Net++ algorithm; The non-key frame preliminary reconstruction module uses the non-key frame compression results to perform preliminary reconstruction using the ISTA-Net++ algorithm; The non-key frame deep reconstruction module uses the key frames obtained after independent reconstruction and the non-key frames obtained after preliminary reconstruction to complete the deep reconstruction of the non-key frames through the deep reconstruction network to obtain the final reconstructed non-key frames; The video frame image reconstruction module reconstructs the key frames obtained by independent reconstruction and the non-key frames obtained by final reconstruction to form a decoded video sequence.
2. The efficient distributed video compression sensing reconstruction system according to claim 1, characterized in that: The video frame image grouping module extracts video sequence frame images from the input video sequence and forms a GOP frame group, in which the first frame image is a key frame and the remaining frames are non-key frames; the frame images in each frame group will be transmitted in the order of key frames and non-key frames.
3. The efficient distributed video compression sensing reconstruction system according to claim 1, characterized in that: The compression coding module obtains the measurement value by performing block-based frame-by-frame compression sampling using a convolutional layer with a predetermined kernel size and step size. The sampling process is expressed as shown in formula (1): y=A(X)=W Φ *X (1) Where X is the original signal; y is the compressed sensing measurement value; A(X) represents the compressed sensing sampling of the original signal X; W Φ is the convolution kernel, where the subscript Φ is a fixed random Gaussian matrix; * is the convolution operation; in order to obtain the convolution kernel W Φ , the fixed random Gaussian matrix Φ∈R M×N Reshape into M convolution kernels, each with a kernel size of 4. The efficient distributed video compression sensing reconstruction system according to claim 1, characterized in that: The key frame reconstruction module and the non-key frame preliminary reconstruction module respectively use the initialization module and the network reconstruction module in the ISTA-Net++ algorithm to complete the independent reconstruction and preliminary reconstruction of key frames and non-key frames.
5. The efficient distributed video compression sensing reconstruction system according to claim 4, characterized in that: The initialization module in the ISTA-Net++ algorithm combines the convolution operation of deep learning and the pixel shuffle layer to deal with the dimensionality mismatch between the original image and its compressed sensing measurement value; it is defined as shown in formula (2): In the formula, is the measured value after initialization; Y is the compressed measured value; A T (Y) indicates that the compressed measurement value is initialized to match the dimension between the original image and its compressed sensing measurement value; is the convolution kernel, subscript Φ T Indicates that a fixed random Gaussian matrix Φ is transposed; PixelShuffle represents a tensor reshaping algorithm, which outputs an image with an input of (N, C×upscale_factor2, H, W) as (N, C, H×upscale_factor, W×upscale_factor) after passing through the PixelShuffle layer, where N is the number of samples in the image, C is the number of channels, H is the width of the image, W is the height of the image, and upscale_factor is the scale factor; in order to get W ΦT , put Φ T ∈R N×M Reconstructed into N convolution kernels, each of which has a kernel size of 1×1×M; the PixelShuffle layer reshapes the tensor N×1×1 into a tensor 6. The efficient distributed video compression sensing reconstruction system according to claim 4, characterized in that: The network reconstruction module in the ISTA-Net++ algorithm is to expand ISTA and alternate between the dynamic gradient descent module and the dynamic proximal mapping module K times; in order to process multiple ratios simultaneously, a dynamic expansion strategy is used to expand the soft threshold iteration algorithm. The dynamic expansion strategy takes the compressed sensing ratio as input and uses a global condition module to pass the information of the input ratio to each stage; The dynamic gradient descent module converts one of the outputs of the conditional module into an iterative step size ρ of the Kth stage k and the output of the K-1th stage initialization module With a fixed random Gaussian matrix Φ and the compressed measurement value Y as input, the output of the dynamic gradient descent module at the K stage is defined as shown in formula (3): In the formula, R k is the output of the dynamic gradient descent module in the Kth stage, A represents the process of compressed sensing sampling using the measurement matrix, and A T Indicates that initialization processing is performed to match the dimensions between the original image and its compressed sensing measurement value; The dynamic near-end mapping module introduces additional noise level mapping As input, it is flexible to various degradation levels; the dynamic proximal mapping module consists of two residual blocks and And two convolutional layers and The two convolutional layers are used to extract image features and reconstruct them respectively, and perform long jump connections. The output of the dynamic proximal mapping module in the Kth stage is expressed as shown in formula (4): To more flexibly handle multiple ratios in a single model, ISTA-Net ++ The conditional module is designed in the algorithm to predict the conditional information transmitted to each stage; the output of the conditional module is set where ρ k is the iteration step length of the Kth stage, σ k is the noise size of the Kth stage. Three fully connected layers are used in the conditional module. The first two activation functions are relu, and Softplus is used as the last activation function. The conditional information generated by the conditional module is expressed as shown in formula (5): In the formula, H CM (γ) represents the entire processing process of the conditional module, where γ is the compressed sensing sampling rate.
7. The efficient distributed video compression sensing reconstruction system according to claim 1, characterized in that: The non-key frame deep reconstruction module adopts the deep reconstruction network FMCDR-Net to compensate each non-key frame by using the two most recent key frames; the deep reconstruction network FMCDR-Net is intended to utilize the temporal redundancy existing in key frames and non-key frames to improve the quality of non-key frame reconstruction in video compression sensing; the deep reconstruction network FMCDR-Net includes an FMC-Net network module and an FDR-Net network module, the former performs preliminary reconstruction enhancement on the non-key frames, and the latter performs deep reconstruction on the preliminary reconstruction enhanced non-key frames.
8. The efficient distributed video compression sensing reconstruction system according to claim 7, characterized in that: The FMC-Net network module consists of a feature extraction component, a memory component, and a reconstruction component. Drawing on the design concept of STMC-Net, the reconstruction of non-key frames is enhanced through the spatiotemporal correlation between key frames and non-key frames. The input of the FMC-Net network module is the reconstructed key frames from the current video image frame group and the preliminarily reconstructed non-key frames from the current video image frame group, and the output is the preliminarily reconstructed enhanced non-key frames.
9. The efficient distributed video compression sensing reconstruction system according to claim 7, characterized in that: The FDR-Net network module consists of two convolutional layers and multiple residual blocks, aiming to effectively learn and utilize frame difference information; two reconstructed key frames, one preliminary reconstructed and enhanced non-key frame and three frame difference maps are feature fused to form a six-channel input feature map, and features are extracted from the input feature map by the first convolutional layer, and then passed through multiple residual blocks and long jump connections to retain the original information while learning the residual; finally, the final reconstructed non-key frame is generated by the second convolutional layer.
10. An efficient distributed video compression sensing reconstruction method, characterized in that: Including encoding process and decoding process; among them, The coding process includes: Extracting video sequence frame images from the input video sequence to form a video image frame group; Compress and sample the key frames and non-key frames in the video image frame group respectively, obtain the corresponding compression results and transmit them to the decoding module; The decoding process includes The ISTA-Net++ algorithm is used to independently reconstruct the key frame compression results; The ISTA-Net++ algorithm is used to preliminarily reconstruct the non-key frame compression results; Using the key frames obtained after independent reconstruction and the non-key frames obtained after preliminary reconstruction, the deep reconstruction of the non-key frames is completed through the deep reconstruction network to obtain the final reconstructed non-key frames; The key frames obtained by independent reconstruction and the non-key frames obtained by final reconstruction are recombined to form a decoded video sequence.
Citation Information
Patent Citations
Intra-frame optimum matching interpolation reconstruction method in distributed video compressed sensing
CN108259916A
Video compressed sensing and reconstruction method and device based on deep neural network
CN110933429A
Novel reconstruction method based on distributed compressed video sensing system
CN112637599A
