Shape-Adaptive Context Coding for Transform Coefficients

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image and video coding schemes face inefficiencies in entropy coding of transform coefficients due to inadequate consideration of the spatial and temporal redundancy in video content, particularly in determining the context for syntax elements associated with transform coefficients.

Innovation Solution

A method and device for entropy coding and decoding that determine the context for syntax elements based on the area of the block, the position of the transform coefficient within the block, and the number of non-zero neighboring transform coefficients in a local template, where the local template depends on the shape of the block, enhancing the entropy coding process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a fixed local template is used for context determination, then the device complexity is reduced, but the coding efficiency deteriorates due to inadequate adaptation to different block shapes

Engineering Contradiction:
Improvecoding efficiencyVSAvoidcontext determination complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The local template is made dynamic by adapting its shape and size to the current block being processed. The template dimensions are adjusted based on the block's width and height, allowing the context determination to dynamically match the geometric characteristics of different blocks, thereby improving coding efficiency without requiring complex manual configuration

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

Different regions of the transform coefficient block are treated with different local templates appropriate to their shape characteristics. Each block uses a locally optimized template that matches its specific geometry, ensuring that context determination is tailored to local block properties rather than applying a uniform approach everywhere

Inventive Principle:
Principle #3Local quality

2Measurement precision

If the local template size is increased to capture more neighboring coefficients, then the measurement precision of context determination is improved, but the loss of information increases due to potential inclusion of irrelevant distant coefficients

Engineering Contradiction:
Improvecontext determination accuracyVSAvoidrelevance information loss
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The template dimensions are adjusted as parameters based on the block size. For larger blocks, larger templates are used to capture sufficient neighboring context, while for smaller blocks, smaller templates are used to avoid including irrelevant distant coefficients. This parameter adaptation ensures optimal template size for each specific block, balancing context capture with relevance

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If context determination is based on multiple factors (block area, position, neighboring coefficients), then the entropy coding accuracy is improved, but the computational complexity increases

Engineering Contradiction:
Improveentropy coding accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The context determination process is segmented into distinct steps: first determining block geometry parameters, then calculating template dimensions, next counting non-zero neighboring coefficients within the template, and finally using these to determine the context. This segmentation breaks down the complex multi-factor determination into manageable stages, improving accuracy while controlling computational complexity through systematic organization

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12355996B2Encoding and decoding methods and corresponding devices
Publication Date: 2025.07.08 INTERDIGITAL VC HOLDINGS INC
  • US12355996B2 patent drawing
  • US12355996B2 patent drawing
  • US12355996B2 patent drawing

AI summary

A decoding method is disclosed. First, context for a syntax element associated with a current transform coefficient of a block of a picture is determined. The context is determined based on the area of said block, on the position of the current transform coefficient within the block and on the number of non-zero neighboring transform coefficients in a local template. Second, the syntax element is decoded based at least on the determined context. Advantageously, the local template depends on the shape of said block.