Unlock instant, AI-driven research and patent intelligence for your innovation.

Compressing, coding and quantizing method

A quantization method and compression coding technology, applied in image communication, digital video signal modification, electrical components, etc., can solve the problems of lack of compression, a large number of additional bits, and the inability to further reduce quantization loss, so as to facilitate transmission and reduce transmission The effect of the number of bits

Active Publication Date: 2019-03-22
和宇健康科技股份有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This has the following disadvantages: 1. For MBs that cross texture boundaries, due to the subjective characteristics of the human eye, using the same QP for different textures will not only cause subjective losses, but also cannot save the number of coding bits; 2. In MBs, the size of the prediction residual is different First, using the same QP for all pixels will expand the difference loss between the original pixel and the reconstructed pixel
If pixel-level quantization is used, although the above problems can be avoided, since each pixel must transmit a quantization parameter, it will result in a large number of additional bits, which will not achieve the effect of compression
If the prediction residual is directly quantized, the loss generated by quantization is not further processed according to the position of the loss and the size distribution of the loss, and the quantization loss cannot be further reduced in the end.

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
  • Compressing, coding and quantizing method
  • Compressing, coding and quantizing method
  • Compressing, coding and quantizing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] See figure 1 , figure 1 It is a schematic flowchart of a method for compression encoding and quantization provided by an embodiment of the present invention.

[0040] A compression encoding quantization method, comprising the following steps:

[0041] (a) setting quantized macroblocks;

[0042] (b) obtaining the prediction residual and the first quantization parameter of each pixel in the macroblock;

[0043] (c) calculating SAD1 and SAD2 respectively according to the prediction residual and the first quantization parameter;

[0044] (d) Compare the size of the SAD1 and the SAD2, if the SAD1≤SAD2, then complete the coding compression quantization according to the first quantization method corresponding to the SAD1, otherwise, according to the second quantization method corresponding to the SAD2 The method accomplishes the encoding compression quantization.

[0045] In a specific embodiment, the first quantization method is used to calculate the SAD1; the second qua...

Embodiment 2

[0048] see again figure 1 . On the basis of the foregoing embodiments, this embodiment focuses on a detailed description of a compression encoding and quantization method.

[0049] (S100) Quantized macroblocks are set.

[0050] The quantization unit is set to be a macroblock MB, that is, one macroblock MB adopts a unified first quantization parameter QP, and the first quantization parameter QP is given by code rate control.

[0051] In a specific embodiment, QP is set to be 2.

[0052] Set the size of the macroblock MB to 8*1.

[0053] (S101) Obtain the prediction residual of each pixel in the macroblock MB.

[0054] In a specific embodiment, the prediction residual Res of all pixels in the macroblock MB is {12, 13, 15, 18, 20, 23, 15, 10}.

[0055] (S102) Obtain a first quantization residual according to the prediction residual and the first quantization parameter.

[0056] The calculation formula of the first quantization residual is:

[0057] Resqp 1i =Res i >>QP ...

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 compressing, coding and quantizing method, comprising the following steps of: (a) setting a quantization macro block; (b) obtaining the prediction residual and the first quantization parameter of each pixel in the macro block; (c) respectively calculating SAD1 and SAD2 according to the prediction residual and the first quantization parameter; (d) comparing size of the SAD1 corresponding to the first quantization method and the SAD2, if SAD1<=SAD2, completing the coding, compressing and quantizing according to the SAD1, and otherwise, completing the coding, compressing and quantizing according to the second quantization method corresponding to the SAD2. According to the embodiment of the compressing, coding and quantizing method, the most suitable quantizing method is selected in two quantizing methods, so that the image loss in the bandwidth compressing and quantizing process is reduced, and the data transmission quantity is reduced.

Description

technical field [0001] The invention belongs to the field of compression coding, and in particular relates to a compression coding quantization method. Background technique [0002] Bandwidth compression belongs to low-complexity and low-magnification compression, so spatial domain quantization is more commonly used in it. In order to save bits for transmitting quantization parameters, the same quantization parameter is often used for all pixels in one MB. This has the following disadvantages: 1. For MBs that cross texture boundaries, due to the subjective characteristics of the human eye, using the same QP for different textures will not only cause subjective losses, but also cannot save the number of coding bits; 2. In MBs, the size of the prediction residual is different First, adopting the same QP for all pixels will enlarge the difference loss between original pixels and reconstructed pixels. If pixel-level quantization is used, although the above problems can be avoi...

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
IPC IPC(8): H04N19/124H04N19/176H04N19/59
CPCH04N19/124H04N19/176H04N19/59
Inventor 田林海岳庆冬李雯
Owner 和宇健康科技股份有限公司