Intra prediction mode encoding/decoding method and apparatus for same
Disclosed herein is an intra prediction method including: deriving neighbor prediction mode information from a left neighbor prediction mode and an upper neighbor prediction mode; deriving an intra prediction mode for a decoding target unit by using the derived neighbor prediction mode information; and performing intra prediction on the decoding target unit based on the intra prediction mode. According to exemplary embodiments of the present invention, image encoding/decoding efficiency can be improved.
1. A video encoding apparatus comprising:
a prediction module to
determine an intra prediction mode of a target encoding unit;
perform intra prediction on the target encoding unit based on the determined intra prediction mode;
derive neighbor prediction mode information from a left neighbor prediction mode and an upper neighbor prediction mode;
determine most probable mode (MPM) candidates for the target encoding unit using the neighbor prediction mode information;
generate an MPM list using the determined MPM candidates;
derive an MPM index using the intra prediction mode of the target encoding unit and the generated MPM list; and
encode an MPM flag and the MPM index for the target encoding unit;
wherein the left neighbor prediction mode is an intra prediction mode of a left neighbor unit adjacent to a left side of the target encoding unit and the upper neighbor prediction mode is an intra prediction mode of an upper neighbor unit adjacent to an upper side of the target encoding unit, and the MPM index is an index indicating the same candidate as the intra prediction mode of the target encoding unit, among the MPM candidates included in the MPM list,
wherein the neighbor prediction mode information includes a mode number of the left neighbor prediction mode and a mode number of the upper neighbor prediction mode,
wherein the prediction module determines the left neighbor prediction mode and the upper neighbor prediction mode as the MPM candidates, and the MPM list comprises three MPM candidates, and
wherein the prediction module determines a predetermined intra prediction mode as an additional MPM candidate when the left neighbor prediction mode is the same as the upper neighbor prediction mode.
2. The video encoding apparatus of claim 1 , wherein the predetermined intra prediction mode is a DC mode or planar mode.
3. The video encoding apparatus of claim 2 , wherein the predetermined intra prediction mode is a DC mode when the left neighbor prediction mode and the upper neighbor prediction mode are a planar mode, and the predetermined intra prediction mode is a planar mode when the left neighbor prediction mode and the upper neighbor prediction mode are a DC mode.
4. A non-transitory computer-readable medium storing a bitstream that is received and used by a video decoding apparatus to reconstruct a video, the bitstream comprises a most probable mode (MPM) flag and an MPM index for a target decoding unit,
wherein the MPM flag and the MPM index are used to derive an intra prediction mode of the target decoding using an MPM list,
wherein the MPM list is generated using MPM candidates for the target decoding unit,
the MPM candidates are determined using neighbor prediction mode information which is derived from a left neighbor prediction mode and an upper neighbor prediction mode,
the derived intra prediction mode is used to perform intra prediction on the target decoding unit to generate a prediction block,
wherein the left neighbor prediction mode is an intra prediction mode of a left neighbor unit adjacent to a left side of the target decoding unit and the upper neighbor prediction mode is an intra prediction mode of an upper neighbor unit adjacent to an upper side of the target decoding unit, and the MPM index is an index indicating the same candidate as the intra prediction mode of the target decoding unit, among the MPM candidates included in the MPM list,
wherein the neighbor prediction mode information includes a mode number of the left neighbor prediction mode and a mode number of the upper neighbor prediction mode,
wherein the prediction module determines the left neighbor prediction mode and the upper neighbor prediction mode as the MPM candidates, and the MPM list comprises three MPM candidates, and
wherein the prediction module determines a predetermined intra prediction mode as an additional MPM candidate when the left neighbor prediction mode is the same as the upper neighbor prediction mode.