CPC H04N 19/176 (2014.11) [H04N 19/103 (2014.11); H04N 19/146 (2014.11); H04N 19/436 (2014.11); H04N 19/50 (2014.11)] | 3 Claims |
2. An image decoding method that decodes an image in an inputted code stream, on a coding unit-by-coding unit basis, wherein each coding unit is within a picture and has a data size smaller than a data size of the picture, and wherein the inputted code stream comprises syntaxes of coding units, which are in the coding units, respectively, a syntax of a current coding unit includes mode information indicating whether a first mode or a second mode is applied for the current coding unit, and the syntax of the coding units is outside of a syntax of the prediction unit, said method comprising:
performing coefficient code string analyzing that, (1) when the inputted code stream is a first code string including information based on an encoded residual coefficient, decodes the first code string to output a residual coefficient, and (2) when the inputted code stream is a second code string including an encoded differential image, decodes the second code string to output the differential image;
performing predictive residual decoding that, when the residual coefficient is outputted, performs an inverse quantizing process and an inverse orthogonal transformation process on the outputted residual coefficient to output a residual decoded image;
performing predictive decoding that generates a predictive image, on a prediction unit-by-prediction unit basis, for the current coding unit corresponding to the inputted code string based on prediction information, wherein the prediction unit is included in the current coding unit;
performing header code analyzing of the mode information included in the syntax of the current coding unit, which is in the current coding unit and outside of a syntax of the prediction unit, to determine whether the mode information included in the syntax of the current coding unit indicates whether the first mode or the second mode has been applied to the current coding unit; and
performing adding that, (1) when the syntax of the current coding unit indicates the first mode, adds the residual decoded image and the predictive image to each other to generate and output a reconstructed image and, (2) when the syntax of the current coding unit indicates the second mode, adds the differential image and the predictive image to each other to generate and output a reconstructed image without the inverse quantization process and the inverse orthogonal transformation process being performed.
|