Image signal encoding/decoding method and device therefor
An image decoding method according to the present invention may comprise the steps of: generating a merge candidate list of a current block; selecting one merge candidate from merge candidates included in the merge candidate list; and performing motion compensation of the current block on the basis of motion information of the selected merge candidate.
1. An image decoding method comprising:
generating a merge candidate list for a current block;
selecting a merge candidate included in the merge candidate list; and
performing motion compensation for the current block on the basis of motion information of the selected merge candidate,
wherein the merge candidate list includes a merge candidate derived on the basis of a motion information table,
wherein when the current block is included in a merge processing region, the motion information table is not updated while blocks included in the merge processing region are decoded,
wherein the motion information table is updated subsequent to the decoding of all of the blocks included in the merge processing region,
wherein whether to update the motion information table with motion information of the current block is determined based on a position of the current block in the merge processing region, and
wherein when the current block is positioned on a bottom left in the merge processing region, it is determined to update the motion information table with the motion information of the current block.
2. The image decoding method of claim 1 , wherein after decoding of the current block is completed, the motion information table is not updated with motion information of the current block.
3. The image decoding method of claim 1 , wherein when the current block is positioned on a bottom right in the merge processing region, it is determined to update the motion information table with the motion information of the current block.
4. The image decoding method of claim 3 , wherein, based on whether a motion information candidate identical to the motion information of the current block is present in the motion information table, it is determined whether to add the motion information of the current block to the motion information table.
5. The image decoding method of claim 4 , wherein a determination of whether the motion information candidate is identical to the motion information of the current block is performed with at least one motion information candidate of which an index value is equal to or smaller than a threshold value, or of which the index value is equal to or greater than the threshold value.
6. The image decoding method of claim 4 , wherein when the motion information candidate identical to the motion information of the current block is present, an index of the motion information candidate is updated with the largest value or the smallest value.
7. An image encoding method comprising:
generating a merge candidate list for a current block;
selecting a merge candidate included in the merge candidate list; and
performing motion compensation for the current block on the basis of motion information of the selected merge candidate,
wherein the merge candidate list includes a merge candidate derived on the basis of a motion information table,
wherein when the current block is included in a merge processing region, the motion information table is not updated while blocks included in the merge processing region are encoded,
wherein the motion information table is updated subsequent to the decoding of all of the blocks included in the merge processing region,
wherein whether to update the motion information table with motion information of the current block is determined based on a position of the current block in the merge processing region, and
wherein when the current block is positioned on a bottom left in the merge processing region, it is determined to update the motion information table with the motion information of the current block.
8. The image encoding method of claim 7 , wherein after encoding of the current block is completed, the motion information table is not updated with motion information of the current block.
9. The image encoding method of claim 7 , wherein when the current block is positioned on a bottom right in the merge processing region, it is determined to update the motion information table with the motion information of the current block.
10. The image encoding method of claim 9 , wherein, based on whether a motion information candidate identical to the motion information of the current block is present in the motion information table, it is determined whether to add the motion information of the current block to the motion information table.
11. The image encoding method of claim 10 , wherein a determination of whether the motion information candidate is identical to the motion information of the current block is performed with at least one motion information candidate of which an index value is equal to or smaller than a threshold value, or of which the index value is equal to or greater than the threshold value.
12. The image encoding method of claim 10 , wherein when the motion information candidate identical to the motion information of the current block is present, an index of the motion information candidate is updated with the largest value or the smallest value.
13. An image decoding device comprising:
an inter-prediction unit generating a merge candidate list for a current block, selecting a merge candidate included in the merge candidate list, and performing motion compensation for the current block on the basis of motion information of the selected merge candidate,
wherein the merge candidate list includes a merge candidate derived on the basis of a motion information table,
wherein when the current block is included in a merge processing region, the motion information table is not updated while blocks included in the merge processing region are decoded,
wherein the motion information table is updated subsequent to the decoding of all of the blocks included in the merge processing region,
wherein whether to update the motion information table with motion information of the current block is determined based on a position of the current block in the merge processing region, and
wherein when the current block is positioned on a bottom left in the merge processing region, it is determined to update the motion information table with the motion information of the current block.