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

Inactive Publication Date: 2019-03-19
XIAN CREATION KEJI CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that spatial domain quantization is suitable for low-magnification compression that has strict requirements on the objective indicators of compression loss and pays great attention to the complexity of operations; the spatial domain quantization algorithm in the prior art directly quantizes the prediction residual, and has no loss caused by direct quantization. Further processing based on the location of the loss and the size distribution of the loss cannot further reduce the quantization loss

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Spatial domain quantization and inverse quantization method for bandwidth compression
  • Spatial domain quantization and inverse quantization method for bandwidth compression
  • Spatial domain quantization and inverse quantization method for bandwidth compression

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a spatial domain quantization and inverse quantization method for bandwidth compression. The quantization method comprises: obtaining an original prediction residual of pixelsin a quantization unit; calculating a quantized residual and the residual loss of the original prediction residual; calculating a fluctuation coefficient and a fluctuation state based on the residualloss. According to the spatial domain quantization and inverse quantization method for the bandwidth compression, the residual loss caused by quantization and inverse quantization is compensated through the fluctuation state and the fluctuation coefficient, and the difference caused by quantization is reduced. The quantization loss of an image recovered by this method is small under the same quantization parameters, and the method can compensate for the loss only by simple calculation without adding extra memory.

Description

Technical field [0001] The invention belongs to the technical field of compression, and specifically relates to a method for bandwidth compression spatial quantization and inverse quantization. Background technique [0002] Video images are closely related to people's production and life, and are the main source of information obtained and exchanged by humans. According to statistics, more than 80% of human information comes from video images. In the development of human history, visual perception has played a major role in learning, production and the inheritance of various knowledge. Video technology is also constantly developing, from 576i to 4k now, and 8k in the future, the resolution has been expanded dozens of times, continuously meeting people's demand for high-definition video. The application of high-definition video in various fields is becoming wider and wider, and 3D technology is becoming more and more mature. There are more and more applications that require compl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N19/567H04N19/59H04N19/124
CPCH04N19/567H04N19/124H04N19/59
Inventor 张莹冉文方
Owner XIAN CREATION KEJI CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products