CPC H04N 19/105 (2014.11) [H04N 19/117 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11); H04N 19/82 (2014.11)] | 9 Claims |
1. A method of decoding an image using a bitstream comprising:
determining an intra prediction mode for a current block using at least one of a first indicator, a second indicator, a third indicator and a fourth indicator from the bitstream; and
performing intra prediction on the current block based on the intra prediction mode for the current block, wherein:
one of a first intra prediction mode and a plurality of second intra prediction modes is used as the intra prediction mode for the current block in a case in which a first value of the first indicator is equal to a first predefined value,
the first intra prediction mode is used as the intra prediction mode for the current block in a case in which the first value of the first indicator is equal to the first predefined value and a second value of the second indicator is equal to a second predefined value,
one of the plurality of the second intra prediction modes is used as the intra prediction mode for the current block in a case in which the first value of the first indicator is equal to the first predefined value and the second value of the second indicator is not equal to the second predefined value,
the third indicator indicates one of the plurality of the second intra prediction modes which is used as the intra prediction mode for the current block in a case in which the first value of the first indicator is equal to the first predefined value and the second value of the second indicator is not equal to the second predefined value,
one of a plurality of third intra prediction modes is used as the intra prediction mode for the current block using the fourth indicator in a case in which the value of the first indicator is not equal to the first predefined value,
the fourth indicator indicates one of the plurality of the third intra prediction modes which is used as the intra prediction mode for the current block in a case in which the value of the first indicator is not equal to the first predefined value, and
the plurality of the third intra prediction modes don't comprise the first intra prediction mode and the plurality of the second intra prediction modes.
|