Abstract:
A video coding and decoding method using a weighted prediction and an apparatus for the same are provided. The video coding method includes generating a predicted image for a present block; generating a weighted prediction factor which is a scaling factor of the predicted image that minimizes the difference between the present block and the predicted image; generating a weighted prediction image by multiplying the predicted image by the weighted prediction factor; and coding a residual signal generated by subtracting the weighted prediction image from the present block.
Abstract:
Provided are methods and apparatuses for encoding and decoding a motion vector. The method of encoding a motion vector includes: selecting a mode from among a first mode in which information indicating a motion vector predictor of at least one motion vector predictor is encoded and a second mode in which information indicating generation of a motion vector predictor based on pixels included in a previously encoded area adjacent to a current block is encoded; determining a motion vector predictor of the current block according to the selected mode and encoding 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.
Abstract:
Methods and apparatuses for encoding and decoding based on intra prediction. The method of encoding an image based on intra prediction comprises dividing a current block into a plurality of sub blocks so that a plurality of unit blocks adjacent to each other are included in one of the sub blocks based on an intra prediction direction of each of the unit blocks included in the current block, and performing intra prediction encoding on each of the sub blocks so that only information about one intra prediction direction is encoded in each of the sub blocks.
Abstract:
Provided are a method and apparatus for encoding a video and a method and apparatus for decoding a video. The encoding method includes: splitting a picture of the video into one or more maximum coding units that are coding units having a maximum size; encoding the picture based on coding units according to depths which are obtained by hierarchically splitting each of the one or more maximum coding units according to depths in each of the one or more maximum coding units, determining coding units according to coded depths with respect to each of the coding units according to depths, and thus determining coding units having a tree structure; and outputting data that is encoded based on the coding units having the tree structure, information about the coded depths and an encoding mode, and coding unit structure information indicating a size and a variable depth of a coding unit.
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:
An encoding method and apparatus and a decoding method and apparatus for determining a motion vector of a current block based on a motion vector of at least one previously-encoded or previously-decoded block are provided. The decoding method includes: decoding information regarding a prediction direction from among a first direction, a second direction, and bi-directions, and information regarding pixel values of the current block; determining the prediction direction in which the current block is to be predicted, based on the decoded information regarding the prediction direction, and determining a motion vector for predicting the current block in the determined prediction direction; and restoring the current block, based on the determined motion vector and the decoded information regarding the pixel values, wherein the first direction is a direction from a current picture to a previous picture, and the second direction is a direction from the current picture to a subsequent picture.
Abstract:
A method and apparatus for encoding and decoding an image. The method of encoding an image includes generating a prediction block of a current block of a current image by performing continuous motion estimation, and encoding the current block based on the generated prediction block. The current block can be more precisely predicted so that the compression rate of image encoding is improved.
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 are a method and apparatus for encoding an image capable of improving compression efficiency of the image by compensating for a loss due to quantization of a residual block in the frequency domain, and a method and apparatus for decoding the image. The method of encoding an image includes: generating a prediction macro block for a current macro block; generating a first residual block which is a difference between the prediction macro block and the current macro block; generating a compensation residual block by compensating for a quantization loss of the first residual block in the frequency domain; compensating for the prediction macro block by adding the compensation residual block and the prediction macro block.
Abstract:
Provided are a method and apparatus for image encoding which improves encoding efficiency in accordance with image characteristics by performing prediction in lines and performing a one-dimensional transformation in lines on an input image, and a method and apparatus for image decoding. Encoding efficiency of an image may be improved by generating a prediction sub residual block using neighboring residues and performing a one-dimensional discrete cosine transformation (DCT) on a difference residual block which is a difference between an original sub residual block and the prediction sub residual block.