Intra prediction-based video signal processing method and apparatus
View Patent ↗According to the present invention, there is provided a method of decoding a video signal, the method including: determining an intra prediction mode of a current block; applying a filter to a first reference sample adjacent to the current block; obtaining a first prediction sample of the current block on the basis of the intra prediction mode and a second reference sample obtained by applying the filter; and obtaining a second prediction sample of the current block using the first prediction sample and the first reference sample.
1. A video signal decoding method comprising:
determining an intra prediction mode of a current block;
obtaining a reference sample based on a neighboring sample of the current block;
obtaining a first prediction sample of the current block based on the reference sample and the intra prediction mode;
obtaining a second prediction sample of the current block by performing weighted filtering based on the reference sample and the first prediction sample; and
obtaining a reconstructed sample of the current block based on the second prediction sample,
wherein whether to performing the weighted filtering is determined based on the intra prediction mode.
2. A video signal encoding method comprising:
determining an intra prediction mode of a current block;
obtaining a reference sample based on a neighboring sample of the current block;
obtaining a first prediction sample of the current block based on the reference sample and the intra prediction mode;
obtaining a second prediction sample of the current block by performing weighted filtering based on the reference sample and the first prediction sample; and
obtaining a reconstructed sample of the current block based on the second prediction sample,
wherein whether to performing the weighted filtering is determined based on the intra prediction mode.
3. A non-transitory computer-readable recording medium storing a bitstream which is generated by a video signal encoding method, the method comprising:
determining an intra prediction mode of a current block;
obtaining a reference sample based on a neighboring sample of the current block;
obtaining a first prediction sample of the current block based on the reference sample and the intra prediction mode;
obtaining a second prediction sample of the current block by performing weighted filtering based on the reference sample and the first prediction sample; and
obtaining a reconstructed sample of the current block based on the second prediction sample,
wherein whether to performing the weighted filtering is determined based on the intra prediction mode.