Block Quantization Control Using Angle Gradients in Video Coding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video encoding and decoding technologies face challenges in determining accurate quantization parameters, leading to image distortion and inefficiencies in video processing.

Innovation Solution

A method that calculates the complexity information of a current block in a video frame using angle gradients of pixel values and reconstructed values to determine a more accurate quantization parameter, improving the efficiency of video encoding and decoding while maintaining image quality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If quantization parameters are used to reduce redundancy in code streams, then data transmission efficiency is improved, but image quality deteriorates due to image distortion

Engineering Contradiction:
Improvedata transmission efficiencyVSAvoidimage quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent applies local quality by calculating complexity information for each current block individually using angle gradient calculations on pixel values. This allows different quantization parameters to be assigned to different blocks based on their local complexity characteristics, preserving image quality in complex regions while maintaining compression efficiency in simple regions.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the parameter determination approach by introducing complexity information derived from angle gradients. Instead of using fixed or简单地 inherited quantization parameters, the system dynamically adjusts parameters based on calculated complexity metrics, optimizing the balance between compression and quality.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If complex quantization parameter determination methods are used to improve image quality, then image quality is improved, but computational complexity and processing time increase

Engineering Contradiction:
Improveimage qualityVSAvoidcomputational complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent segments the image processing into independent current blocks and calculates complexity information for each block separately using angle gradient methods. This segmentation allows parallel processing and reduces overall computational complexity compared to analyzing the entire image as a single unit.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial action by calculating angle gradients only for necessary directional components (horizontal, vertical, and diagonal) rather than all possible orientations. This selective calculation provides sufficient complexity information for quantization parameter determination while limiting computational overhead.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If more data is transmitted in the code stream to improve quantization accuracy, then quantization accuracy is improved, but resource occupation in the code stream increases

Engineering Contradiction:
Improvequantization accuracyVSAvoidresource occupation in code stream
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies self-service by having the encoding system calculate and determine its own quantization parameters based on locally computed complexity information from angle gradients. This eliminates the need to transmit complex parameter data in the code stream, as the decoder can independently determine parameters using the same angle gradient method on the decoded pixel values.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12634474B2Video decoding method, video encoding method, device and storage medium
Publication Date: 2026.05.19 HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
  • US12634474B2 patent drawing
  • US12634474B2 patent drawing
  • US12634474B2 patent drawing

AI summary

Embodiments of the present application relates to the technical field of video decoding, and provide a video en/decoding method and apparatus and a storage medium, which are beneficial to improving the en/decoding efficiency. The method comprises: acquiring complexity information of a current block in an image to be processed, wherein the complexity information of the current block is obtained by calculating at least one angular gradient of the current block according to at least pixel values of the current block; determining quantization parameters of the current block according to the complexity information of the current block; en/decoding the current block on the basis of the quantization parameters.