CPC H04N 19/11 (2014.11) [H04N 19/176 (2014.11); H04N 19/18 (2014.11); H04N 19/46 (2014.11); H04N 19/593 (2014.11)] | 7 Claims |
1. An image decoding method comprising:
acquiring, from a bitstream, intra prediction mode information of a current block;
determining an intra prediction mode of the current block based on the intra prediction mode information;
when the current block is non-square, modifying the intra prediction mode of the current block according to a comparison result of the intra prediction mode indicated by the intra prediction mode information and a threshold;
deriving a reference sample of intra prediction of the current block;
generating a prediction block of the current block by performing intra prediction of the current block based on the intra prediction mode and the reference sample;
reconstructing the current block based on the prediction block; and
applying a filter to the reconstructed current block,
wherein the threshold is determined based on a ratio between a width to a height of the current block.
|