Abstract:
Provided are methods and apparatuses for encoding and decoding a motion vector. The method of encoding the motion vector includes: selecting, as a mode of encoding information about a motion vector predictor of the current block, 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 the motion vector of the current block and the motion vector predictor of the current block.
Abstract:
Provided is a method of and apparatus for video encoding and decoding based on motion estimation. The method includes generating a motion vector by searching a reference picture using pixels of a current block, generating a prediction motion vector that is a prediction value of the motion vector by searching the reference picture using previously encoded pixels located adjacent to the current block, and encoding the current block based on the motion vector and the prediction motion vector. By accurately predicting the motion vector of the current block, the number of bits required for encoding the motion vector can be reduced, thereby improving the compression rate of video data.
Abstract:
Provided are methods and apparatuses for encoding and decoding a motion vector. The method of encoding the motion vector includes: selecting, as a mode of encoding information about a motion vector predictor of the current block, 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 the motion vector of the current block and the motion vector predictor of the current block.
Abstract:
A method of encoding flags, a method of decoding flags and an apparatus thereof, in which flag encoding and decoding can be efficiently performed by using spatial correlation between various flags included a plurality of blocks are provided. The method includes collecting flag values respectively allocated to groups of the plurality of blocks according to spatial correlation of blocks to create a flag bit-string, dividing the flag bit-string into a plurality of divided bit-strings using a group size, setting a pattern bit indicating whether all bits included in the divided bit-strings are 0 or not, and performing entropy coding on the divided bit-strings according to the set pattern bit.
Abstract:
The present invention relates to a video compression technology, and more particularly, to an effective flag-coding method and apparatus thereof by using a spatial correlation among various flags used to code a video frame. In order to accomplish the object, there is provided an apparatus for encoding a flag used to code a video frame composed of a plurality of blocks, the apparatus including a flag-assembling unit which collects flag values allotted for each block and produces a flag bit string, based on spatial correlation of the blocks, a maximum-run-determining unit which determines a maximum run of the flag bit string, and a converting unit which converts the bits included in the flag bit string into a codeword having a size no more than the maximum run by using a predetermined codeword table.
Abstract:
A method and apparatus for encoding a skip macroblock by dividing the skip macroblock into smaller skip sub blocks and using predictive motion vectors predicted from motion vectors of blocks adjacent to the skip sub blocks, and a method and apparatus for decoding the skip macroblock is provided. Accordingly, by adding predetermined binary information indicating whether the skip macroblock is divided to the skip macroblock that generally transmits only prediction mode information, division of the skip macroblock can be adaptively applied, or all skip macroblocks can be divided into sub-blocks to be processed, so that pixel values in the skip macroblock can be predicted by using motion vectors of spatially adjacent blocks. Therefore, prediction efficiency increases.
Abstract:
Provided are a method and an apparatus for encoding and decoding an image to improve the efficiency for predicting an image by reducing discontinuity between prediction blocks by performing filtering on a prediction picture. The method of encoding an image includes generating filtered prediction pixel values by performing filtering in which a weighted sum of prediction pixels of a prediction picture with respect to peripheral prediction pixels is calculated, and encoding a difference value between the filtered prediction picture comprising the filtered prediction pixel values and a current picture.
Abstract:
A method and apparatus for encoding/decoding a multi-layer interlaced video signal having macroblocks coded in an interlaced manner is provided. The method includes determining whether a pair of macroblocks of a current layer are of a frame type and a corresponding pair of macroblocks of a lower layer are of a field type; and predicting and encoding a macroblock of the current layer by interpolating information of the top or bottom field of a corresponding macroblock of the lower layer, if the pair of the macroblocks of the current layer are of the frame type and the corresponding pair of the macroblocks of the lower layer are of the field type, and the top and bottom fields of the corresponding pair of the macroblocks of the lower layer have been coded in different prediction modes.
Abstract:
A method and apparatus for reducing block artifacts during a residual prediction in a multilayer-based video coding are disclosed. The multilayer-based video encoding method includes obtaining a difference between a predicted block for a second block of a lower layer, which corresponds to a first block included in a current layer, and the second block; adding the obtained difference to a predicted block for the first block; smoothing a third block generated as a result of the addition using a smoothing function; and encoding a difference between the first block and the smoothed third block.