Dynamic Quantization Value Adjustment for Image Encoding Bitrate Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional electronic devices face challenges in encoding images with high quality without exceeding storage capacity, particularly when dealing with complex images, as they struggle to adjust bitrate in real-time and often result in image quality degradation and excessive data encoding.
Innovation Solution
An electronic device adjusts the maximum quantization value for encoding images by increasing it when the bitrate exceeds the allowable limit and decreasing it when it's within the limit, allowing for high-quality encoding of complex images while managing storage capacity effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If a high target bitrate is configured to encode a complex image with high quality, then image quality is improved, but storage capacity increases excessively
Solution Approach 1:
The patent applies different quantization values to different macroblocks within the same image based on their local complexity characteristics. Simple regions use higher quantization values (lower bitrate) while complex regions use lower quantization values (higher bitrate), achieving high overall image quality without excessive storage capacity
2Quantity of substance
If a low target bitrate is configured to reduce storage capacity, then storage capacity is reduced, but image quality degrades
Solution Approach 1:
The patent dynamically adjusts quantization values for each macroblock based on local image complexity. This allows the encoding to use lower bitrates in simple regions while maintaining higher bitrates in complex regions, thus reducing overall storage capacity while preserving essential image quality
3Manufacturing precision
If real-time bitrate adjustment is implemented by analyzing image characteristics, then image quality is improved, but processing complexity increases
Solution Approach 1:
The patent divides the image into macroblocks and applies different quantization values to each segment based on its complexity. This segmentation approach enables targeted bitrate allocation without requiring complex global analysis, balancing image quality improvement with manageable processing complexity
Solution Approach 2:
The encoding system automatically analyzes local image complexity and adjusts quantization values for each macroblock independently. This self-service mechanism enables real-time bitrate adaptation without requiring external control or complex centralized processing
Data Source
AI summary
An electronic device is provided. The electronic device includes a memory and a processor operatively connected to the memory, wherein the processor may obtain a maximum allowable bit rate of the electronic device, determine a maximum quantization value for encoding an image composed of at least one frame, obtain a first bitrate by encoding a first frame set of the image with a quantization value equal to or less than the maximum quantization value, increase the maximum quantization value in response to the obtained first bitrate exceeding the maximum allowable bitrate, decrease the maximum quantization value in response to the obtained first bitrate being less than or equal to the maximum allowable bitrate, obtain a second bitrate by encoding a second frame set subsequent to the first frame set of the image based on the increased or decreased maximum quantization value, increase the maximum quantization value in response to the obtained second bitrate exceeding the maximum allowable bitrate, and decrease the maximum quantization value in response to the obtained second bitrate being less than or equal to the maximum allowable bitrate.


