Provided is an apparatus for decoding an image. The apparatus restores a plurality of sub-blocks by applying a scan pattern determined according to the intra prediction mode of the current block on the quantization coefficient sequence and restores the quantized transform block by applying a scan pattern determined according to the intra prediction mode of the current block on the plurality of sub-blocks. Therefore, it is possible to reduce the amount of coding bits and computing resources required to decode a current prediction block.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A non-transitory recording medium which includes a bit stream decoded by an image decoding device, the bit stream being generated by dividing an image into a plurality of blocks and by performing intra prediction for the block and including: information indicating a size and an intra prediction mode of a current prediction block, information indicating a remaining quantization step size of a current coding block obtained by calculating difference between a quantization step size of the current coding block and a quantization step size predictor of the current coding block, information indicating one-dimensional (1D) quantized transform coefficients generated by scanning quantized transform coefficients of the quantized transform block, wherein the quantized transform block is generated by transforming a residual block, being obtained by calculating difference between the current prediction block, and a prediction block corresponding to the current prediction block, being generated according to the intra prediction mode, and quantizing the transformed residual block using the quantization step size of the current coding block, wherein the image decoding device restores an intra prediction mode of the current prediction block and the 1D quantized transform coefficients from the bit stream, generates the quantized transform block by inversely scanning the 1D quantized transform coefficients, generates the quantization step size predictor, restores the quantization step size by adding the quantization step size predictor and the remaining quantization step size, and generates a transform block by inversely quantizing the quantized transform block using the quantization step size, restores a residual block by inversely transforming the transform block, generate the prediction block of the current prediction block according to the intra prediction mode, and generates an original block by adding the prediction block and the residual block, wherein the 1D quantized transform coefficients of the quantized transform block having a size larger than a predetermined size are inversely scanned in the unit of sub-block, and the 1D quantized transform coefficients are inversely scanned using a scan pattern determined according to the intra prediction mode of the current prediction block to generate a plurality of sub-blocks and the plurality of sub-blocks are inversely scanned using a scan pattern determined according to the intra prediction mode of the current prediction block to generate the quantized transform block, wherein the scan pattern for inversely scanning the 1D quantized transform coefficients is the same as the scan pattern for inversely scanning the plurality of sub-blocks, and wherein the image decoding device inversely scans the 1D quantized transform coefficients and the plurality of sub-blocks in a reverse direction.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
February 20, 2020
February 23, 2021
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.