Image or video coding for residuals using color space transformation
AssigneeLG Electronics Inc.
InventorsJie Zhao, Seunghwan Kim
Life of this patent
Estimating the term…
Abstract
According to the disclosure of the present document, it is possible to derive a residual sample by applying an adaptive color transform (ACT) to a current block on the basis of ACT related information, and at this time, the residual sample is derived through clipping on the basis of a clipping range, and the clipping range is determined on the basis of the bit depth.
Claims3
An image decoding method performed by a decoding apparatus, the method comprising:
- obtaining image information including residual information from a bitstream;
- deriving a residual sample for a current block based on the residual information;
- and
- generating a reconstructed sample based on the residual sample,
- wherein the image information includes adaptive color transform (ACT)-related information on whether to apply an ACT to the residual sample of the current block,
- wherein based on the ACT-related information of applying the ACT, clipping is performed on the residual sample based on a clipping range to apply the ACT,
- wherein the clipping range has a maximum value and a minimum value which are derived based on a value obtained by increasing the bit depth by 1,
- wherein the maximum value of the clipping range is a value derived by (1<<(BitDepth+1))−1, and
- wherein based on the ACT-related information of applying the ACT, a modified residual sample is derived by applying the ACT based on the clipped residual sample.
An image encoding method performed by an encoding apparatus, the method comprising:
- deriving a residual sample for a current block;
- generating residual information based on the residual sample;
- and
- encoding image information including the residual information,
- wherein the image information includes adaptive color transform (ACT)-related information on whether to apply an ACT to the residual sample of the current block,
- wherein based on the ACT-related information of applying the ACT, clipping is performed on the residual sample based on a clipping range to apply the ACT,
- wherein the clipping range has a maximum value and a minimum value which are derived based on a value obtained by increasing the bit depth by 1,
- wherein the maximum value of the clipping range is a value derived by (1<<(BitDepth+1))−1, and
- wherein based on the ACT-related information of applying the ACT, a modified residual sample is derived by applying the ACT based on the clipped residual sample.
A non-transitory computer-readable storage medium storing a bitstream generated by an image encoding method, the image encoding method comprising:
- deriving a residual sample for a current block;
- generating residual information based on the residual sample;
- and
- encoding image information including the residual information,
- wherein the image information includes adaptive color transform (ACT)-related information on whether to apply an ACT to the residual sample of the current block,
- wherein based on the ACT-related information of applying the ACT, clipping is performed on the residual sample based on a clipping range to apply the ACT,
- wherein the clipping range has a maximum value and a minimum value which are derived based on a value obtained by increasing the bit depth by 1,
- wherein the maximum value of the clipping range is a value derived by (1<<(BitDepth+1))−1, and
- wherein based on the ACT-related information of applying the ACT, a modified residual sample is derived by applying the ACT based on the clipped residual sample.
Dependencies are inferred from the claim text.