Dynamic image encoding method and device and program using the same
AssigneeNEC Corporation
InventorKeiichi Chono
Life of this patent
Estimating the term…
Abstract
A dynamic image encoding technique provides high image quality encoding while eliminating the formation of a subjectively undesirable vector field. A dynamic image encoding device includes: an inter-frame predictor, a motion vector calculator, a prediction motion vector calculator, a skip mode motion vector calculator, and a skip mode validity judger. The skip mode validity judger calculates a code amount of a differential motion vector of the motion vector estimated by considering the motion vector of the skip mode and the subjective image quality, and uses a value of the code amount of the differential motion vector weighted by a block quantization parameter for the skip mode validity judgment.
Claims15
A moving picture encoding method, characterized in that the method comprises:
- an inter-frame prediction step of applying inter-frame prediction to an image on a block-by-block basis;
- a motion vector calculating step of calculating a reference frame and a motion vector for use in inter-frame prediction of said block;
- a predicted motion vector calculating step of calculating a predicted motion vector for prediction encoding of a motion vector of said block;
- a skip mode motion vector calculating step of calculating a skip mode motion vector for a skip mode using a context of blocks spatially adjacent to said block;
- and
- a skip mode validity deciding step of deciding whether the skip mode is valid as an encoding mode for said block,
- wherein said skip mode validity deciding step uses a code-amount based on said skip mode motion vector for the skip mode validity decision;
- wherein said skip mode validity deciding step uses for the skip mode validity decision a value obtained by weighting, with a quantization parameter of said block, a total value of a code-amount of a differential motion vector between said skip mode motion vector and said predicted motion vector corresponding to a reference frame for said skip mode and a value obtained by subtracting a predicted image of the skip mode motion vector from an original image of said block;
- and
- wherein said skip mode validity deciding step uses for the skip mode validity decision a value obtained by weighting, with a quantization parameter of said block, a code-amount of a differential motion vector between said skip mode motion vector and the motion vector calculated at said motion vector calculating step corresponding to a reference frame for said skip mode.
A moving picture encoding apparatus, characterized in that the apparatus comprises:
- inter-frame prediction means for applying inter-frame prediction to an image on a block-by-block basis;
- motion vector calculating means for calculating a reference frame and a motion vector for use in inter-frame prediction of said block;
- predicted motion vector calculating means for calculating a predicted motion vector for prediction encoding of a motion vector of said block;
- skip mode motion vector calculating means for calculating a skip mode motion vector for a skip mode using a context of blocks spatially adjacent to said block;
- and
- skip mode validity deciding means for deciding whether the skip mode is valid as an encoding mode for said block,
- wherein said skip mode validity deciding means uses a code-amount based on said skip mode motion vector for the skip mode validity decision;
- wherein said skip mode validity deciding means uses, for said deciding, a corrective value obtained by weighting, with a quantization parameter of said block, a code-amount of a differential motion vector between said skip mode motion vector and said predicted motion vector corresponding to a reference frame for said skip mode and a value obtained by subtracting a predicted image of the skip mode motion vector from an original image of said block;
- and
- wherein said corrective value is obtained by weighting, with a quantization parameter of said block, a code-amount of a differential motion vector between said skip mode motion vector and the motion vector calculated by said motion vector calculating means corresponding to a reference frame for said skip mode.
A non-transitory computer readable storage media which stores a program for a moving picture encoding apparatus, characterized in that said program causes said moving picture encoding apparatus to function as:
- inter-frame prediction means for applying inter-frame prediction to an image on a block-by-block basis;
- motion vector calculating means for calculating a reference frame and a motion vector for use in inter-frame prediction of said block;
- predicted motion vector calculating means for calculating a predicted motion vector for prediction encoding of a motion vector of said block;
- skip mode motion vector calculating means for calculating a skip mode motion vector for a skip mode using a context of blocks spatially adjacent to said block;
- and
- skip mode validity deciding means for deciding whether the skip mode is valid as an encoding mode for said block, and
- causes said skip mode validity deciding means to function to use a code-amount based on said skip mode motion vector for the skip mode validity decision,
- wherein the program causes said skip mode validity deciding means to function to use, for the skip mode validity decision, a value obtained by weighting, with a quantization parameter of said block, a code-amount of a differential motion vector between said skip mode motion vector and said predicted motion vector corresponding to a reference frame for said skip mode and a value obtained by subtracting a predicted image of the skip mode motion vector from an original image of said block;
- and
- wherein the program causes said skip mode validity deciding means to function to use, for the skip mode validity decision, a value obtained by weighting, with a quantization parameter of said block, a code-amount of a differential motion vector between said skip mode motion vector and the motion vector calculated by said motion vector calculating means corresponding to a reference frame for said skip mode.
Dependencies are inferred from the claim text.