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:
An image encoding method includes generating a first frequency coefficient matrix by transforming a predetermined block to a frequency domain; determining whether the first frequency coefficient matrix includes coefficients whose absolute values are greater than a predetermined value; generating a second frequency coefficient matrix by selectively partially switching at least one of rows and columns of the first frequency coefficient matrix according to an angle parameter based on a determination result; and selectively encoding the second frequency coefficient matrix based on the determination result.
Abstract:
Provided are video encoding and video decoding for performing clipping on data during inverse quantization and inverse transformation according to blocks. An inverse transformation method includes: receiving quantized transformation coefficients of a current block; clipping transformation coefficients generated by inverse-quantizing the quantized transformation coefficients to a range of a first maximum value and a first minimum value that are determined based on a size of the current block; clipping intermediate data generated by performing first inverse transformation on the clipped transformation coefficients by using a first inverse transformation matrix to a range of a second maximum value and a second minimum value that are determined based on the size of the current block and in internal bit depth; and performing second inverse transformation on the clipped intermediate data by using a second inverse transformation matrix.
Abstract:
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.
Abstract:
Provided is a video decoding method including: determining an inter prediction mode of a current block when the current block is inter-predicted; determining at least one reference sample location to be referred to by the current block, based on the inter prediction mode of the current block; determining filter information to be applied to at least one reconstructed reference sample corresponding to the at least one reference sample location, based on the inter prediction mode of the current block; performing filtering on the at least one reconstructed reference sample, based on the filter information; and decoding the current block by using prediction samples generated via the filtering.
Abstract:
An image decoding method and apparatus according to an embodiment may extract, from a bitstream, a quantization coefficient generated through core transformation, secondary transformation, and quantization; generate an inverse-quantization coefficient by performing inverse quantization on the quantization coefficient; generate a secondary inverse-transformation coefficient by performing secondary inverse-transformation on a low frequency component of the inverse-quantization coefficient, the secondary inverse-transformation corresponding to the secondary transformation; and perform core inverse-transformation on the secondary inverse-transformation coefficient, the core inverse-transformation corresponding to the core transformation.
Abstract:
Provided is a video decoding method including determining a displacement vector per unit time of pixels of a current block in a horizontal direction or a vertical direction, the pixels including a pixel adjacent to an inside of a boundary of the current block, by using values about reference pixels included in a first reference block and a second reference block, without using a stored value about a pixel located outside boundaries of the first reference block and the second reference block; and obtaining a prediction block of the current block by performing block-unit motion compensation and pixel group unit motion compensation on the current block by using a gradient value in the horizontal direction or the vertical direction of a first corresponding reference pixel in the first reference block which corresponds to a current pixel included in a current pixel group in the current block, a gradient value in the horizontal direction or the vertical direction of a second corresponding reference pixel in the second reference block which corresponds to the current pixel, a pixel value of the first corresponding reference pixel, a pixel value of the second corresponding reference pixel, and a displacement vector per unit time of the current pixel in the horizontal direction or the vertical direction. In this regard, the current pixel group may include at least one pixel.
Abstract:
An image decoding method and apparatus according to an embodiment may extract, from a bitstream, a quantization coefficient generated through core transformation, secondary transformation, and quantization; generate an inverse-quantization coefficient by performing inverse quantization on the quantization coefficient; generate a secondary inverse-transformation coefficient by performing secondary inverse-transformation on a low frequency component of the inverse-quantization coefficient, the secondary inverse-transformation corresponding to the secondary transformation; and perform core inverse-transformation on the secondary inverse-transformation coefficient, the core inverse-transformation corresponding to the core transformation.
Abstract:
Provided are a method and apparatus for performing transformation and inverse transformation on a chroma block by using a variable transform kernel, during video encoding and decoding processes. A video decoding method includes: obtaining, from a bitstream, chroma multi-transform kernel information indicating whether a chroma transform kernel for inverse transformation of a chroma block is determined to be among a plurality of chroma transform kernels; while determining whether the chroma transform kernel is determined to be among the plurality of chroma transform kernels according to the chroma multi-transform kernel information, determining whether to determine the chroma transform kernel by using a luma transform kernel; and performing inverse transformation on the chroma block by using the chroma transform kernel.
Abstract:
Provided are a method and apparatus for encoding or decoding a 360-degree image. According to an image decoding method and apparatus according to an embodiment, an original 360-degree image is reconstructed by acquiring image data from a bitstream, decoding a projection image of a 360-degree image from the image data, converting the projection image into the 360-degree image, acquiring rotation information of the 360-degree image from the bitstream, and rotating the 360-degree image based on the rotation information.