Abstract
This paper presents a novel approach to improving High Efficiency Video Coding (HEVC) performance by adaptively adjusting the Quantisation Parameter (QP) at the local level. By exploiting the texture masking properties of the human visual system (HVS), the proposed algorithm achieves significant bitrate savings—up to 3.8%—with minimal computational overhead, increasing complexity by only 4%. The method utilizes a spatial texture mask to predict optimal local QP offsets, demonstrating that perceptual optimization can outperform traditional PSNR-based metrics.
Introduction
Traditional video compression standards, including HEVC, typically optimize for mathematical fidelity metrics such as Mean Squared Error (MSE) or Peak Signal-to-Noise Ratio (PSNR). However, these metrics often diverge from actual human visual perception. A key characteristic of the human visual system (HVS) is "texture masking," where the eye is less sensitive to compression artifacts in busy, highly textured regions compared to smooth, flat areas.
Standard HEVC encoders often apply a uniform QP across an entire frame, leading to an inefficient allocation of bits: "over-spending" on textured regions where distortion is less noticeable and "under-spending" on smooth regions where artifacts are prominent. This research addresses the challenge of creating a computationally efficient method to predict optimal local QP based on frame content to better align with human perception.
Methods
The researchers developed a content-based local QP selection algorithm integrated into the HEVC reference codec (HM 16.4). The development process followed three primary stages:
- Perceptual Experimentation: Fifteen artificial test sequences were constructed by vertically combining diverse textures. These sequences were used to identify the "optimum" QP difference ($\Delta QP$) between frame regions that maintains perceived quality while minimizing bitrate.
- HVS Modeling: A spatial texture mask ($M$) was implemented using Dual-Tree Complex Wavelet Transform (DT-CWT) coefficients to identify areas of high spatial activity.
- Prediction Algorithm: A piecewise linear function was derived from experimental data to predict the best $\Delta QP$ for each Coding Tree Unit (CTU). The model calculates the difference between local CTU texture and average frame texture ($\Delta M$). Notably, the algorithm reverts to a constant QP for frame-level QP values of 38 or higher, as perceptual masking benefits diminish at high compression levels.
Datasets
The study utilized the DynTex and BVI Texture databases for initial experimental sequences. The LIVE Video Database was used to tune spatial and temporal mask parameters. Final evaluations were conducted using 21 standard JCT-VC test sequences across resolutions ranging from 240p to 1600p.
Key Insights
- PSNR vs. Perception: Optimization for PSNR consistently favors a constant QP. In contrast, optimizing for human perception (measured via Perceptual Video Quality Metric, or PVM) reveals that varying QP based on texture yields substantial gains.
- The "38" Threshold: A clear cutoff was identified at QP 38. Beyond this point, artifacts become severe enough that the HVS can no longer effectively mask them, regardless of background texture.
- Spatial Dominance: While temporal masking was considered, the authors found that a spatial-only mask provided robust results with significantly lower computational complexity, making it more suitable for real-world applications.
Key Results
The proposed method consistently outperformed the standard HEVC anchor. It achieved Bjontegaard Delta (BD)-rate savings of up to 3.5% when measured by PVM and up to 3.8% when measured by VQM (Video Quality Model).
The gains were most pronounced in sequences with high spatial diversity, validating the algorithm's sensitivity to local content. Crucially, the computational overhead was minimal, with the spatial mask calculation and QP selection adding only 4% to the total encoding time on average.
Limitations and Future Work
The current study focused on the "All Intra" (AI) configuration. Future research will aim to extend this logic to "Low Delay" and "Random Access" configurations, which involve inter-frame prediction. This expansion will likely require a re-evaluation of temporal masking's role. Additionally, future testing will seek to include full comparative data for 1600p resolutions, which were partially limited by the evaluation software used in this study.
Summary updated