CPC H04N 19/52 (2014.11) [H04N 19/176 (2014.11); H04N 19/91 (2014.11)] | 6 Claims |
1. An image decoding method using inter-prediction, the image decoding method comprising:
receiving a bitstream;
determining a current block by dividing a coding block based on division information included in the bitstream;
acquiring a motion vector candidate of the current block based on a motion vector indicator indicating the motion vector candidate from among a plurality of motion vector candidates;
acquiring a motion vector difference between a motion vector of the current block and the motion vector candidate based on at least one of size information indicating a size of the motion vector difference or sign information indicating a sign of the motion vector difference, wherein the sign information is signaled when the size of the motion vector difference is greater than a pre-defined threshold size while the sign information is not signaled when the size of the motion vector difference is less than or equal to the pre-defined threshold size;
acquiring the motion vector of the current block based on the motion vector candidate and the motion vector difference; and
generating a prediction block for the current block through the inter-prediction that uses the motion vector of the current block,
wherein the division information includes at least one of a quad division flag indicating whether the coding block is divided based a quad tree division, a binary division flag indicating whether the coding block is divided based on a binary tree division, or a division direction flag indicating whether the coding block is divided in a vertical direction or in a horizontal direction,
wherein the division direction flag is selectively signaled based on a division type of a higher block to which the coding block belongs,
wherein the higher block is representative of a block having a smaller division depth than the coding block, and
wherein, based on the prediction block and a residual block of the current block obtained from the bitstream, the current block is reconstructed.
|