Method and apparatus for image encoding/decoding
View Patent ↗A method and an apparatus for image encoding/decoding, according to the present invention, may generate a candidate list of a current block and perform inter-prediction of the current block by using any one of a plurality of candidates belonging to the candidate list. Here, the plurality of candidates comprise at least one from among a spatial candidate, a temporal candidate, and a restoration information-based candidate, and the restoration information-based candidate may be added from a buffer which stores motion information decoded prior to the current block.
1 . An image decoding method, comprising:
generating a candidate list of a current block; and
performing inter prediction of the current block based on a plurality of candidates belonging to the candidate list,
wherein the plurality of candidates includes a temporal candidate in a unit of a sub-block,
wherein the temporal candidate in the unit of the sub-block is a candidate for deriving motion information for each sub-block of the current block, and has motion information of a target block which is temporally adjacent to the current block,
wherein the sub-block is an N×M block having a fixed size pre-set in an image decoding device,
wherein a sub-block of the target block is determined as a block shifted by a predetermined temporal motion vector from a position of the sub-block of the current block,
wherein the temporal motion vector is set using only a neighboring block at a specific position among spatial neighboring blocks of the current block, and
wherein the neighboring block at the specific position is a block to a left of the current block.
2 . The method of claim 1 , wherein the temporal motion vector is set only when a reference picture of the neighboring block at the specific position and a target picture to which the target block belongs are the same.
3 . An image encoding method, comprising:
generating a candidate list of a current block; and
performing inter prediction of the current block based on a plurality of candidates belonging to the candidate list,
wherein the plurality of candidates includes a temporal candidate in a unit of a sub-block,
wherein the temporal candidate in the unit of the sub-block is a candidate for deriving motion information for each sub-block of the current block, and has motion information of a target block which is temporally adjacent to the current block,
wherein the sub-block is an N×M block having a fixed size pre-set in an image encoding device,
wherein a sub-block of the target block is determined as a block shifted by a predetermined temporal motion vector from a position of the sub-block of the current block,
wherein the temporal motion vector is set using only a neighboring block at a specific position among spatial neighboring blocks of the current block, and
wherein the neighboring block at the specific position is a block to a left of the current block.
4 . The method of claim 3 , wherein the temporal motion vector is set only when a reference picture of the neighboring block at the specific position and a target picture to which the target block belongs are the same.
5 . A method of transmitting a bitstream, the method comprising:
generating a candidate list of a current block;
performing inter prediction of the current block based on a plurality of candidates belonging to the candidate list; and
transmitting the bitstream generated based on the inter prediction,
wherein the plurality of candidates includes a temporal candidate in a unit of a sub-block,
wherein the temporal candidate in the unit of the sub-block is a candidate for deriving motion information for each sub-block of the current block, and has motion information of a target block which is temporally adjacent to the current block,
wherein the sub-block is an N×M block having a fixed size pre-set in an image encoding device,
wherein a sub-block of the target block is determined as a block shifted by a predetermined temporal motion vector from a position of the sub-block of the current block,
wherein the temporal motion vector is set using only a neighboring block at a specific position among spatial neighboring blocks of the current block, and
wherein the neighboring block at the specific position is a block to a left of the current block.