Patent ID: 8660185
Filing Date: 2014-02-25
Classification: H04N

Abstract:
1. A decoding method for decoding an image signal using motion compensation for generating a predictive image of a current macroblock included in a current picture with reference to a motion vector of an adjacent macroblock that is located adjacent to the current macroblock, the decoding method comprising: specifying, using an adjacent macroblock specifying unit, plural adjacent macroblocks which are located adjacent to the current macroblock and are already decoded; deriving, using a motion vector deriving unit, a motion vector of a current macroblock; generating, using a generating unit, a predictive image of the current macroblock using the derived motion vector of the current macroblock; and performing, using a motion compensation unit, a motion compensation on the current macroblock using the generated predictive image of the current macroblock, wherein, in the case that the motion compensation on the current macroblock is prohibited in a size smaller than 8 pixels×8 pixels, dividing, using a dividing unit, the current macroblock into a plurality of current blocks, each of the current blocks having a size of 8 pixels×8 pixels; specifying, using a co-located macroblock specifying unit, a co-located macroblock which is co-located with the current macroblock and included in a picture different from the current picture including the current macroblock; specifying, using a co-located block specifying unit, a co-located block which is co-located with each of the current blocks and is included in the co-located macroblock; setting, using a motion vector setting unit, a motion vector of the co-located block to be one motion vector when the co-located block is composed of one block for which motion compensation has been performed and the co-located block is motion compensated using only the one motion vector; and setting a motion vector of the co-located block to be a motion vector of a corner block which is included in the co-located block and located in a corner of the co-located macroblock when the co-located block is composed of a plurality of blocks for which motion compensation has been performed and a size of each of the plurality of blocks is different from a size of the current block; judging, using a motion vector size judging unit, if a size of the one motion vector or the motion vector of the corner block is less than a predetermined value or not; deriving, using the motion vector deriving unit, a motion vector of the respective current block in the current macroblock, (i) by using plural motion vectors of the specified plural adjacent macroblocks when the size of the one motion vector or the motion vector of the corner block is greater than the predetermined value, or (ii) by setting a motion vector of the respective current block to be “0” when the size of the one motion vector or the motion vector of the corner block is less than the predetermined value; generating, using the generating unit, a predictive image of the respective current block included in the current macroblock, using the derived motion vector of the respective current block; and performing, using the motion compensation unit, a motion compensation on the respective current block using the generated predictive image of the respective current block, and wherein the decoding method further comprising adding a difference image of the current block and the predictive image to obtain a decoded picture of the current block.