CPC H04N 19/593 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/30 (2014.11); H04N 19/70 (2014.11)] | 5 Claims |
1. An image decoding method performed by a decoding apparatus, the method comprising:
receiving image information including a matrix-based intra prediction (MIP) flag information related to whether an MIP is applied to a current block through a bitstream;
deriving an intra prediction type for the current block as the MIP based on the MIP flag information;
generating intra prediction samples for the current block based on the MIP; and
generating reconstructed samples for the current block based on the intra prediction samples,
wherein a matrix for the MIP is derived based on a width and a height of the current block,
wherein the intra prediction samples are generated based on the matrix,
wherein the image information includes MIP mode information based on the MIP flag information,
wherein the matrix is derived further based on the MIP mode information,
wherein for the current block with a size of 32×4 in which a ratio of the width and the height of the current block is larger than four, the MIP flag information is included in the image information, and
wherein based on a value of the MIP flag information being equal to 1, it is determined that the MIP is applied to the current block with the size of 32×4 in which the ratio of the width and the height of the current block is larger than four.
|