Adaptive Scan Path Selection for Spatial Domain Video Coding
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing spatial domain scan methods in video coding are vulnerable to error propagation due to dependency on previous data, while fixed scans in the spatial domain do not fully leverage performance improvements over frequency domain processing, leading to suboptimal coding efficiency.
Innovation Solution
An adaptive context-based scan processing method that selects a fixed scan path for each block based on the distribution of prediction error values, prioritizing corners for initial scanning and selecting a suitable scan mode for the rest of the block, thereby preventing error propagation and enhancing entropy-encoding performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If adaptive spatial domain scan is used based on prediction image gradients, then coding efficiency is improved, but error propagation vulnerability increases
Solution Approach 1:
The patent applies preliminary action by pre-defining multiple fixed scan path patterns (e.g., zigzag, horizontal, vertical, diagonal scans) before encoding. The encoder selects the most appropriate pre-defined pattern based on block characteristics such as gradient magnitude or variance, rather than adaptively generating scan paths based on prediction errors. This prevents error propagation because the scan path selection depends only on the current block's statistics, not on previously decoded data, thus maintaining coding efficiency while ensuring reliability.
2Reliability
If fixed scan path is used in spatial domain, then error propagation is prevented, but coding efficiency deteriorates
Solution Approach 1:
The patent applies dynamics by making the scan path selection adaptive to the characteristics of each individual block. Although the scan paths themselves are fixed and pre-defined, the selection of which scan path to use varies dynamically based on block-specific metrics such as gradient magnitude, variance, or energy distribution. This allows the system to maintain reliability through fixed scan paths while achieving improved coding efficiency through context-adaptive selection, resolving the contradiction between fixed reliability and adaptive efficiency.
3Productivity
If adaptive scan path selection based on previous data is used, then entropy encoding performance is improved, but complexity increases
Solution Approach 1:
The patent applies parameter changes by using simple, easily computable block characteristics (such as gradient magnitude, variance, or energy distribution) as the basis for scan path selection. These parameters can be calculated with minimal computational overhead during the encoding process. By changing the scan path pattern based on these simple parameters rather than complex adaptive algorithms, the system achieves improved entropy encoding performance while keeping the implementation complexity low and suitable for real-time video coding applications.
Data Source
AI summary
International image or video coding standards uses hybrid coding, wherein a picture is separated into pixel blocks on which predictive coding, transform coding and entropy coding is employed. The transform coding is effective because the prediction error samples are correlated in the frequency domain. However, when the prediction quality is getting better and better, spatial domain coding becomes more effective than transform coding. According to the invention, it is first determined in which corner of a current block the first non-zero amplitude value is located. Based on the related zeros run length value in that block, a pre-defined scan path is selected, i.e. a context-based adaptive scan mode is used.


