CROSS-REFERENCE TO RELATED APPLICATIONS

This application is the National Stage filing under 35 U.S.C. 371 of International Application No. PCT/KR2016/009213 filed on Aug. 19, 2016, the contents of which are all hereby incorporated by reference herein in their entirety.

TECHNICAL FIELD

The present invention relates to a method and an apparatus for encoding/decoding a video signal, and more particularly, to a technique for eliminating discontinuity of a block boundary when a prediction mode of a current block is different from a prediction mode of a neighboring block.

BACKGROUND ART

Compression encoding means a series of signal processing technology for transmitting digitalized information through a communication line or for storing digitalized information in a form appropriate to a storage medium. Media such video, an image, and a voice may be a target of compression encoding, particularly, technology that performs compression encoding using video as a target is referred to as video compression.

Next generation video contents will have a characteristic of a high spatial resolution, a high frame rate, and high dimensionality of scene representation. In order to process such contents, memory storage, memory access rate, and processing power technologies will remarkably increase.

Therefore, there is a need to design a coding tool for processing next generation video contents more efficiently. In particular, an intra prediction generates a prediction block having various directions or no directionality with reference to an area adjacent to a current block. In this case, when a prediction mode of the current block differs from the prediction mode of a neighboring block, the difference value tends to increase in a boundary area of the prediction block, and as a result, it is necessary to improve a boundary area of a block in order to reduce an increased difference value.

DISCLOSURE

Technical Problem

An embodiment of the present invention provides a method for filtering a prediction block.

Furthermore, an embodiment of the present invention provides a method for improving a boundary area of the prediction block.

Furthermore, an embodiment of the present invention provides a method for filtering the prediction block by using a prediction mode of a current block and a prediction mode of a neighboring block.

Furthermore, an embodiment of the present invention provides a method for selecting the prediction mode of the neighboring block.

Furthermore, an embodiment of the present invention provides a method for deriving a reference sample in order to perform an enhanced prediction.

Furthermore, an embodiment of the present invention provides a method for performing filtering in order to perform the enhanced prediction.

Furthermore, an embodiment of the present invention provides a method for applying a weight at the time of generating the prediction block.

Technical Solution

In order to solve the technical problem,

the present invention provides a method for filtering a prediction block.

Furthermore, the present invention provides a method for eliminating discontinuity of a block boundary when a prediction mode of a current block is different from a prediction mode of a neighboring block.

Furthermore, the present invention provides a method for enhancing intra prediction performance by improving a boundary area of a prediction block.

Furthermore, the preset invention provides a method for selecting the prediction mode of a neighboring block for filtering a boundary area of a prediction block.

Furthermore, the preset invention provides a method for deriving a reference sample for filtering the boundary area of the prediction block.

Furthermore, the present invention provides a method for performing filtering in order to perform an enhanced prediction.

Furthermore, the present invention provides a method for applying a weight at the time of generating the prediction block.

Furthermore, the present invention provides a method for signaling whether to apply filtering to the boundary area of the prediction block.

Advantageous Effects

In an intra-prediction of a video codec, a prediction block with various directionalities or with no directionality is generated by referring to an area adjacent to a current block and an encoder/decoder performs encoding/decoding with respect to a difference value from a current block. In this case, when a prediction mode of the current block differs from the prediction mode of a neighboring block, the difference value tends to increase in a boundary area of the prediction block, and as a result, the present invention proposes a method for improving a boundary area of a block in order to reduce the difference value. Therefore, the difference value can be reduced, thereby enhancing intra-prediction performance of an image.

