Abstract:
A method for decoding an image including performing intra prediction on a chrominance block according to whether the intra prediction mode of the chrominance block is equal to an intra prediction mode of a luminance block.
Abstract:
Provided are a video encoding method of adjusting a range of encoded output data to adjust a bit depth during restoring of encoded samples, and a video decoding method of substantially preventing overflow from occurring in output data in operations of a decoding process. The video decoding method includes parsing and restoring quantized transformation coefficients in units of blocks of an image from a received bitstream, restoring transformation coefficients by performing inverse quantization on the quantized transformation coefficients, and restoring samples by performing one-dimensional (1D) inverse transformation and inverse scaling on the quantized transformation coefficients. At least one from among the transformation coefficients and the samples has a predetermined bit depth or less.
Abstract:
A video decoding method includes extracting offset mergence information of a current largest coding unit (LCU), the offset mergence information indicating whether to adopt a second offset parameter as a first offset parameter of the current LCU; reconstructing the first offset parameter of the current LCU based on the offset mergence information, the first offset parameter including an offset type, an offset value, and an offset class of the current LCU; determining whether the current LCU is an edge type or a band type, based on the offset type; determining an edge direction according to the edge type or a band range according to the band type, based on the offset class; determining a difference value between reconstructed pixels and original pixels included in the offset class, based on the offset value; and adjusting pixel values of reconstructed pixels based on the difference value.
Abstract:
A video encoding method and apparatus and video decoding method and apparatus generate a restored image having a minimum error with respect to an original image based on offset merge information indicating whether offset parameters of a current block and at least one neighboring block from among blocks of video are identical.
Abstract:
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.
Abstract:
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.
Abstract:
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.
Abstract:
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.
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.
Abstract:
Provided is a video decoding method including: obtaining, from a bitstream, prediction motion vector information indicating a prediction motion vector of a current block and difference motion vector information indicating a difference motion vector of the current block; determining the prediction motion vector of the current block according to whether or not an adjacent block of the current block is decoded and the prediction motion vector information; determining a motion vector resolution of the current block according to whether or not the adjacent block of the current block is decoded; determining the difference motion vector of the current block according to the difference motion vector information; determining a motion vector of the current block according to the prediction motion vector, the motion vector resolution, and the difference motion vector; and reconstructing the current block according to the motion vector of the current block, wherein the adjacent block of the current block includes a right block of the current block.