Spatial domain quantization and inverse quantization method for bandwidth compression
A quantization method and a technique for compressing the airspace, applied in the field of compression, can solve the problem that the quantization loss cannot be further reduced, and achieve the effect of narrowing the difference and reducing the quantization loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Please refer to figure 1 , figure 1 This is a schematic flow chart of a bandwidth compression spatial quantization method provided by an embodiment of the present invention, including the following steps:
[0042] Obtain the original prediction residuals of the pixels in the quantization unit;
[0043] Calculate the quantized residual and residual loss of the original prediction residual; calculate the fluctuation coefficient and the fluctuation state according to the residual loss.
[0044] Wherein, after calculating the fluctuation coefficient and the fluctuation state according to the residual loss, the method further includes: writing the quantized residual, the fluctuation coefficient, and the fluctuation state into a code stream.
[0045] Wherein, the quantization unit adopts a unified quantization parameter.
[0046] Wherein, calculating the quantized residual and residual loss of the original prediction residual includes:
[0047] Quantizing the original prediction resid...
Embodiment 2
[0065] This embodiment introduces another bandwidth compression spatial quantization method in detail, and the specific steps include:
[0066] S21: Obtain the original prediction residuals. Set the quantization unit to MB, and the MB size can be set. In this embodiment, MB is set to 8*1, and each pixel uses a unified quantization parameter QP=2, It is assumed that the original prediction residual Res of each pixel of the MB is obtained = {12, 13, 15, 18, 20, 23, 15, 12}.
[0067] S22: According to the set QP and quantization mode, perform quantization, inverse quantization, and compensation on the original prediction residual Res in sequence to obtain Resqp, invRes, and lossres in sequence, and Resqp, invRes, and lossres satisfy the following formula:
[0068] invRes=((Resqp1>>QP)<
[0069] ={14,14,14,18,22,22,14,14}
[0070] lossres=invRes-Res={2,0,-1,0,2,-1,-1,2}
[0071] Respq={3,3,3,4,5,5,3,3}
[0072] Among them, invRes is the inverse quantized prediction residual, ...
Embodiment 3
[0095] This embodiment introduces another bandwidth compression and quantization method on the basis of the foregoing embodiment.
[0096] Specific steps are as follows:
[0097] S11: Obtain the original prediction residuals. Set the quantization unit to MacroBlock (MB for short), and the size of the MB can be set. In this embodiment, the MB is set to 8*1, and each pixel uses a unified quantization parameter QP=2, It is assumed that the original prediction residual Res of each pixel of the MB is obtained = {12, 13, 15, 18, 20, 23, 15, 12}.
[0098] S12: Please refer to figure 2 , figure 2 It is a schematic diagram of the principle of calculating the original prediction residuals through the first quantization mode and the second quantization mode respectively provided by the embodiments of the present invention; the first quantization mode and the second quantization mode are respectively used for the original prediction residual Res to obtain the first One RDO and second RDO, th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com