Image decoding method using context-coded sign flag in image coding system and apparatus therefor
AssigneeLG Electronics Inc.
InventorsSunmi YOO, Jin HEO, Jungah CHOI, Seunghwan KIM
Life of this patent
Estimating the term…
Abstract
An image decoding method performed by a decoding device according to the present document comprises the steps of: deriving a context model for a sign flag of a current residual coefficient of a current block; and decoding the sign flag on the basis of the context model, wherein the context model for the sign flag is derived on the basis of a sign flag of a residual coefficient decoded before the current residual coefficient in the current block.
Claims13
A decoding apparatus for image decoding, the decoding apparatus comprising:
- a memory;
- and
- at least one processor connected to the memory, the at least one processor configured to:
- receive residual information for a current block;
- derive a context index increment for a sign flag representing a sign of a current residual coefficient of the current block;
- derive a context index for the sign flag based on the context index increment;
- decoding the sign flag based on a context model for the sign flag indicated by the context index;
- derive the current residual coefficient based on the sign flag;
- derive a residual sample based on the current residual coefficient;
- and
- generate a reconstructed picture based on the residual sample,
- wherein the context index increment for the sign flag is derived based on a sign flag of a residual coefficient decoded prior to the current residual coefficient in the current block, and
- wherein the residual information includes information on an absolute value of a transform coefficient level at a scanning position.
An encoding apparatus for image encoding, the encoding apparatus comprising:
- a memory;
- and
- at least one processor connected to the memory, the at least one processor configured to:
- derive a residual sample of a current block;
- derive a current residual coefficient of the current block based on the residual sample;
- derive a context index increment for a sign flag representing a sign of the current residual coefficient;
- derive a context index for the sign flag based on the context index increment;
- encode the sign flag based on a context model for the sign flag indicated by the context index;
- and
- generate a bitstream including the sign flag and residual information,
- wherein the context index increment for the sign flag is derived based on a sign flag of a residual coefficient encoded prior to the current residual coefficient in the current block, and
- wherein the residual information includes information on an absolute value of a transform coefficient level at a scanning position.
An apparatus for transmitting data for an image, the apparatus comprising:
- at least one processor configured to obtain a bitstream;
- and
- a transmitter configured to transmit the bitstream,
- wherein the bitstream is generated by:
- deriving a residual sample of a current block;
- deriving a current residual coefficient of the current block based on the residual sample;
- deriving a context index increment for a sign flag representing a sign of the current residual coefficient;
- deriving a context index for the sign flag based on the context index increment;
- encoding the sign flag based on a context model for the sign flag indicated by the context index;
- and
- generating the bitstream including the sign flag and residual information,
- wherein the context index increment for the sign flag is derived based on a sign flag of a residual coefficient encoded prior to the current residual coefficient in the current block, and
- wherein the residual information includes information on an absolute value of a transform coefficient level at a scanning position.
Dependencies are inferred from the claim text.