AU2018202555B2 - Image quantization parameter decoding method - Google Patents
Image quantization parameter decoding method Download PDFInfo
- Publication number
- AU2018202555B2 AU2018202555B2 AU2018202555A AU2018202555A AU2018202555B2 AU 2018202555 B2 AU2018202555 B2 AU 2018202555B2 AU 2018202555 A AU2018202555 A AU 2018202555A AU 2018202555 A AU2018202555 A AU 2018202555A AU 2018202555 B2 AU2018202555 B2 AU 2018202555B2
- Authority
- AU
- Australia
- Prior art keywords
- quantization parameter
- bin
- apr
- bins
- dqp
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Abstract An image quantization parameter decoder comprises quantization parameter decoding means for binary arithmetic-decoding a first bin indicating whether or not a delta quantization parameter is significant, other bins, which are subsequent to the first bin, indicating an absolute value of the delta quantization parameter, and a sign bin, which is subsequent to the other bins, indicating whether the delta quantization parameter is positive or negative; de-binarization means for de-binarizing the first bin, the other bins and the sign bin to generate a delta quantization parameter; and adding means for adding a predicted quantization parameter to the delta quantization parameter to generate a re-constructed quantization parameter, wherein the binary-arithmetic-decoding is performed using contexts for the first bin and the other bins, and using no context for the sign bin.
Description
Description
Title of Invention: IMAGE QUANTIZATION PARAMETER DECODING METHOD
Technical Field [0001]
The present invention relates to a technique of encoding an image quantization parameter for image encoding that uses context-based adaptive binary arithmetic coding, and for example relates to an image quantization parameter decoding method, and an image quantization parameter decoder that are suitably applicable to an image decoding device, and the like.
Background Art [0002]
Non Patent Literatures (NPLs) 1 and 2 each disclose an image encoding technique that uses context-based adaptive binary arithmetic coding (CABAC).
[0003]
Fig. 14 is a block diagram showing a structure of an image quantization parameter encoding device in the image encoding technique that uses CABAC. The image quantization parameter encoder shown in Fig. 14 (hereafter referred to as the typical image quantization parameter encoder) includes a predictor 101, a buffer 102, a binarizer 1030, an adaptive binary arithmetic encoder 104, and a switch (SW) 111.
[0004]
A predicted quantization parameter (predicted QP:
PQP) supplied from the predictor 101 is subtracted from a quantization parameter (QP) input to the typical image quantization parameter encoder. The QP from which the PQP has been subtracted is referred to as a delta quantization
2018202555 12 Apr 2018 parameter (delta QP : DQP) .
[0005]
In NPL 1, the PQP is a reconstructed quantization parameter (last reconstructed QP: LastRQP) of a last reconstructed image block. In NPL 2, the PQP is a reconstructed quantization parameter (left reconstructed QP: LeftRQP) of a left adjacent image block or a reconstructed quantization parameter (LastRQP) of a last reconstructed image block.
[0006]
The PQP is added to the DQP and the sum is stored in the buffer 102 as a reconstructed quantization parameter (reconstructed QP: RQP), for subsequent quantization parameter encoding.
[0007]
The binarizer 1030 binarizes the DQP to obtain a bin string. One bit of the bin string is referred to as a bin. In the bin string, a bin that is binary arithmetic encoded first is referred to as the first bin (1st bin), a bin that is binary arithmetic encoded second is referred to as the second bin (2nd bin), and a bin that is binary arithmetic encoded nth is referred to as the nth bin (nth bin) . The bin and the bin string are defined in 3.9 and 3.12 in NPL 1 [0008]
Fig. 15 is an explanatory diagram showing a correspondence table between the DQP (rightmost column) and the bin string (center column) in NPLs 1 and 2.
[0009]
A bin string index in the leftmost column in Fig. 15 indicates an index of a bin string corresponding to a DQP value. The bin string index is 1 in the case where the DQP is 0, 2 * DQP - 1 in the case where the DQP is greater than 0, and -2 * DQP + 1 in the case where the DQP is less than 0 (where denotes multiplication).
2018202555 12 Apr 2018 [0010]
A context index in the lowermost row in Fig. 15 indicates an index of a context used for binary arithmetic encoding of a bin in a corresponding column. For example, the bin string corresponding to DQP = -1 is 110, in which the value of the first bin is 1, the value of the second bin is 1, and the value of the third bin is 0. The context index used for binary arithmetic encoding of the first bin is 0, the context index used for binary arithmetic encoding of the second bin is 2, and the context index used for binary arithmetic encoding of the third bin is 3. The context mentioned here is a combination of a most probable symbol (PS) of the bin and its probability.
[0011]
The adaptive binary arithmetic encoder 104 binary arithmetic encodes each bin of the bin string supplied via the switch 111 beginning with the first bin, using the context associated with the corresponding context index.
The adaptive binary arithmetic encoder 104 also updates the context associated with the context index according to the value of the binary arithmetic encoded bin, for subsequent binary arithmetic encoding. Detailed operations of adaptive binary arithmetic encoding are described in 9.3.4 in NPL 1.
[0012]
The typical quantization parameter encoder encodes the input image quantization parameter based on the abovementioned operations.
Citation List
Non Patent Literature(s) [0013]
NPL 1: ISO/IEC 14496-10 Advanced Video Coding
NPL 2: WD3: Working Draft 3 of High-Efficiency
2018202555 12 Apr 2018
Video Coding, Document: JCTVC-E603, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 5th Meeting: Geneva, CH, 16-23 March, 2011
Summary of Invention
Technical Problem [0014]
As can be seen from Fig. 15, the typical quantization parameter encoder performs binarization without distinguishing between information about whether the significant DQP is positive or negative and information about the absolute value of the significant DQP. The typical quantization parameter encoder therefore has a problem of being unable to suitably encode the significant DQP due to the following three factors.
[0015]
The first factor is that, since the second bin (bin in the column 2nd) and the subsequent bins (bins in the columns from 3 rd onward) include information about three or more states which cannot be expressed by one bin, it is impossible to binary arithmetic encode the bins using appropriate contexts. Information that can be expressed by one bin is information of which one of two states holds true. However, the second bin and the subsequent bins include information about three or more states which cannot be expressed by one bin. In detail, in Fig. 15, the second bin includes information of whether the DQP is positive or negative and information indicating whether or not the absolute value of the significant DQP is greater than or equal to 1. The subsequent bins from the third bin (in the columns from 3rd onward) include information of whether the DQP is positive or negative and information indicating the magnitude of the absolute value of the significant DQP. Hence, it is impossible to binary arithmetic encode, with
2018202555 12 Apr 2018 appropriate contexts, the second bin and the subsequent bins including information about three or more states which cannot be expressed by one bin.
[0016]
The second factor is that redundant bins cannot be efficiently reduced even in the case where the DQP range is known. For example, the DQP range defined in NPLs 1 and 2 is from -26 to 25, which is asymmetric between positive and negative. In Fig. 15, DQP = -26 needs to be encoded without reducing the redundant 52nd and 53rd bins, due to the presence of the bin string of DQP = 26 that is not transmitted.
[0017]
The third factor is that the number of bins included in the bin string handled by the typical quantization parameter encoder is approximately twice the number of bins in the case of separately binarizing the information of whether the significant DQP is positive or negative and the absolute value of the significant DQP. A large number of bins leads to an increase in the amount of encoded data and a decrease in the speed of the DQP encoding process and decoding process .
[0018]
The present invention has an object of enabling suitable encoding of an image quantization parameter for image encoding that uses context-based adaptive binary arithmetic coding, by resolving each of the above-mentioned factors .
Solution to Problem [0019] [0020]
An image quantization parameter decoding method according to the present invention is an image quantization
2018202555 12 Apr 2018 parameter decoding method for decoding a quantization parameter for a video decoding process that is based on context-based adaptive binary arithmetic coding, the image quantization parameter decoding method including: binaryarithmetic-decoding a first bin indicating whether or not a delta quantization parameter is significant, other bins, which are subsequent to the first bin, indicating an absolute value of the delta quantization parameter, and a sign bin, which is subsequent to the other bins, indicating whether the delta quantization parameter is positive or negative; generating a delta quantization parameter by debinarizing the first bin, the other bins and the sign bin; and generating a re-constructed quantization parameter by adding a predicted quantization parameter to the delta quantization parameter,wherein the binary-arithmeticdecoding is performed using contexts for the first bin and the other bins, and using no context for the sign bin, and wherein in the case where a value of the first bin is zero, the delta quantization parameter is not significant, and in the case where the value of the first bin is one, the delta quantization parameter is significant.
[0021] [0022]
An image quantization parameter decoder according to the present invention is an image quantization parameter decoder for decoding a quantization parameter for a video decoding process that is based on context-based adaptive binary arithmetic coding, the image quantization parameter decoder including: quantization parameter decoding means for binary-arithmetic-decoding a first bin indicating whether or not a delta quantization parameter is significant, other bins, which are subsequent to the first bin, indicating an absolute value of the delta quantization parameter, and a sign bin, which is subsequent to the other
2018202555 12 Apr 2018 bins, indicating whether the delta quantization parameter is positive or negative; de-binarization means for debinarizing the first bin, the other bins and the sign bin to generate a delta quantization parameter; and adding means for adding a predicted quantization parameter to the delta quantization parameter to generate a re-constructed quantization parameter, wherein the binary-arithmeticdecoding is performed using contexts for the first bin and the other bins, and using no context for the sign bin, and wherein in the case where a value of the first bin is zero, the delta quantization parameter is not significant, and in the case where the value of the first bin is one, the delta quantization parameter is significant.
[0023] [0024]
Advantageous Effects of Invention [0025]
According to the present invention, it is possible to suitably encode an image quantization parameter for image encoding that uses context-based adaptive binary arithmetic coding.
Brief Description of Drawings [0026] [Fig. 1] Fig. 1 is a block diagram showing a structure of an image quantization parameter encoder in Exemplary Embodiment 1.
[Fig. 2] Fig. 2 is a flowchart showing operations of the image quantization parameter encoder in Exemplary Embodiment 1.
[Fig. 3] Fig. 3 is an explanatory diagram showing an example of a correspondence table between a DQP and a bin string .
2018202555 12 Apr 2018 [Fig. 4] Fig. 4 is an explanatory diagram showing a pseudo program for converting the DQP to the bin string. [Fig. 5] Fig. 5 is a block diagram showing a structure of an image quantization parameter decoder in Exemplary Embodiment 2.
[Fig. 6] Fig. 6 is a flowchart showing operations of the image quantization parameter decoder in Exemplary Embodiment 2.
[Fig. 7] Fig. 7 is a block diagram showing a structure of an image quantization parameter encoder in Exemplary Embodiment 3.
[Fig. 8] Fig. 8 is a block diagram showing a structure of an image quantization parameter decoder in Exemplary Embodiment 3.
[Fig. 9] Fig. 9 is an explanatory diagram showing a pseudo program for converting the DQP to the bin string. [Fig. 10] Fig. 10 is an explanatory diagram showing another example of the correspondence table between the DQP and the bin string.
[Fig. 11] Fig. 11 is a block diagram showing an example of a structure of an information processing system capable of realizing functions of an image quantization parameter encoder and an image quantization parameter decoder according to the present invention.
[Fig. 12] Fig. 12 is a block diagram showing characteristic components in an image quantization parameter encoder according to the present invention.
[Fig. 13] Fig. 13 is a block diagram showing characteristic components in an image quantization parameter decoder according to the present invention.
[Fig. 14] Fig. 14 is a block diagram showing a structure of a typical image quantization parameter encoder.
[Fig. 15] Fig. 15 is an explanatory diagram showing a typical example of a correspondence table between a DQP and
2018202555 12 Apr 2018 a bin string.
Description of Embodiments [0027]
The following describes exemplary embodiments of the present invention with reference to drawings.
[0028]
Exemplary Embodiment 1
Fig. 1 is a block diagram showing a structure of an image quantization parameter encoder in Exemplary Embodiment 1 of the present invention. The image quantization parameter encoder shown in Fig. 1 includes a predictor 101, a buffer 102, a binarizer 1031, an adaptive binary arithmetic encoder 104, a binary arithmetic encoder 105, a switch (SW) 111, and a switch (SW) 112.
[0029]
A predicted quantization parameter PQP supplied from the predictor 101 is subtracted from a quantization parameter QP input to the image quantization parameter encoder .
[0030]
The PQP is added to a delta quantization parameter DQP (DQP = QP - PQP) and the sum is stored in the buffer 102 as a reconstructed quantization parameter RQP (RQP =
DQP + PQP), for subsequent quantization parameter encoding. [0031]
The binarizer 1031 which is a feature of the present invention binarizes the DQP using a combination of a minimum DQP (minDQP 0) and a maximum DQP (maxDQP 1 0).
In detail, the binarizer 1031 first computes the first bin of the DQP and a maximum number cMax (i.e. a value obtained by subtracting 1, which corresponds to the first bin, from a larger one of the absolute values of minDQP and maxDQP) of the subsequent bins that relate to the absolute value of ίο
2018202555 12 Apr 2018 the DQP, by the following equations.
[0032] bin(l) = fund (DQP) ··· (1) cMax = max (|minDQP| , |maxDQP|) - 1 · · · (2) .
[0033]
When cMax 2 i, the binarizer 1031 computes bin(n) (n = 2, ..., min(l + |DQPj, 1 + cMax)) by the following equation bin(n) = func2(n - 2, cMax, |DQP| - 1) • · · (3) .
[0034]
Here, func2(a, b, c) is a function that returns 1 if b and c are equal, returns 1 if c is less than b and a is less than c, and returns 0 otherwise (if c is less than b and a and c are equal). The bins (with syntax element value |DQP|) of the bin string that relate to the absolute value of the DQP and are obtained by equation (3) are the same as the bins of the bin string obtained by the truncated unary (TU) binarization process described in 9.3.2.2 in NPL 1.
[0035]
As is clear from equation (3), the bins of the bin string that relate to the absolute value of the DQP and are obtained by equation (3) are the bins of the bin string made non-redundant based on the DQP range (maximum value of the absolute values of the minimum DQP and the maximum DQP) [0036]
The binarizer 1031 binarizes information indicating whether the significant DQP is positive or negative by associating it with a sign bin (Signbin), by the following equation .
[0037]
Signbin = func3(DQP)
2018202555 12 Apr 2018 (4) .
[0038]
Here, func3(a, b) is a function that returns 1 if a is less than b and returns 0 otherwise, and func3(a) is a function that returns 0 if a is positive and returns 1 if a is not positive. As is clear from equations (2), (3), and (4) , bin(n) (n = 2, 3, ...) is encoded only in the case where the DQP has a significant value (note that the Signbin is the last bin).
[0039]
The adaptive binary arithmetic encoder 104 binary arithmetic encodes each bin (bin(n) : n = 1, 2, ..., min(l + |DQP|, 1 + cHax)), other than the Signbin, of the bin string supplied via the switch 111 using the context associated with the context index corresponding to the bin, and outputs the encoded data via the switch 112. The adaptive binary arithmetic encoder 104 also updates the context associated with the context index according to the value of the binary arithmetic encoded bin, for subsequent binary arithmetic encoding.
[0040]
The binary arithmetic encoder 105 binary arithmetic encodes, with equal probability, the Signbin of the bin string supplied via the switch 111, and outputs the encoded data via the switch 112.
[0041]
This completes the description of the structure of the image quantization parameter encoder in this exemplary embodiment.
[0042]
The following describes operations of the binarizer
1031, the adaptive binary arithmetic encoder 104, and the binary arithmetic encoder 105 which are features of the image quantization parameter encoder in this exemplary
2018202555 12 Apr 2018 embodiment, using a flowchart in Fig. 2.
[0043]
The process starts, with the adaptive binaryarithmetic encoder 104 setting an initial value parameter n to 2 .
[0044]
In step S101, the binarizer 1031 binarizes the DQP in a manner that the information indicating whether or not the DQP is significant is associated with the first bin, the information indicating the absolute value of the DQP is associated with the second and subsequent bins, and the information indicating whether or not the significant DQP is positive is associated with the Signbin.
[0045]
In step S102, the adaptive binary arithmetic encoder 104 adaptive binary arithmetic encodes bin(l).
[0046]
In step S103, the binary arithmetic encoder 105 determines whether or not the DQP is significant. In the case where the DQP is significant, the process proceeds to step S104. Otherwise, the process ends.
[0047]
In step S104, the adaptive binary arithmetic encoder 104 adaptive binary arithmetic encodes bin(n).
[0048]
In step S105, the adaptive binary arithmetic encoder 104 determines whether or not all bins of the bin string have been encoded. In the case where all bins have been encoded, the process proceeds to step S106. Otherwise, the adaptive binary arithmetic encoder 104 increments n and the process proceeds to step S104, to adaptive binary arithmetic encode the subsequent bin(n).
[0049]
In step S106, the binary arithmetic encoder 105
2018202555 12 Apr 2018
J binary arithmetic encodes the Signbin. The process then ends .
[0050]
This completes the description of the operations of the binarizer 1031, the adaptive binary arithmetic encoder 104, and the binary arithmetic encoder 105 which are features of the image quantization parameter encoder in this exemplary embodiment.
[0051]
Fig. 3 is an explanatory diagram showing an example of a correspondence table between | DQP | (leftmost column) and the bin string (center column) according to the present invention .
[0052]
In Fig. 3, X in the Signbin column of the bin string represents 1-bit information indicating whether or not the DQP is positive, i.e. whether the DQP is positive or negative. Suppose X = 0 denotes positive and X = 1 denotes negative. Then, for example, the bin string of DQP = 1 is 100, and the bin string of DQP = -1 is 101. Moreover, na in the context index row denotes that no context is used (i.e. the most probable symbol and its probability are fixed).
[0053]
Fig. 4 is an explanatory diagram showing a pseudo program for generating a bin string corresponding to a DQP of a value synVal, where minDQP = -(26 + OpBdOffsetY/2 ) and maxDQP = (25 + QpBdOffsetY/2) . According to equation (2) , cMax = max (|26 + QpBdOffsetY/2| , |25 + QpBdOffsetY/2| ) - 1 = 26 + QpBdOffsetY/2 - 1 = 25 + QpBdOffsetY/2. Note that the definitions of the arithmetic operations used in the pseudo program are in accordance with the definitions in 5
Conventions in NPL 2.
[0054]
2018202555 12 Apr 2018
The binarization process according to the present invention resolves the three factors causing the problem mentioned above, as follows.
[0055]
The first factor is resolved by binary arithmetic encoding the second bin and the subsequent bins using appropriate contexts. In Fig. 3, the second bin indicates only the information of whether or not the absolute value of the DQP is greater than 1, that is, information of which one of two states holds true. The third and subsequent bins indicate only the information of whether or not the absolute value of the DQP is greater than a given value, that is, information of which one of two states holds true, as with the second bin. The Signbin indicates only the information of whether the DQP is positive or negative, that is, information of which one of two states holds true. Therefore, the second bin and the Signbin are binary arithmetic encoded using appropriate contexts.
[0056]
The second factor is resolved because the encoder can efficiently reduce redundant bins using the DQP range. In detail, in Fig. 3, in the case of encoding DQP = -26, the redundant 27th bin does not need to be encoded because the decoder is able to identify DQP = -26 when the 26th bin is 1 on the ground that the minimum value of the DQP is -26 [0057]
The third factor is resolved because the number of bins included in the bin string in this exemplary embodiment is the same as the number of bins in the case of separately binarizing the information of whether the significant DQP is positive or negative and the absolute value of the significant DQP, as is clear from the comparison between the correspondence table shown in Fig.
and the correspondence table shown in Fig. 3.
2018202555 12 Apr 2018 [0058]
Exemplary Embodiment 2
Fig. 5 is a block diagram showing a structure of an image quantization parameter decoder corresponding to the image quantization parameter encoder in Exemplary Embodiment 1. The image quantization parameter decoder shown in Fig. 5 includes a predictor 201, a buffer 202, a de-binarizer 2031, an adaptive binary arithmetic decoder 204, a binary arithmetic decoder 205, a switch (SW) 211, and a switch (SW) 212.
[0059]
The de-binarizer 2031 computes cMax based on minDQP and maxDQP, by the following equation.
[0060] cMax = max (|minDQP| , |maxDQP|) - 1 · · · (5) .
[0061]
The adaptive binary arithmetic decoder 204 binary arithmetic decodes bin(l) from the encoded data supplied via the switch 212, and supplies the decoded data to the de-binarizer 2031 via the switch 211. The adaptive binary arithmetic decoder 204 also updates the context associated with the context index corresponding to the first bin according to the value of the binary arithmetic decoded bin for subsequent binary arithmetic decoding.
[0062]
In the case where bin(l) is 1, the adaptive binary arithmetic decoder 204 binary arithmetic decodes bin(n) (n = 2, 3, ..., k, where k Y 1 + cMax) from the encoded data supplied via the switch 212, until a bin whose value is 0 is decoded, until cMax bins are decoded, or until a bin whose value is 0 is decoded and also cMax bins are decoded. The adaptive binary arithmetic decoder 204 supplies the decoded data to the de-binarizer 2031 via the switch 211.
2018202555 12 Apr 2018
The adaptive binary arithmetic decoder 204 updates the context associated with the context index corresponding to the nth bin according to the value of the binary arithmetic decoded bin, for subsequent binary arithmetic decoding.
[0063]
Furthermore, in the case where bin(l) is 1, the binary arithmetic decoder 205 binary arithmetic decodes the Signbin from the encoded data supplied via the switch 212, and supplies the decoded data to the de-binarizer 2031 via the switch 211.
[0064]
The de-binarizer 2031 outputs the DQP whose value is 0, in the case where the bin string is 0 (n = 1). In the case where n = 1 + cMax, the de-binarizer 2031 outputs the DQP whose value is obtained by the following equation.
[0065]
DQP = (1 - 2 * Signbin) * (1 + cMax) • · · (6) .
[0066] in equation (6) denotes multiplication.
Otherwise, the de-binarizer 2031 outputs the DQP whose value is obtained by the following equation.
[0067]
DQP = (1 - 2 * Signbin) * (n - 1) • · · (7) .
[0068]
As is clear from equation (6), the de-binarizer 2031 can estimate any redundant bin reduced in the video encoding process, using the DQP range (maximum value of the absolute values of the minimum DQP and the maximum DQP). That is, the de-binarizer 2031 can de-binarize the bins of the bin string made non-redundant, using the DQP range (maximum value of the absolute values of the minimum DQP and the maximum DQP).
2018202555 12 Apr 2018 [0069]
The PQP supplied from the predictor 201 is added to the DQP supplied from the de-binarizer 2031, to obtain the RQP.
[0070]
The RQP is stored in the buffer 202 for subsequent quantization parameter decoding.
[0071]
This completes the description of the structure of the image quantization parameter decoder in this exemplary embodiment.
[0072]
The following describes operations of the debinarizer 2031, the adaptive binary arithmetic decoder 204, and the binary arithmetic decoder 205 which are features of the image quantization parameter decoder in this exemplary embodiment, using a flowchart in Fig. 6.
[0073]
The process starts, with the adaptive binary arithmetic decoder 204 setting an initial value parameter n to 2 .
[0074]
In step S301, the adaptive binary arithmetic decoder 204 adaptive binary arithmetic decodes bin(l).
[0075]
In step S302, the binary arithmetic decoder 205 determines whether or not the value of bin(l) is 1. In the case where the value of bin(l) is 1, the process proceeds to step S303. Otherwise, the process proceeds to step S307 [0076]
In step S303, the de-binarizer 2031 computes cMax based on minDQP and maxDQP.
[0077]
In step S304, the adaptive binary arithmetic decoder
2018202555 12 Apr 2018
204 adaptive binary arithmetic decodes bin(n).
[0078]
In step S305, the adaptive binary arithmetic decoder 204 determines whether or not all bins relating to |DQP| have been decoded. All bins have been decoded if a condition that the value of bin(n) is 0, a condition that the value of n is equal to cMax, or both of these conditions are met. In the case where all bins relating to |DQP| have been decoded, the process proceeds to step S306. Otherwise, the adaptive binary arithmetic decoder 204 increments n and the process proceeds to step S304, to adaptive binary arithmetic decode the subsequent bin(n). [0079]
In step S306, the binary arithmetic decoder 205 binary arithmetic decodes the Signbin.
[0080]
In step S307, the de-binarizer 2031 de-binarizes the decoded bin string to determine the DQP.
[0081]
This completes the description of the operations of the de-binarizer 2031, the adaptive binary arithmetic decoder 204, and the binary arithmetic decoder 205 which are features of the image quantization parameter decoder in this exemplary embodiment.
[0082]
Exemplary Embodiment 3
In the image quantization parameter encoder in Fig.
and the image quantization parameter decoder in Fig. 5 described above, minDQP and maxDQP may be generated from the range of the quantization parameter (combination of a minimum QP and a maximum QP) and the predicted quantization parameter PQP.
[0083]
Figs. 7 and 8 are block diagrams showing structures
2018202555 12 Apr 2018 of an image quantization parameter encoder and an image quantization parameter decoder as an improvement to generate minDQP and maxDQP based on the combination of the minimum QP (minQP) and the maximum QP (maxQP) and the PQP.
[0084]
The image quantization parameter encoder shown in Fig. 7 further includes a range determiner 106, and the image quantization parameter decoder shown in Fig. 8 further includes a range determiner 206, as can be seen from the comparison with Figs. 1 and 5. The range determiners 106 and 206 each compute minDQP and maxDQP by the following equations.
[0085] minDQP = minQP - PQP ··- (8) maxDQP = maxQP - PQP ··· (9).
[0086]
The inclusion of the range determiners 106 and 206 enables more effective reduction of redundant bins when the QP to be encoded is closer in value to minQP or maxQP.
[0087]
Fig. 9 is an explanatory diagram showing a pseudo program for generating a bin string corresponding to a DQP of a value synVal (note that the PQP is written as QPy,PRev in the pseudo program).
[0088]
In an image quantization parameter encoder and an image quantization parameter decoder where minDQP = -26 and maxDQP = 25, equations (8) and (9) may be replaced with the following equations (8)' and (9)' .
[0089] minDQP = max(-26, minQP - PQP) ··· (8) ' maxDQP = min(25, maxQP - PQP) ··· (9) ' .
2018202555 12 Apr 2018 [0090]
The image quantization parameter encoder and the image quantization parameter decoder according to the present invention described above may operate based on a correspondence table in which the value of the context index is fixed for bins from a predetermined column onward as shown in Fig. 10, instead of using the example shown in Fig . 3.
[0091]
In the correspondence table shown in Fig. 10, the value of the context index is fixed at 3 for the bins in the third and subsequent columns. In Fig. 10, the first bin indicates only the information of whether or not the DQP is significant, that is, information of which one of two states holds true. The second bin indicates only the information of whether or not the absolute value of the DQP is greater than 1, that is, information of which one of two states holds true. The third and subsequent bins indicate only the information of whether or not the bin string terminates, that is, information of which one of two states holds true.
[0092]
Thus, the image quantization parameter encoder according to the present invention may binary arithmetic encode the first bin indicating whether or not the DQP is significant, the third bin indicating whether or not the absolute value of the DQP is greater than 1, the bin indicating whether or not the bin string terminates, and the Signbin indicating the positive or negative sign of the DQP.
[0093]
As described above, according to the present invention, an image quantization parameter for image encoding that uses context-based adaptive binary arithmetic
2018202555 12 Apr 2018 coding can be suitably encoded by providing, in a binarization process in which the information indicating whether or not the delta quantization parameter is significant is associated with the first bin, the information indicating the absolute value of the significant delta quantization parameter is associated with the second and subsequent bins, and the information indicating whether the significant delta quantization parameter is positive or negative is associated with the sign bin, means for reducing other redundant bins using the range of the delta quantization parameter defined in standards or the like.
[0094]
According to the present invention, the abovementioned suitable encoding is achieved by three features: assigning an appropriate context to each bin of the delta quantization parameter; reducing redundant bins of the delta quantization parameter; and reducing the number of bins included in the bin string of the delta quantization parameter .
[0095]
Each of the exemplary embodiments described above may be realized not only by hardware but also by a computer program.
[0096]
An information processing system shown in Fig. 11 includes a processor 1001, a program memory 1002, a storage medium 1003 for storing image data, and a storage medium 1004 for storing a bitstream. The storage medium 1003 and the storage medium 1004 may be separate storage media, or storage areas included in the same storage medium. As a storage medium, a magnetic storage medium such as a hard disk is available.
[0097]
2018202555 12 Apr 2018
In the information processing system shown in Fig.
11, a program for realizing the functions of the blocks (except the block of the buffer) shown in any of Figs. 1, 5, 7, and 8 is stored in the program memory 1002. The processor 1001 realizes the functions of the image quantization parameter encoder or the image quantization parameter decoder shown in any of Figs. 1, 5, 7, and 8, by executing processes according to the program stored in the program memory 1002.
[0098]
Fig. 12 is a block diagram showing characteristic components in an image quantization parameter encoder according to the present invention. As shown in Fig. 12, the image quantization parameter encoder according to the present invention includes: a prediction unit 11 for generating a predicted quantization parameter from a past reconstructed quantization parameter; a computing unit 12 for generating a delta quantization parameter from a quantization parameter and the predicted quantization parameter; a quantization parameter encoding unit 13 for binary arithmetic encoding a first bin indicating whether or not the delta quantization parameter is significant, other bins indicating an absolute value of the delta quantization parameter, and a bin indicating whether the delta quantization parameter is positive or negative, in the case where the delta quantization parameter is significant; and a redundancy suppression unit 14 for reducing one or more of the other bins using a range of the delta quantization parameter.
[0099]
Fig. 13 is a block diagram showing characteristic components in an image quantization parameter decoder according to the present invention. As shown in Fig. 13, the image quantization parameter decoder according to the
2018202555 12 Apr 2018 present invention includes: a prediction unit 21 for generating a predicted quantization parameter from a past reconstructed quantization parameter; a quantization parameter decoding unit 22 for binary arithmetic decoding a first bin indicating whether or not a delta quantization parameter is significant, other bins indicating an absolute value of the delta quantization parameter, and a bin indicating whether the delta quantization parameter is positive or negative; and an estimation unit 23 for estimating one or more of the other bins reduced in a video encoding process, using a range of the delta quantization parameter.
[0100]
Though the present invention has been described with reference to the above exemplary embodiments and examples, the present invention is not limited to the above exemplary embodiments and examples. Various changes understandable by those skilled in the art can be made to the structures and details of the present invention within the scope of the present invention.
[0101]
This application claims priority based on Japanese Patent Application No. 2011-153427 filed on July 12, 2011, the disclosure of which is incorporated herein in its entirety.
[0102]
Throughout this specification and the claims which follow, unless the context requires otherwise, the word comprise, and variations such as comprises and comprising, will be understood to imply the inclusion of a stated integer or step or group of integers or steps but not the exclusion of any other integer or step or group of integers or steps.
2018202555 12 Apr 2018 [0103]
The reference to any prior art in this specification is not, and should not be taken as, an acknowledgement or any form of suggestion that the prior art forms part of the common general knowledge in Australia.
Reference Signs List [0104]
11 | prediction unit |
12 | computing unit |
13 | quantization parameter encoding uni |
14 | redundancy suppression unit |
21 | prediction unit |
22 | quantization parameter decoding uni |
23 | estimation unit |
101 | predictor |
102 | buffer |
1031, | 1032 binarizer |
104 | adaptive binary arithmetic encoder |
105 | binary arithmetic encoder |
106 | range determiner |
111 | switch |
112 | switch |
201 | predictor |
202 | buffer |
2031, | 2032 de-binarizer |
204 | adaptive binary arithmetic decoder |
205 | binary arithmetic decoder |
206 | range determiner |
211 | switch |
212 | switch |
2018202555 12 Apr 2018
Claims (13)
- Claims1. An image quantization parameter decoding method for decoding a quantization parameter for a video decoding process that is based on context-based adaptive binary arithmetic coding, the image quantization parameter decoding method comprising:binary-arithmetic-decoding a first bin indicating whether or not a delta quantization parameter is significant, other bins, which are subsequent to the first bin, indicating an absolute value of the delta quantization parameter, and a sign bin, which is subsequent to the other bins, indicating whether the delta quantization parameter is positive or negative;generating a delta quantization parameter by debinarizing the first bin, the other bins and the sign bin; and generating a re-constructed quantization parameter by adding a predicted quantization parameter to the delta quantization parameter, wherein the binary-arithmetic-decoding is performed using contexts for the first bin and the other bins, and using no context for the sign bin, and wherein in the case where a value of the first bin is zero, the delta quantization parameter is not significant, and in the case where the value of the first bin is one, the delta quantization parameter is significant.
- 2 . An image quantization parameter decoder for decoding a quantization parameter for a video decoding process that is based on context-based adaptive binary arithmetic coding, the image quantization parameter decoder comprising:quantization parameter decoding means for binaryarithmetic-decoding a first bin indicating whether or not a2018202555 12 Apr 2018 delta quantization parameter is significant, other bins, which are subsequent to the first bin, indicating an absolute value of the delta quantization parameter, and a sign bin, which is subsequent to the other bins, indicating whether the delta quantization parameter is positive or negative;de-binarization means for de-binarizing the first bin, the other bins and the sign bin to generate a delta quantization parameter; and adding means for adding a predicted quantization parameter to the delta quantization parameter to generate a re-constructed quantization parameter, wherein the binary-arithmetic-decoding is performed using contexts for the first bin and the other bins, and using no context for the sign bin, and wherein in the case where a value of the first bin is zero, the delta quantization parameter is not significant, and in the case where the value of the first bin is one, the delta quantization parameter is significant1/132018202555 12 Apr 2018 ri οoo oCM •OO2/13FIG. 22018202555 12 Apr 2018
- 3/132018202555 12 Apr 2018FIG. 3
|DQP| Bin string 1st 2nd 3rd 4th 5th 6th • · · 26th Sign bin 0 0 1 1 0 2 1 1 0 0x0 3 1 1 1 0 080 4 1 1 1 1 0 0*0 5 1 1 1 1 1 0 25 1 1 1 1 1 1 • · · 0 26 1 1 1 1 1 1 • · · 1 0x0 Context index 0 2 3 4 5 6 • · · 26 na - 4/13FIG. 42018202555 12 Apr 2018 absV = Abs(synVal) if(absV = 0){ put(0) } else { put(1) signV = (synVal > 0)? 0:1 cMax = 25 + QpBdOffsety / 2; cNum = absV - 1 absVGreaterThanIFIag = (absV = 1)? 0:1 put(absVGreaterThan1 Flag) if(absVGreaterThan1 Flag){ while(-cNum) {put(1) }if(cMax > absV - 1){Put(O) }} put(signV)
- 5/132018202555 12 Apr 2018 mLL rfoCMOQ ooCMCM-OCMQi
- 6/13FIG. 62018202555 12 Apr 2018
- 7/132018202555 12 Apr 2018S ρΐ oo oLL 'Mo σRANGE OF QUANTIZATION PARAMETER
- 8/132018202555 12 Apr 2018OOLL· sQiRANGE OF QUANTIZATION PARAMETER
- 9/13FIG. 92018202555 12 Apr 2018 absV = Abs(synVal) if(absV = 0){ put(0) } else { put(1) signV = (synVal > 0)? 0:1 cMax = max(QPYPREV - MinQP - 1, MaxQP - QPyprev - 1); cNum = absV - 1 if(cMax > 0){ absVGreaterThanIFIag = (absV = 1)? 0:1 put(absVGreaterThan1 Flag) if(absVGreaterThan1 Flag){ while(-cNum) {put(1) }if(cMax > absV - 1){ put(O) }} }put(signV)
- 10/13FIG. 102018202555 12 Apr 2018
|DQP| Bin string Sign bin 1st 2nd 3rd 4th 5th 6th • · · 26th 0 0 1 1 0 7/7/7 2 1 1 0 y/zx/// 3 1 1 1 0 X///7 4 1 1 1 1 0 7//77/ 5 1 1 1 1 1 0 25 1 1 1 1 1 1 • · · 0 26 1 1 1 1 1 1 • · · 1 7/77/ Context index 0 2 3 3 3 3 • · · 3 na FIG. 111003 1001 1004J_ __________ <, __________ _LVIDEO DATA BITSTREAM -A STORAGE MEDIUM -► PROCESSOR -► STORAGE MEDIUM A VIDEO DATA BITSTREAM 1002 PROGRAMMEMORY - 11/13FIG. 122018202555 12 Apr 2018FIG. 13
- 12/132018202555 12 Apr 2018 gQQLUQOO
- 13/13555 12 Apr 2018 (ΜΟ (ΜΟΟ ο(ΜΙΌ
DQP o - 1 CN CM 1 co 25 -25 26 -26 ·*- 53rd o co 52nd o - co 51st o - - co 50th o - - - co 49th - - - - co • • Bin si _c • • - - - - co 6th o • - - - - co 5th o - - - - - co _c O - - - - - - co Έ co o - - - - - - - co 2nd o - - - - - - - - CN ω o - - - - - - - - - o Bin string index CN co 'M- in co 50 LO 52 53 Context index
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU2018202555A AU2018202555B2 (en) | 2011-07-12 | 2018-04-12 | Image quantization parameter decoding method |
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011-153427 | 2011-07-12 | ||
AU2012282044A AU2012282044C1 (en) | 2011-07-12 | 2012-06-14 | Image quantization parameter encoding method and image quantization parameter decoding method |
AU2015252148A AU2015252148B2 (en) | 2011-07-12 | 2015-11-06 | Image quantization parameter encoding method and image quantization parameter decoding method |
AU2017201504A AU2017201504B2 (en) | 2011-07-12 | 2017-03-03 | Image quantization parameter decoding method |
AU2018202555A AU2018202555B2 (en) | 2011-07-12 | 2018-04-12 | Image quantization parameter decoding method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2017201504A Division AU2017201504B2 (en) | 2011-07-12 | 2017-03-03 | Image quantization parameter decoding method |
Publications (2)
Publication Number | Publication Date |
---|---|
AU2018202555A1 AU2018202555A1 (en) | 2018-05-10 |
AU2018202555B2 true AU2018202555B2 (en) | 2018-05-31 |
Family
ID=54608070
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2015252148A Active AU2015252148B2 (en) | 2011-07-12 | 2015-11-06 | Image quantization parameter encoding method and image quantization parameter decoding method |
AU2017201504A Active AU2017201504B2 (en) | 2011-07-12 | 2017-03-03 | Image quantization parameter decoding method |
AU2018202555A Active AU2018202555B2 (en) | 2011-07-12 | 2018-04-12 | Image quantization parameter decoding method |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2015252148A Active AU2015252148B2 (en) | 2011-07-12 | 2015-11-06 | Image quantization parameter encoding method and image quantization parameter decoding method |
AU2017201504A Active AU2017201504B2 (en) | 2011-07-12 | 2017-03-03 | Image quantization parameter decoding method |
Country Status (1)
Country | Link |
---|---|
AU (3) | AU2015252148B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113850374B (en) * | 2021-10-14 | 2024-08-02 | 安谋科技(中国)有限公司 | Quantification method of neural network model, electronic equipment and medium |
-
2015
- 2015-11-06 AU AU2015252148A patent/AU2015252148B2/en active Active
-
2017
- 2017-03-03 AU AU2017201504A patent/AU2017201504B2/en active Active
-
2018
- 2018-04-12 AU AU2018202555A patent/AU2018202555B2/en active Active
Non-Patent Citations (3)
Title |
---|
CHONO, K. et al. "On cu_qp_delta Range Constraint " Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 6th Meeting: Torino, 14-22 July, 2011(version 1), pages 1-6 * |
CHONO, K. et al. 'Efficient Binary Representation of cu_qp_delta Syntax for CABAC' Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 & ISO/IEC JTC1/SC29/WG11 6th Meeting: Torino, 14-22 July, 2011 1 pages 1-10 * |
MARPE, D. et al. "Context-Based Adaptive Binary Arithmetic Coding in the H.264/AVC Video Compression Standard," IEEE Transactions On Circits and Systems for Video Technology, 2003, Vol. 13, No. 7, pages 620-636 * |
Also Published As
Publication number | Publication date |
---|---|
AU2015252148A1 (en) | 2015-11-26 |
AU2015252148B2 (en) | 2017-01-12 |
AU2018202555A1 (en) | 2018-05-10 |
AU2017201504B2 (en) | 2018-05-24 |
AU2017201504A1 (en) | 2017-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2016250440B2 (en) | Method for coding video quantization parameter and method for decoding video quantization parameter | |
US10085025B2 (en) | Image quantization parameter encoding method and image quantization parameter decoding method | |
AU2018202555B2 (en) | Image quantization parameter decoding method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FGA | Letters patent sealed or granted (standard patent) |