摘要:
Disclosed are a video encoding method and apparatus and a video decoding method and apparatus. The method of encoding video includes: producing a first predicted coding unit of a current coding unit, which is to be encoded; determining whether the current coding unit comprises a portion located outside a boundary of a current picture; and producing a second predicted coding unit is produced by changing a value of pixels of the first predicted coding unit by using the pixels of the first predicted coding unit and neighboring pixels of the pixels when the current coding unit does not include a portion located outside a boundary of the current picture. Accordingly, a residual block that is the difference between the current encoding unit and the second predicted encoding unit, can be encoded, thereby improving video prediction efficiency.
摘要:
A method of encoding a video is provided, the method includes: determining a filtering boundary on which deblocking filtering is to be performed based on at least one data unit from among a plurality of coding units that are hierarchically configured according to depths indicating a number of times at least one maximum coding unit is spatially spilt, and a plurality of prediction units and a plurality of transformation units respectively for prediction and transformation of the plurality of coding units, determining filtering strength at the filtering boundary based on a prediction mode of a coding unit to which pixels adjacent to the filtering belong from among the plurality of coding units, and transformation coefficient values of the pixels adjacent to the filtering boundary, and performing deblocking filtering on the filtering boundary based on the determined filtering strength.
摘要:
Methods and apparatuses for encoding and decoding an image are provided. The method of encoding an image includes: replacing a transformation coefficient having a low frequency component to be predicted from among transformation coefficients of a transformation block with a predetermined value; generating an incomplete residual block by inversely transforming the transformation block including the replaced transformation coefficient; and predicting the transformation coefficient having the low frequency component by using values of the incomplete residual block.
摘要:
Provided are a method of interpolating an image by determining interpolation filter coefficients, and an apparatus for performing the same. The method includes: differently selecting an interpolation filter, from among interpolation filters for generating at least one sub-pel-unit pixel value located between integer-pel-unit pixels, based on a sub-pel-unit interpolation location and a smoothness; and generating the at least one sub-pel-unit pixel value by interpolating, using the selected interpolation filter, pixel values of the integer-pel-unit pixels.
摘要:
Methods and apparatuses for encoding and decoding a video are provided. The method of encoding a video includes generating an extended corresponding block by extending a corresponding block of a reference picture; generating a filtered extended corresponding block by using a predetermined first filter; performing interpolation in sub-pixel units by using a predetermined second filter; and performing motion prediction and compensation by using the reference picture that is interpolated in the sub-pixel units. The method of decoding a video includes extracting information of a current block; generating an extended corresponding block by extending a corresponding block of a reference picture; generating a filtered extended corresponding block by applying a predetermined first filter to the extended corresponding block; performing interpolation in sub-pixel units by applying a predetermined second filter to the filtered extended corresponding block; and performing motion compensation by using the reference picture that is interpolated in the sub-pixel units.