Matrix-based intra prediction device and method
AssigneeLG Electronics Inc.
InventorsMehdi Salehifar, Seunghwan Kim
Life of this patent
Estimating the term…
Abstract
An image decoding method according to the present document may comprise the steps of: receiving flag information indicating whether or not matrix-based intra prediction (MIP) is to be used for a current block; receiving matrix-based intra prediction (MIP) mode information on the basis of the flag information; generating intra prediction samples for the current block on the basis of the MIP mode information; and generating reconstructed samples for the current block on the basis of the intra prediction samples, wherein a syntax element bin string for the MIP mode information is binarized by using a truncated binarization method.
Claims10
An image decoding method performed by a decoding apparatus, the method comprising:
- receiving flag information related to whether matrix-based intra prediction (MIP) is used for a current block;
- receiving matrix-based intra prediction (MIP) mode information based on the flag information;
- generating intra prediction samples for the current block based on the MIP mode information;
- and
- generating reconstructed samples for the current block based on the intra prediction samples,
- wherein the MIP mode information is index information related to an MIP matrix applied to the current block;
- wherein a syntax element bin string for the MIP mode information is binarized by a truncated binarization method,
- wherein a maximum length of the syntax element bin string is set to different three values based on a size of the current block, and
- wherein the maximum length has a largest value based on a width and a height of the current block being 4.
An image encoding method performed by an encoding apparatus, the method comprising:
- deriving whether matrix-based intra prediction (MIP) is applied to a current block;
- deriving intra prediction samples for the current block based on the MIP when the MIP is applied to the current block;
- deriving residual samples for the current block based on the intra prediction samples;
- and
- encoding information on the residual samples and matrix-based intra prediction (MIP) mode information,
- wherein the MIP mode information is index information related to an MIP matrix applied to the current block;
- wherein a syntax element bin string for the MIP mode information is binarized by a truncated binarization method,
- wherein a maximum length of the syntax element bin string is set to different three values based on a size of the current block, and
- wherein the maximum length has a largest value based on a width and a height of the current block being 4.
A non-transitory computer-readable digital storage medium that stores a bitstream generated by a method, the method comprising:
- deriving whether matrix-based intra prediction (MIP) is applied to a current block;
- deriving intra prediction samples for the current block based on the MIP when the MIP is applied to the current block;
- deriving residual samples for the current block based on the intra prediction samples;
- and
- encoding information on the residual samples and matrix-based intra prediction (MIP) mode information to generate the bitstream,
- wherein the MIP mode information is index information related to an MIP matrix applied to the current block,
- wherein a syntax element bin string for the MIP mode information is binarized by a truncated binarization method,
- wherein a maximum length of the syntax element bin string is set to different three values based on a size of the current block, and
- wherein the maximum length has a largest value based on a width and a height of the current block being 4.
Dependencies are inferred from the claim text.