AU2017201504A1 - Image quantization parameter decoding method - Google Patents

Image quantization parameter decoding method Download PDF

Info

Publication number
AU2017201504A1
AU2017201504A1 AU2017201504A AU2017201504A AU2017201504A1 AU 2017201504 A1 AU2017201504 A1 AU 2017201504A1 AU 2017201504 A AU2017201504 A AU 2017201504A AU 2017201504 A AU2017201504 A AU 2017201504A AU 2017201504 A1 AU2017201504 A1 AU 2017201504A1
Authority
AU
Australia
Prior art keywords
quantization parameter
bin
dqp
bins
binary arithmetic
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.)
Granted
Application number
AU2017201504A
Other versions
AU2017201504B2 (en
Inventor
Hirofumi Aoki
Keiichi Chono
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from AU2012282044A external-priority patent/AU2012282044C1/en
Application filed by NEC Corp filed Critical NEC Corp
Priority to AU2017201504A priority Critical patent/AU2017201504B2/en
Publication of AU2017201504A1 publication Critical patent/AU2017201504A1/en
Priority to AU2018202555A priority patent/AU2018202555B2/en
Application granted granted Critical
Publication of AU2017201504B2 publication Critical patent/AU2017201504B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

ι 2017201504 03 Mar 2017
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 2 2017201504 03 Mar 2017 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). 3 2017201504 03 Mar 2017 [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 above-mentioned 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 4 2017201504 03 Mar 2017
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 "3rd" 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 5 2017201504 03 Mar 2017 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 6 2017201504 03 Mar 2017 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: 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 de-binarizing 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.
[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 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 7 2017201504 03 Mar 2017 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.
[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 .
[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. 8 2017201504 03 Mar 2017 [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 a bin string.
Description of Embodiments [0027]
The following describes exemplary embodiments of the present invention with reference to drawings.
[0028]
Exemplary Embodiment 1 9 2017201504 03 Mar 2017
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 ^ 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 the DQP, by the following equations.
[0032] bin(l) = fund (DQP) ··· (1) cMax = max (|minDQP|, |maxDQP|) - 1 (2) .
[0033]
When cMax ^ 1, the binarizer 1031 computes bin(n) (n ίο 2017201504 03 Mar 2017 = 2, ..., min(l + | DQP | , 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) · · · (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 11 2017201504 03 Mar 2017 the last bin).
[0039]
The adaptive binary arithmetic encoder 104 binary arithmetic encodes each bin (bin(n) : n = 1, 2, ..., min(l + |DQP|, 1 + cMax)), 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 embodiment, using a flowchart in Fig. 2.
[0043]
The process starts, with the adaptive binary arithmetic 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 12 2017201504 03 Mar 2017 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 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. 13 2017201504 03 Mar 2017 [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 + QpBdOffsetY/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]
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 14 2017201504 03 Mar 2017 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. 15 and the correspondence table shown in Fig. 3.
[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 15 2017201504 03 Mar 2017 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 < 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.
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, 16 2017201504 03 Mar 2017 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).
[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] 17 2017201504 03 Mar 2017
This completes the description of the structure of the image quantization parameter decoder in this exemplary embodiment.
[0072]
The following describes 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, 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 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 18 2017201504 03 Mar 2017 IDQPI have been decoded, the process proceeds to step S306. Otherwise, the adaptive binary arithmetic decoder 204 increments n and the process proceeds to step S3 04, to adaptive binary arithmetic decode the subsequent bin(n).
[0079]
In step S306, the binary arithmetic decoder 2 05 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. 1 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 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 19 2017201504 03 Mar 2017 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] ··· (8) • · · (9) .
minDQP = minQP - PQP maxDQP = maxQP - PQP
[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) ' .
[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. 20 2017201504 03 Mar 2017 [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 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 21 2017201504 03 Mar 2017 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 above-mentioned 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]
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 22 2017201504 03 Mar 2017 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 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 23 2017201504 03 Mar 2017 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 .
[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 2017201504 03 Mar 2017 212 24 [0104] 11 prediction unit 12 computing unit 13 quantization parameter encoding unit 14 redundancy suppression unit 21 prediction unit 22 quantization parameter decoding unit 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 switch

Claims (2)

  1. Claims
    1. 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 de-binarizing 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.
  2. 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 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.
AU2017201504A 2011-07-12 2017-03-03 Image quantization parameter decoding method Active AU2017201504B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
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

Applications Claiming Priority (4)

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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU2015252148A Division AU2015252148B2 (en) 2011-07-12 2015-11-06 Image quantization parameter encoding method and image quantization parameter decoding method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
AU2018202555A Division AU2018202555B2 (en) 2011-07-12 2018-04-12 Image quantization parameter decoding method

Publications (2)

Publication Number Publication Date
AU2017201504A1 true AU2017201504A1 (en) 2017-03-23
AU2017201504B2 AU2017201504B2 (en) 2018-05-24

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 (1)

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

Family Applications After (1)

Application Number Title Priority Date Filing Date
AU2018202555A Active AU2018202555B2 (en) 2011-07-12 2018-04-12 Image quantization parameter decoding method

Country Status (1)

Country Link
AU (3) AU2015252148B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113850374A (en) * 2021-10-14 2021-12-28 安谋科技(中国)有限公司 Neural network model quantization method, electronic device, and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113850374A (en) * 2021-10-14 2021-12-28 安谋科技(中国)有限公司 Neural network model quantization method, electronic device, and medium

Also Published As

Publication number Publication date
AU2017201504B2 (en) 2018-05-24
AU2018202555A1 (en) 2018-05-10
AU2018202555B2 (en) 2018-05-31
AU2015252148A1 (en) 2015-11-26
AU2015252148B2 (en) 2017-01-12

Similar Documents

Publication Publication Date Title
RU2664403C1 (en) Method for coding quantity parameter of video 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)