Abstract:
Provided are a video encoding method and apparatus to which an interpolation filter is applied according to characteristics of an image for motion compensation, and a video decoding method and apparatus corresponding thereto. The video encoding method according to various embodiments includes determining a degree of change between neighboring samples of at least one integer pixel unit adjacent to a reference sample of an integer pixel unit of a current sample and the reference sample; determining an interpolation filter among interpolation filters having different frequency passbands and configured to produce reference samples of a sub-pixel unit to predict the current sample, based on the degree of change; determining a predicted sample value of the current sample by using a reference sample of a sub-pixel unit produced by applying the determined interpolation filter; and encoding a residual value between the predicted sample value and a sample value of the current sample.
Abstract:
A video decoding method comprises when a first offset method is applied to a current slice comprising a current block, adjusting an offset with respect to the current block, based on a first offset parameter of the current block; when the first offset method is applied to the current slice, determining whether to apply a second offset method to the current slice; when the second offset method is applied to the current slice, determining a second offset parameter of the current block; and applying an offset based on the second offset parameter to the current block to which the offset based on the first offset parameter is applied, wherein the first offset parameter and the second offset parameter comprise offset values for the current block.
Abstract:
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.
Abstract:
Provided are a video encoding method and apparatus and a video decoding method and apparatus for generating a reconstructed image having a minimized error between an original image and the reconstructed image. The video decoding method includes: parsing, from a bitstream, a scale parameter for scaling an offset of a current block; scaling an offset absolute value of the current block by using the scale parameter; determining an offset of the current block by using the scaled offset absolute value; and compensating for a sample value of a reconstructed pixel of the current block by using the offset of the current block.
Abstract:
A video decoding method includes determining, from among a first sample and a second sample with different color components, at least one second sample that is used to correct a value of the first sample; determining a filter parameter set based on a band including the value of the first sample, wherein the band is from among a plurality of bands determined by dividing a total range of sample values into signaled intervals or predetermined intervals; and filtering a value of the at least one second sample by using the determined filter parameter set and correcting the value of the first sample by using a value obtained by the filtering, wherein the first sample is any one of a luma sample and a chroma sample, and the second sample is any one of the luma sample and the chroma sample that is not the first sample.
Abstract:
Provided is a motion compensation method for encoding and decoding a scalable video. A first prediction value of pixels constituting a current block is acquired from a corresponding block of a base layer corresponding to the current block of an enhancement layer, a second prediction value of the pixels constituting the current block is acquired by using a block-unit bidirectional motion compensation result and a pixel-unit motion compensation result about the enhancement layer, and a prediction value of the pixels constituting the current block is acquired by using a weighted sum of the first prediction value and the second prediction value.
Abstract:
Provided is a method of determining an up-sampling filter to accurately interpolate a sample value for each sampling position according to an up-sampling ratio for scalable video encoding and decoding. An up-sampling method for scalable video encoding includes determining a phase shift between a pixel of a low resolution image and a pixel of a high resolution image based on a scaling factor between the high resolution image and the low resolution image; selecting at least one filter coefficient set corresponding to the determined phase shift from filter coefficient data comprising filter coefficient sets corresponding to phase shifts; generating the high resolution image by performing filtering on the low resolution image by using the selected at least one filter coefficient set; and generating an improvement layer bitstream comprising high resolution encoding information generated by performing encoding on the high resolution image and up-sampling filter information indicating the determined phase shift.
Abstract:
A video encoding method and apparatus, and a video decoding method and apparatus for generating a reconstructed image having a minimized error between an original image and the reconstructed image. The video decoding method accompanied by a sample adaptive offset (SAO) adjustment, the method includes: obtaining 5 slice SAO parameters with respect to a current slice from a slice header of a received bitstream; obtaining luma SAO use information for a luma component of the current slice and chroma SAO use information for chroma components thereof from among the slice SAO parameters; determining whether to perform a SAO operation on the luma component of 10 the current slice based on the obtained luma SAO use information; and equally determining whether to perform the SAO adjustment on a first chroma component and a second chroma component of the current slice based on the obtained chroma SAO use information.
Abstract:
A sub-pel-unit image interpolation method using a transformation-based interpolation filter includes, selecting, based on a sub-pel-unit interpolation location in a region supported by a plurality of interpolation filters for generating at least one sub-pel-unit pixel value located between integer-pel-unit pixels, one of a symmetric interpolation filter and an asymmetric interpolation filter from among the plurality of interpolation filters; and using the selected interpolation filter to generate the at least one sub-pel-unit pixel value by interpolating the integer-pel-unit pixels.
Abstract:
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.