Convex Optimization for Video Transform Coefficient Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Hybrid video codecs like H.264/AVC face challenges in achieving an optimal trade-off between rate and distortion due to complex dependencies between encoding decisions, particularly in selecting transform coefficient levels that affect both image fidelity and bit-rate across multiple frames.

Innovation Solution

The solution involves formulating the problem of selecting transform coefficient levels as a quadratic program using convex optimization, which considers motion estimation and inter-frame dependencies, and employing a sliding window approach to iteratively optimize coefficients while ensuring integer values are used, thereby improving the trade-off between rate and distortion.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If traditional quantization strategies are used for selecting transform coefficient levels, then the encoding process is simple and fast, but the trade-off between rate and distortion is suboptimal

Engineering Contradiction:
Improverate-distortion optimizationVSAvoidencoding complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent performs motion estimation and determines inter-frame dependencies before formulating the optimization problem. By pre-calculating motion vectors and identifying which coefficients in current frames depend on coefficients in reference frames, the patent prepares the necessary information in advance to set up the quadratic program efficiently, reducing the complexity of the optimization step while improving rate-distortion performance

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent transforms the discrete quantization parameter selection problem into a continuous quadratic optimization problem by formulating it in terms of transform coefficient levels. This parameter transformation allows the use of efficient convex optimization algorithms to find optimal coefficient levels that balance rate and distortion, rather than relying on traditional discrete quantization strategies

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If transform coefficient levels are optimized considering inter-frame dependencies, then coding gain is improved, but computational complexity increases

Engineering Contradiction:
Improvecoding gainVSAvoidencoding speed
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent segments the video sequence into groups of pictures (GOPs) and processes optimization within these segments. By dividing the overall optimization problem into smaller, manageable segments that can be processed independently, the patent reduces computational complexity while still capturing inter-frame dependencies within each segment, thereby maintaining encoding speed

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts and isolates the inter-frame dependency relationships between transform coefficients in reference frames and current frames. By explicitly identifying and separating these dependency relationships, the patent can formulate a targeted optimization problem that only considers the necessary coefficients, reducing the overall computational burden compared to optimizing all coefficients

Inventive Principle:
Principle #2Taking out (Extraction)

3Manufacturing precision

If convex optimization is used to solve the optimization problem, then optimal transform coefficient levels are achieved, but the problem formulation and solution process becomes more complex

Engineering Contradiction:
Improvetransform coefficient optimizationVSAvoidoptimization problem formulation
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent replaces traditional discrete quantization algorithms with a continuous convex optimization framework. By formulating the coefficient selection problem as a quadratic program with linear constraints, the patent substitutes the mechanical step-by-step quantization process with a mathematical optimization approach that can be solved efficiently using standard convex optimization algorithms, achieving better precision while managing complexity through mathematical tractability

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS7817723B2Apparatus and method of optimizing motion estimation parameters for encoding a video signal
Publication Date: 2010.10.19 FRAUNHOFER GESELLSCHAFT ZUR FORDERUNG DER ANGEWANDTEN FORSCHUNG EV
  • US7817723B2 patent drawing
  • US7817723B2 patent drawing
  • US7817723B2 patent drawing

AI summary

An encoder for encoding a video signal comprising a sequence of pictures, comprising a motion estimator for determining a motion estimation among the sequence of pictures, the motion estimation enabling a motion-compensated prediction of a pre-determined set of pictures of the sequence of pictures to obtain predicted pictures and residual data representing a deviation between the predetermined set of pictures and the predicted pictures, a parameter setter for setting parameters of an optimization problem based on the motion estimation and the predetermined set of pictures, and a solver for solving the optimization problem with the parameters being set, by means of convex optimization in order to yield optimized picture data that represents an encoded version of the residual data, is described. An improvement of the trade-off between rate and distortion is achieved by incorporating the motion estimation into the construction or set-up of the optimisation problem to be solved.