Image or video coding based on color space conversion
AssigneeLG Electronics Inc.
InventorsJie Zhao, Seunghwan Kim
Life of this patent
Estimating the term…
Abstract
According to the disclosure of this 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 clipped and derived on the basis of a clipping range, wherein the clipping range is determined on the basis of a bit depth.
Claims3
An image decoding method performed by a decoding apparatus,
- the method comprising:
- obtaining image information including residual information and prediction mode information from a bitstream;
- deriving a prediction sample for a current block based on the prediction mode information;
- deriving a residual sample for the current block based on the residual information;
- and
- generating a reconstructed sample based on the residual sample and the prediction sample,
- wherein the image information includes adaptive color transform (ACT)-related information,
- wherein whether to apply an ACT to the residual sample of the current block is determined based on the ACT-related information,
- wherein based on the ACT-related information representing that the ACT is applied, clipping is performed on the residual sample to apply the ACT,
- wherein the clipping is performed by a clipping range determined based on a bit depth (BitDepth),
- wherein the clipping range includes a clipping range for a luma component and a clipping range for a chroma component,
- wherein the clipping range for the luma component includes a range between −(1<<BitDepth) and (1<<BitDepth)−1, and
- wherein the clipping range for the chroma component includes a range between −(1<<(BitDepth+1)) and (1<<(BitDepth+1))−1.
An image encoding method performed by an encoding apparatus, the method comprising:
- deriving a prediction sample for a current block;
- generating prediction mode information;
- deriving a residual sample for the current block based on the prediction sample;
- generating residual information based on the residual sample;
- and
- encoding image information including the residual information and the prediction mode information,
- wherein the image information includes adaptive color transform (ACT)-related information,
- wherein whether to apply an ACT to the residual sample of the current block is determined based on the ACT-related information,
- wherein based on the ACT-related information representing that the ACT is applied, clipping is performed on the residual sample to apply the ACT,
- wherein the clipping is performed according to a clipping range determined based on a bit depth (BitDepth),
- wherein the clipping range includes a clipping range for a luma component and a clipping range for a chroma component,
- wherein the clipping range for the luma component includes a range between −(1<<BitDepth) and (1<<BitDepth)−1, and
- wherein the clipping range for the chroma component includes a range between −(1<<(BitDepth+1)) and (1<<(BitDepth+1))−1.
A non-transitory computer-readable storage medium storing a bitstream generated by an image encoding method, the image encoding method comprising:
- deriving a prediction sample for a current block;
- generating prediction mode information;
- deriving a residual sample for the current block based on the prediction sample;
- generating residual information based on the residual sample;
- and
- encoding image information including the residual information and the prediction mode information,
- wherein the image information includes adaptive color transform (ACT)-related information,
- wherein whether to apply an ACT to the residual sample of the current block is determined based on the ACT-related information,
- wherein based on the ACT-related information representing that the ACT is applied, clipping is performed on the residual sample to apply the ACT,
- wherein the clipping is performed according to a clipping range determined based on a bit depth (BitDepth),
- wherein the clipping range includes a clipping range for a luma component and a clipping range for a chroma component,
- wherein the clipping range for the luma component includes a range between −(1<<BitDepth) and (1<<BitDepth)−1, and
- wherein the clipping range for the chroma component includes a range between −(1<<(BitDepth+1)) and (1<<(BitDepth+1))−1.
Dependencies are inferred from the claim text.