CPC H04N 19/11 (2014.11) [H04N 19/117 (2014.11); H04N 19/176 (2014.11); H04N 19/82 (2014.11)] | 4 Claims |
1. An image decoding method performed by a decoding device, the method comprising:
obtaining prediction mode information and residual information for a current block from a bitstream;
constructing a Most Probable Mode (MPM) list for the current block based on an intra prediction mode of a neighboring block of the current block;
deriving an intra-prediction mode of the current block based on the prediction mode information and the MPM list;
deriving neighboring samples including left neighboring samples and upper neighboring samples of the current block;
deriving reference samples for prediction of a target sample of the current block among the neighboring samples based on a position of the target sample and a prediction angle of the intra-prediction mode;
determining an interpolation filter for the target sample based on the intra-prediction mode and a size of the current block, wherein the interpolation filter is determined as one of a Gaussian filter and a cubic filter;
deriving a prediction sample of the target sample based on the interpolation filter and the reference samples;
deriving a residual sample of the target sample based on the residual information; and
generating a reconstructed picture based on the prediction sample and the residual sample,
wherein determining the interpolation filter for the target sample based on the intra-prediction mode and the size of the current block comprises:
determining whether the size of the current block is smaller than a first specific value; and
based on the size of the current block being smaller than the first specific value, determining whether the prediction angle of the intra-prediction mode is smaller than a second specific value,
wherein the intra-prediction mode is one of directional intra prediction modes with a prediction angle greater than 0,
wherein based on the size of the current block being greater than or equal to the first specific value, the interpolation filter for the target sample is derived as the Gaussian filter,
wherein based on the size of the current block being smaller than the first specific value and the prediction angle of the intra-prediction mode being smaller than the second specific value, the interpolation filter for the target sample is derived as the cubic filter, and
wherein based on the size of the current block being smaller than the first specific value and the prediction angle of the intra-prediction mode being not smaller than the second specific value, the interpolation filter for the target sample is derived as the Gaussian filter.
|