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 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,
wherein the obtaining the reference sample comprises filtering the neighboring sample of the current block, and
wherein whether to filter the neighboring sample of the current block is determined based on a width and a height of the current block.
2. 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,
wherein the obtaining the reference sample comprises filtering the neighboring sample of the current block, and
wherein whether to filter the neighboring sample of the current block is determined based on a width and a height of the current block.
3. 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;
obtaining a reconstructed sample of the current block based on the second prediction sample; and
filtering the reconstructed sample of the current block,
wherein whether to performing the weighted filtering is determined based on the intra prediction mode,
wherein the obtaining the reference sample comprises filtering the neighboring sample of the current block, and
wherein whether to filter the neighboring sample of the current block is determined based on a width and a height of the current block.