Residual Video Coding With Selective Background Compensation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video encoding methods encode the residual data of the whole picture, leading to high compressed average code rates, affecting viewing experience under limited bandwidth, and allocate the same code rate to both high significance object areas and low significance background areas, wasting resources.

Innovation Solution

Dynamically determine whether to encode the residual data of background areas in inter predicted pictures, using object masks and dilation processing to selectively encode only the object area residuals, and adaptively adjust code rates based on impact factors and similarity calculations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If whole picture residual data is encoded uniformly, then encoding simplicity is maintained, but code rate resources are wasted on background areas

Engineering Contradiction:
Improveencoding simplicityVSAvoidcode rate resources
Core Design Contradiction:
Ease of manufactureVSQuantity of substance

Solution Approach 1:

The picture is segmented into object area and background area based on motion vector differences. Object area pixels have motion vector differences within a threshold, while background area pixels exceed the threshold. This segmentation enables differential encoding where only object area residual data is encoded, eliminating waste of code rate resources on background areas while maintaining encoding efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different encoding strategies are applied to different regions: object area uses full residual encoding to maintain quality, while background area uses simplified or skipped encoding to save resources. This local quality approach ensures that code rate resources are allocated according to the actual importance and complexity of each region.

Inventive Principle:
Principle #3Local quality

2Manufacturing precision

If object area residual is prioritized, then subjective video quality is improved, but encoding complexity increases

Engineering Contradiction:
Improvevideo qualityVSAvoidencoding complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

Motion vectors are calculated and compared in advance to identify object and background areas before residual encoding. This preliminary classification based on motion vector differences allows the encoder to prepare region masks and determine which areas require full encoding, thereby improving video quality without adding significant complexity during the actual residual encoding stage.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If background residual compensation is performed, then encoding completeness is maintained, but bandwidth consumption increases

Engineering Contradiction:
Improveencoding completenessVSAvoidbandwidth consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The background area residual encoding is extracted and removed from the overall encoding process. By identifying background pixels through motion vector difference thresholding and creating a background mask, the encoder excludes background areas from residual encoding, thereby reducing bandwidth consumption while maintaining encoding completeness for the important object areas.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12627813B2Residual coding method and device, video coding method and device, and storage medium
Publication Date: 2026.05.12 GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
  • US12627813B2 patent drawing
  • US12627813B2 patent drawing
  • US12627813B2 patent drawing

AI summary

A residual coding method is provided. The method comprises: when the current frame is an inter-frame prediction frame, determining whether a residual of a background region in the current frame needs to be compensated for; and when the residual of the background region in the current frame needs to be compensated for, coding first residual data, and when the residual of the background region in the current frame does not need to be compensated for, coding second residual data, wherein the first residual data is residual data of an entire image of the current frame, and the second residual data is residual data of a target region in the current frame. The present disclosure further provides a video coding method using the residual coding method, and corresponding devices and a storage medium.