Weighted Video Prediction for Non-Rectangular Block Coding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video coding technologies face challenges in setting weight values for weighted prediction, leading to suboptimal prediction accuracy and coding performance due to unreasonable weight settings, particularly for non-rectangular blocks and complex video content.

Innovation Solution

A method and apparatus for determining a weighted prediction angle and setting target weight values for each pixel position based on reference weight values from surrounding positions outside the current block, using a combination of first and second prediction modes to improve prediction accuracy and coding efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional prediction coding methods are used, then coding complexity is reduced, but prediction accuracy deteriorates leading to inability to effectively remove spatial and temporal redundancies

Engineering Contradiction:
Improveprediction accuracyVSAvoidcoding complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies local quality by differentiating weight value calculations between boundary pixels and interior pixels. Boundary pixels use weight values derived from surrounding matching positions outside the current block, while interior pixels use weight values from surrounding positions within the current block. This localized differentiation improves prediction accuracy for boundary regions without significantly increasing overall coding complexity.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent segments the prediction process into distinct stages: determining surrounding matching positions based on prediction angle, calculating reference weight values, determining target weight values, and computing final prediction values. This segmentation allows each stage to be optimized independently, improving overall prediction accuracy while maintaining manageable coding complexity through systematic organization.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If simple prediction methods are used, then coding speed is maintained, but prediction performance deteriorates making prediction values less approximate to raw pixels

Engineering Contradiction:
Improveprediction performanceVSAvoidcoding speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent performs preliminary actions by pre-determining surrounding matching positions and reference weight values before final prediction. The prediction angle is used to identify surrounding matching positions in advance, and reference weight values are calculated beforehand based on these positions. This preliminary preparation improves prediction performance without significantly impacting coding speed during the actual prediction phase.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes parameters by introducing prediction angle as a new parameter to determine surrounding matching positions, and by using target weight values derived from reference weight values. These parameter changes enable more accurate prediction values that better approximate raw pixels while maintaining coding efficiency through systematic parameter management.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12634447B2Method, apparatus and device for coding and decoding
Publication Date: 2026.05.19 HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
  • US12634447B2 patent drawing
  • US12634447B2 patent drawing
  • US12634447B2 patent drawing

AI summary

The present disclosure provides methods, apparatuses and devices for coding and decoding. When determining to enable a weighted prediction for a current block, the method includes: for the current block, obtaining a weighted prediction angle of the current block; for each pixel position of the current block, determining a surrounding matching position pointed by the pixel position from surrounding positions outside the current block based on the weighted prediction angle of the current block; determining a target weight value of the pixel position based on a reference weight value associated with the surrounding matching position; determining an association weight value of the pixel position based on the target weight value of the pixel position; determining a first prediction value of the pixel position based on a first prediction mode of the current block; determining a second prediction value of the pixel position based on a second prediction mode of the current block; and based on the first prediction value, the target weight value, the second prediction value and the association weight value, determining a weighted prediction value of the pixel position; and determining weighted prediction values of the current block based on the weighted prediction values of all pixel positions of the current block.