Back to results
US 8,537,897 B2Granted
Method and apparatus for encoding/decoding motion vector
AssigneeSamsung Electronics Co., Ltd.
InventorsTammy Lee, Woo-jin Han, Kyo-hyuk Lee
Life of this patent
Estimating the term…
Abstract
Encoding and decoding a motion vector according to one of a plurality of encoding modes that is selected based on a coding unit depth.
Claims26
A method of encoding a motion vector, the method comprising:
- selecting a first mode in which information indicating the motion vector predictor from among at least one motion vector predictor is encoded or a second mode in which information indicating generation of the motion vector predictor based on blocks or pixels included in a previously encoded area adjacent to the current block is encoded;
- determining the motion vector predictor of the current block according to the selected mode and encoding the information about the motion vector predictor of the current block;
- and
- encoding a difference vector between a motion vector of the current block and the motion vector predictor of the current block,
- wherein the selecting the first mode or the second mode comprises selecting the first mode or the second mode based on a depth indicating a degree of decreasing from a size of a maximum coding unit of a current picture or slice comprising the current block to a size of the current block.
2 more elements
An apparatus for encoding a motion vector, the apparatus comprising:
- a predictor which selects a first mode in which information indicating the motion vector predictor from among at least one motion vector predictor is encoded or a second mode in which information indicating generation of the motion vector predictor based on blocks or pixels included in a previously encoded area adjacent to the current block is encoded, and which determines the motion vector predictor of the current block based on the selected mode;
- a first encoder which encodes the information about the motion vector predictor of the current block determined based on the selected mode;
- and
- a second encoder which encodes a difference vector between a motion vector of the current block and the motion vector predictor of the current block,
- wherein the predictor selects the first mode or the second mode based on a depth indicating a degree of decreasing from a size of a maximum coding unit of a current picture or slice comprising the current block to a size of the current block.
2 more elements
A method of decoding a motion vector, the method comprising:
- decoding information about a motion vector predictor of a current block, the information encoded according to a mode selected from among a first mode and a second mode;
- decoding a difference vector between a motion vector of the current block and the motion vector predictor of the current block;
- generating the motion vector predictor of the current block based on the decoded information about the motion vector predictor of the current block;
- and
- restoring the motion vector of the current block based on the generated motion vector predictor, and the decoded difference vector,
- wherein the first mode is a mode in which information indicating the motion vector predictor from among at least one motion vector predictor is encoded and the second mode is a mode in which information indicating generation of the motion vector predictor based on blocks or pixels included in a previously decoded area adjacent to the current block is encoded,
- wherein the selected mode is selected based on a depth indicating a degree of decreasing from a size of a maximum coding unit of a current picture or slice comprising the current block to a size of the current block.
4 more elements
An apparatus for decoding a motion vector, the apparatus comprising:
- a first decoder which decodes information about a motion vector predictor of a current block, the information encoded according to a mode selected from among a first mode and a second mode;
- a second decoder which decodes a difference vector between a motion vector of the current block and the motion vector predictor of the current block;
- a predictor which generates the motion vector predictor of the current block based on the decoded information about the motion vector predictor of the current block;
- and
- a motion vector restoring unit which restores the motion vector of the current block based on the generated motion vector predictor and the decoded difference vector,
- wherein the first mode is a mode in which information indicating the motion vector predictor from among at least one motion vector predictor is encoded and the second mode is a mode in which information indicating generation of the motion vector predictor based on blocks or pixels included in a previously decoded area adjacent to the current block is encoded,
- wherein the selected mode is selected based on a depth indicating a degree of decreasing from a size of a maximum coding unit of a current picture or slice comprising the current block to a size of the current block.
4 more elements
An image encoder comprising:
- an apparatus for encoding a motion vector, the apparatus comprising:
- a predictor which selects a first mode in which information indicating the motion vector predictor from among at least one motion vector predictor is encoded or a second mode in which information indicating generation of the motion vector predictor based on blocks or pixels included in a previously encoded area adjacent to the current block is encoded, and which determines the motion vector predictor of the current block based on the selected mode;
- a first encoder which encodes the information about the motion vector predictor of the current block determined based on the selected mode;
- and
- a second encoder which encodes a difference vector between a motion vector of the current block and the motion vector predictor of the current block,
- wherein the predictor selects the first mode or the second mode based on a depth indicating a degree of decreasing from a size of a maximum coding unit of a current picture or slice comprising the current block to a size of the current block;
- a maximum encoding unit divider which divides a current picture or slice comprising the current block to obtain at least one maximum coding unit indicating a coding unit having a largest size from among coding units of the current picture or slice;
- an encoding depth determiner which determines a maximum depth indicating a coding unit having a smallest size includable in the maximum coding unit and which determines sub coding units included in the maximum coding unit according to the maximum depth;
- an image data encoder which encodes the maximum coding unit based on the determined sub coding units;
- and
- an encoding information encoder which encodes information about an encoding mode of the maximum coding unit based on the determined maximum depth and the determined sub coding units.
8 more elements
An image decoder comprising:
- an apparatus for decoding a motion vector, the apparatus comprising:
- a first decoder which decodes information about a motion vector predictor of a current block, the information encoded according to a mode selected from among a first mode and a second mode;
- a second decoder which decodes a difference vector between a motion vector of the current block and the motion vector predictor of the current block;
- a predictor which generates the motion vector predictor of the current block based on the decoded information about the motion vector predictor of the current block;
- and
- a motion vector restoring unit which restores the motion vector of the current block based on the generated motion vector predictor and the decoded difference vector,
- wherein the first mode is a mode in which information indicating the motion vector predictor from among at least one motion vector predictor is encoded and the second mode is a mode in which information indicating generation of the motion vector predictor based on blocks or pixels included in a previously decoded area adjacent to the current block is encoded, and
- wherein the selected mode is selected based on a depth indicating a degree of decreasing from a size of a maximum coding unit of a current picture or slice comprising the current block to a size of the current block;
- an image data acquisition unit which acquires and divides image data according to a maximum coding unit indicating a coding unit having a largest size from among coding units of a current picture or slice comprising the current block;
- an encoding information extractor which extracts information about an encoding mode of the maximum coding unit;
- and
- an image data decoder which restores the current picture or slice by decoding the divided image data based on the extracted information.
9 more elements
Dependencies are inferred from the claim text.