摘要:
A method and apparatus for encoding and decoding a video are provided. The method of encoding the video includes: determining whether a unidirectional motion estimation mode and a bidirectional motion estimation mode are to be used based on a size of a current prediction unit to be encoded, performing the motion estimation and the motion compensation on the current prediction unit according to the determining of whether the unidirectional motion estimation mode and the bidirectional motion estimation mode are to be used, determining an optimum motion estimation mode of the current prediction unit based on an encoding cost of the current prediction unit obtained through the performing of the motion estimation and the motion compensation, and encoding information indicating the determined optimum motion estimation mode based on the size of the current prediction unit.
摘要:
Provided are methods and apparatuses for transforming and inverse-transforming an image. The method of transforming an image includes: obtaining scaled elements having integer values by scaling elements forming a transformation matrix used for N point discrete cosine transform (DCT), wherein N is an integer, by using a predetermined scaling factor; performing the N point DCT by using an integer transformation matrix formed of the scaled elements having integer values; and de-scaling result values of performing the N point DCT by using the predetermined scaling factor.
摘要:
Provided are a method and apparatus for interpolating an image. The method includes: selecting a first filter, from among a plurality of different filters, for interpolating between pixel values of integer pixel units, according to an interpolation location; and generating at least one pixel value of at least one fractional pixel unit by interpolating between the pixel values of the integer pixel units by using the selected first filter.
摘要:
A method and apparatus for encoding an image is provided. The method and apparatus include quantizing and entropy encoding a second frequency coefficient matrix that is generated by performing a partial exchange of one or more values between rows and between columns of a first frequency coefficient matrix. A method and apparatus for decoding image data that is encoded by using the method and apparatus for encoding the image is also provided.
摘要:
Provided are a method and apparatus of encoding a video by compensating for a pixel value and a method and apparatus of decoding a video by compensating for a pixel value. The method of encoding the video includes: encoding image data; decoding the encoded image data and generating a restored image by performing loop filtering on the decoded image data; determining a compensation value corresponding to errors between a predetermined group restored pixels in the restored image and corresponding original pixels, and a pixel group including a restored pixel to be compensated for by using the compensation value; and encoding the compensation value and transmitting the encoded compensation value and a bitstream of the encoded image data.
摘要:
A method and apparatus for coding an image by using exponential Golomb binarization are provided. The method comprises: performing entropy coding on an input image by performing exponential Golomb binarization using a plurality of predetermined thresholds; measuring a bit rate of a bit stream which is generated by performing the entropy coding using each threshold; and determining an optimal threshold by comparing bit rates with regard to the thresholds.
摘要:
Provided are methods and apparatuses for entropy-encoding and entropy-decoding an image. The method for entropy-encoding an image includes operations of arithmetically encoding a binary value of a current coding symbol, by using a probability of a predefined binary value which is determined based on previously-coded symbols that are encoded before the current coding symbol; and updating the probability of the predefined binary value by using a plurality of scaling factors, according to the binary value of the current coding symbol.
摘要:
Methods and apparatuses for encoding and decoding a video by using pixel unit bi-directional motion compensation are provided. According to the method of encoding a video, pixel unit motion compensation is performed on each pixel of a current block by using pixels of first and second reference pictures used for bi-directional motion prediction and compensation, in addition to block unit bi-directional motion compensation performed on the current block, and a bi-directional motion prediction value of the current block is generated by using results of the block unit bi-directional motion compensation and pixel unit motion compensation.
摘要:
A video encoding method and apparatus and a video decoding method and apparatus. In the video encoding method, a first predicted coding unit of a current coding unit that is to be encoded is produced, a second predicted coding unit is produced by changing a value of each pixel of the first predicted coding unit by using each pixel of the first predicted coding unit and at least one neighboring pixel of each pixel, and the difference between the current coding unit and the second predicted coding unit is encoded, thereby improving video prediction efficiency.
摘要:
A video encoding method and apparatus and a video decoding method and apparatus. In the video encoding method, a first predicted coding unit of a current coding unit that is to be encoded is produced, a second predicted coding unit is produced by changing a value of each pixel of the first predicted coding unit by using each pixel of the first predicted coding unit and at least one neighboring pixel of each pixel, and the difference between the current coding unit and the second predicted coding unit is encoded, thereby improving video prediction efficiency.